@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100..900&display=swap');
:root {
    --mint: #18bfa5;
    --mint-dark: #078978;
    --mint-soft: #d9fbf4;
    --mint-faint: #effdfa;
    --ink: #102233;
    --ink-soft: #5e6d7c;
    --line: #c9eee8;
    --line-strong: #73d9ce;
    --paper: #ffffff;
    --panel: rgba(255, 255, 255, 0.92);
    --danger: #e7191f;
    --warning: #ff9900;
    --shadow: 0 18px 38px rgba(4, 122, 109, 0.12);
    --soft-shadow: 0 10px 24px rgba(8, 65, 72, 0.08);
    --font-ui: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", "Segoe UI", sans-serif;
    --font-display: "Noto Serif KR", "Noto Sans KR", "Apple SD Gothic Neo", serif;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: #f5fbfa;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: var(--font-ui);
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0;
    word-break: keep-all;
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
    background:
        radial-gradient(circle at 50% 0%, rgba(54, 217, 197, 0.18), transparent 32rem),
        linear-gradient(180deg, #fbffff 0%, #f5fbfa 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

button {
    border: 0;
    cursor: pointer;
}

img {
    display: block;
    max-width: 100%;
}

.page-bg {
    min-height: 100vh;
    padding: 0;
}

.app-shell {
    position: relative;
    width: min(100%, 540px);
    min-height: 100vh;
    margin: 0 auto;
    padding: 0 18px 24px;
    background:
        radial-gradient(circle at 100% 8rem, rgba(112, 234, 222, 0.16), transparent 14rem),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 254, 252, 0.98) 100%);
    box-shadow: 0 0 70px rgba(8, 74, 78, 0.08);
}

.home-header,
.topbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 78px;
    padding-top: env(safe-area-inset-top);
}

.home-header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.brand {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: clamp(118px, 32vw, 150px);
    line-height: 0;
}

.brand-logo {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.platform-pill,
.ghost-pill,
.outline-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 34px;
    padding: 7px 14px;
    color: var(--mint-dark);
    font-weight: 800;
    background: rgba(226, 250, 246, 0.86);
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
    white-space: nowrap;
}

.platform-pill {
    margin-top: 12px;
}

.icon {
    width: 1.1em;
    height: 1.1em;
    flex: 0 0 auto;
}

.hero-card {
    position: relative;
    overflow: hidden;
    min-height: 284px;
    padding: 28px 22px 88px;
    background:
        linear-gradient(135deg, rgba(236, 255, 251, 0.96), rgba(190, 249, 239, 0.76)),
        #eafffb;
    border: 1px solid var(--line-strong);
    border-radius: 22px;
    box-shadow: var(--shadow), inset 0 1px 14px rgba(255, 255, 255, 0.78);
}

.hero-card.hero-image-card {
    display: block;
    min-height: 0;
    padding: 0;
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 22px;
    box-shadow: none;
}

.hero-image-card img {
    width: 100%;
    border: 1px solid var(--line-strong);
    border-radius: 22px;
    background: #eafffb;
    box-shadow: var(--shadow);
}

.hero-detail {
    min-height: 232px;
    margin-top: 4px;
    padding: 24px 20px 82px;
}

.hero-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 78% 24%, rgba(255, 255, 255, 0.94), transparent 13rem),
        radial-gradient(circle at 16% 16%, rgba(255, 255, 255, 0.68), transparent 10rem);
    pointer-events: none;
}

.hero-copy {
    position: relative;
    z-index: 2;
    width: 66%;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 20px;
    color: var(--mint-dark);
    font-size: 15px;
    font-weight: 800;
}

.hero-card h1,
.hero-card h2 {
    margin: 0;
    color: #083338;
    font-family: var(--font-display);
    font-size: clamp(35px, 9vw, 52px);
    line-height: 1.2;
    font-weight: 900;
}

.hero-card h2 {
    font-size: clamp(30px, 8vw, 46px);
}

