:root {
  --ink: #1a2130;
  --ink-soft: #2a3346;
  --fog: #edeff2;
  --paper: #ffffff;
  --honey: #f5cd3d;
  --honey-strong: #e3b71c;
  --honey-soft: #fcf1c4;
  --slate: #5d6577;
  --line: #d9dde3;
  /* Type scale: grows with the viewport between a phone and a wide desktop, never past the max. */
  --fs-hero: clamp(30px, 1.9vw + 22px, 50px);
  --fs-h2: clamp(24px, 0.9vw + 19px, 32px);
  --fs-title: clamp(23px, 0.7vw + 19px, 30px);
  --fs-h3: clamp(19px, 0.35vw + 17px, 22px);
  --fs-lede: clamp(16px, 0.25vw + 15px, 18px);
  --fs-text: clamp(15px, 0.1vw + 14.6px, 16px);
  --section: clamp(56px, 5vw + 32px, 88px);
  --font: ui-sans-serif, system-ui, -apple-system, 'Apple SD Gothic Neo', 'Pretendard', 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); word-break: keep-all; overflow-wrap: break-word; color: var(--ink); background: var(--fog); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--honey-strong); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Header */
.top { display: flex; align-items: center; gap: 24px; padding: 20px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -0.02em; text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 22px; font-size: 15px; }
.top nav a { text-decoration: none; color: var(--slate); white-space: nowrap; }
.top nav a:hover { color: var(--ink); }
.badge { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; background: var(--ink); color: #fff; padding: 9px 16px; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.badge small { color: var(--honey); font-weight: 600; font-size: 12px; }

/* Hero: the tear-off date page from the app's sidebar */
.hero { display: grid; grid-template-columns: auto 1fr; gap: 56px; align-items: end; padding: 48px 0 40px; }
.datepage { background: var(--ink); color: #fff; border-radius: 22px; padding: 24px 26px 22px; width: 216px; box-shadow: 0 30px 60px -30px rgba(26, 33, 48, 0.55); }
.datepage .day { font-size: 104px; line-height: 0.82; font-weight: 900; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.datepage .weekday { display: inline-block; margin-top: 16px; transform: rotate(-1.5deg); background: var(--honey); color: var(--ink); font-weight: 800; font-size: 18px; padding: 1px 9px; border-radius: 4px; }
.datepage .month { margin-top: 6px; color: #9aa3b5; font-size: 15px; }
.hero h1 { font-size: var(--fs-hero); line-height: 1.08; letter-spacing: -0.03em; font-weight: 800; margin: 0 0 18px; max-width: 14ch; }
.hero p.lede { font-size: var(--fs-lede); color: var(--slate); margin: 0 0 26px; max-width: 46ch; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.actions .quiet { font-size: 15px; color: var(--slate); text-underline-offset: 4px; text-decoration-color: var(--honey-strong); text-decoration-thickness: 2px; }

/* Product shot */
.shot { margin: 8px 0 0; }
.shot picture img, .shot img { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(26, 33, 48, 0.45); background: var(--paper); }
.shot figcaption { font-size: 13px; color: var(--slate); margin-top: 12px; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding: var(--section) 0 72px; }
.feature h2 { font-size: var(--fs-h3); letter-spacing: -0.02em; margin: 0 0 10px; }
.feature h2 mark { background: linear-gradient(transparent 55%, var(--honey) 55%); color: inherit; padding: 0 2px; }
.feature p { margin: 0 0 10px; color: var(--slate); }
.feature ul { margin: 0; padding-left: 18px; color: var(--slate); font-size: 15px; }
.feature li { margin: 4px 0; }

/* Shared section heading */
.section-title { font-size: var(--fs-title); line-height: 1.2; letter-spacing: -0.03em; margin: 0 0 28px; }
.eyebrow { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--honey-strong); }
kbd { display: inline-block; min-width: 1.6em; padding: 0 6px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; background: var(--paper); font: 600 0.85em/1.6 var(--font); text-align: center; color: var(--ink); }
code { background: var(--paper); border: 1px solid var(--line); padding: 0 5px; border-radius: 4px; font-size: 0.9em; }

/* Text beside a picture */
.split { display: grid; grid-template-columns: 1fr 1.7fr; gap: 56px; align-items: center; padding: 24px 0 var(--section); }
.split-rev { grid-template-columns: 1.4fr 1fr; }
.split-rev .split-text { order: 0; }
.split h2 { font-size: var(--fs-h2); line-height: 1.18; letter-spacing: -0.03em; margin: 0 0 16px; }
.split-text > p { margin: 0 0 14px; color: var(--slate); font-size: var(--fs-text); }
.split-text .small { font-size: 15px; }
.split .shot { margin: 0; }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; font-size: 15px; }
.checks li { padding-left: 26px; position: relative; }
.checks li::before { content: ''; position: absolute; left: 0; top: 0.5em; width: 12px; height: 12px; border-radius: 3px; background: var(--honey); }
.phone { margin: 0; justify-self: center; width: min(100%, 360px); }
.phone img { display: block; width: 100%; height: auto; border-radius: 22px; border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(26, 33, 48, 0.45); background: var(--paper); }

/* Panel catalog */
.catalog { padding: 0 0 var(--section); }
.catalog ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.catalog li { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; display: grid; gap: 4px; }
.catalog b { font-size: 16px; letter-spacing: -0.01em; }
.catalog span { font-size: 14px; color: var(--slate); line-height: 1.5; }

/* Use cases: tabs over one article per space */
.usecases { padding: 0 0 var(--section); }
.usecases-lede { margin: -12px 0 28px; color: var(--slate); font-size: var(--fs-text); max-width: 64ch; }
.uc-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px; background: var(--ink); border-radius: 16px; width: fit-content; margin-bottom: 28px; }
.uc-tabs[hidden] { display: none; }
.uc-tabs button { display: flex; align-items: center; gap: 8px; border: 0; border-radius: 11px; padding: 10px 16px; background: transparent; color: #c9cfda; font: 600 15px/1.2 var(--font); cursor: pointer; }
.uc-tabs button:hover { background: rgba(255, 255, 255, 0.07); color: #fff; }
.uc-tabs button[aria-selected="true"] { background: var(--honey); color: var(--ink); }
.uc-num { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: rgba(255, 255, 255, 0.1); font-size: 12px; font-weight: 800; }
.uc-tabs button[aria-selected="true"] .uc-num { background: rgba(26, 33, 48, 0.12); }
.uc { display: grid; grid-template-columns: 1fr 1.75fr; gap: 48px; align-items: start; }
.uc + .uc { margin-top: 64px; }
.uc[hidden] { display: none; }
.uc-tabs:not([hidden]) ~ .uc { margin-top: 0; animation: uc-in 0.25s ease-out; }
@keyframes uc-in { from { opacity: 0; transform: translateY(6px); } }
.uc h3 { font-size: var(--fs-h3); line-height: 1.3; letter-spacing: -0.025em; margin: 4px 0 12px; }
.uc-text > p { margin: 0 0 16px; color: var(--slate); font-size: var(--fs-text); }
.uc-text strong { color: var(--ink); background: linear-gradient(transparent 60%, var(--honey) 60%); }
.uc-panels { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.uc-panels li { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 3px 11px; font-size: 13px; font-weight: 600; }
.uc-tip { font-size: 14px; background: var(--honey-soft); border-radius: 12px; padding: 12px 14px; color: var(--ink-soft) !important; }
.uc-tip b { margin-right: 6px; }
.uc .shot { margin: 0; }
.uc-flow { list-style: none; margin: 0 0 18px; padding: 0; counter-reset: flow; display: grid; gap: 10px; }
.uc-flow li { counter-increment: flow; display: grid; grid-template-columns: 28px 1fr; column-gap: 12px; }
.uc-flow li::before { content: counter(flow); grid-row: span 2; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--honey); font-weight: 800; font-size: 14px; }
.uc-flow b { font-size: 15px; }
.uc-flow span { font-size: 14px; color: var(--slate); }

/* Getting started */
.steps { padding: 0 0 56px; }
.steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.steps li { counter-increment: step; display: grid; gap: 6px; padding-top: 16px; border-top: 3px solid var(--ink); }
.steps li::before { content: counter(step); font-size: 36px; font-weight: 900; line-height: 1; letter-spacing: -0.04em; color: var(--honey-strong); }
.steps b { font-size: 18px; letter-spacing: -0.015em; }
.steps span { color: var(--slate); font-size: 15px; }

/* Smaller perks */
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 40px; padding: 24px 0 var(--section); }
.perks div { display: grid; gap: 4px; align-content: start; }
.perks b { font-size: 16px; }
.perks span { color: var(--slate); font-size: 15px; }

/* FAQ */
.faq { padding: var(--section) 0 24px; max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-weight: 700; font-size: var(--fs-text); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 6px; top: 14px; font-size: 24px; font-weight: 400; color: var(--slate); }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 0 0 20px; color: var(--slate); max-width: 68ch; }

/* Closing call to action */
.cta { margin: var(--section) 0 0; padding: clamp(40px, 4vw + 24px, 56px) 24px; text-align: center; background: var(--honey-soft); border-radius: 28px; display: grid; justify-items: center; gap: 10px; }
.cta img { border-radius: 16px; }
.cta h2 { font-size: var(--fs-h2); letter-spacing: -0.03em; line-height: 1.2; margin: 8px 0 0; }
.cta p { margin: 0 0 8px; color: var(--slate); }

/* Privacy promise */
.promise { background: var(--ink); color: #e6e9ef; border-radius: 28px; padding: 56px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.promise h2 { color: #fff; font-size: var(--fs-h2); line-height: 1.2; letter-spacing: -0.03em; margin: 0 0 14px; }
.promise p { margin: 0; color: #aab2c2; }
.promise dl { margin: 0; display: grid; gap: 18px; }
.promise dt { color: var(--honey); font-weight: 700; }
.promise dd { margin: 2px 0 0; color: #c9cfda; font-size: 15px; }
.promise a { color: #fff; text-decoration-color: var(--honey); text-underline-offset: 3px; }

footer.site { padding: 48px 0 56px; display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; font-size: 14px; color: var(--slate); }
footer.site .links { display: flex; flex-wrap: wrap; gap: 20px; margin-left: auto; }
footer.site a { text-decoration: none; }
footer.site a:hover { color: var(--ink); text-decoration: underline; }

/* Legal pages */
.legal { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 48px 56px; margin: 24px 0 0; }
.legal h1 { font-size: clamp(28px, 1.2vw + 23px, 36px); letter-spacing: -0.03em; line-height: 1.15; margin: 0 0 6px; }
.legal .meta { color: var(--slate); margin: 0 0 32px; font-size: 15px; }
.legal h2 { font-size: clamp(18px, 0.4vw + 16.5px, 21px); letter-spacing: -0.015em; margin: 40px 0 10px; }
.legal h3 { font-size: 17px; margin: 24px 0 6px; }
.legal p, .legal li { max-width: 72ch; }
.legal ul { padding-left: 20px; }
.legal li { margin: 6px 0; }
.legal .callout { background: var(--honey-soft); border-left: 4px solid var(--honey-strong); padding: 16px 20px; border-radius: 0 12px 12px 0; max-width: 72ch; }
.legal table { border-collapse: collapse; width: 100%; max-width: 860px; font-size: 15px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.legal th { background: var(--fog); font-weight: 700; }
.legal code { background: var(--fog); padding: 1px 6px; border-radius: 4px; font-size: 0.92em; }

/* Hangul reads cramped with tight tracking and leading. */
:lang(ko) h1, :lang(ko) h2, :lang(ko) h3 { letter-spacing: -0.02em; }
:lang(ko) .hero h1 { line-height: 1.18; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 24px; padding-top: 24px; }
  /* The date page turns into a compact tag above the headline. */
  .datepage { width: auto; justify-self: start; display: grid; grid-template-columns: auto auto; column-gap: 14px; align-items: center; padding: 14px 20px 14px 18px; border-radius: 16px; }
  .datepage .day { grid-row: span 2; font-size: 52px; }
  .datepage .weekday { margin-top: 0; align-self: end; justify-self: start; font-size: 15px; }
  .datepage .month { margin-top: 2px; align-self: start; font-size: 13px; }
  .hero h1 { max-width: none; }
  .features { grid-template-columns: 1fr; gap: 32px; padding-bottom: 48px; }
  .feature ul { font-size: 15px; }
  .promise { grid-template-columns: 1fr; padding: 36px 28px; gap: 28px; }
  .legal { padding: 32px 22px; }
  .top nav .badge { display: none; }
  .split, .split-rev { grid-template-columns: 1fr; gap: 28px; padding-bottom: 64px; }
  .perks { grid-template-columns: 1fr 1fr; }
  /* Steps read top to bottom, the number beside each one. */
  .steps ol { grid-template-columns: 1fr; }
  .steps li { grid-template-columns: 40px 1fr; column-gap: 14px; row-gap: 2px; padding-top: 14px; border-top-width: 2px; }
  .steps li::before { grid-row: span 2; font-size: 30px; }
  .phone { width: min(100%, 300px); }
  .uc { grid-template-columns: 1fr; gap: 24px; }
  .split h2 br { display: none; }
  .steps ol { gap: 20px; }
  .perks { gap: 20px 28px; }
}
@media (max-width: 640px) {
  .top nav .hide-sm { display: none; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .top nav { gap: 16px; }
  .legal { padding: 28px 20px; }
  .legal table { display: block; overflow-x: auto; }
  .top { flex-wrap: wrap; row-gap: 8px; }
  .top { padding: 16px 0; }
  .uc-tabs { width: auto; }
  .uc-tabs button { flex: 1 1 calc(50% - 6px); justify-content: center; padding: 10px 8px; font-size: 14px; }
  .catalog li { padding: 14px 16px; }
  .perks { grid-template-columns: 1fr; }
  .promise { border-radius: 22px; padding: 32px 22px; }
  .cta { border-radius: 22px; }
  .faq summary::after { top: 12px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
