/* AsstiAI website. Same colours as the app (web/src/styles.css). System fonts: nothing to download. */
:root {
  --bg: #ffffff; --bg-2: #f5f7fa; --surface: #ffffff; --text: #0f172a; --muted: #4a5a6e; --border: #d3dbe5;
  --brand: #0f766e; --brand-hover: #0b5f58; --brand-text: #0b6b63; --brand-soft: #e1f2ef; --accent: #f59e0b;
  --focus: #1d4ed8; --radius: 16px; --shadow: 0 1px 2px rgb(15 23 42 / .06), 0 8px 24px rgb(15 23 42 / .07);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 400 1.0625rem/1.6 var(--font); color: var(--text); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-text); }
a:hover { color: var(--brand-hover); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 6vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); font-weight: 750; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--brand); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { top: 12px; }
.eyebrow { display: inline-block; font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-text); margin-bottom: .75em; }
.lead { font-size: clamp(1.125rem, 2.4vw, 1.3125rem); color: var(--muted); max-width: 40em; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 12px; border: 2px solid var(--brand);
  background: var(--brand); color: #fff; font-weight: 650; text-decoration: none; white-space: nowrap; transition: background .15s, border-color .15s; }
.btn:hover { background: var(--brand-hover); border-color: var(--brand-hover); color: #fff; }
.btn.secondary { background: transparent; color: var(--brand-text); }
.btn.secondary:hover { background: var(--brand-soft); color: var(--brand-hover); }
.btn.link { background: transparent; border-color: transparent; color: var(--text); }
.btn.link:hover { background: var(--bg-2); color: var(--text); }
.btn.big { min-height: 56px; padding: 0 28px; font-size: 1.0625rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 12px; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgb(255 255 255 / .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.top-in { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; color: var(--text); text-decoration: none; }
.brand:hover { color: var(--text); }
.nav { display: flex; align-items: center; gap: 24px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav > ul > li > a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--text); text-decoration: none; font-weight: 550; }
.nav > ul > li > a:hover, .nav a[aria-current="page"] { background: var(--brand-soft); color: var(--brand-hover); }
.nav-cta { display: flex; gap: 8px; }
.has-sub { position: relative; }
.sub { display: none !important; position: absolute; top: 100%; left: 0; min-width: 260px; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); padding: 8px !important; }
.has-sub:hover .sub, .has-sub:focus-within .sub { display: flex !important; }
.sub a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--text); text-decoration: none; }
.sub a:hover { background: var(--bg-2); }
.menu-btn { display: none; width: 48px; height: 48px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); cursor: pointer; }
.bars, .bars::before, .bars::after { display: block; width: 20px; height: 2px; background: var(--text); margin: auto; position: relative; content: ""; transition: transform .2s; }
.bars::before { position: absolute; top: -6px; } .bars::after { position: absolute; top: 6px; }
.menu-btn[aria-expanded="true"] .bars { background: transparent; }
.menu-btn[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 940px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 12px; padding: 12px 20px 20px; background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: var(--shadow); max-height: calc(100vh - 68px); overflow: auto; }
  .nav.open { display: flex; }
  .nav ul { flex-direction: column; }
  .sub { display: flex !important; position: static; box-shadow: none; border: 0; padding: 0 0 0 12px !important; min-width: 0; }
  .nav-cta { flex-direction: column; }
  .nav-cta .btn { width: 100%; }
  .nav-cta .btn.link { border-color: var(--border); }
}

/* sections */
section { padding: clamp(56px, 9vw, 96px) 0; }
section.tint { background: var(--bg-2); }
section.tight { padding-top: 24px; }
.section-head { max-width: 46em; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; }