.hero-detail h2 {
    max-width: 100%;
    font-family: var(--font-ui);
    font-size: clamp(28px, 6.2vw, 36px);
    line-height: 1.18;
    letter-spacing: 0;
    margin-bottom: 15px;
}

.hero-detail h2 strong {
    display: block;
    margin-top: 4px;
    font-size: clamp(25px, 5.6vw, 34px);
}

.hero-card strong {
    color: #168f80;
}

.hero-art {
    position: absolute;
    z-index: 1;
    right: -76px;
    top: 20px;
    width: 280px;
    height: 220px;
    object-fit: cover;
    object-position: center;
    mix-blend-mode: multiply;
    opacity: 0.92;
    filter: saturate(1.12) contrast(1.03);
}

.hero-detail .hero-art {
    right: -34px;
    top: 36px;
    width: 220px;
    height: 172px;
    opacity: 0.82;
}

.price-ribbon {
    position: absolute;
    z-index: 3;
    left: 18px;
    right: 18px;
    bottom: 20px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    align-items: center;
    gap: 10px;
    min-height: 64px;
    padding: 10px 14px;
    color: #12383b;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(111, 221, 211, 0.9);
    border-radius: 999px;
    box-shadow: inset 0 1px 12px rgba(255, 255, 255, 0.92), 0 12px 24px rgba(7, 129, 116, 0.14);
    backdrop-filter: blur(8px);
}

.price-main {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    gap: 10px;
    white-space: nowrap;
}

.price-ribbon .was {
    font-size: clamp(15px, 3.6vw, 20px);
    font-weight: 800;
    white-space: nowrap;
}

.price-arrow {
    font-size: 24px;
    font-weight: 900;
}

.price-ribbon strong {
    min-width: 0;
    color: var(--danger);
    font-family: var(--font-ui);
    font-size: clamp(31px, 8vw, 46px);
    font-weight: 950;
    line-height: 1;
    white-space: nowrap;
}

.hero-detail .price-ribbon {
    min-height: 58px;
    gap: 8px;
    padding: 9px 12px;
}

.hero-detail .price-ribbon .was {
    font-size: clamp(14px, 3vw, 17px);
}

.hero-detail .price-ribbon strong {
    font-size: clamp(22px, 4.7vw, 28px);
}

.hero-detail .price-ribbon em {
    min-width: 74px;
    padding: 8px 10px;
    font-size: clamp(12px, 2.6vw, 15px);
}

.price-ribbon em {
    min-width: 82px;
    padding: 9px 12px;
    color: #fff;
    font-style: normal;
    font-size: clamp(14px, 3.6vw, 20px);
    font-weight: 900;
    text-align: center;
    background: linear-gradient(135deg, #f47b7f, #dc3039);
    border-radius: 999px;
    white-space: nowrap;
}

.hero-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 12px 0 30px;
}

.hero-dots span {
    width: 9px;
    height: 9px;
    background: #ccd5dc;
    border-radius: 999px;
}

