:root {
  --bg: #eef1f4; --surface: #fff; --ink: #141a20; --muted: #5d6b78; --accent: #4f6f8f; --accent2: #6b7c8a;
  --line: #d7dee5; --display: "Space Grotesk", system-ui, sans-serif; --body: "Hanken", system-ui, sans-serif;
  --ease: cubic-bezier(.22,1,.36,1); --pad: clamp(1.25rem,5vw,5rem); --maxw: 1180px;
}
body { background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.6; }
h1,h2,h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.01em; line-height: 1.05; margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.btn-primary, .btn-outline { display: inline-flex; align-items: center; justify-content: center; padding: 13px 24px; border-radius: 10px; font-weight: 600; font-size: .95rem; transition: transform .25s var(--ease), box-shadow .25s, background-color .25s, border-color .2s; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px color-mix(in srgb,var(--accent) 36%, transparent); }
.btn-outline { border: 1px solid var(--line); color: var(--ink); background: var(--surface); }
.btn-outline:hover { border-color: var(--accent); }

/* nav */
.nav { position: sticky; top: 46px; z-index: 150; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem var(--pad); background: color-mix(in srgb,var(--surface) 80%, transparent); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--display); font-weight: 600; font-size: 1.15rem; }
.logo-dot { width: 16px; height: 16px; border-radius: 5px; background: linear-gradient(135deg,var(--accent),var(--accent2)); }
.nav-links { display: flex; gap: 1.8rem; font-size: .9rem; }
.nav-links a { color: var(--muted); transition: color .2s; } .nav-links a:hover { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: .85rem; }
.nav-ghost { font-size: .9rem; color: var(--muted); }
.nav-btn { font-size: .88rem; font-weight: 600; padding: 9px 18px; border-radius: 10px; background: var(--ink); color: #fff; transition: transform .2s, background-color .2s; }
.nav-btn:hover { transform: translateY(-1px); background: var(--accent); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .2s; }
.nav-drawer { display: none; }
@media (max-width: 880px){ .nav-links, .nav-right { display: none; } .nav-toggle { display: flex; }
  .nav-drawer { position: fixed; inset: 92px 0 auto 0; z-index: 140; display: flex; flex-direction: column; gap: .5rem; padding: 1.5rem var(--pad) 2rem; background: var(--surface); border-bottom: 1px solid var(--line); }
  .nav-drawer a { padding: .7rem 0; font-size: 1.1rem; }
  body.drawer-open .nav-toggle span:nth-child(1){transform:translateY(7px) rotate(45deg);} body.drawer-open .nav-toggle span:nth-child(2){opacity:0;} body.drawer-open .nav-toggle span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}
}

/* hero */
.hero { text-align: center; padding: clamp(3.5rem,8vw,7rem) var(--pad) 0; max-width: 1080px; margin: 0 auto; }
.hero-eyebrow { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); padding: 6px 14px; border-radius: 999px; background: color-mix(in srgb,var(--accent) 12%, transparent); margin-bottom: 1.4rem; }
.hero-title { font-size: clamp(2.4rem,6vw,4.4rem); line-height: 1.04; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .04em; } .hero-title .line [data-line] { display: block; }
.hero-lede { margin: 1.4rem auto 0; max-width: 52ch; color: var(--muted); font-size: 1.15rem; }
.hero-cta { display: flex; gap: .6rem; justify-content: center; margin: 2rem auto 0; max-width: 460px; }
.hero-cta input { flex: 1; padding: 13px 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); }
.hero-note { margin-top: .85rem; font-size: .85rem; color: var(--muted); }
.hero-cta.ok input { border-color: var(--accent); }

