:root {
    --primary: #6098C3;
    --primary-hover: #4E83AF;
    --primary-soft: #91AFDD;
    --primary-pale: #D6E3F5;
    --primary-light-pale: #E8F0FA;
    --powder-blue: #B7C6E3;
    --mist-blue: #A8C8D7;
    --mist-mint: #C5DAD7;
    --lavender: #D8D7EE;
    --blush: #F2D4E3;
    --glass: #FBFDFF;
    --background: #E6EFF7;
    --border: #C9D9E8;
    --text-main: #355B75;
    --text-muted: #6D829A;
    --secondary: #CF8DB6;
    --tertiary: #8D83BD;
    --white: #FFFFFF;
    --shadow-soft: 0 18px 45px rgba(53, 91, 117, 0.10);
    --radius-control: 22px;
    --radius-card: 28px;
    --header-height: 74px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 20px); }
body {
    margin: 0;
    color: var(--text-main);
    background: var(--background);
    font-family: Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.7;
    word-break: keep-all;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.25; letter-spacing: -0.035em; }
h1 { font-size: clamp(2.45rem, 8vw, 4.7rem); }
h2 { font-size: clamp(2rem, 5vw, 3.15rem); }
h3 { font-size: 1.2rem; }
:focus-visible { outline: 3px solid var(--tertiary); outline-offset: 4px; border-radius: 8px; }

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 200;
    padding: 10px 16px;
    color: var(--white);
    background: var(--text-main);
    border-radius: 12px;
    transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
.section-shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 88px 0; }
.eyebrow {
    margin-bottom: 12px;
    color: #476F8B;
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}
.section-heading { max-width: 700px; margin: 0 auto 42px; text-align: center; }
.section-heading h2 { margin-bottom: 14px; }
.section-heading > p:last-child { color: var(--text-muted); }

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    height: var(--header-height);
    border-bottom: 1px solid transparent;
    transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.site-header.is-scrolled {
    background: rgba(251, 253, 255, 0.94);
    border-color: rgba(201, 217, 232, 0.9);
    box-shadow: 0 8px 24px rgba(53, 91, 117, 0.07);
    backdrop-filter: blur(12px);
}
.header-inner {
    width: min(1220px, calc(100% - 32px));
    height: 100%;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.17rem; font-weight: 800; }