.hero-dots .active {
    width: 22px;
    background: var(--mint);
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.section-heading h2 {
    margin: 0;
    font-size: 26px;
    line-height: 1.15;
}

.section-heading p,
.muted,
.help-text {
    margin: 6px 0 0;
    color: var(--ink-soft);
}

.ghost-pill {
    flex: 0 0 auto;
    min-height: 40px;
    font-size: 15px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.product-card,
.card-section,
.trust-grid,
.notice-box,
.guide-box {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--soft-shadow);
}

.product-card {
    position: relative;
    display: flex;
    min-height: 196px;
    flex-direction: column;
    justify-content: space-between;
    gap: 11px;
    padding: 18px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.product-card:active,
.primary-button:active,
.secondary-button:active,
.detail-button:active,
.icon-button:active,
.ghost-pill:active,
.outline-pill:active {
    filter: brightness(0.92);
    transform: translateY(1px);
}

.card-flags {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 25px;
}

.tag,
.soft-tag {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 3px 9px;
    color: var(--mint-dark);
    font-size: 12px;
    font-weight: 800;
    background: rgba(216, 252, 245, 0.9);
    border-radius: 999px;
    white-space: nowrap;
}

.tag-hot {
    color: #fb2341;
    background: #ffe7ed;
}

.tag-new {
    color: var(--warning);
    background: #fff2d8;
}

.product-card-main {
    display: grid;
    grid-template-columns: 66px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    min-height: 88px;
    padding-top: 30px;
}

.brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 66px;
    height: 66px;
    flex: 0 0 auto;
    overflow: hidden;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(9, 64, 72, 0.12);
}

.brand-icon-gemini {
    color: #fff;
    background: #050505;
}

.brand-icon-gemini span {
    font-size: 13px;
    font-weight: 700;
    background: linear-gradient(90deg, #1fb2ff, #b371ff, #ff6aa9);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-icon-spark span {
    width: 46px;
    height: 46px;
    background: conic-gradient(from 15deg, #f72d2d, #ffca30, #26c35d, #00a7ff, #7e51ff, #f72d2d);
    clip-path: polygon(50% 0, 63% 35%, 100% 50%, 63% 65%, 50% 100%, 37% 65%, 0 50%, 37% 35%);
}

.brand-icon-youtube span {
    position: relative;
    width: 48px;
    height: 34px;
    background: #ff1111;
    border-radius: 10px;
}

.brand-icon-youtube span::after {
    position: absolute;
    top: 9px;
    left: 18px;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 13px solid #fff;
    content: "";
}

.product-summary {
    min-width: 0;
    padding-top: 4px;
}

.product-summary h3 {
    margin: 0 0 4px;
    color: #071827;
    font-size: clamp(10px, 4.4vw, 20px);
    line-height: 1.14;
    font-weight: 950;
}

.product-price-line {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    margin: -10px 0 0 0;
    white-space: nowrap;
}

.discount-rate {
    color: var(--mint);
    font-size: clamp(15px, 4.1vw, 20px);
    font-weight: 900;
}

.sale-price {
    color: #070b12;
    font-size: clamp(20px, 4.3vw, 26px);
    font-weight: 950;
}

.product-summary del {
    display: block;
    margin: 3px 0 8px;
    font-size: clamp(15px, 3.3vw, 19px);
}

del {
    color: #8b98a5;
    text-decoration-thickness: 2px;
}

.detail-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    color: #fff;
    font-weight: 900;
    background: linear-gradient(135deg, #54d6d9, #37c8c7);
    border: 0;
    border-radius: 16px;
    box-shadow: 0 10px 20px rgba(29, 185, 178, 0.2);
    transition: filter 0.18s ease, transform 0.18s ease;
}

.bottom-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    min-height: 76px;
    margin: 24px 0 4px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #e2e8ef;
    border-radius: 22px;
    box-shadow: 0 12px 28px rgba(15, 35, 47, 0.08);
}

.bottom-tabs a,
.bottom-tabs button {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 3px;
    color: #7a8794;
    font-weight: 800;
    background: transparent;
}

.bottom-tabs .active {
    color: var(--mint);
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    margin: 0 -18px 8px;
    padding-right: 18px;
    padding-left: 18px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
}

.topbar h1 {
    margin: 0;
    color: #183043;
    font-size: 22px;
    font-weight: 900;
    text-align: center;
}

.icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: #082b3f;
    background: rgba(243, 247, 249, 0.94);
    border-radius: 13px;
    transition: filter 0.18s ease, transform 0.18s ease;
}

.detail-intro {
    padding: 20px 2px 16px;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.detail-intro h2 {
    margin: 0 0 10px;
    font-family: var(--font-ui);
    font-weight: 900;
    font-size: clamp(24px, 5.6vw, 32px);
    line-height: 1.25;
}

.deal-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 9px;
    margin: 0 0 6px;
}

.deal-price strong {
    color: var(--mint);
    font-family: var(--font-ui);
    font-size: clamp(28px, 6.4vw, 36px);
}

.deal-price span {
    color: var(--danger);
    font-family: var(--font-ui);
    font-size: clamp(28px, 6.4vw, 36px);
    font-weight: 950;
}

.deal-price del {
    font-size: 16px;
}

.card-section {
    margin-top: 14px;
    padding: 20px 18px;
}

.card-section h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    color: var(--mint-dark);
    font-size: 18px;
}