/* hero */
.hero { padding-top: clamp(40px, 7vw, 80px); background: linear-gradient(180deg, var(--brand-soft) 0%, var(--bg) 85%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 span { color: var(--brand-text); }
.hero .note { font-size: .95rem; color: var(--muted); }
.hero-shots { position: relative; display: flex; justify-content: center; gap: 0; min-height: 520px; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero-shots { min-height: 0; } }

/* phone frame around app screenshots */
.phone { width: min(290px, 70vw); border-radius: 40px; padding: 10px; background: #0f172a; box-shadow: 0 30px 60px -20px rgb(15 23 42 / .45), 0 0 0 1px rgb(255 255 255 / .08) inset; }
.phone img { border-radius: 31px; width: 100%; aspect-ratio: 585 / 1266; object-fit: cover; object-position: top; background: #f5f7fa; }
.hero-shots .phone.back { position: absolute; right: 0; top: 60px; transform: rotate(6deg) scale(.86); opacity: .95; z-index: 0; }
.hero-shots .phone.front { position: relative; z-index: 1; transform: translateX(-24%); }
@media (max-width: 860px) { .hero-shots .phone.back { display: none; } .hero-shots .phone.front { transform: none; } }
.browser { border-radius: 14px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); background: #fff; }
.browser .bar { display: flex; gap: 6px; padding: 10px 12px; background: var(--bg-2); border-bottom: 1px solid var(--border); }
.browser .bar i { width: 11px; height: 11px; border-radius: 50%; background: #cbd5e1; }

/* trust strip */
.strip { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: center; padding: 20px 0; color: var(--muted); font-weight: 600; }
.strip span { display: inline-flex; align-items: center; gap: 8px; }
.ic { width: 20px; height: 20px; flex: none; color: var(--brand); }

/* cards and grids */
.grid { display: grid; gap: 20px; }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 940px) { .grid.c3, .grid.c4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid.c2, .grid.c3, .grid.c4 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.card h3 { margin-top: 12px; }
.card p:last-child { margin-bottom: 0; }
.icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-text); }
.icon svg { width: 26px; height: 26px; }

/* alternating feature rows */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature + .feature { margin-top: clamp(56px, 8vw, 96px); }
.feature.flip .feature-media { order: -1; }
.feature-media { display: flex; justify-content: center; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; gap: 32px; } .feature.flip .feature-media { order: 0; } }
.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; padding: 5px 0; }
.ticks .ic { margin-top: 3px; }

/* steps */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; margin-bottom: 12px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* pricing */
.toggle { display: inline-flex; padding: 4px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--border); margin: 0 auto 32px; }
.toggle button { min-height: 44px; padding: 0 18px; border: 0; border-radius: 10px; background: transparent; font: inherit; font-weight: 650; color: var(--text); cursor: pointer; }
.toggle button[aria-pressed="true"] { background: var(--brand); color: #fff; }
.toggle .save { font-size: .8rem; font-weight: 700; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: #fef3c7; color: #84470a; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
@media (max-width: 1080px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .plans { grid-template-columns: 1fr; } }
.plan { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 22px 22px; }
.plan.featured { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.plan .ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: .8rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.plan .price { margin: 4px 0 2px; }
.plan .amount { font-size: 2rem; font-weight: 800; letter-spacing: -.02em; }
.plan .per { color: var(--muted); }
.plan .ticks { font-size: .95rem; flex: 1; }
.plan .btn { width: 100%; margin-top: 12px; }
.plans .per-m, .plans .equiv .per-m { display: none; }
.plans.monthly .per-m { display: inline; }
.plans.monthly .per-y { display: none; }

/* FAQ */
.faq { max-width: 820px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-weight: 650; font-size: 1.0625rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font-size: 1.5rem; color: var(--brand-text); }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 0 20px; color: var(--muted); }

/* call to action band */
.cta { background: var(--brand); color: #fff; border-radius: 24px; padding: clamp(32px, 6vw, 56px); text-align: center; }
.cta h2 { color: #fff; }
.cta p { color: #d7f3ee; max-width: 36em; margin-inline: auto; }
.cta .btn { background: #fff; color: var(--brand-hover); border-color: #fff; }
.cta .btn:hover { background: var(--brand-soft); }
.cta .btn.secondary { background: transparent; color: #fff; border-color: rgb(255 255 255 / .6); }
.cta .actions { justify-content: center; }

/* page header for inner pages */
.page-head { padding: clamp(40px, 7vw, 72px) 0 clamp(24px, 4vw, 40px); background: linear-gradient(180deg, var(--brand-soft), var(--bg)); }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.contact-list { list-style: none; padding: 0; margin: 0 0 1em; font-size: 1.125rem; font-weight: 600; }
.contact-list li { padding: 6px 0; }

/* store badges */
.stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.store { display: inline-flex; flex-direction: column; justify-content: center; min-width: 150px; min-height: 52px; padding: 6px 16px; border-radius: 12px; background: #0f172a; color: #fff; text-decoration: none; font-weight: 700; line-height: 1.2; }
.store small { font-size: .72rem; font-weight: 500; opacity: .85; }
.store:hover { color: #fff; background: #1e293b; }
.store.soon { background: transparent; color: var(--muted); border: 1px dashed var(--border); }

/* footer */
.foot { border-top: 1px solid var(--border); background: var(--bg-2); padding: 48px 0 24px; margin-top: 40px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }
.foot h2 { font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 12px; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { padding: 4px 0; }
.foot a { color: var(--text); text-decoration: none; }
.foot a:hover { color: var(--brand-hover); text-decoration: underline; }
.foot-bottom { border-top: 1px solid var(--border); margin-top: 32px; padding-top: 20px; }

/* small helpers (no inline styles: the site's security policy blocks them) */
.mx-auto { margin-inline: auto; }
.mt-16 { margin-top: 16px; } .mt-20 { margin-top: 20px; } .mt-24 { margin-top: 24px; }
.h-sm { font-size: 1.375rem; }
.center-row { justify-content: center; }
.hero-shots.short { min-height: 0; }