.brand-icon { width: 38px; height: 38px; border-radius: 12px; }
.site-nav { display: flex; align-items: center; gap: 26px; color: #526F84; font-size: 0.92rem; font-weight: 650; }
.site-nav a { position: relative; }
.site-nav a:not(.nav-cta)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -6px;
    height: 2px;
    background: var(--primary);
    transition: right 180ms ease;
}
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { right: 0; }
.nav-cta {
    padding: 10px 17px;
    color: var(--white);
    background: var(--text-main);
    border-radius: var(--radius-control);
}
.nav-cta:hover { background: #294B62; transform: translateY(-2px); }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--border); background: var(--glass); border-radius: 14px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--text-main); border-radius: 2px; transition: transform 180ms ease, opacity 180ms ease; }

.hero {
    position: relative;
    min-height: 760px;
    padding: calc(var(--header-height) + 80px) 0 80px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--powder-blue) 0%, var(--lavender) 47%, var(--mist-mint) 100%);
}
.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 150px;
    background: linear-gradient(to bottom, transparent, var(--background));
}
.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
    align-items: center;
    gap: 72px;
}
.hero-copy { animation: hero-fade 650ms ease both; }
.hero-copy h1 { max-width: 720px; margin-bottom: 22px; color: var(--text-main); }
.hero-description { color: #526F84; font-size: clamp(1.04rem, 2vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; margin: 32px 0 22px; }
.button { display: inline-flex; min-height: 52px; padding: 13px 23px; align-items: center; justify-content: center; border-radius: var(--radius-control); font-weight: 800; }
.button-primary { color: var(--white); background: var(--text-main); transition: background-color 180ms ease, transform 180ms ease; }
.button-primary:hover { background: #294B62; transform: translateY(-2px); }
.button-secondary { color: var(--text-main); background: rgba(251, 253, 255, 0.72); border: 1px solid var(--border); transition: background-color 180ms ease, transform 180ms ease; }
.button-secondary:hover { background: var(--glass); transform: translateY(-2px); }
.availability { color: #526F84; font-size: 0.86rem; font-weight: 650; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; }
.hero-points li { padding: 7px 13px; color: #476A82; background: rgba(251, 253, 255, 0.58); border: 1px solid rgba(255, 255, 255, 0.72); border-radius: 999px; font-size: 0.84rem; font-weight: 700; }
.cloud { position: absolute; border-radius: 50%; background: rgba(251, 253, 255, 0.2); filter: blur(2px); }
.cloud-one { width: 350px; height: 230px; top: 100px; left: -130px; }
.cloud-two { width: 440px; height: 280px; right: -180px; bottom: 40px; }

.hero-visual { position: relative; display: grid; place-items: center; animation: hero-fade 650ms 120ms ease both; }
.icon-orbit { position: absolute; top: -36px; right: 12px; z-index: 3; padding: 8px; background: rgba(251, 253, 255, 0.72); border: 1px solid rgba(255, 255, 255, 0.86); border-radius: 32px; box-shadow: var(--shadow-soft); }
.hero-icon { width: 105px; height: 105px; border-radius: 25px; }
.app-preview { width: min(100%, 430px); padding: 26px 22px 18px; background: rgba(251, 253, 255, 0.9); border: 1px solid rgba(255, 255, 255, 0.92); border-radius: 38px; box-shadow: var(--shadow-soft); }
.preview-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.preview-top strong, .preview-card strong, .preview-notice strong { display: block; }
.preview-caption, .preview-card small, .preview-notice small { display: block; color: var(--text-muted); font-size: 0.74rem; }
.preview-bell { display: grid; width: 43px; height: 43px; place-items: center; color: var(--primary-hover); background: var(--primary-light-pale); border-radius: 16px; font-size: 1.4rem; }
.preview-card { padding: 18px; background: var(--white); border: 1px solid var(--border); border-radius: 23px; }
.preview-card-heading { display: flex; align-items: center; gap: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 15px; }
.chips span { padding: 6px 10px; color: #526F84; background: var(--primary-light-pale); border-radius: 999px; font-size: 0.72rem; font-weight: 700; }
.preview-notice { display: flex; align-items: center; gap: 12px; margin: 12px 0; padding: 14px; background: #F5F9FC; border: 1px solid var(--border); border-radius: 19px; }
.notification-dot { flex: 0 0 auto; width: 11px; height: 11px; background: #63A997; border-radius: 50%; box-shadow: 0 0 0 6px rgba(99, 169, 151, 0.14); }
.preview-navigation { display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 12px; border-top: 1px solid var(--border); }
.preview-navigation span { display: grid; justify-items: center; gap: 2px; color: var(--text-muted); }
.preview-navigation span.active { color: var(--primary-hover); }
.preview-navigation small { font-size: 0.62rem; }

.features-section { position: relative; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature-card { min-height: 240px; padding: 25px; background: rgba(251, 253, 255, 0.88); border: 1px solid var(--border); border-radius: var(--radius-card); transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease; }
.feature-card:hover { transform: translateY(-3px); border-color: var(--primary-soft); box-shadow: 0 14px 32px rgba(53, 91, 117, 0.08); }
.feature-card h3 { margin: 19px 0 10px; }
.feature-card p { margin-bottom: 0; color: var(--text-muted); font-size: 0.93rem; }
.feature-symbol { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 17px; font-size: 1.35rem; font-weight: 800; }
.symbol-blue { color: #3F7197; background: var(--primary-pale); }
.symbol-lavender { color: #665D96; background: var(--lavender); }
.symbol-mint { color: #477A71; background: var(--mist-mint); }
.symbol-blush { color: #9A5E80; background: var(--blush); }

.flow-section { background: rgba(251, 253, 255, 0.54); border-block: 1px solid rgba(201, 217, 232, 0.75); }
.flow-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: flow; }
.flow-card { position: relative; display: flex; gap: 17px; min-height: 200px; padding: 27px; background: var(--glass); border: 1px solid var(--border); border-radius: var(--radius-card); }
.flow-card > span { display: grid; flex: 0 0 42px; width: 42px; height: 42px; place-items: center; color: var(--white); background: var(--text-main); border-radius: 15px; font-weight: 800; }
.flow-card h3 { margin: 8px 0 10px; }
.flow-card p { margin-bottom: 0; color: var(--text-muted); }

.closing-section { padding-bottom: 110px; }
.closing-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; padding: 36px 42px; background: linear-gradient(120deg, rgba(216, 215, 238, 0.82), rgba(197, 218, 215, 0.82)); border: 1px solid rgba(255, 255, 255, 0.86); border-radius: 34px; }
.closing-card h2 { margin-bottom: 12px; font-size: clamp(1.75rem, 4vw, 2.7rem); }
.closing-card p:last-child { margin-bottom: 0; color: #526F84; }
.closing-icon { width: 88px; height: 88px; border-radius: 24px; }
.closing-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }

.site-footer { padding: 42px 0; background: var(--glass); border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; }
.footer-brand { margin-bottom: 6px; }
.footer-grid p { margin: 0; color: var(--text-muted); font-size: 0.86rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 22px; color: #526F84; font-size: 0.9rem; font-weight: 650; }
.footer-links a:hover { color: var(--text-main); text-decoration: underline; }
.copyright { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid var(--border); }

.policy-page { background: linear-gradient(135deg, rgba(183, 198, 227, 0.56), rgba(216, 215, 238, 0.48) 45%, rgba(197, 218, 215, 0.58)); background-attachment: fixed; }
.policy-page .site-header { background: rgba(251, 253, 255, 0.9); border-bottom-color: var(--border); }
.policy-main { padding: calc(var(--header-height) + 54px) 0 100px; }
.policy-hero { max-width: 900px; margin-bottom: 30px; text-align: center; }
.policy-hero h1 { margin-bottom: 14px; font-size: clamp(2.35rem, 6vw, 3.8rem); }
.policy-hero > p:last-child { color: #526F84; }
.policy-layout { display: grid; grid-template-columns: 230px minmax(0, 900px); justify-content: center; align-items: start; gap: 24px; }
.policy-toc { position: sticky; top: calc(var(--header-height) + 22px); display: grid; gap: 6px; padding: 22px; background: rgba(251, 253, 255, 0.78); border: 1px solid var(--border); border-radius: 24px; }
.policy-toc strong { margin-bottom: 7px; }
.policy-toc a { padding: 5px 0; color: #526F84; font-size: 0.82rem; line-height: 1.45; }
.policy-toc a:hover { color: var(--text-main); text-decoration: underline; }
.policy-card { padding: clamp(24px, 5vw, 52px); background: rgba(251, 253, 255, 0.95); border: 1px solid rgba(255, 255, 255, 0.92); border-radius: 32px; box-shadow: var(--shadow-soft); }
.policy-card section { padding: 38px 0 8px; border-bottom: 1px solid var(--border); scroll-margin-top: calc(var(--header-height) + 20px); }
.policy-card section:last-child { border-bottom: 0; }
.policy-card h2 { margin-bottom: 15px; font-size: clamp(1.35rem, 3vw, 1.7rem); }
.policy-card h3 { margin-top: 24px; }
.policy-card p, .policy-card li, .policy-card dd { color: #526F84; }
.policy-card ul { padding-left: 22px; }
.policy-card li + li { margin-top: 7px; }
.table-wrap { overflow-x: auto; margin: 20px 0; border: 1px solid var(--border); border-radius: 18px; }
table { width: 100%; min-width: 650px; border-collapse: collapse; font-size: 0.88rem; }
th, td { padding: 14px 15px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
th { color: var(--text-main); background: var(--primary-light-pale); }
td { color: #526F84; }
tr:last-child td { border-bottom: 0; }

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 500ms ease, transform 500ms ease; }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes hero-fade {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 960px) {
    .hero { min-height: auto; }
    .hero-grid { grid-template-columns: 1fr; gap: 74px; }
    .hero-copy { max-width: 720px; text-align: center; margin-inline: auto; }
    .hero-actions, .hero-points { justify-content: center; }
    .hero-visual { max-width: 520px; margin-inline: auto; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .policy-layout { grid-template-columns: 1fr; max-width: 900px; }
    .policy-toc { position: static; grid-template-columns: repeat(2, 1fr); }
    .policy-toc strong { grid-column: 1 / -1; }
    .closing-card { grid-template-columns: auto 1fr; }
    .closing-actions { grid-column: 1 / -1; justify-content: flex-start; }
}

@media (max-width: 760px) {
    :root { --header-height: 66px; }
    body { word-break: normal; }
    .section-shell { width: min(100% - 30px, 1180px); }
    .section { padding: 68px 0; }
    .nav-toggle { display: block; }
    .site-nav {
        position: absolute;
        top: calc(100% + 8px);
        left: 16px;
        right: 16px;
        display: grid;
        gap: 4px;
        padding: 16px;
        background: rgba(251, 253, 255, 0.98);
        border: 1px solid var(--border);
        border-radius: 22px;
        box-shadow: var(--shadow-soft);
    }
    .site-nav a { padding: 10px 12px; border-radius: 12px; }
    .site-nav a:not(.nav-cta)::after { display: none; }
    .nav-cta { margin-top: 4px; text-align: center; }
    .js .site-nav { visibility: hidden; opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity 160ms ease, transform 160ms ease, visibility 160ms; }
    .js .site-nav.is-open { visibility: visible; opacity: 1; transform: translateY(0); pointer-events: auto; }
    .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
    .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .hero { padding-top: calc(var(--header-height) + 60px); }
    .hero-description br { display: none; }
    .feature-grid, .flow-list { grid-template-columns: 1fr; }
    .feature-card { min-height: 0; }
    .flow-card { min-height: 0; }
    .closing-card { grid-template-columns: 1fr; padding: 30px 25px; text-align: center; }
    .closing-icon { justify-self: center; }
    .closing-actions { grid-column: auto; justify-content: center; width: 100%; }
    .closing-actions .button { width: 100%; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-brand { justify-content: center; }
    .footer-links { justify-content: center; gap: 14px 20px; }
    .copyright { grid-column: auto; }
    .policy-main { padding-bottom: 70px; }
    .policy-toc { grid-template-columns: 1fr; }
    .policy-toc strong { grid-column: auto; }
}

@media (max-width: 480px) {
    h1 { font-size: 2.35rem; }
    .hero-actions { display: grid; }
    .button { width: 100%; }
    .hero-points { gap: 7px; }
    .app-preview { padding: 22px 16px 15px; border-radius: 31px; }
    .icon-orbit { top: -50px; right: 2px; }
    .hero-icon { width: 82px; height: 82px; }
    .preview-navigation small { font-size: 0.56rem; }
    .feature-card { padding: 22px; }
    .flow-card { padding: 23px; }
    .policy-card { border-radius: 26px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
    .js .reveal { opacity: 1; transform: none; }
}