.choice-row,
.payment-option {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 58px;
    padding: 12px;
    border: 1px solid #d7e5ea;
    border-radius: 14px;
}

.choice-row.selected,
.payment-option.selected {
    border-color: var(--mint);
    background: rgba(237, 255, 251, 0.9);
    box-shadow: inset 0 0 0 1px rgba(24, 191, 165, 0.24);
}

.radio-dot {
    width: 24px;
    height: 24px;
    border: 2px solid #d2dde5;
    border-radius: 50%;
    box-shadow: inset 0 0 0 5px #fff;
}

.selected .radio-dot {
    background: var(--mint);
    border-color: #a9efe6;
}

.choice-row em {
    margin-left: auto;
    padding: 7px 10px;
    color: var(--mint-dark);
    font-style: normal;
    font-weight: 800;
    background: var(--mint-soft);
    border-radius: 999px;
}

.info-list {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.info-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 58px;
    font-size: 16px;
    font-weight: 700;
}

.info-list li + li {
    border-top: 1px solid #e2edf1;
}

.info-list .icon,
.trust-grid .icon,
.notice-box > .icon,
.guide-box > .icon,
.form-title .icon {
    width: 42px;
    height: 42px;
    padding: 10px;
    color: var(--mint-dark);
    background: var(--mint-faint);
    border-radius: 50%;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin-top: 14px;
    padding: 18px;
}

.trust-grid div {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 0 12px;
    align-items: center;
    min-height: 78px;
    padding: 0 0 16px 10px;
}

.trust-grid div:nth-child(odd) {
    border-right: 1px solid #e0edf1;
}

.trust-grid div:nth-child(n + 3) {
    border-top: 1px solid #e0edf1;
    padding-top: 16px;
}

.trust-grid strong {
    font-size: 16px;
}

.trust-grid span {
    grid-column: 2;
    color: var(--ink-soft);
}

.sticky-action {
    position: sticky;
    bottom: 12px;
    z-index: 30;
    display: grid;
    grid-template-columns: minmax(152px, 0.7fr) minmax(0, 1.3fr);
    gap: 14px;
    align-items: center;
    margin: 18px -4px 16px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: 0 16px 36px rgba(8, 88, 95, 0.16);
    backdrop-filter: blur(14px);
}

.sticky-action > div {
    padding-left: 15px;
    border-right: 1px solid #ccebe7;
}

.sticky-action span {
    display: block;
    color: #263b4a;
    font-size: 13px;
    font-weight: 800;
}

.sticky-action strong {
    display: block;
    color: var(--danger);
    font-size: clamp(18px, 4.1vw, 24px);
    line-height: 1.1;
    font-weight: 950;
    white-space: nowrap;
}

.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 62px;
    padding: 0 18px;
    color: #fff;
    font-size: 20px;
    font-weight: 950;
    background: linear-gradient(135deg, #47d9c3, #10b394);
    border-radius: 18px;
    box-shadow: 0 12px 22px rgba(17, 177, 153, 0.26);
    transition: filter 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.primary-button:hover {
    box-shadow: 0 16px 28px rgba(17, 177, 153, 0.32);
}

.summary-banner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 142px;
    align-items: center;
    min-height: 154px;
    margin-top: 18px;
    padding: 22px;
    overflow: hidden;
    background: linear-gradient(135deg, #effffc, #d9fbf4);
    border: 1px solid var(--line-strong);
    border-radius: 20px;
    box-shadow: var(--soft-shadow);
}

.summary-banner h2 {
    margin: 0 0 14px;
    font-family: var(--font-ui);
    font-weight: 900;
    font-size: clamp(25px, 5.8vw, 34px);
    line-height: 1.2;
}

.summary-banner p {
    margin: 0;
}

.summary-banner p strong {
    color: var(--mint-dark);
    font-size: 17px;
}

.summary-banner p em {
    color: var(--danger);
    font-style: normal;
    font-size: clamp(23px, 5vw, 30px);
    font-weight: 950;
}

.summary-banner img {
    width: 142px;
    height: 118px;
    object-fit: cover;
    mix-blend-mode: multiply;
}

.form-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 30px 2px 12px;
}

