/* Growson — one stylesheet for the whole site.
   Dark by default, like the app. Green #76B28E is the brand colour here (on the Alxson
   site it is only a product accent). Barlow for display, Inter for text. */

:root {
  --bg: #16211B;
  --bg-deep: #101915;
  --surface: #1D2A23;
  --surface-2: #24332B;
  --line: #ffffff14;
  --line-strong: #ffffff26;

  --tx: #EFEEED;
  --tx-sec: #C9CFCA;
  --tx-mut: #8E9A93;

  --green: #76B28E;
  --green-bright: #8FC7A5;
  --green-dim: #76b28e2e;
  --green-soft: #76b28e14;

  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Barlow", var(--sans);
  --ease: cubic-bezier(.22, .61, .36, 1);

  --wrap: 1080px;
  --pad: 24px;
  --radius: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--tx);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
/* height:auto is not decoration — the <img> tags carry width/height attributes to reserve
   layout space, and without this the attribute height wins while CSS sets the width,
   squashing every screenshot. */
img, svg { max-width: 100%; height: auto; display: block; }
::selection { background: var(--green); color: var(--bg-deep); }

:focus-visible { outline: 2px solid var(--green-bright); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.skip {
  position: absolute; left: -9999px; top: 0; background: var(--green); color: var(--bg-deep);
  padding: .7em 1.2em; font-family: var(--display); font-weight: 600; z-index: 100;
}
.skip:focus { left: 0; }

/* ---------------------------------------------------------------- navigation */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-in {
  max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); height: 68px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--tx); }
.brand .glyph { width: 26px; height: 26px; color: var(--green); flex: none; }
.brand .wordmark { height: 18px; width: auto; color: var(--tx); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-family: var(--display); font-weight: 600; font-size: .92rem; color: var(--tx-mut);
  padding: .5em .8em; border-radius: 9px; transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--tx); background: #ffffff0a; }
@media (max-width: 720px) { .nav-links { display: none; } }

.lang { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; overflow: hidden; flex: none; }
.lang button {
  font-family: var(--display); font-weight: 600; font-size: .78rem; letter-spacing: .04em;
  background: transparent; color: var(--tx-mut); border: 0; padding: .45em .78em;
  cursor: pointer; transition: background .25s, color .25s;
}
.lang button:hover { color: var(--tx); }
.lang button[aria-pressed="true"] { background: var(--tx); color: var(--bg-deep); }

/* ---------------------------------------------------------------- typography */

h1, h2, h3 { font-family: var(--display); letter-spacing: -.02em; line-height: 1.15; }
.eyebrow {
  font-family: var(--display); font-weight: 600; font-size: .76rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--green);
}
.lead { color: var(--tx-sec); font-size: 1.06rem; }
.muted { color: var(--tx-mut); }

/* ---------------------------------------------------------------- hero */

.hero { position: relative; padding: 72px 0 48px; text-align: center; }
.hero .glow {
  position: absolute; inset: -60px 0 auto 50%; transform: translateX(-50%);
  width: min(640px, 100%); height: 420px; pointer-events: none;
  background: radial-gradient(closest-side, var(--green-dim), transparent 72%); filter: blur(10px);
}
.hero > * { position: relative; }
.appicon {
  width: 92px; height: 92px; border-radius: 22px; margin: 0 auto 24px;
  box-shadow: 0 14px 44px #0008, 0 0 0 1px var(--line-strong);
}
.hero h1 {
  font-weight: 800; font-size: clamp(2.6rem, 8vw, 4.2rem); letter-spacing: -.035em;
  margin: 12px 0 10px;
}
.hero .tagline {
  color: var(--tx-sec); font-size: clamp(1.08rem, 2.6vw, 1.34rem);
  max-width: 620px; margin: 0 auto;
}

.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; align-items: center; }
.store {
  display: inline-flex; align-items: center; gap: 10px; padding: .62em 1.05em; border-radius: 12px;
  border: 1px solid var(--line-strong); background: #00000033;
  transition: transform .3s var(--ease), border-color .3s;
}
.store svg { width: 20px; height: 20px; flex: none; fill: currentColor; }
.store .lbl { display: flex; flex-direction: column; line-height: 1.1; font-family: var(--display); text-align: left; }
.store .lbl small { font-size: .6rem; letter-spacing: .04em; color: var(--tx-mut); text-transform: uppercase; }
.store .lbl b { font-size: .93rem; font-weight: 600; color: var(--tx); }
.store[href]:hover { transform: translateY(-2px); border-color: var(--tx); }
.store.soon { opacity: .45; cursor: default; }
.soon-tag {
  font-family: var(--display); font-weight: 600; font-size: .68rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--green); border: 1px solid var(--green-dim);
  border-radius: 999px; padding: .4em .85em;
}

