/* Swatchline marketing site. Tokens follow DESIGN.md. */
.site {
  --ink: #191B1D; --ink-2: #3D4247; --muted: #5B6066;
  --paper: #FAFAF7; --paper-2: #F3F2EC; --surface: #FFFFFF; --line: #E4E5E0;
  --rail: #C9CFE6; --rail-dark: #5A6187;
  --blue: #1F4FD1; --brown: #9C6B42; --ok: #17643F;
  --r-sm: 6px; --r-md: 12px; --r-lg: 20px;
  --shadow-1: 0 1px 2px rgba(25,27,29,.06), 0 1px 1px rgba(25,27,29,.04);
  --shadow-2: 0 24px 48px -24px rgba(25,27,29,.25);
  --head: "Instrument Sans", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased;
}
.site *, .site *::before, .site *::after { box-sizing: border-box; }
.site h1, .site h2, .site h3 { font-family: var(--head); font-weight: 600; letter-spacing: -0.02em; margin: 0; }
.site p { margin: 0; }
.site img { display: block; max-width: 100%; height: auto; }
.site a { color: var(--blue); }
.site :focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .site *, .site *::before, .site *::after { animation: none !important; transition: none !important; } }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .wrap { padding: 0 20px; } }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff !important; padding: 8px 14px; border-radius: var(--r-sm); z-index: 100; }
.skip:focus { left: 8px; }

.eyebrow { font: 600 12.5px/1.4 var(--body); text-transform: uppercase; letter-spacing: .08em; color: var(--brown); margin-bottom: 14px !important; }
.eyebrow-light { color: #D9B38F; }
.lead { font-size: 17px; color: var(--ink-2); max-width: 68ch; }
.muted { color: var(--muted); margin-top: 14px !important; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: var(--r-md);
  font: 600 15px/1 var(--body); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .15s; white-space: nowrap; }
.btn-lg { min-height: 50px; padding: 0 22px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--ink); color: #fff !important; }
.btn-primary:hover { background: #000; }
.btn-secondary { background: var(--surface); color: var(--ink) !important; border-color: var(--line); }
.btn-secondary:hover { background: var(--paper-2); }
.btn-light { background: #fff; color: var(--ink) !important; }
.btn-light:hover { background: var(--paper-2); }

.nav { position: sticky; top: 0; z-index: 50; background: rgba(250,250,247,.92); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 32px; height: 68px; }
.nav-logo img { width: 140px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--ink); }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-md); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu { padding: 8px 20px 20px; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { color: var(--ink); text-decoration: none; padding: 12px 0; font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 12px; }
@media (max-width: 960px) { .nav-links, .nav-cta { display: none; } .nav-toggle { display: flex; } }

.hero { padding: 72px 0 96px; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.4vw, 60px); line-height: 1.04; max-width: 13ch; }
.hero .lead { margin-top: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--ink-2); font-size: 14.5px; font-weight: 500; }
.hero-points li { display: flex; align-items: center; gap: 7px; }
.hero-points svg { width: 18px; height: 18px; fill: none; stroke: var(--ok); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 960px) { .hero { padding: 40px 0 72px; } .hero-in { grid-template-columns: 1fr; gap: 48px; } }