.form-title h2 {
    margin: 0;
    font-size: 22px;
}

.field-label {
    display: block;
    margin-bottom: 10px;
    color: #1e3444;
    font-size: 18px;
    font-weight: 900;
}

input[type="text"],
input[type="tel"],
input[type="email"] {
    width: 100%;
    min-height: 60px;
    padding: 0 18px;
    color: var(--ink);
    font-size: 18px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid #bde8e2;
    border-radius: 15px;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

input:focus {
    border-color: var(--mint);
    box-shadow: 0 0 0 4px rgba(24, 191, 165, 0.12);
}

.field-error {
    min-height: 22px;
    margin: 8px 0 0;
    color: #d7182d;
    font-size: 14px;
    font-weight: 800;
}

.has-error input {
    border-color: #ef6d79;
}

.segmented {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 18px;
    overflow: hidden;
    border: 1px solid #dbe6ea;
    border-radius: 14px;
}

.contact-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 54px;
    color: var(--ink-soft);
    font-weight: 900;
    background: rgba(255, 255, 255, 0.7);
}

.contact-tab.active {
    color: var(--mint-dark);
    background: rgba(231, 255, 250, 0.9);
    border: 1px solid var(--mint);
    border-radius: 14px;
}

.contact-panel {
    display: none;
}

.contact-panel.active {
    display: block;
}

.agreement-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    gap: 12px;
    align-items: center;
}

.check-row {
    position: relative;
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    cursor: pointer;
}

.check-row input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.check-row span {
    width: 28px;
    height: 28px;
    border: 2px solid #cad6dd;
    border-radius: 7px;
    background: #fff;
}

.check-row strong {
    font-size: 14px;
}

.check-row input:checked + span {
    background: var(--mint);
    border-color: var(--mint);
    box-shadow: inset 0 0 0 5px #fff;
}

.text-link {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    position: relative;
    z-index: 2;
    color: #475464;
    font-weight: 800;
    text-decoration: underline;
    background: transparent;
    white-space: nowrap;
}

.legal-hero {
    margin-top: 10px;
    padding: 28px 22px;
    background: linear-gradient(135deg, rgba(232, 255, 251, 0.96), rgba(255, 255, 255, 0.96));
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--soft-shadow);
}

.legal-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 14px;
    color: var(--mint-dark);
    background: var(--mint-faint);
    border-radius: 50%;
}

.legal-icon .icon {
    width: 30px;
    height: 30px;
}

.legal-hero h2 {
    margin: 0 0 10px;
    color: #102233;
    font-size: clamp(23px, 5.6vw, 32px);
    line-height: 1.25;
    font-weight: 950;
}

.legal-hero p:last-child,
.legal-card p {
    margin: 8px 0 0;
    color: var(--ink-soft);
}

.legal-card h3 {
    align-items: flex-start;
    color: var(--mint-dark);
    line-height: 1.35;
}

.legal-summary,
.retention-list {
    display: grid;
    gap: 10px;
}

.legal-summary div,
.retention-list div {
    display: grid;
    grid-template-columns: minmax(96px, 0.9fr) minmax(0, 1.5fr);
    gap: 12px;
    align-items: center;
    min-height: 46px;
    padding: 12px 14px;
    background: rgba(241, 255, 252, 0.78);
    border: 1px solid #d5f0ec;
    border-radius: 14px;
}