.btn {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 600;
  font-size: .95rem; padding: .74em 1.25em; border-radius: 12px; border: 1px solid transparent;
  transition: transform .25s var(--ease), background .25s, border-color .25s, color .25s;
}
.btn-primary { background: var(--green); color: var(--bg-deep); }
.btn-primary:hover { background: var(--green-bright); transform: translateY(-2px); }
.btn-ghost { color: var(--tx-sec); border-color: var(--line-strong); }
.btn-ghost:hover { color: var(--tx); border-color: var(--tx-mut); }

/* ---------------------------------------------------------------- strips & pillars */

.strip {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff06, transparent);
}
.strip .wrap { padding-top: 52px; padding-bottom: 52px; }
.big-lead {
  font-family: var(--display); font-weight: 700; font-size: clamp(1.45rem, 3.6vw, 2.1rem);
  letter-spacing: -.015em; line-height: 1.35; max-width: 840px;
}
.big-lead .hl { color: var(--green); }
.big-lead + p { color: var(--tx-mut); margin-top: 18px; max-width: 740px; }

.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(212px, 1fr)); gap: 14px; margin: 48px 0 8px; }
.pillar { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.pillar .ic {
  width: 40px; height: 40px; border-radius: 11px; background: var(--green-soft);
  display: grid; place-items: center; margin-bottom: 14px;
}
.pillar .ic svg { width: 21px; height: 21px; stroke: var(--green); fill: none; stroke-width: 1.8; }
.pillar h3 { font-weight: 700; font-size: 1.08rem; margin-bottom: 6px; }
.pillar p { color: var(--tx-mut); font-size: .94rem; }

/* ---------------------------------------------------------------- feature rows */

.features { padding: 12px 0; }
.feat {
  display: grid; grid-template-columns: 1fr 300px; gap: 60px; align-items: center;
  padding: 56px 0; border-top: 1px solid var(--line);
}
.feat:first-child { border-top: 0; }
.feat:nth-child(even) .feat-txt { order: 2; }
.feat:nth-child(even) .feat-shot { order: 1; }
.feat-txt h2 { font-weight: 800; font-size: clamp(1.6rem, 3.6vw, 2.05rem); margin: 10px 0 12px; }
.feat-txt p { color: var(--tx-sec); font-size: 1.04rem; margin-bottom: 18px; }
.feat-txt ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.feat-txt li { display: flex; gap: 10px; align-items: flex-start; color: var(--tx-sec); font-size: .98rem; }
.feat-txt li svg { width: 18px; height: 18px; stroke: var(--green); fill: none; stroke-width: 2; flex: none; margin-top: 5px; }

.feat-shot { justify-self: center; }
.phone {
  width: 282px; border-radius: 34px; overflow: hidden;
  border: 1px solid var(--line-strong); box-shadow: 0 30px 70px -22px #000d, 0 0 0 6px #0b0f0d;
  background: var(--bg-deep);
}
.phone img { width: 100%; }

@media (max-width: 860px) {
  .feat { grid-template-columns: 1fr; gap: 32px; padding: 44px 0; }
  .feat:nth-child(even) .feat-txt { order: 0; }
  .feat:nth-child(even) .feat-shot { order: 0; }
}

/* ---------------------------------------------------------------- cards */

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px;
}
.card h2 { font-weight: 700; font-size: 1.35rem; margin-bottom: 10px; }
.card p { color: var(--tx-sec); }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-top: 32px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.plan.is-premium { border-color: var(--green-dim); background: linear-gradient(180deg, var(--green-soft), var(--surface) 60%); }
.plan h3 { font-weight: 700; font-size: 1.18rem; margin-bottom: 4px; }
.plan .plan-note { color: var(--green); font-family: var(--display); font-weight: 600; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; }
.plan ul { list-style: none; margin-top: 16px; display: flex; flex-direction: column; gap: 9px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; color: var(--tx-sec); font-size: .96rem; }
.plan li svg { width: 17px; height: 17px; stroke: var(--green); fill: none; stroke-width: 2; flex: none; margin-top: 5px; }

.split { display: flex; gap: 22px; align-items: flex-start; flex-wrap: wrap; }
.split .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--green-soft); display: grid; place-items: center; flex: none; }
.split .ic svg { width: 24px; height: 24px; stroke: var(--green); fill: none; stroke-width: 1.7; }
.split .body { flex: 1; min-width: 250px; }
.inline-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.inline-links a {
  display: inline-flex; align-items: center; gap: 7px; font-family: var(--display); font-weight: 600;
  font-size: .9rem; color: var(--tx-sec); border: 1px solid var(--line-strong); border-radius: 10px;
  padding: .6em 1em; transition: color .25s, border-color .25s;
}
.inline-links a:hover { color: var(--tx); border-color: var(--tx-mut); }