.hero-visual { position: relative; padding: 0 0 70px; }
.ai-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-2); padding: 20px; display: grid; gap: 14px; }
.ai-panel-head { display: flex; align-items: center; gap: 12px; }
.ai-panel-head div { display: grid; flex: 1; }
.ai-panel-head strong { font-family: var(--head); font-size: 16px; }
.ai-panel-head small { color: var(--muted); font-size: 13px; }
.ai-tile { width: 38px; height: 38px; border-radius: 10px; background: var(--ink); display: grid; place-items: center; }
.ai-tile svg { width: 18px; height: 18px; fill: #fff; }
.chip { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.chip-ok { background: #E3F5EA; color: var(--ok); }
.chip-check { background: #F6EDE4; color: #7A4F2C; }
.chip-blue { background: #E8EEFC; color: var(--blue); }
.ai-steps { display: flex; flex-wrap: wrap; gap: 6px; }
.step { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: var(--paper-2); font-size: 13px; font-weight: 600; color: var(--ink-2); }
.step i { width: 6px; height: 6px; border-radius: 50%; background: var(--brown); }
.step em { font-style: normal; font-weight: 500; color: var(--muted); }
.sugg { border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: grid; gap: 10px; }
.sugg-dim { opacity: .75; }
.sugg-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.sugg-head strong { font-size: 15px; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px 4px 5px; border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; }
.why { font-size: 13.5px; color: var(--ink-2); background: var(--paper); border-radius: 10px; padding: 9px 11px; }
.why b { color: var(--ink); }

.sw { --c: #ccc; display: inline-block; width: 22px; height: 22px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); flex: none; }
.sw-lg { width: 30px; height: 30px; }

.sk-bubble { position: absolute; right: -8px; bottom: 0; width: min(330px, 88%); background: var(--ink); color: #fff; border-radius: 16px; padding: 14px; box-shadow: var(--shadow-2); display: grid; gap: 10px; font-size: 14px; line-height: 1.5; }
.sk-q { justify-self: end; background: #2C2F33; border-radius: 12px 12px 4px 12px; padding: 8px 11px; max-width: 90%; }
.sk-a { display: flex; gap: 9px; align-items: flex-start; }
.sk-a u { text-decoration-color: #8FA8F0; text-underline-offset: 3px; color: #B8C8F7; }
.sk-ring { width: 22px; height: 22px; border-radius: 50%; flex: none; border: 2.5px solid transparent;
  background: linear-gradient(var(--ink), var(--ink)) padding-box, conic-gradient(from 200deg, #9C6B42, #1F4FD1, #C9CFE6, #9C6B42) border-box; }
@media (max-width: 640px) {
  .hero-visual { padding-bottom: 0; }
  .sk-bubble { position: relative; right: auto; bottom: auto; width: auto; margin: -20px 14px 0; }
}

.band { background: var(--ink); color: #fff; padding: 64px 0; }
.band-title { font-family: var(--head); font-size: clamp(24px, 3vw, 32px); font-weight: 600; letter-spacing: -0.02em; max-width: 26ch; line-height: 1.2; }
.band-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 36px; border-top: 1px solid #34383C; }
.band-grid > div { padding: 24px 28px 0 0; }
.band-grid > div + div { padding-left: 28px; border-left: 1px solid #34383C; }
.band-grid h3 { font-size: 17px; margin-bottom: 8px; color: #fff; }
.band-grid p { color: #B9BDC2; font-size: 15px; }
.band-win h3 { color: #D9B38F; }
.band-win p { color: #fff; }
@media (max-width: 800px) { .band-grid { grid-template-columns: 1fr; } .band-grid > div + div { padding-left: 0; border-left: 0; border-top: 1px solid #34383C; margin-top: 20px; } }

.sec { padding: 104px 0; }
.sec-paper2 { background: var(--paper-2); }
.sec-ink { background: var(--ink); color: #fff; }
.sec-ink .lead { color: #C7CBD0; }
.sec-head { max-width: 720px; margin-bottom: 48px; }
.sec-head h2, .split h2 { font-size: clamp(30px, 3.8vw, 42px); line-height: 1.1; margin-bottom: 16px; }
.sec-head-center { text-align: center; margin-left: auto; margin-right: auto; }
@media (max-width: 640px) { .sec { padding: 72px 0; } }

.ladder { list-style: none; padding: 0; margin: 0; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-1); overflow: hidden; }
.ladder li { display: grid; grid-template-columns: 44px 1fr auto; gap: 20px; align-items: center; padding: 22px 26px; }
.ladder li + li { border-top: 1px solid var(--line); }
.ladder-n { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-family: var(--head); background: var(--paper-2); }
.ladder li:nth-child(1) .ladder-n { background: #fff; box-shadow: inset 0 0 0 1.5px var(--rail); }
.ladder li:nth-child(2) .ladder-n { background: #E9E2D3; }
.ladder li:nth-child(3) .ladder-n { background: var(--brown); color: #fff; }
.ladder li:nth-child(4) .ladder-n { background: var(--blue); color: #fff; }
.ladder h3 { font-size: 18px; margin-bottom: 3px; }
.ladder p { color: var(--ink-2); font-size: 15px; }
.ladder-tag { font-size: 12.5px; font-weight: 600; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
@media (max-width: 640px) { .ladder li { grid-template-columns: 36px 1fr; padding: 18px; gap: 14px; } .ladder-tag { grid-column: 2; justify-self: start; } }

.ai-facts { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; margin-top: 56px; }
.fact { border-top: 2px solid var(--ink); padding-top: 18px; }
.fact h3 { font-size: 18px; margin-bottom: 8px; }
.fact p { color: var(--ink-2); font-size: 15px; }
@media (max-width: 800px) { .ai-facts { grid-template-columns: 1fr; gap: 28px; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-rev .split-copy { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 44px; } .split-rev .split-copy { order: 0; } }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 12px; height: 7px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.ticks-light li { color: #E6E8EA; }
.ticks-light li::before { border-color: #D9B38F; }

.chat { background: #232629; border: 1px solid #34383C; border-radius: var(--r-lg); padding: 18px; display: grid; gap: 12px; font-size: 15px; }
.chat-head { display: flex; align-items: center; gap: 9px; font-weight: 600; color: #fff; padding-bottom: 12px; border-bottom: 1px solid #34383C; }
.chat .sk-ring { background: linear-gradient(#232629, #232629) padding-box, conic-gradient(from 200deg, #9C6B42, #1F4FD1, #C9CFE6, #9C6B42) border-box; }
.msg { border-radius: 14px; padding: 11px 14px; max-width: 88%; line-height: 1.5; }
.msg-me { justify-self: end; background: #3A3E43; color: #fff; border-bottom-right-radius: 4px; }
.msg-sk { background: #fff; color: var(--ink); border-bottom-left-radius: 4px; display: grid; gap: 8px; }
.msg-sk ul { margin: 0; padding-left: 18px; }
.msg-link { color: var(--blue); font-weight: 600; font-size: 14px; }

.auto-visual { display: grid; gap: 14px; justify-items: center; padding: 32px; background: var(--paper-2); border-radius: var(--r-lg); }
.newprod { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px dashed #B9BCB5; border-radius: 14px; padding: 12px 18px 12px 12px; }
.newprod-img { width: 44px; height: 44px; border-radius: 10px; background: var(--c); flex: none; }
.newprod div { display: grid; }
.newprod small { color: var(--muted); font-size: 12.5px; }
.auto-arrow { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 500; }
.auto-arrow svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.group-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-1); padding: 18px 22px; display: grid; gap: 12px; width: min(100%, 360px); }
.group-card small { color: var(--muted); font-size: 13px; }
.sw-row { display: flex; flex-wrap: wrap; gap: 10px; }
.sw-new { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--blue); animation: pop 2.4s ease-in-out infinite; }
@keyframes pop { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }

.feat { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; color: var(--ink-2); }
.feat b { color: var(--ink); font-weight: 600; }
.demo { display: grid; justify-items: center; }
.pcard { width: min(100%, 380px); background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-2); overflow: hidden; border: 1px solid var(--line); }
.pcard-img { aspect-ratio: 4 / 3.4; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 18%, #F3F2EC); transition: background .25s; }
.pcard-img svg { width: 56%; fill: var(--c); transition: fill .25s; }
.pcard-body { padding: 20px 22px 22px; display: grid; gap: 6px; }
.pcard-title { font-weight: 600; font-size: 16px; }
.pcard-price { color: var(--ink-2); }
.pcard-label { font-size: 14px; color: var(--muted); margin-top: 8px; }
.pcard-label span { color: var(--ink); font-weight: 500; }
.sw-btn { width: 32px; height: 32px; border: 0; padding: 0; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12), 0 0 0 2px #fff, 0 0 0 3px transparent; transition: box-shadow .15s; }
.sw-btn:hover { box-shadow: inset 0 0 0 1px rgba(0,0,0,.12), 0 0 0 2px #fff, 0 0 0 3px #B9BCB5; }
.sw-btn[aria-checked="true"] { box-shadow: inset 0 0 0 1px rgba(0,0,0,.12), 0 0 0 2px #fff, 0 0 0 4px var(--ink); }
.site .sw-btn:focus-visible { outline-offset: 5px; border-radius: 50%; }
.sw-out { position: relative; opacity: .55; }
.sw-out::after { content: ""; position: absolute; left: 50%; top: -2px; bottom: -2px; width: 2px; background: #fff; transform: rotate(45deg); }
.pcard-note { font-size: 13px; color: var(--muted); margin-top: 10px; }

.toggle { display: inline-flex; gap: 4px; padding: 4px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 999px; margin-top: 8px; }
.toggle button { font: 600 14px/1 var(--body); border: 0; background: none; padding: 10px 18px; border-radius: 999px; cursor: pointer; color: var(--ink-2); }
.toggle button span { color: var(--ok); margin-left: 4px; }
.toggle button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1); }
.plans { display: grid; grid-template-columns: 1fr 1.15fr; gap: 24px; max-width: 880px; margin: 0 auto; align-items: start; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; display: grid; gap: 6px; box-shadow: var(--shadow-1); }
.plan-pro { border: 2px solid var(--ink); }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan h3 { font-size: 20px; }
.price { margin-top: 10px; display: flex; align-items: baseline; gap: 4px; }
.price span { font-family: var(--head); font-size: 44px; font-weight: 600; letter-spacing: -0.03em; }
.price small { color: var(--muted); font-size: 15px; }
.plan-sub { color: var(--muted); font-size: 14.5px; }
.plan .ticks { margin: 18px 0 26px; font-size: 15px; }
.fine { text-align: center; color: var(--muted); font-size: 13.5px; margin-top: 24px; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } .plan { padding: 24px; } }

.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: start; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; gap: 0; } }
.faq details { border-bottom: 1px solid #D9D9D2; }
.faq details:first-child { border-top: 1px solid #D9D9D2; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 36px 20px 0; font-weight: 600; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-2); max-width: 64ch; }

.final { background: var(--ink); color: #fff; padding: 96px 0; text-align: center; }
.final-in { display: grid; justify-items: center; gap: 16px; }
.final-mark { width: 66px; height: 52px; }
.final h2 { font-size: clamp(30px, 4vw, 44px); }
.final p { color: #C7CBD0; max-width: 52ch; margin-bottom: 12px; }
.foot { background: #111315; color: #9EA3A8; padding: 40px 0; font-size: 14px; }
.foot-in { display: grid; grid-template-columns: auto 1fr; gap: 20px 40px; align-items: center; }
.foot-in img { width: 130px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: flex-end; }
.foot nav a { color: #D5D8DB; text-decoration: none; }
.foot nav a:hover { color: #fff; text-decoration: underline; }
.foot-note { grid-column: 1 / -1; font-size: 13px; color: #7D8287; }
@media (max-width: 700px) { .foot-in { grid-template-columns: 1fr; } .foot nav { justify-content: flex-start; } }