/* mock */
.mock { margin: clamp(2.5rem,5vw,4rem) auto 0; max-width: 880px; display: grid; grid-template-columns: 92px 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 30px 60px rgba(20,26,32,.14); }
.mock-side { background: var(--surface); padding: 1rem; display: flex; flex-direction: column; gap: .75rem; }
.mock-logo { width: 22px; height: 22px; border-radius: 6px; background: linear-gradient(135deg,var(--accent),var(--accent2)); margin-bottom: .5rem; }
.mock-nav { height: 9px; border-radius: 4px; background: color-mix(in srgb,var(--ink) 9%, transparent); }
.mock-nav.on { background: color-mix(in srgb,var(--accent) 55%, transparent); width: 80%; }
.mock-main { background: var(--surface); padding: clamp(1.25rem,3vw,2rem); display: flex; flex-direction: column; gap: 1.25rem; }
.mock-top { display: flex; align-items: center; justify-content: space-between; }
.mock-h { height: 12px; width: 140px; border-radius: 5px; background: color-mix(in srgb,var(--ink) 14%, transparent); }
.mock-pill { height: 22px; width: 84px; border-radius: 999px; background: color-mix(in srgb,var(--accent) 22%, transparent); }
.chart { display: flex; align-items: flex-end; gap: .75rem; height: 150px; }
.chart span { flex: 1; height: var(--h); border-radius: 6px 6px 0 0; background: linear-gradient(to top,var(--accent),color-mix(in srgb,var(--accent2) 70%,var(--accent))); transform-origin: bottom; }
.chart span:last-child { background: linear-gradient(to top,#c98a4f,#e0a766); }
.mock-rows { display: grid; gap: .75rem; } .mock-rows span { height: 11px; border-radius: 5px; background: color-mix(in srgb,var(--ink) 7%, transparent); }
.mock-rows span:nth-child(2){width:78%;} .mock-rows span:nth-child(3){width:56%;}

/* sec head */
.sec-head { max-width: var(--maxw); margin: 0 auto clamp(2rem,4vw,3rem); }
.sec-center { text-align: center; }
.kicker { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: .9rem; }
.sec-title { font-size: clamp(1.9rem,4.5vw,3rem); }

/* logos */
.logos { text-align: center; padding: clamp(3rem,6vw,5rem) var(--pad); }
.logos-label { display: block; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.5rem; }
.logo-strip { display: flex; flex-wrap: wrap; gap: clamp(1.5rem,4vw,3.5rem); justify-content: center; align-items: center; }
.logo-strip span { font-family: var(--display); font-weight: 600; font-size: 1.25rem; color: color-mix(in srgb,var(--ink) 42%, transparent); }

/* features */
.features { padding: clamp(2rem,4vw,3rem) var(--pad) clamp(3.5rem,7vw,6rem); }
.f-grid { max-width: var(--maxw); margin: 0 auto; display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px){ .f-grid { grid-template-columns: repeat(3,1fr); } }
.f-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 2rem; display: flex; flex-direction: column; gap: .75rem; }
.f-num { font-family: var(--display); font-size: .85rem; font-weight: 700; color: var(--accent); letter-spacing: .1em; }
.f-card h3 { font-size: 1.4rem; } .f-card p { color: var(--muted); }

/* pricing */
.pricing { padding: clamp(3rem,6vw,5rem) var(--pad) clamp(4rem,8vw,6rem); background: var(--surface); border-block: 1px solid var(--line); }
.bill-toggle { display: inline-flex; gap: 4px; margin-top: 1.5rem; padding: 4px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); }
.bill-toggle button { padding: 8px 18px; border-radius: 999px; font-size: .9rem; font-weight: 600; color: var(--muted); transition: background-color .25s, color .25s; }
.bill-toggle button em { font-style: normal; color: var(--accent); font-size: .8rem; }
.bill-toggle button.is-on { background: var(--ink); color: #fff; } .bill-toggle button.is-on em { color: #e0a766; }
.plans { display: grid; gap: 1.5rem; max-width: 1000px; margin: clamp(2rem,4vw,3rem) auto 0; grid-template-columns: 1fr; }
@media (min-width: 768px){ .plans { grid-template-columns: repeat(3,1fr); align-items: center; } }
.plan { position: relative; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.plan-hot { background: var(--ink); color: #f4f7fa; border-color: var(--ink); box-shadow: 0 24px 50px rgba(20,26,32,.22); }
@media (min-width: 768px){ .plan-hot { transform: scale(1.05); } }
.plan-badge { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; background: #e0a766; color: #211a12; }
.plan h3 { font-size: 1.3rem; }
.plan-price { display: flex; align-items: baseline; gap: .4rem; }
.plan-price strong { font-family: var(--display); font-size: 2.4rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.plan-price span { color: color-mix(in srgb,currentColor 60%, transparent); font-size: .9rem; }
.plan-note { color: color-mix(in srgb,currentColor 65%, transparent); font-size: .9rem; margin-top: -.5rem; }
.plan ul { list-style: none; padding: 0; display: grid; gap: .6rem; font-size: .95rem; }
.plan li { padding-left: 1.4rem; position: relative; } .plan li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.plan-hot li::before { color: #e0a766; }
.plan .btn-primary, .plan .btn-outline { margin-top: auto; }
.plan-hot .btn-outline { border-color: rgba(244,247,250,.4); color: #f4f7fa; }

/* faq */
.faq { padding: clamp(3rem,6vw,5rem) var(--pad); max-width: 820px; margin: 0 auto; }
.faq-list { display: grid; gap: .75rem; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); overflow: hidden; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.3rem; font-weight: 600; font-size: 1.05rem; text-align: left; }
.faq-q i { position: relative; width: 16px; height: 16px; flex: 0 0 auto; }
.faq-q i::before, .faq-q i::after { content: ""; position: absolute; background: var(--accent); border-radius: 2px; transition: transform .3s var(--ease); }
.faq-q i::before { left: 0; top: 7px; width: 16px; height: 2px; }
.faq-q i::after { left: 7px; top: 0; width: 2px; height: 16px; }
.faq-item.is-open .faq-q i::after { transform: scaleY(0); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .32s var(--ease); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > p { overflow: hidden; padding: 0 1.3rem; color: var(--muted); }
.faq-item.is-open .faq-a > p { padding-bottom: 1.2rem; }

/* footer */
.footer { background: var(--ink); color: #c3ccd6; padding: 2.5rem var(--pad); }
.foot-in { max-width: var(--maxw); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.footer .brand { color: #fff; } .foot-note { font-size: .85rem; }
