/* Seawall marketing site. Tokens mirror the app: indigo accent, deep indigo, rounded cards. */
:root {
  --accent: #4f46e5;
  --accent-ink: #ffffff;
  --accent-soft: #e0e7ff;
  --accent-deep: #1e1b4b;
  --grad: linear-gradient(135deg, #6366f1 0%, #3b36a8 55%, #1e1b4b 100%);
  --bg: #fbfbfe;
  --surface: #ffffff;
  --surface-2: #f1f1f7;
  --surface-3: #eaeaf2;
  --ink: #1d2330;
  --muted: #5d6475;
  --line: #e4e4ef;
  --shadow: 0 12px 32px rgba(30, 27, 75, 0.12);
  --radius: 24px;
  --radius-sm: 14px;
  --pill: 999px;
  --max: 1120px;
  --gutter: 16px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --accent: #a5b4fc;
    --accent-ink: #1e1b4b;
    --accent-soft: #2a2760;
    --grad: linear-gradient(135deg, #4f46e5 0%, #312a8f 55%, #1e1b4b 100%);
    --bg: #111118;
    --surface: #1c1c25;
    --surface-2: #23232e;
    --surface-3: #2a2a36;
    --ink: #e8eaf0;
    --muted: #9aa2b3;
    --line: #2c3240;
    --shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  }
}
html[lang="he"] { --font: "Heebo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }

* { 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;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--font);
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
img { height: auto; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 12px; letter-spacing: -0.015em; }
h1 { font-size: clamp(34px, 6vw, 58px); font-weight: 800; line-height: 1.05; }
h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; }
h3 { font-size: 21px; font-weight: 700; }
html[lang="he"] h1, html[lang="he"] h2, html[lang="he"] h3 { letter-spacing: 0; }
p { margin: 0 0 14px; }
.muted { color: var(--muted); }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; inset-inline-start: 8px; top: -60px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; z-index: 20; }
.skip:focus { top: 8px; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav { display: none; gap: 26px; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--accent); }
@media (min-width: 800px) { .nav { display: flex; } }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: var(--pill); font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 18px rgba(79, 70, 229, 0.28); }
.btn-ghost { background: var(--surface-2); color: var(--ink); }
.top .btn { min-height: 40px; padding: 0 18px; }

/* Hero */
.hero { padding-block: 40px 20px; }
.hero-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .hero { padding-block: 64px 24px; } .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 56px; } }
.eyebrow { display: inline-block; color: var(--accent); font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; }
html[lang="he"] .eyebrow { letter-spacing: 0; font-size: 15px; }
.lead { font-size: clamp(17px, 2.1vw, 20px); color: var(--muted); max-width: 56ch; }
.badges { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 26px 0 18px; }
.badges a { display: inline-flex; line-height: 0; border-radius: 8px; }
.badges a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.proof { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 14px; font-weight: 500; }
.proof li { display: flex; align-items: center; gap: 6px; }
.proof svg { width: 16px; height: 16px; color: var(--accent); flex: none; }
.shot { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); background: var(--accent-deep); line-height: 0; }
.shot img { width: 100%; height: auto; display: block; }
.hero-shot { margin: 0; max-width: 520px; justify-self: center; width: 100%; }

/* Sections */
.section { padding-block: 56px; }
@media (min-width: 900px) { .section { padding-block: 84px; } }
.section-head { max-width: 62ch; margin-bottom: 36px; }
.section-head p { color: var(--muted); font-size: 18px; }
.feature { display: grid; gap: 28px; align-items: center; padding-block: 28px; }
@media (min-width: 860px) { .feature { grid-template-columns: 1fr 1fr; gap: 64px; padding-block: 40px; } .feature:nth-of-type(even) .feature-copy { order: 2; } }
.feature figure { margin: 0; max-width: 460px; width: 100%; justify-self: center; }
.feature-copy h3 { font-size: clamp(24px, 3.2vw, 32px); font-weight: 800; }
.feature-copy p { color: var(--muted); font-size: 17px; }
.icon-badge { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: var(--radius-sm); background: var(--accent-soft); color: var(--accent); margin-bottom: 16px; }
.icon-badge svg { width: 24px; height: 24px; }
.ticks { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); }
.ticks svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 3px; }
.quote { border-inline-start: 3px solid var(--accent); padding-inline-start: 16px; color: var(--ink); font-weight: 500; margin: 14px 0; }

