/* reviewnary landing v16. Base rules from v14 (Hackle-style tabs); the v16 block at the end adds the story layout. */
@import url("./tokens.css");
@import url("./base.css");

:root {
  --ink: #141B2D; --ink-2: #2C3446; --muted: #5E6470; --rule: #E4DFD6; --rule-2: #D6D0C5; --field: #F1EEE7;
  --blue: #1F3A5F; --blue-h: #162C49; --blue-t: #EFEBE3; --blue-d: #162C49;
  --paper: #F8F6F1; --glow: #F3EFE7; --faint: #F3F0E9; --line-t: #E1DCD2; --line-t2: #D3CCBF; --panel: #EFEBE3; --field-bg: #F1EEE7; --cmp-t: #F3F0E9; --dot-on-dark: #D9D2C3;
  --tile-1: #EFEBE3; --tile-2: #ECE7DE; --tile-3: #F1EDE6; --band: #141B2D; --sand: #EFEBE3; --card: #FDFCF9;
  --naver: #03A94D; --coupang: #D9363E; --cafe24: #3D6AFE;
  --good: #12803A; --good-t: #E3F4E8; --warn: #B4560B; --warn-t: #FFF1E0; --bad: #C62828; --bad-t: #FDECEC;
  --sh-win: 0 0 0 1px rgba(17,24,39,.08), 0 2px 4px rgba(17,24,39,.04), 0 12px 24px -8px rgba(17,24,39,.12), 0 40px 80px -24px rgba(17,24,39,.28);
  --sh-card: 0 0 0 1px rgba(17,24,39,.06), 0 4px 8px rgba(17,24,39,.04), 0 16px 32px -12px rgba(17,24,39,.14);
  --press: cubic-bezier(0.23, 1, 0.32, 1);
  --container: 1200px;
  --sec: clamp(96px, 10vw, 152px);
}
body { word-break: keep-all; color: var(--ink); background: var(--paper); font-size: 17px; }

