:root {
  --ink: #1b1f3b; --ink-2: #474c6b; --lagoon: #0f766e; --lagoon-d: #0b5d57; --sun: #f2b705;
  --mist: #e3e8f0; --paper: #fafbfd; --white: #fff; --line: #d6dce7;
  --font: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --mono: "Cascadia Mono", Consolas, ui-monospace, monospace;
  --wrap: 1120px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--font); font-optical-sizing: auto; }
a { color: var(--lagoon); text-underline-offset: 3px; }
a:hover { color: var(--lagoon-d); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 4px; }
img, svg { display: block; max-width: 100%; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 6px; }
.skip:focus { left: 8px; }

/* header */
.site-head { border-bottom: 1px solid var(--mist); background: rgba(250,251,253,.92); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 10; }
.site-head .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 23px; letter-spacing: -.02em; font-stretch: 112%; }
.brand img { display: block; height: 30px; width: auto; }
.site-foot .brand img { height: 28px; }
.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 15.5px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { font-weight: 600; }
.btn { display: inline-flex; align-items: center; gap: 10px; border-radius: 999px; padding: 11px 20px; font: 600 16px/1 var(--font); text-decoration: none; border: 2px solid var(--ink); cursor: pointer; transition: background .15s, color .15s; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #2a2f57; color: #fff; }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn svg { width: 18px; height: 18px; }
.nav .btn { padding: 8px 16px; font-size: 15px; }
.nav a.btn-ink, .nav a.btn-ink:hover { color: #fff; }
.menu-toggle { display: none; }

/* hero */
.hero { padding: 72px 0 88px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(42px, 6.2vw, 76px); line-height: .98; letter-spacing: -.035em; font-weight: 800; font-stretch: 118%; margin: 0 0 24px; }
.hero p.lead { font-size: 20px; line-height: 1.5; color: var(--ink-2); max-width: 30em; margin: 0 0 32px; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero small { display: block; margin-top: 16px; color: var(--ink-2); font-size: 14.5px; }

/* app window demo */
.demo { background: var(--white); border: 2px solid var(--ink); border-radius: 14px; box-shadow: 10px 10px 0 var(--ink); font-size: 14.5px; line-height: 1.45; }
.demo-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 2px solid var(--ink); }
.demo-bar b { font-weight: 700; }
.demo-bar img { display: block; }
.demo-bar .folder { margin-left: auto; font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); background: var(--mist); padding: 3px 8px; border-radius: 6px; }
.demo-body { padding: 18px; display: flex; flex-direction: column; gap: 12px; min-height: 360px; }
.d-user { align-self: flex-end; background: var(--mist); border-radius: 14px 14px 4px 14px; padding: 9px 13px; max-width: 85%; }
.d-step { display: flex; gap: 10px; align-items: baseline; color: var(--ink-2); font-size: 13.5px; }
.d-step code { font-family: var(--mono); font-size: 12.5px; color: var(--ink); }
.d-step .tick { color: var(--lagoon); font-weight: 700; }
.d-ask { border: 2px solid var(--ink); background: #fff7d6; border-radius: 10px; padding: 11px 13px; }
.d-ask strong { display: block; margin-bottom: 8px; }
.d-ask .row { display: flex; gap: 8px; }
.d-ask span { border-radius: 999px; padding: 4px 12px; font-weight: 600; font-size: 13px; border: 2px solid var(--ink); }
.d-ask .allow { background: var(--sun); }
.d-reply { padding-right: 10%; }
.demo [data-seq] { opacity: 0; transform: translateY(6px); }
.demo.play [data-seq] { animation: seqIn .45s ease forwards; animation-delay: calc(var(--i) * .75s + .3s); }
@keyframes seqIn { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .demo [data-seq] { opacity: 1; transform: none; }
  .demo.play [data-seq] { animation: none; }
}

/* sections */
section.band { padding: 88px 0; }
section.band + section.band { border-top: 1px solid var(--mist); }
h2 { font-size: clamp(32px, 4vw, 46px); line-height: 1.05; letter-spacing: -.03em; font-weight: 800; font-stretch: 112%; margin: 0 0 16px; }
h3 { font-size: 21px; line-height: 1.25; letter-spacing: -.01em; margin: 0 0 8px; font-weight: 700; }
.intro { color: var(--ink-2); font-size: 19px; max-width: 36em; margin: 0 0 48px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 48px; }
.feature p { color: var(--ink-2); margin: 0; }
.feature .glyph { width: 44px; height: 44px; margin-bottom: 16px; color: var(--lagoon); }

.safety { background: var(--ink); color: #fff; }
.safety .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.safety h2 { color: #fff; }
.safety p { color: #c9cde3; font-size: 18.5px; margin: 0 0 14px; }
.safety ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.safety li { display: flex; gap: 14px; align-items: baseline; font-size: 17.5px; }
.safety li::before { content: ""; flex: 0 0 12px; height: 12px; border-radius: 50%; background: var(--sun); transform: translateY(1px); }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 2px solid var(--ink); border-radius: 14px; overflow: hidden; background: var(--white); }
.plan { padding: 28px 24px 30px; display: flex; flex-direction: column; gap: 6px; }
.plan + .plan { border-left: 2px solid var(--ink); }
.plan.pick { background: #e8f4f2; }
.plan .name { font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.plan .tag { font-size: 13.5px; color: var(--lagoon-d); font-weight: 600; min-height: 1.4em; }
.plan .price { font-size: 44px; font-weight: 800; letter-spacing: -.03em; font-stretch: 112%; line-height: 1.1; margin-top: 8px; }
.plan .price small { font-size: 16px; font-weight: 500; color: var(--ink-2); letter-spacing: 0; }
.plan .usage { color: var(--ink-2); font-size: 15px; margin-bottom: 14px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 9px; font-size: 15.5px; }
.plan li { padding-left: 22px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 9px; height: 5px; border-left: 2px solid var(--lagoon); border-bottom: 2px solid var(--lagoon); transform: rotate(-45deg); }
.plan .btn { margin-top: auto; justify-content: center; }
.plans.five { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; border: 0; border-radius: 0; overflow: visible; background: none; }
.plans.five .plan { padding: 26px 18px 28px; border: 2px solid var(--ink) !important; border-radius: 14px; background: var(--white); }
.plans.five .plan.pick { box-shadow: 6px 6px 0 var(--ink); background: #e8f4f2; }
@media (max-width: 1200px) { .plans.five { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .plans.five { grid-template-columns: 1fr; } .packs { grid-template-columns: 1fr; } }
.plans.five .plan .price { font-size: 38px; }
.plan .credits { font-weight: 700; font-size: 15.5px; color: var(--lagoon-d); }
.buy-note { color: var(--ink-2); font-size: 14.5px; margin: 14px 0 0; max-width: 52em; }
.packs { display: grid; grid-template-columns: repeat(3, minmax(0, 220px)); gap: 16px; }
.pack { border: 2px solid var(--ink); border-radius: 14px; padding: 20px; background: var(--white); display: flex; flex-direction: column; gap: 6px; }
.pack .price { font-size: 34px; font-weight: 800; letter-spacing: -.03em; }
.pack .usage { color: var(--ink-2); font-size: 14.5px; margin-bottom: 10px; }
.pack .btn { justify-content: center; margin-top: auto; }
.pay { max-width: 640px; }
.pay-done { font-size: 18px; font-weight: 600; color: var(--lagoon-d); }
.hidden { display: none !important; }
.price-notes { margin-top: 22px; color: var(--ink-2); font-size: 15px; max-width: 52em; }
.price-notes p { margin: 0 0 6px; }

.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 24px; line-height: 1; color: var(--lagoon); }
.faq details[open] summary::after { content: "−"; }
.faq p { color: var(--ink-2); margin: 12px 0 0; }

/* page (legal / download) */
.page { padding: 64px 0 96px; }
.page .wrap { max-width: 780px; }
.page h1 { font-size: clamp(36px, 5vw, 54px); letter-spacing: -.03em; line-height: 1.02; font-weight: 800; font-stretch: 112%; margin: 0 0 10px; }
.page .meta { color: var(--ink-2); margin: 0 0 40px; font-size: 15px; }
.page h2 { font-size: 24px; letter-spacing: -.01em; margin: 40px 0 10px; font-stretch: 100%; }
.page p, .page li { color: #30355a; }
.page ul { padding-left: 22px; }
.page li { margin-bottom: 6px; }
.callout { border: 2px solid var(--ink); border-radius: 12px; padding: 18px 20px; background: #fff7d6; margin: 24px 0; }
.callout p { margin: 0; color: var(--ink); }

.dl-card { border: 2px solid var(--ink); border-radius: 14px; box-shadow: 8px 8px 0 var(--ink); background: #fff; padding: 28px; display: grid; gap: 14px; margin: 8px 0 40px; }
.dl-card .btn { justify-self: start; }
.dl-card .spec { color: var(--ink-2); font-size: 15px; margin: 0; }

/* footer */
.site-foot { border-top: 1px solid var(--mist); padding: 48px 0 56px; font-size: 15px; color: var(--ink-2); }
.site-foot .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-foot h4 { margin: 0 0 10px; color: var(--ink); font-size: 15px; }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-foot a { color: var(--ink-2); }
.site-foot address { font-style: normal; }

/* responsive */
@media (max-width: 960px) {
  .hero .wrap, .safety .wrap { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr 1fr; }
  .plan:nth-child(3) { border-left: 0; }
  .plan:nth-child(n+3) { border-top: 2px solid var(--ink); }
}
@media (max-width: 720px) {
  body { font-size: 16.5px; }
  .wrap { padding: 0 16px; }
  .menu-toggle { display: inline-flex; margin-left: auto; background: none; border: 2px solid var(--ink); border-radius: 8px; padding: 6px 10px; font: 600 15px var(--font); color: var(--ink); }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 4px; background: var(--paper); border-bottom: 1px solid var(--mist); padding: 12px 16px 18px; }
  .nav.open { display: flex; }
  .nav a { padding: 8px 0; font-size: 17px; }
  .hero { padding: 44px 0 60px; }
  .demo { box-shadow: 6px 6px 0 var(--ink); }
  .features, .plans { grid-template-columns: 1fr; }
  .plan + .plan { border-left: 0; border-top: 2px solid var(--ink); }
  section.band { padding: 64px 0; }
  .site-foot .wrap { grid-template-columns: 1fr; }
}

.page .note { color: var(--ink-2); font-size: 14px; margin: 12px 0 0; }
.dl-list { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 6px; }
.dl-list a { font-weight: 600; color: var(--ink); }
.dl-list .spec { font-size: 14px; margin-left: 6px; }
.dl-card p { margin: 0; }
.page .note + .dl-card { margin-top: 36px; }

/* Models page */
.page-title { font-size: clamp(40px, 5.5vw, 64px); letter-spacing: -.035em; line-height: 1; margin: 0 0 16px; font-stretch: 115%; }
.mtable-wrap { border: 2px solid var(--ink); border-radius: 14px; overflow: hidden; background: var(--white); }
.mtable { width: 100%; border-collapse: collapse; font-size: 16px; }
.mtable th, .mtable td { text-align: left; vertical-align: top; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.mtable thead th { font-size: 14px; font-weight: 600; color: var(--ink-2); background: var(--mist); border-bottom: 2px solid var(--ink); }
.mtable tbody tr:last-child th, .mtable tbody tr:last-child td { border-bottom: 0; }
.mtable tbody th { font-weight: 800; font-stretch: 108%; white-space: nowrap; }
.mtable td:last-child { white-space: nowrap; font-weight: 600; }
.mtable td { color: var(--ink-2); }
.mtable td:last-child { color: var(--ink); }
.mnote { color: var(--ink-2); font-size: 15.5px; max-width: 52em; margin: 16px 0 0; }
.cn-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.cn-grid li { border: 2px solid var(--ink); border-radius: 12px; padding: 14px 16px; background: var(--white); display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; }
.cn-grid b { font-weight: 800; }
.cn-grid span { grid-column: 1 / -1; color: var(--ink-2); font-size: 14.5px; line-height: 1.45; }
.cn-grid em { font-style: normal; font-size: 12.5px; font-weight: 600; padding: 2px 9px; border-radius: 999px; background: var(--mist); align-self: start; grid-row: 1; grid-column: 2; }
.cn-grid em.local { background: #fff1c2; }
@media (max-width: 760px) {
  .mtable thead { display: none; }
  .mtable, .mtable tbody, .mtable tr, .mtable th, .mtable td { display: block; width: auto; }
  .mtable tr { padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .mtable tbody tr:last-child { border-bottom: 0; }
  .mtable th, .mtable td { padding: 3px 0; border: 0; white-space: normal !important; }
  .mtable tbody th { font-size: 18px; margin-bottom: 4px; }
  .mtable td::before { content: attr(data-l) ": "; font-weight: 600; color: var(--ink); }
}
.mnote + .ctas { margin-top: 24px; }
.mtable thead th { white-space: nowrap; }
.plan .credits .bonus { display: table; margin: 6px 0 0; padding: 1px 9px; border-radius: 999px; background: var(--sun); color: var(--ink); font-size: 13.5px; font-weight: 700; white-space: nowrap; }