.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { font-size: 18px; margin: 10px 0 6px; }
.card p { color: var(--muted); font-size: 15px; margin: 0; }
.tint { background: var(--surface-2); border-radius: 32px; padding: 32px var(--gutter); }
@media (min-width: 900px) { .tint { padding: 56px; } }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; counter-reset: step; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; counter-increment: step; }
.steps li::before { content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 17px; margin-bottom: 14px; }
.steps h3 { font-size: 19px; }
.steps p { color: var(--muted); font-size: 15px; margin: 0; }

.platforms { display: grid; gap: 16px; }
@media (min-width: 800px) { .platforms { grid-template-columns: 1fr 1fr; } }
.platform { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.platform h3 { display: flex; align-items: center; gap: 10px; }
.platform h3 svg { width: 22px; height: 22px; color: var(--accent); }
.platform p { color: var(--muted); font-size: 15px; }
.platform .btn { margin-top: 8px; }

.faq { max-width: 760px; }
.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; font-weight: 600; font-size: 17px; padding: 16px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--surface-2); display: inline-flex; align-items: center; justify-content: center; color: var(--accent); font-weight: 700; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { color: var(--muted); padding-bottom: 16px; margin: 0; }

.cta { background: var(--grad); color: #fff; border-radius: 32px; padding: 44px var(--gutter); text-align: center; }
@media (min-width: 900px) { .cta { padding: 64px 48px; } }
.cta h2 { color: #fff; }
.cta p { color: rgba(255, 255, 255, 0.86); max-width: 56ch; margin-inline: auto; font-size: 18px; }
.cta .badges { justify-content: center; margin-bottom: 0; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding-block: 36px; color: var(--muted); font-size: 14px; margin-top: 56px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--accent); }

/* Article pages */
.page { padding-block: 40px 20px; }
.article { max-width: 720px; }
.article header { margin-bottom: 28px; }
.article h1 { font-size: clamp(30px, 5vw, 44px); }
.article .meta { color: var(--muted); font-size: 14px; }
.article h2 { font-size: 26px; margin-top: 40px; }
.article h3 { font-size: 20px; margin-top: 28px; }
.article p, .article li { font-size: 18px; line-height: 1.7; }
.article ul, .article ol { padding-inline-start: 22px; }
.article li { margin-bottom: 6px; }
.article figure { margin: 28px 0; }
.article figcaption { color: var(--muted); font-size: 14px; margin-top: 8px; text-align: center; }
.article code { background: var(--surface-2); border-radius: 6px; padding: 1px 6px; font-size: 0.92em; }
.article .shot { max-width: 380px; margin-inline: auto; }
.callout { background: var(--surface-2); border-radius: var(--radius); padding: 22px 24px; margin: 32px 0; }
.callout h2, .callout h3 { margin-top: 0; }
.callout p { font-size: 16px; }
.crumbs { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px; color: var(--muted); font-size: 14px; }
.crumbs li + li::before { content: "/"; margin-inline-end: 6px; opacity: 0.5; }
.crumbs a { color: var(--muted); }
.post-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.post-list li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.post-list h2 { font-size: 22px; margin: 6px 0 8px; }
.post-list h2 a { color: var(--ink); text-decoration: none; }
.post-list h2 a:hover { color: var(--accent); }
.post-list p { color: var(--muted); margin: 0 0 8px; font-size: 16px; }
.post-list .meta { color: var(--muted); font-size: 14px; }
.legal h2 { font-size: 22px; margin-top: 36px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.legal p, .legal li { font-size: 17px; }
.center { text-align: center; }
.big-mark { width: 96px; height: 96px; border-radius: 24px; }