/* Type */
h1, h2, h3 { letter-spacing: -0.03em; line-height: 1.3; }
.kick { font-size: 1.0625rem; font-weight: 600; color: #646F7C; }
.shead { text-align: center; margin-bottom: clamp(32px, 4vw, 48px); }
.shead h2 { margin-top: 10px; font-size: clamp(1.625rem, 2.2vw + 0.7rem, 2.375rem); font-weight: 700; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 0; border-radius: 8px; background: var(--blue); color: #fff; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; transition: transform var(--dur-micro) var(--press), background-color var(--dur-short) var(--ease-out); }
.btn:hover { background: var(--blue-h); }
.btn:active { transform: scale(0.98); }
.btn--small { min-height: 40px; padding: 0 16px; font-size: 0.9rem; }
.btn--large { min-height: 56px; padding: 0 30px; font-size: 1.0625rem; }
.btn--line { background: #fff; color: var(--blue); box-shadow: inset 0 0 0 1.5px var(--blue); }
.btn--line:hover { background: var(--blue-t); }
.btn--ink { background: var(--ink); }
.btn--ink:hover { background: #000; }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: #F2F4F6; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 94%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--rule); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; }
.wordmark { display: inline-flex; align-items: center; font-weight: 780; font-size: 1.3rem; letter-spacing: -0.045em; text-decoration: none; color: var(--wm-ink, var(--ink)); --wm-ink: var(--ink); --wm-dot: var(--blue); }
.wm-i { background: linear-gradient(to bottom, var(--wm-dot) 0 36%, var(--wm-ink) 36%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wordmark--sm { font-size: 1.05rem; }
.cmp thead .cmp__rn .wordmark { --wm-ink: #fff; --wm-dot: var(--dot-on-dark); }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__link { color: var(--ink-2); text-decoration: none; font-size: 0.95rem; font-weight: 500; }
.nav__link:hover { color: var(--blue); }
.nav__login { padding-left: 26px; border-left: 1px solid var(--rule); }

/* Summary of the intro answers */
.mine { background: var(--blue-t); }
.mine__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 20px; padding-block: 11px; font-size: 0.95rem; color: var(--ink-2); }

/* Hero: copy on the left, three product tiles on the right */
.hero { position: relative; overflow: hidden; padding-top: clamp(56px, 8vw, 112px); background: radial-gradient(1100px 620px at 12% 40%, var(--glow) 0%, transparent 70%), var(--paper); }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(2rem, 2.3vw + 0.6rem, 2.75rem); font-weight: 800; line-height: 1.28; }
.hero h1 span { display: block; }
@media (min-width: 60rem) { .hero h1 span { white-space: nowrap; } }
.hero__blue { color: var(--blue); }
.hero__lead { margin-top: 24px; max-width: 34em; font-size: 1.125rem; line-height: 1.7; color: var(--ink-2); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.chstrip { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: clamp(56px, 7vw, 96px); padding-block: 22px; border-top: 1px solid var(--rule); }
.chstrip p { font-size: 0.95rem; font-weight: 600; color: #646F7C; }
.chstrip ul { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0; padding: 0; list-style: none; }
.chstrip .kch { font-size: 1.0625rem; font-weight: 700; }
.chstrip .kch::before { width: 9px; height: 9px; }


/* Sections */
.sec { padding-top: var(--sec); }
.ftabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.ftab { display: grid; justify-items: center; gap: 12px; padding: 20px 12px 18px; border: 0; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-t), 0 2px 6px rgba(17,24,39,.04); font: inherit; font-size: 1.0625rem; font-weight: 700; color: var(--ink-2); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.ftab:hover { background: var(--faint); }
.ftab__i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--sand); }
.ftab svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ftab[aria-selected="true"] { background: var(--blue); color: #fff; box-shadow: none; }
.ftab[aria-selected="true"] .ftab__i { background: rgba(255,255,255,.16); }
.ftab:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.fpanel { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; padding: clamp(24px, 3.5vw, 48px); border-radius: 16px; background: var(--panel); }
.fpanel__txt { padding-top: clamp(8px, 2vw, 32px); }
.fpanel__fig .kwin { max-width: none; }
.fpanel__txt h3 { font-size: clamp(1.5rem, 1.4vw + 0.9rem, 2rem); font-weight: 700; }
.fpanel__sub { margin-top: 8px; padding-bottom: 22px; border-bottom: 1px solid var(--line-t2); font-size: 1.0625rem; color: var(--ink-2); }
.checks { display: grid; gap: 12px; margin: 22px 0 0; padding: 0; list-style: none; }
.checks li { position: relative; padding-left: 30px; font-size: 1.0625rem; font-weight: 600; line-height: 1.5; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 0.3em; width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M3.5 9.5 7.2 13 14.5 5' fill='none' stroke='%231F3A5F' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.fstrip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 16px; padding: 26px clamp(20px, 3vw, 40px); border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-t); }
.fstrip__k { font-size: 0.95rem; color: var(--muted); }
.fstrip__t { margin-top: 4px; font-size: clamp(1.125rem, 0.6vw + 0.95rem, 1.375rem); font-weight: 700; letter-spacing: -0.02em; }

.field { padding: clamp(40px, 5vw, 72px) clamp(20px, 4vw, 64px); border-radius: 16px; background: var(--field-bg); }
.cmp__wrap { overflow-x: auto; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-t); }
.cmp { width: 100%; min-width: 640px; border-collapse: collapse; }
.cmp th, .cmp td { padding: 18px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); font-size: 0.975rem; line-height: 1.55; }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp thead th { color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.cmp tbody th { width: 22%; font-weight: 700; color: var(--ink); }
.cmp td { width: 34%; color: var(--muted); }
.cmp .cmp__rn { background: var(--cmp-t); color: var(--ink); font-weight: 600; }
.cmp thead .cmp__rn { background: var(--blue); color: #fff; }

.start { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 56px); max-width: 960px; margin: 0 auto; }
.start > div { padding: 22px 0; border-top: 1px solid var(--rule); }
.start dt { font-size: 0.95rem; font-weight: 700; color: var(--blue); }
.start dd { margin: 8px 0 0; font-size: 1.0625rem; line-height: 1.65; color: var(--ink-2); }
.start__note { max-width: 960px; margin: 8px auto 0; padding: 18px 20px; border-radius: 10px; background: var(--field); font-size: 0.95rem; line-height: 1.65; color: var(--ink-2); }
.start__cta { margin-top: 32px; text-align: center; }

/* Closing band */
.apply { margin-top: var(--sec); padding-block: clamp(72px, 8vw, 112px); background: var(--band); color: #fff; text-align: center; }
.apply__inner { display: grid; justify-items: center; }
.apply h2 { font-size: clamp(1.75rem, 2.4vw + 0.8rem, 2.625rem); font-weight: 700; }
.apply__sub { margin-top: 12px; font-size: 1.125rem; color: #C9CED6; }
.apply .btn { margin-top: 32px; }
.apply__mail { margin-top: 18px; color: #fff; font-weight: 600; font-size: 0.95rem; text-underline-offset: 5px; }

/* Footer */
.footer { padding-block: 36px 44px; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.wordmark--footer { font-size: 1.1rem; }
.footer__links { display: flex; gap: 22px; }
.footer__links a, .footer__legal { color: var(--muted); text-decoration: none; font-size: 0.875rem; }
.footer__note { flex-basis: 100%; font-size: 0.8rem; color: var(--muted); }

[data-mock] { width: 100%; }
.is-swapping [data-mock] { animation: swap .3s var(--ease-out); }
@keyframes swap { from { opacity: .3; } to { opacity: 1; } }

.kch { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.kch::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.kch--n::before { background: var(--naver); } .kch--c::before { background: var(--coupang); } .kch--k::before { background: var(--cafe24); }

@media (max-width: 60rem) {
  .hero__inner, .fpanel { grid-template-columns: minmax(0, 1fr); }
  .fpanel__txt { order: -1; }
  .ftabs { display: flex; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .ftab { flex: none; grid-auto-flow: column; gap: 8px; padding: 12px 16px; font-size: 0.95rem; }
  .ftab__i { width: 28px; height: 28px; background: none; }
  .ftab[aria-selected="true"] .ftab__i { background: none; }
  .ftab svg { width: 18px; height: 18px; }
}
@media (max-width: 40rem) {
  body { font-size: 16px; }
  .nav__link { display: none; }
  .hero__cta .btn { flex: 1 1 100%; }
  .fpanel { margin-inline: calc(var(--gutter) * -1); border-radius: 0; padding: 24px 16px; }
  .field { margin-inline: calc(var(--gutter) * -1); border-radius: 0; padding-inline: 16px; }
  .start { grid-template-columns: minmax(0, 1fr); }
}

/* Intro: one question per screen, then the landing */
.intro { display: none; position: fixed; inset: 0; z-index: 100; flex-direction: column; background: #fff; overflow-y: auto; }
.is-intro .intro { display: flex; }
.is-intro body { overflow: hidden; }
.intro__top { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; gap: 20px; min-height: 68px; padding: 0 clamp(20px, 4vw, 48px); background: #fff; border-bottom: 1px solid var(--rule); }
.intro__prog { flex: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; max-width: 320px; margin-left: auto; }
.intro__prog i { height: 3px; background: var(--rule); transition: background-color .25s var(--ease-out); }
.intro__prog i.on { background: var(--blue); }
.intro__count { font-size: 0.9rem; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.intro__skip, .intro__back, .mine__redo { padding: 0; border: 0; background: none; font: inherit; cursor: pointer; }
.intro__skip { font-size: 0.9rem; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; }
.intro__body { flex: 1; width: 100%; max-width: 760px; margin: 0 auto; padding: clamp(40px, 9vh, 104px) clamp(20px, 4vw, 32px) 40px; }
.intro__back { margin-bottom: 20px; font-size: 0.95rem; font-weight: 600; color: var(--ink-2); }
.q h1, .q h2 { font-size: clamp(1.75rem, 2.6vw + 0.75rem, 2.5rem); font-weight: 750; letter-spacing: -0.035em; line-height: 1.25; outline: none; }
.q__hello { margin-bottom: 14px; font-weight: 700; color: var(--blue); }
.q__sub { margin-top: 12px; font-size: 1.0625rem; color: var(--muted); }
.q__opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 36px; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.q__opts--list { grid-template-columns: minmax(0, 1fr); }
.qopt { display: grid; gap: 3px; align-content: start; min-height: 64px; padding: 18px 20px; border: 0; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: #fff; text-align: left; font: inherit; color: var(--ink); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out); }
.qopt b { font-size: 1.0625rem; font-weight: 650; letter-spacing: -0.02em; }
.qopt small { font-size: 0.85rem; color: var(--muted); }
.qopt:hover { background: #F8F9FA; }
.qopt[aria-pressed="true"] { background: var(--blue-t); }
.qopt[aria-pressed="true"] b { color: var(--blue-d); }
.qopt { position: relative; padding-right: 48px; }
.qopt[aria-pressed="true"]::after { content: ""; position: absolute; right: 18px; top: 50%; width: 18px; height: 18px; margin-top: -9px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M3.5 9.5 7.2 13 14.5 5' fill='none' stroke='%231F3A5F' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.qopt:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
.q__foot { margin-top: 28px; }
.q__foot .btn[disabled] { opacity: .4; cursor: default; }
.q--wait { padding-top: 8vh; }
.q--wait p { font-size: clamp(1.25rem, 1.6vw + 0.75rem, 1.75rem); font-weight: 700; letter-spacing: -0.03em; }
.wait__bar { margin-top: 28px; height: 3px; background: var(--rule); overflow: hidden; }
.wait__bar i { display: block; width: 0; height: 100%; background: var(--blue); }
.q--wait:not([hidden]) .wait__bar i { animation: waitfill .9s var(--ease-out) forwards; }
@keyframes waitfill { to { width: 100%; } }
.intro__note { padding: 0 20px 28px; text-align: center; font-size: 0.85rem; color: var(--muted); }
@media (max-width: 40rem) {
  .intro__top { gap: 12px; padding: 0 16px; }
  .intro__count { display: none; }
  .qopt { padding: 16px 14px; padding-right: 40px; }
}

.footer__note { flex-basis: 100%; font-size: 0.8rem; color: var(--muted); }

.mine__inner b { color: var(--ink); }
.mine__redo { font-weight: 600; color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 40rem) { .mine__inner { font-size: 0.875rem; padding-block: 10px; } }

/* Intro options as cards (Hackle tab style): selected card fills with the brand colour */
.q__opts { gap: 10px; border: 0; }
.qopt { border: 0; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line-t); }
.qopt:hover { background: var(--faint); }
.qopt[aria-pressed="true"] { background: var(--blue); box-shadow: none; }
.qopt[aria-pressed="true"] b, .qopt[aria-pressed="true"] small { color: #fff; }
.qopt[aria-pressed="true"]::after { filter: brightness(0) invert(1); }
.q__sub { color: var(--ink-2); }

@media (max-width: 40rem) {
  .hero h1 { font-size: 1.75rem; }
  .hero h1 span { white-space: nowrap; }
}

/* QA pass after the Hackle comparison (2026-10-28) */
/* Strip rule sat on the container padding box, so it ran past the content edge. Draw it on the content box instead. */
.chstrip { position: relative; border-top: 0; justify-content: center; margin-top: clamp(48px, 5vw, 72px); }
.chstrip::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: 1px solid var(--rule); }
.hero { padding-top: clamp(48px, 6vw, 80px); }
#features { padding-top: clamp(64px, 7vw, 104px); }
/* The list tile stretched to the right column and left a blank block. Let it sit centred, like Hackle's staggered tiles. */
.clg__tile--list { align-self: center; }
/* One panel height for all four tabs, so the page below does not jump when a tab changes. */
@media (min-width: 61rem) {
  .fpanels { display: grid; }
  .fpanels > .fpanel { grid-area: 1 / 1; }
  .fpanels > .fpanel[hidden] { display: grid !important; visibility: hidden; }
}
.checks li, .shead h2, .hero__lead, .fpanel__sub, .start dd { text-wrap: pretty; }


/* App mocks drawn after the demo app (localhost demo, 2026-10-28): warm paper, ink, hairline rows, red star scores. */
.ap, .clg { --ap-paper: oklch(97% 0.006 55); --ap-paper-2: oklch(94.5% 0.007 55); --ap-cotton: oklch(98.8% 0.0045 80); --ap-ink: oklch(21% 0.012 38); --ap-ink-2: oklch(29% 0.013 40); --ap-muted: oklch(47% 0.013 45); --ap-rule: oklch(87% 0.009 55); --ap-red: oklch(54% 0.165 29); --ap-warn: oklch(47.5% 0.125 50); --ap-good: oklch(47% 0.11 150); }
.ap { display: grid; grid-template-columns: 52px minmax(0, 1fr); width: 100%; overflow: hidden; border-radius: 12px; background: var(--ap-paper); color: var(--ap-ink); text-align: left; font-size: 14px; line-height: 1.5; box-shadow: 0 0 0 1px rgba(60,40,20,.10), 0 18px 40px -18px rgba(60,40,20,.28); }
.ap__rail { display: grid; align-content: start; justify-items: center; gap: 6px; padding: 14px 0; border-right: 1px solid var(--ap-rule); background: var(--ap-paper-2); }
.ap__logo { position: relative; display: grid; place-items: center; width: 28px; height: 28px; margin-bottom: 10px; font-weight: 800; font-size: 17px; letter-spacing: -0.04em; }
.ap__logo i { position: absolute; top: 2px; left: 15px; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); }
.ap__ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; color: var(--ap-muted); }
.ap__ic.is-on { background: var(--ap-cotton); color: var(--ap-ink); box-shadow: 0 1px 2px rgba(60,40,20,.12); }
.ap__ic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ap__main { display: grid; align-content: start; gap: 14px; min-width: 0; padding: 22px 24px 24px; }
.ap__head { display: flex; align-items: baseline; gap: 12px; }
.ap__h { font-size: 24px; font-weight: 700; letter-spacing: -0.03em; }
.ap__head small, .ap__prod, .ap__meta { color: var(--ap-muted); font-size: 13px; }
.ap__meta b { color: var(--ap-ink); }
.ap__kpi { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-block: 12px; border-block: 1px solid var(--ap-rule); }
.ap__kpi div { display: grid; gap: 2px; padding-inline: 14px; }
.ap__kpi div:first-child { padding-left: 0; }
.ap__kpi div + div { border-left: 1px solid var(--ap-rule); }
.ap__kpi small { font-size: 12px; color: var(--ap-muted); }
.ap__kpi b { font-size: 24px; font-weight: 700; letter-spacing: -0.03em; }
.ap__kpi i { font-style: normal; font-size: 15px; font-weight: 500; color: var(--ap-ink-2); }
.ap__box { border-radius: 8px; background: var(--ap-cotton); box-shadow: 0 0 0 1px var(--ap-rule); }
.ap__boxh { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 14px 8px; }
.ap__boxh b { font-size: 16px; }
.ap__boxh small { font-size: 12px; color: var(--ap-muted); }
.ap__rows { margin: 0; padding: 0; list-style: none; }
.ap__row { display: grid; grid-template-columns: auto 28px minmax(0, 1fr) auto; grid-template-areas: "t s p c" ". . m m"; align-items: center; gap: 2px 8px; padding: 10px 14px; border-top: 1px solid var(--ap-rule); }
.ap__row.is-on { background: var(--ap-paper-2); box-shadow: inset 3px 0 0 var(--ap-ink); }
.ap__type { grid-area: t; font-weight: 700; }
.ap__row .ap__star { grid-area: s; }
.ap__row p { grid-area: p; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ap__row .ap__chip { grid-area: c; }
.ap__row .ap__meta { grid-area: m; font-size: 12px; }
.ap__star { color: var(--ap-red); font-weight: 700; font-size: 13px; }
.ap__chip { justify-self: end; padding: 2px 8px; border-radius: 999px; background: var(--ap-paper-2); box-shadow: inset 0 0 0 1px var(--ap-rule); color: var(--ap-ink-2); font-size: 12px; font-weight: 600; white-space: nowrap; }
.ap__chip--warn { background: oklch(94% 0.03 60); box-shadow: inset 0 0 0 1px oklch(85% 0.05 55); color: var(--ap-warn); }
.ap__chip--violet { background: #F1EEFC; box-shadow: none; color: #5B3FC4; }
.ap__q { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.45; }
.ap__ready { overflow: hidden; border-radius: 8px; background: var(--ap-cotton); box-shadow: 0 0 0 1px var(--ap-rule); }
.ap__readyh { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 10px 14px; background: var(--ap-paper-2); border-bottom: 1px solid var(--ap-rule); }
.ap__readyh b { font-size: 14px; }
.ap__readyh span { font-size: 13px; color: var(--ap-muted); }
.ap__readyb { display: grid; gap: 6px; padding: 12px 14px; }
.ap__readyb p { font-size: 14px; line-height: 1.7; }
.ap__readyb small { font-size: 12px; color: var(--ap-muted); }
.ap__basis { display: grid; gap: 8px; padding: 10px 14px 12px; border-top: 1px solid var(--ap-rule); }
.ap__lbl { display: block; font-size: 12px; color: var(--ap-muted); }
.ap__cite { display: grid; gap: 1px; padding-left: 12px; border-left: 2px solid var(--ap-rule); }
.ap__cite small { font-size: 12px; color: var(--ap-muted); }
.ap__cite b { font-size: 14px; }
.ap__cite p { font-size: 13px; color: var(--ap-ink-2); }
.ap__more { font-size: 13px; font-weight: 600; color: var(--ap-ink-2); }
.ap__more::before { content: "›"; margin-right: 8px; }
.ap__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding-top: 12px; border-top: 1px solid var(--ap-rule); }
.ap__link { font-size: 13px; font-weight: 600; }
.ap__foot small { margin-left: auto; font-size: 12px; color: var(--ap-muted); }
.ap__btn { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border-radius: 8px; background: var(--ap-ink); color: #fff; font-size: 13px; font-weight: 700; }
.vs__guess { display: grid; gap: 4px; padding: 10px 14px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--ap-rule); }
.vs__guess small { font-size: 12px; color: var(--ap-muted); }
.vs__guess p { color: var(--ap-muted); text-decoration: line-through; text-decoration-color: var(--ap-red); }
.vs__guess span { font-size: 12px; font-weight: 600; color: var(--ap-red); }
.ap__fill { display: grid; gap: 6px; padding: 12px 14px; border-radius: 8px; background: var(--ap-cotton); box-shadow: 0 0 0 1px var(--ap-rule); }
.ap__fillh { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 4px; }
.ap__fillh .ap__chip { justify-self: start; }
.ap__fill p { font-weight: 600; }
.ap__input { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 7px 8px 7px 12px; border-radius: 6px; background: #fff; box-shadow: inset 0 0 0 1px var(--ap-rule-2, oklch(81% 0.011 55)); }
.ap__input em { font-style: normal; padding: 4px 12px; border-radius: 6px; background: var(--ap-ink); color: #fff; font-size: 12px; font-weight: 700; }
.ap__note { font-size: 13px; color: var(--ap-muted); }
.ap__seg { display: flex; gap: 4px; }
.ap__seg span { padding: 4px 10px; border-radius: 6px; font-size: 13px; color: var(--ap-muted); }
.ap__seg .on { background: var(--ap-cotton); color: var(--ap-ink); font-weight: 700; box-shadow: 0 0 0 1px var(--ap-rule); }
.ap__tbl { display: grid; }
.ap__tr { display: grid; grid-template-columns: minmax(0, 1fr) 64px 48px 72px; align-items: center; gap: 10px; padding: 10px 4px; border-top: 1px solid var(--ap-rule); }
.ap__tr > span { color: var(--ap-ink-2); font-size: 13px; text-align: right; }
.ap__tr > span:nth-child(2) { text-align: left; }
.ap__th { padding-block: 6px; border-top: 0; }
.ap__th > span { font-size: 12px; color: var(--ap-muted); }
.ap__tr b { font-size: 14px; }
.ap__tr.is-on { border-top-color: var(--ap-ink); }
.ap__sev { font-style: normal; font-size: 12px; font-weight: 600; color: var(--ap-warn); }
.ap__open { display: grid; gap: 10px; padding: 4px 4px 14px; }
.ap__bars { display: grid; grid-template-columns: repeat(6, 1fr); align-items: end; gap: 8px; height: 76px; padding-top: 16px; border-bottom: 1px solid var(--ap-rule); }
.ap__bars span { position: relative; height: var(--h); border-radius: 3px 3px 0 0; background: var(--ap-paper-2); box-shadow: inset 0 0 0 1px var(--ap-rule); }
.ap__bars span.now { background: var(--ap-red); box-shadow: none; }
.ap__bars em { position: absolute; top: -17px; left: 0; right: 0; text-align: center; font-style: normal; font-size: 11px; color: var(--ap-muted); }
.ap__x { font-size: 12px; color: var(--ap-muted); }
.ap__quotes { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.ap__quotes li { padding: 4px 10px; border-radius: 6px; background: var(--ap-cotton); box-shadow: inset 0 0 0 1px var(--ap-rule); font-size: 13px; }
.ap__quotes li::before { content: "“"; } .ap__quotes li::after { content: "”"; }
.ap__memo { display: grid; gap: 2px; font-size: 13px; }
@media (prefers-reduced-motion: no-preference) {
  .vs-anim .vs__step { opacity: 0; transform: translateY(8px); transition: opacity .45s ease, transform .45s ease; }
  .vs-anim.is-in .vs__step { opacity: 1; transform: none; }
  .vs-anim.is-in .vs__step--1 { transition-delay: .5s; } .vs-anim.is-in .vs__step--2 { transition-delay: 1.1s; } .vs-anim.is-in .vs__step--3 { transition-delay: 1.6s; }
}

/* Hero collage: three tiles, mostly shapes. Text only where it names the thing. */
.clg { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr); gap: 14px; }
.clg__tile { display: grid; align-content: start; gap: 12px; padding: 20px; border-radius: 16px; background: var(--tile-1); color: var(--ap-ink); }
.clg__tile:nth-child(2) { background: var(--tile-2); }
.clg__tile:nth-child(3) { background: var(--tile-3); }
.clg__tile--list { grid-row: span 2; align-self: center; }
.clg__t { font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.02em; }
.clg__big { font-size: 44px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.clg__big i { font-style: normal; margin-left: 2px; font-size: 18px; font-weight: 600; }
.clg__rows { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.clg__rows li { display: grid; gap: 8px; padding: 12px 14px; border-radius: 10px; background: var(--ap-cotton); box-shadow: 0 1px 2px rgba(60,40,20,.08); }
.clg__k { font-size: 13px; font-weight: 700; }
.clg__sk { display: block; width: var(--w); height: 8px; border-radius: 4px; background: var(--ap-paper-2); }
.clg__rows .ap__chip { justify-self: start; }
.clg__card { display: grid; gap: 8px; padding: 12px 14px; border-radius: 10px; background: var(--ap-cotton); box-shadow: 0 1px 2px rgba(60,40,20,.08); }
.clg__card p { font-size: 13px; line-height: 1.6; color: var(--ap-ink-2); }
.clg__src { justify-self: start; padding-left: 8px; border-left: 2px solid var(--ap-rule); font-size: 12px; color: var(--ap-muted); }
.clg__btn { justify-self: end; padding: 7px 14px; border-radius: 8px; background: var(--ap-ink); color: #fff; font-size: 13px; font-weight: 700; }
.clg__issue { font-size: 15px; font-weight: 700; }
.clg__bars { display: grid; grid-template-columns: repeat(6, 1fr); align-items: end; gap: 6px; height: 64px; padding: 8px 10px 0; border-radius: 10px; background: var(--ap-cotton); }
.clg__bars i { height: var(--h); border-radius: 3px 3px 0 0; background: var(--ap-paper-2); box-shadow: inset 0 0 0 1px var(--ap-rule); }
.clg__bars i.now { background: var(--ap-red); box-shadow: none; }
.clg__x { font-size: 12px; color: var(--ap-muted); }
@media (max-width: 40rem) {
  .clg { grid-template-columns: minmax(0, 1fr); }
  .clg__tile--list { grid-row: auto; }
  .clg__tile:nth-child(3) { display: none; }
  .ap { grid-template-columns: minmax(0, 1fr); }
  .ap__rail { display: none; }
  .ap__main { padding: 16px; }
  .ap__kpi b { font-size: 20px; }
  .ap__row { grid-template-columns: auto 26px minmax(0, 1fr); grid-template-areas: "t s p" ". m c"; }
  .ap__tr { grid-template-columns: minmax(0, 1fr) 56px 40px; }
  .ap__tr > span:last-child { display: none; }
  .ap__foot .ap__btn { margin-left: auto; }
}
.ap__th > span:first-child { text-align: left; }


#features { padding-bottom: clamp(72px, 8vw, 120px); }

/* v16 (2026-10-28): story layout after the Korean B2B references (Toss Payments, Sabangnet).
 * Hero with the large 오늘 screen, trust strip, problem, flow, features, seller check (dark band), start steps, FAQ.
 * Palette: navy on ivory, sand panels. */
.ftab { background: var(--card); }
.intro, .intro__top { background: var(--paper); }
.qopt { background: var(--card); }

.hb,.hb *{--ap-paper:oklch(97% 0.006 55);--ap-paper-2:oklch(94.5% 0.007 55);--ap-cotton:oklch(98.8% 0.0045 80);--ap-ink:oklch(21% 0.012 38);--ap-ink-2:oklch(29% 0.013 40);--ap-muted:oklch(47% 0.013 45);--ap-rule:oklch(87% 0.009 55);--ap-red:oklch(54% 0.165 29);--ap-warn:oklch(47.5% 0.125 50)}
.hb{position:relative;padding:56px 0 70px}
.hb__win .ap{box-shadow:0 0 0 1px rgba(40,30,20,.10),0 30px 60px -24px rgba(40,30,20,.35)}
.hb__win .ap__row:nth-child(4){display:none}
.hb__card{position:absolute;border-radius:10px;background:var(--ap-cotton);box-shadow:0 0 0 1px rgba(40,30,20,.10),0 18px 36px -14px rgba(40,30,20,.35);color:var(--ap-ink);font-size:13px}
.hb__card--draft{left:-48px;bottom:0;width:330px;padding:10px}
.hb__card--draft .ap__readyb p{font-size:13px;line-height:1.6}
.hb__act{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 4px 2px}
.hb__act small{font-size:11px;color:var(--ap-muted)}
.hb__card--ch{right:-16px;top:0;width:170px;padding:12px 14px}
.hb__card--ch small{font-size:11px;color:var(--ap-muted)}
.hb__card--ch ul{list-style:none;margin:6px 0 0;padding:0;display:grid;gap:6px}
.hb__card--ch li{display:flex;align-items:center;gap:8px;font-weight:600}
.hb__card--ch i{width:8px;height:8px;border-radius:50%}
.L-hero{padding:clamp(40px,6vw,88px) 0 24px}
.L-eyebrow{font-size:15px;font-weight:600;color:var(--muted);margin-bottom:16px}
.L-hero h1{font-size:clamp(2rem,3.4vw,3.25rem);font-weight:760;line-height:1.22;letter-spacing:-.035em}
.L-hero h1 span{display:block}.L-brand{color:var(--blue)}
.L-lead{margin-top:20px;font-size:18px;line-height:1.7;color:var(--ink-2);max-width:34em}
.L-cta{display:flex;gap:10px;flex-wrap:wrap;margin-top:28px}
.L-trust{padding:28px 0}
.L-trust__in{display:flex;flex-wrap:wrap;align-items:center;gap:10px 22px;font-size:15px}
.L-trust__k{color:var(--muted)}
.L-ch{display:inline-flex;align-items:center;gap:7px;font-weight:700}.L-ch i{width:8px;height:8px;border-radius:50%}
.L-trust__note{color:var(--ink-2)}
.L-sec{padding:var(--sec) 0}
.L-kick{font-size:15px;font-weight:600;color:var(--muted);display:flex;gap:10px;align-items:baseline}
.L-no{color:var(--blue);font-weight:760;font-variant-numeric:tabular-nums}
.L-head h2{margin-top:10px;font-size:clamp(1.625rem,2.2vw + .7rem,2.375rem);font-weight:720}
.L-list{list-style:none;margin:0;padding:0}
.L-list b{display:block;font-size:18px;font-weight:700;letter-spacing:-.02em}
.L-list p{margin:0;color:var(--ink-2);line-height:1.65}
.L-list b + p{margin-top:8px;font-size:16px}
.L-n{font-weight:760;color:var(--blue);font-variant-numeric:tabular-nums}
.L-qa details{border-top:1px solid var(--rule);padding:18px 0}
.L-qa details:last-child{border-bottom:1px solid var(--rule)}
.L-qa summary{cursor:pointer;font-weight:700;font-size:17px;list-style:none;display:flex;justify-content:space-between}
.L-qa summary::after{content:"+";color:var(--muted);font-weight:400}.L-qa details[open] summary::after{content:"−"}
.L-qa p{margin:10px 0 0;color:var(--ink-2);line-height:1.65}
.L-end h2{font-size:clamp(1.75rem,2.6vw,2.5rem);font-weight:740;letter-spacing:-.03em}
.L-end p{margin-top:10px;font-size:17px}
.L-foot{padding:40px 0 56px;font-size:14px;color:var(--muted);border-top:1px solid var(--rule)}
.L-foot p{margin:0 0 6px}.L-foot .wordmark{font-size:18px;color:var(--ink)}.L-foot__small{font-size:12.5px}
.L-foot a{color:inherit}
#features .shead{text-align:left}
#features .L-kick{justify-content:flex-start}
@media (max-width:700px){
 .hb{padding:24px 0 0}.hb__card--ch{display:none}.hb__card--draft{position:relative;left:auto;bottom:auto;width:auto;margin:-28px 12px 0}
 .L-hero h1{font-size:1.75rem}.L-lead{font-size:16px}.L-cta .btn{flex:1}
 .L-trust__note{flex-basis:100%}
}
.L-hero{text-align:center}.L-hero__copy{max-width:760px;margin:0 auto}.L-lead{margin-left:auto;margin-right:auto}.L-cta{justify-content:center}
.L-hero h1 span:nth-child(1),.L-hero h1 span:nth-child(2){display:inline}.L-hero h1 span:nth-child(1)::after{content:" "}
.L-hero__fig{max-width:980px;margin:8px auto 0}.hb__card--draft{left:-24px}
.L-trust{text-align:center}.L-trust__in{justify-content:center}.L-trust__note{flex-basis:100%;color:var(--muted)}
.L-head{text-align:center;margin:0 auto 48px}.L-kick{justify-content:center}
.L-problem,.L-start{background:var(--sand)}
.L-scenes{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;max-width:920px;margin:0 auto}
.L-scenes li{display:flex;gap:16px;align-items:center;background:var(--card);border-radius:14px;padding:24px 26px;box-shadow:0 0 0 1px var(--rule)}
.L-scenes .L-n{flex:none;width:34px;height:34px;border-radius:50%;background:var(--blue-t);display:grid;place-items:center;font-size:15px}
.L-scenes p{font-size:17px;font-weight:600;color:var(--ink)}
.L-steps{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}.L-steps--4{grid-template-columns:repeat(4,1fr)}
.L-steps li{background:var(--card);border-radius:14px;padding:26px 22px;box-shadow:0 0 0 1px var(--rule);text-align:center}
.L-steps .L-n{display:grid;place-items:center;width:40px;height:40px;margin:0 auto 14px;border-radius:50%;background:var(--blue);color:#fff;font-size:16px}
.L-steps p{font-size:15px}
.L-safe{background:var(--band);color:#fff}.L-safe .L-head h2{color:#fff}.L-safe .L-kick{color:#AEB6C4}.L-safe .L-no{color:#C9D6E8}
.L-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:28px}
.L-cards li{border-top:2px solid #C9D6E8;padding-top:18px}.L-cards b{color:#fff}.L-cards p{color:#C8CDD6;font-size:15px}
.L-qa{max-width:760px;margin:0 auto}.L-qa details{border:0;background:var(--card);border-radius:12px;padding:18px 22px;margin-bottom:10px;box-shadow:0 0 0 1px var(--rule)}.L-qa details:last-child{border:0}
.L-end{background:var(--band);color:#fff;padding:96px 0;text-align:center}.L-end__in{display:grid;justify-items:center;gap:8px}.L-end h2{color:#fff}.L-end p{color:#C8CDD6}
.L-btn-inv{background:#fff!important;color:var(--ink)!important}.L-btn-inv2{color:#fff!important;border-color:rgba(255,255,255,.4)!important;background:transparent!important}
#features .shead{text-align:center}#features .L-kick{justify-content:center}
@media (max-width:700px){.L-hero{text-align:left}.L-cta{justify-content:flex-start}.L-trust,.L-head{text-align:left}.L-trust__in,.L-kick{justify-content:flex-start}.L-scenes,.L-steps,.L-steps--4,.L-cards{grid-template-columns:1fr}.L-steps li{text-align:left;display:grid;grid-template-columns:40px 1fr;column-gap:14px}.L-steps .L-n{margin:0;grid-row:span 2}.L-end{text-align:left}.L-end__in{justify-items:start}}
.L-chs { display: inline-flex; gap: 18px; white-space: nowrap; }
.footer.L-foot { padding: 40px 0 56px; }
.footer.L-foot .footer__note { margin-top: 10px; }
.L-foot a { text-decoration: none; }
@media (max-width: 700px) {
  .hb .ap__row:nth-child(3) { display: none; }
  .hb .ap__meta { display: none; }
  .hb .ap__kpi small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .L-trust__in { gap: 10px 14px; }
  .L-chs { gap: 14px; }
}