/* ---------------------------------------------------------------- legal / doc pages */

/* Same measure as .doc so the title lines up with the text under it. */
.page-head { max-width: 760px; padding: 56px 0 28px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-weight: 800; font-size: clamp(2rem, 5vw, 2.8rem); }
.page-head .updated { color: var(--tx-mut); font-size: .92rem; margin-top: 8px; }

.doc { padding: 40px 0 20px; max-width: 760px; }
.doc h2 {
  font-weight: 700; font-size: 1.22rem; margin: 40px 0 12px; padding-top: 4px;
  color: var(--tx);
}
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-weight: 600; font-size: 1.02rem; margin: 24px 0 8px; }
.doc p { color: var(--tx-sec); margin-bottom: 14px; }
.doc ul, .doc ol { color: var(--tx-sec); margin: 0 0 16px 20px; display: flex; flex-direction: column; gap: 8px; }
.doc li { padding-left: 4px; }
.doc strong { color: var(--tx); font-weight: 600; }
.doc em { color: var(--tx-mut); }
.doc code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88em;
  background: #ffffff0d; border: 1px solid var(--line); border-radius: 6px; padding: .12em .45em;
  word-break: break-word;
}
.doc a { color: var(--green-bright); text-decoration: underline; text-underline-offset: 3px; }
.doc a:hover { color: var(--green); }

.callout {
  background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--green);
  border-radius: 12px; padding: 20px 22px; margin: 24px 0;
}
.callout p:last-child { margin-bottom: 0; }
.callout.draft { border-left-color: #d8a657; }

.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.steps li {
  counter-increment: step; position: relative; padding-left: 46px; color: var(--tx-sec);
}
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 30px; height: 30px; border-radius: 9px; background: var(--green-soft); color: var(--green);
  display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: .9rem;
}

/* ---------------------------------------------------------------- faq */

.faq { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.faq details {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 4px 20px;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 0; font-family: var(--display); font-weight: 600;
  font-size: 1rem; display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; color: var(--green); font-size: 1.3rem; font-weight: 500; line-height: 1; flex: none;
}
.faq details[open] summary::after { content: "−"; }
.faq .answer { color: var(--tx-sec); padding: 0 0 18px; font-size: .97rem; }
.faq .answer p + p { margin-top: 10px; }

/* ---------------------------------------------------------------- form */

.form { display: flex; flex-direction: column; align-items: stretch; gap: 16px; margin-top: 24px; }
.form .btn { align-self: flex-start; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-family: var(--display); font-weight: 600; font-size: .88rem; color: var(--tx-sec); }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: .98rem; color: var(--tx);
  background: var(--bg-deep); border: 1px solid var(--line-strong); border-radius: 11px;
  padding: .8em .95em; transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); outline: none; }
.field textarea { min-height: 150px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--tx-mut) 50%), linear-gradient(135deg, var(--tx-mut) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.form-msg { display: none; border-radius: 11px; padding: 14px 16px; font-size: .95rem; }
.form-msg.show { display: block; }
.form-msg.ok { background: var(--green-soft); border: 1px solid var(--green-dim); color: var(--green-bright); }
.form-msg.err { background: #d8565614; border: 1px solid #d8565640; color: #e88a8a; }
/* Honeypot: must be invisible to people and to assistive tech, and still be
   submitted with the form. visibility:hidden keeps it in the POST body. */
.hp { position: absolute; width: 0; height: 0; overflow: hidden; visibility: hidden; }

/* ---------------------------------------------------------------- footer */

.foot { border-top: 1px solid var(--line); margin-top: 72px; background: var(--bg-deep); }
.foot .wrap { padding-top: 44px; padding-bottom: 40px; }
.foot-top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot-brand { display: flex; flex-direction: column; gap: 12px; max-width: 300px; }
/* align-self, or the column's stretch pulls the mark to the full column width. */
.foot-brand .wordmark { height: 20px; width: auto; align-self: flex-start; color: var(--tx); }
.foot-brand p { color: var(--tx-mut); font-size: .9rem; }
.foot-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.foot-col h4 {
  font-family: var(--display); font-weight: 600; font-size: .76rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--tx-mut); margin-bottom: 12px;
}
.foot-col a { display: block; color: var(--tx-sec); font-size: .93rem; padding: .22em 0; transition: color .2s; }
.foot-col a:hover { color: var(--green); }
.foot-bottom {
  margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: var(--tx-mut); font-size: .86rem;
}
.foot-bottom a { color: var(--tx-sec); }
.foot-bottom a:hover { color: var(--green); }

/* ---------------------------------------------------------------- motion */

/* Only hide when JS is alive to bring it back — a broken script must never
   leave the page blank. The `js` class is set by an inline script in <head>. */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