.legal-summary dt,
.retention-list dt {
    color: #415060;
    font-weight: 800;
}

.legal-summary dd,
.retention-list dd {
    color: var(--ink);
    font-weight: 800;
    text-align: right;
}

.legal-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.legal-list li {
    position: relative;
    padding-left: 24px;
    color: var(--ink);
    font-weight: 700;
}

.legal-list li::before {
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 8px;
    height: 8px;
    background: var(--mint);
    border-radius: 50%;
    content: "";
}

.refund-card h3 {
    color: #0b7469;
}

.refund-intro {
    padding: 14px;
    background: rgba(239, 253, 250, 0.9);
    border: 1px solid #d5f0ec;
    border-radius: 14px;
    font-weight: 700;
}

.refund-rules {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.refund-rules article {
    padding: 16px;
    background: #fff;
    border: 1px solid #dcebed;
    border-radius: 14px;
    box-shadow: 0 8px 18px rgba(8, 65, 72, 0.05);
}

.refund-rules strong {
    display: block;
    color: #102233;
    font-size: 16px;
}

.refund-rules p {
    margin: 8px 0 0;
}

.legal-notice {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    margin-top: 14px;
    padding: 18px;
    background: rgba(239, 253, 250, 0.96);
    border: 1px solid var(--line);
    border-radius: 20px;
}

.legal-notice > .icon {
    width: 48px;
    height: 48px;
    padding: 12px;
    color: var(--mint-dark);
    background: #fff;
    border-radius: 50%;
}

.legal-notice strong {
    display: block;
    color: #0f776b;
    font-size: 17px;
}

.legal-notice p {
    margin: 4px 0 0;
    color: var(--ink-soft);
}

.legal-actions {
    margin-bottom: 18px;
}

.alert-message {
    margin: 12px 0;
    padding: 13px 15px;
    color: #a81420;
    font-weight: 800;
    background: #fff0f2;
    border: 1px solid #ffd2d8;
    border-radius: 14px;
}

.order-product h3,
.buyer-summary h3 {
    color: #0c665d;
}

.ordered-item {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid #e0edf1;
}

.ordered-item .brand-icon {
    width: 72px;
    height: 72px;
}

.ordered-item h4 {
    margin: 0 0 10px;
    font-size: 18px;
}

dl {
    margin: 0;
}

dt,
dd {
    margin: 0;
}

.ordered-item dl {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.ordered-item dt {
    color: var(--ink-soft);
}

.ordered-item dd {
    color: var(--mint-dark);
    font-size: 18px;
    font-weight: 950;
}

.price-lines {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 16px;
    color: var(--ink-soft);
    font-size: 15px;
    font-weight: 800;
}

.price-lines span {
    display: grid;
    gap: 5px;
}

.price-lines strong {
    color: var(--mint-dark);
}

.price-lines em {
    color: var(--danger);
    font-style: normal;
    font-size: 19px;
    font-weight: 950;
}

.section-with-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.outline-pill {
    min-height: 34px;
    padding: 6px 12px;
    background: #fff;
}

.buyer-summary dl,
.receipt-card dl {
    display: grid;
    gap: 0;
}

.buyer-summary dl div,
.receipt-card dl div {
    display: grid;
    grid-template-columns: 122px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-height: 50px;
}

.buyer-summary dl div + div,
.receipt-card dl div + div {
    border-top: 1px solid #e2edf1;
}

.buyer-summary dt,
.receipt-card dt {
    color: var(--ink-soft);
}

.buyer-summary dd,
.receipt-card dd {
    text-align: right;
    font-weight: 800;
    word-break: break-word;
}

.payment-form {
    padding-bottom: 2px;
}

.payment-option {
    position: relative;
    margin-top: 12px;
}

.payment-option input {
    position: absolute;
    opacity: 0;
}

.payment-option strong {
    min-width: 74px;
    font-size: 17px;
}

.payment-option em {
    margin-left: auto;
    color: var(--ink-soft);
    font-style: normal;
    font-size: 14px;
    text-align: right;
}

.notice-box,
.guide-box {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    margin-top: 14px;
    padding: 18px;
    background: linear-gradient(135deg, rgba(236, 255, 252, 0.9), rgba(255, 255, 255, 0.9));
}

.notice-box strong,
.guide-box strong {
    display: block;
    margin-bottom: 5px;
    font-size: 19px;
}

.notice-box p,
.guide-box p {
    margin: 2px 0;
    color: var(--ink-soft);
}

.complete-topbar {
    border-bottom: 1px solid #e2edf1;
}

.complete-hero {
    position: relative;
    margin: 0 -18px;
    padding: 52px 26px 32px;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(180deg, #eefdfa 0%, rgba(255, 255, 255, 0) 100%);
}

.complete-hero img {
    width: 260px;
    height: 200px;
    margin: 0 auto -92px;
    object-fit: cover;
    mix-blend-mode: multiply;
    opacity: 0.64;
}

.success-mark {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 122px;
    height: 122px;
    color: #fff;
    background: linear-gradient(135deg, #7ee8dd, #19bea5);
    border: 10px solid rgba(231, 255, 251, 0.9);
    border-radius: 50%;
    box-shadow: 0 18px 40px rgba(9, 132, 119, 0.22);
}

.success-mark .icon {
    width: 58px;
    height: 58px;
}

.complete-hero h2 {
    margin: 28px 0 12px;
    color: #075d56;
    font-family: var(--font-ui);
    font-weight: 900;
    font-size: clamp(30px, 7vw, 42px);
}

.complete-hero p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 18px;
}

.receipt-card {
    margin-top: 8px;
}

.receipt-card dt {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #111827;
    font-weight: 800;
}

.receipt-card dt .icon {
    width: 28px;
    height: 28px;
    padding: 6px;
    color: var(--mint-dark);
    background: var(--mint-faint);
    border-radius: 50%;
}

.receipt-card .accent {
    color: var(--mint-dark);
    font-size: 20px;
}

.guide-box {
    margin-top: 18px;
    padding: 22px;
}

.complete-actions {
    display: grid;
    gap: 14px;
    margin: 24px 0 10px;
}

.wide {
    width: 100%;
}

.secondary-button {
    color: var(--mint-dark);
    background: #fff;
    border: 1px solid #9ee5dc;
    box-shadow: none;
}

.site-footer {
    margin: 28px -18px -24px;
    padding: 22px 18px 30px;
    color: #6d7a86;
    font-size: 12px;
    background: rgba(247, 250, 251, 0.94);
    border-top: 1px solid #e2edf1;
}

.site-footer strong {
    display: block;
    margin-bottom: 8px;
    color: #43505d;
}

.site-footer p {
    margin: 3px 0;
}

.toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 100;
    width: min(calc(100% - 32px), 430px);
    padding: 13px 16px;
    color: #fff;
    font-weight: 800;
    text-align: center;
    background: rgba(17, 35, 49, 0.92);
    border-radius: 999px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 12px);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.toast.visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

@media (max-width: 430px) {
    .app-shell {
        padding-right: 14px;
        padding-left: 14px;
    }

    .home-header {
        min-height: 70px;
    }

    .platform-pill {
        padding-inline: 10px;
        font-size: 13px;
    }

    .hero-card {
        min-height: 264px;
        padding: 22px 18px 82px;
        border-radius: 20px;
    }

    .hero-copy {
        width: 72%;
    }

    .hero-art {
        right: -94px;
        top: 28px;
        width: 250px;
        height: 200px;
    }

    .hero-detail {
        min-height: 216px;
        padding: 20px 30px 76px;
    }

    .hero-detail .hero-copy {
        width: 62%;
    }

    .hero-detail h2 {
        font-size: clamp(24px, 6.2vw, 29px);
        line-height: 1.16;
        margin-bottom: 30px;
    }

    .hero-detail h2 strong {
        font-size: clamp(22px, 5.7vw, 27px);
    }

    .hero-detail .eyebrow {
        margin-bottom: 12px;
        font-size: 13px;
    }

    .hero-detail .hero-art {
        right: -28px;
        top: 42px;
        width: 176px;
        height: 138px;
    }

    .price-ribbon {
        left: 12px;
        right: 12px;
        grid-template-columns: 1fr auto;
        gap: 5px;
        min-height: 56px;
        padding: 8px;
    }

    .price-main {
        gap: 4px;
    }

    .price-ribbon .was {
        font-size: clamp(10px, 2.45vw, 12px);
    }

    .price-arrow {
        font-size: clamp(15px, 3.8vw, 17px);
    }

    .price-ribbon strong {
        font-size: clamp(16px, 4.4vw, 20px);
    }

    .price-ribbon em {
        min-width: 58px;
        padding: 7px 8px;
        font-size: clamp(10px, 2.45vw, 11px);
    }

    .hero-detail .price-ribbon {
        min-height: 54px;
        padding: 8px 9px;
    }

    .hero-detail .price-ribbon .was {
        font-size: clamp(14px, 3.8vw, 18px);
    }

    .hero-detail .price-ribbon strong {
        font-size: clamp(17px, 4.8vw, 22px);
    }

    .hero-detail .price-ribbon em {
        min-width: 58px;
        padding: 7px 8px;
        font-size: clamp(10px, 2.45vw, 11px);
    }

    .detail-intro h2 {
        font-size: clamp(22px, 6vw, 28px);
    }

    .deal-price strong,
    .deal-price span {
        font-size: clamp(25px, 7vw, 31px);
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-card {
        min-height: 178px;
    }

    .product-card-main {
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 16px;
        padding-top: 25px;
    }

    .brand-icon {
        width: 64px;
        height: 64px;
    }

    .card-flags {
        top: 12px;
        right: 12px;
    }

    .product-summary h3 {
        font-size: clamp(22px, 6vw, 28px);
    }

    .discount-rate {
        font-size: clamp(21px, 4.1vw, 26px);
    }

    .sale-price {
        font-size: clamp(22px, 6vw, 28px);
    }

    .section-heading {
        align-items: flex-end;
    }

    .ghost-pill {
        padding-inline: 11px;
        font-size: 13px;
    }

    .summary-banner {
        grid-template-columns: 1fr 108px;
        padding: 18px;
    }

    .summary-banner h2 {
        font-size: clamp(23px, 6vw, 28px);
    }

    .summary-banner p strong {
        font-size: 15px;
    }

    .summary-banner p em {
        font-size: clamp(21px, 5.8vw, 26px);
    }

    .summary-banner img {
        width: 118px;
        height: 102px;
    }

    .agreement-head {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .text-link {
        justify-content: flex-start;
        padding-left: 44px;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .trust-grid div {
        padding: 0 0 16px 0;
    }

    .trust-grid div:nth-child(odd) {
        border-right: 0;
    }

    .trust-grid div:nth-child(n + 2) {
        border-top: 1px solid #e0edf1;
        padding: 16px 0;
    }

    .sticky-action {
        grid-template-columns: minmax(132px, 0.72fr) minmax(0, 1fr);
        gap: 10px;
    }

    .sticky-action strong {
        font-size: clamp(17px, 4.9vw, 21px);
    }

    .primary-button,
    .secondary-button {
        min-height: 58px;
        font-size: 18px;
    }

    .price-lines {
        grid-template-columns: 1fr;
    }

    .buyer-summary dl div,
    .receipt-card dl div {
        grid-template-columns: 104px minmax(0, 1fr);
    }
}

@media (min-width: 760px) {
    .page-bg {
        padding: 28px 0;
    }

    .app-shell {
        border: 1px solid rgba(204, 237, 232, 0.72);
        border-radius: 28px;
    }
}
