/* Solved — marketing site styles. Brand: warm orange + multi-color node accents,
   echoing the app icon. Light/dark via prefers-color-scheme. */

:root {
  color-scheme: light dark;
  --brand: #f5410e;
  --brand-ink: #ffffff;
  --c-blue: #1b5fc4;
  --c-amber: #ef9f00;
  --c-green: #1e9e4a;
  --c-purple: #7c5ce0;

  --bg: #ffffff;
  --bg-2: #faf6f3;
  --fg: #1b1b1f;
  --muted: #6c6c74;
  --card: #ffffff;
  --rule: #ececef;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 12px 32px rgba(20,10,4,.06);
  --radius: 18px;
  --maxw: 1080px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand: #ff5a2c;
    --bg: #0f0e0d;
    --bg-2: #16130f;
    --fg: #f2efec;
    --muted: #a3a09a;
    --card: #1a1613;
    --rule: #2b2723;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 16px 40px rgba(0,0,0,.4);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.12; margin: 0; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.muted { color: var(--muted); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--rule);
}
.site-header .container { display: flex; align-items: center; gap: 16px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--fg); }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--fg); font-size: .95rem; }
.nav a:hover { color: var(--brand); text-decoration: none; }
@media (max-width: 720px) { .nav .nav-link { display: none; } }

/* Language picker */
.lang { position: relative; }
.lang select {
  appearance: none; -webkit-appearance: none;
  font: inherit; font-size: .9rem;
  color: var(--fg); background: transparent;
  border: 1px solid var(--rule); border-radius: 999px;
  padding: 6px 30px 6px 12px; cursor: pointer;
}
.lang::after {
  content: "▾"; position: absolute; right: 12px; top: 50%;
  transform: translateY(-50%); pointer-events: none; color: var(--muted); font-size: .8rem;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 1rem;
  border: 1px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-primary:hover { text-decoration: none; filter: brightness(1.05); }
.btn-primary[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--rule); }
.btn-ghost:hover { text-decoration: none; border-color: var(--brand); color: var(--brand); }

/* Hero */
.hero { text-align: center; padding: 74px 0 60px; background:
  radial-gradient(1200px 400px at 50% -120px, color-mix(in srgb, var(--brand) 14%, transparent), transparent); }
.hero .app-icon { width: 108px; height: 108px; border-radius: 24px; margin: 0 auto 26px; box-shadow: var(--shadow); }
.badge {
  display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .02em;
  color: var(--brand); background: color-mix(in srgb, var(--brand) 12%, transparent);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); max-width: 16ch; margin: 0 auto 18px; }
.hero .sub { font-size: 1.18rem; color: var(--muted); max-width: 52ch; margin: 0 auto 28px; }
.hero .cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero .note { margin-top: 18px; font-size: .9rem; color: var(--muted); }

/* Sections */
section { padding: 62px 0; }
.section-title { text-align: center; font-size: clamp(1.6rem, 3.5vw, 2.3rem); margin-bottom: 12px; }
.section-lead { text-align: center; color: var(--muted); max-width: 46ch; margin: 0 auto 44px; }

/* Feature grid */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }
.card {
  background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.card .ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  margin-bottom: 16px;
}
.card .ico svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); font-size: .98rem; }
.ico-blue { background: color-mix(in srgb, var(--c-blue) 14%, transparent); color: var(--c-blue); }
.ico-amber { background: color-mix(in srgb, var(--c-amber) 16%, transparent); color: var(--c-amber); }
.ico-green { background: color-mix(in srgb, var(--c-green) 14%, transparent); color: var(--c-green); }
.ico-purple { background: color-mix(in srgb, var(--c-purple) 14%, transparent); color: var(--c-purple); }
.ico-brand { background: color-mix(in srgb, var(--brand) 14%, transparent); color: var(--brand); }

/* How it works */
.steps { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 700px) { .steps { grid-template-columns: 1fr; } }
.step { text-align: center; padding: 20px; }
.step .n {
  width: 48px; height: 48px; margin: 0 auto 14px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: 1.15rem;
  color: var(--brand-ink); background: var(--brand);
}
.step h3 { font-size: 1.1rem; margin-bottom: 6px; }
.step p { color: var(--muted); margin: 0; font-size: .96rem; }

/* Privacy band */
.band { background: var(--bg-2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.band .inner { max-width: 60ch; margin: 0 auto; text-align: center; }
.band p { font-size: 1.1rem; color: var(--muted); }

/* Pricing */
.plans { display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr); max-width: 760px; margin: 0 auto; }
@media (max-width: 640px) { .plans { grid-template-columns: 1fr; } }
.plan { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.plan.featured { border-color: color-mix(in srgb, var(--brand) 45%, var(--rule)); }
.plan h3 { font-size: 1.3rem; margin-bottom: 4px; }
.plan .tag { font-size: .9rem; font-weight: 600; color: var(--brand); margin-bottom: 14px; }
.plan p { color: var(--muted); margin: 0; }

/* Final CTA */
.final { text-align: center; }
.final h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 12px; }
.final p { color: var(--muted); max-width: 44ch; margin: 0 auto 26px; }

/* Footer */
.site-footer { border-top: 1px solid var(--rule); background: var(--bg-2); padding: 40px 0; }
.site-footer .cols { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.site-footer .brand { font-size: 1rem; }
.foot-tag { color: var(--muted); font-size: .92rem; margin: 8px 0 0; max-width: 34ch; }
.foot-links { margin-left: auto; display: flex; flex-wrap: wrap; gap: 20px; }
.foot-links a { color: var(--fg); font-size: .93rem; }
.foot-links a:hover { color: var(--brand); text-decoration: none; }
.foot-legal { margin-top: 22px; color: var(--muted); font-size: .84rem; }

/* Legal / support article pages */
.article { max-width: 760px; margin: 0 auto; padding: 48px 22px 90px; }
.article .eyebrow { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 12px; }
.article h1 { font-size: 2rem; margin-bottom: 8px; }
.article .effective { color: var(--muted); margin: 0 0 8px; }
.article h2 { font-size: 1.2rem; margin: 36px 0 10px; }
.article h3 { font-size: 1.05rem; margin: 22px 0 8px; }
.article p, .article li { color: var(--fg); }
.article .muted, .article .lead { color: var(--muted); }
.article ul { padding-left: 1.25em; }
.article li { margin: 6px 0; }
.article code { background: var(--bg-2); padding: .1em .4em; border-radius: 5px; font-size: .9em; }
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); padding: 6px 0; }
.faq summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--muted); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 14px; color: var(--muted); }

[hidden] { display: none !important; }
