/* Landing page. Dark only — the design has no light variant, so the palette is
   fixed rather than driven by prefers-color-scheme like /style.css is. */
:root {
  color-scheme: dark;

  --bg: #06100f;
  --fg: #eefaf4;

  --green: #34e0a1;
  --green-hover: #5deab5;
  --green-link: #7cf0c4;
  --green-ink: #04231a;

  --yellow: #f5c451;
  --yellow-ink: #2e2103;
  --yellow-panel: #1c1707;
  --yellow-line: #2f2606;
  --yellow-tint: #2f2606;

  --muted: #a8c4bb;
  --dim: #84a89e;
  --faint: #4d6b63;
  --error: #ff8a7a;

  --line: #173630;
  --line-strong: #1e433c;
  --line-green: #0e3a2c;
  --line-frame: #143029;

  --panel: #0f2522;
  --panel-deep: #0c1f1c;
  --panel-green: #0a201b;
  --panel-green-soft: #0b2620;
  --screen: #081715;
  --screen-deep: #050d0c;
  --map: #06120f;
  --map-grid: #0c1f1a;
  --map-road: #0e231e;

  --display: "Sora", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "Space Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --shell: 1120px;
  --gutter: 20px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

body {
  min-height: 100vh;
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 16% -4%, #0a1c19 0, transparent 52%),
    radial-gradient(circle at 92% 22%, #08201d 0, transparent 46%);
  background-repeat: no-repeat;
  color: var(--fg);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-link); }

:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.wrap {
  max-width: var(--shell);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- logo ---------- */

.logo {
  display: flex;
  align-items: baseline;
  font-family: var(--display);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.02em;
}

/* The "i" of Sticleto, drawn as a bottle: cap, neck, and a body whose label
   band is punched out in the page colour. */
.bottle {
  position: relative;
  display: inline-block;
  width: 0.46em;
  height: 0.72em;
  margin: 0 0.05em;
  vertical-align: baseline;
}
.bottle span { position: absolute; display: block; background: var(--green); }
.bottle .cap {
  left: 50%;
  bottom: 0.6em;
  width: 0.19em;
  height: 0.1em;
  border-radius: 0.03em;
  transform: translateX(-50%);
}
.bottle .neck {
  left: 50%;
  bottom: 0.5em;
  width: 0.13em;
  height: 0.11em;
  transform: translateX(-50%);
}
.bottle .body {
  left: 0;
  bottom: 0;
  width: 0.46em;
  height: 0.53em;
  border-radius: 0.1em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bottle .label {
  position: static;
  width: 100%;
  height: 0.13em;
  background: var(--bg);
  opacity: 0.9;
}

/* ---------- header ---------- */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
}

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

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 44px;
  align-items: center;
  padding-top: 54px;
  padding-bottom: 40px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 6px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}
.badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.hero-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(34px, 5.2vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  text-wrap: pretty;
}

.hero-roles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  max-width: 36em;
  margin-top: 24px;
}
.role {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.role-label {
  margin-bottom: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
}
.role--collector .role-label { color: var(--yellow); }
.role p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.6;
  text-wrap: pretty;
}

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

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 12px;
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
}
.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: var(--line-green);
  color: var(--green);
}
.card-icon .icon { width: 20px; height: 20px; }
.card--collector .card-icon { background: var(--yellow-tint); color: var(--yellow); }
.card-kicker {
  margin: 14px 0 5px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
}
.card--collector .card-kicker { color: var(--yellow); }
.card-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 16.5px;
  letter-spacing: -0.01em;
}
.card-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 11px;
  list-style: none;
  color: var(--dim);
  font-size: 13.5px;
  line-height: 1.5;
}

/* ---------- section label with rule ---------- */

.rule-label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--faint);
}
.rule-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

/* ---------- steps ---------- */

.steps-section { padding-top: 36px; padding-bottom: 10px; }
.steps-section .rule-label { margin-bottom: 26px; }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  list-style: none;
}
.step {
  background: var(--panel-deep);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
}
.step-num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--green);
}
.step-title {
  margin-top: 12px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.step p {
  margin-top: 8px;
  color: var(--dim);
  font-size: 14px;
  line-height: 1.6;
}

/* ---------- app preview ---------- */

.app-section { padding-top: 56px; padding-bottom: 10px; }
.app-section .rule-label { margin-bottom: 8px; }
.app-title {
  max-width: 22em;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: -0.02em;
}

.phones {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}
.phone { width: 300px; max-width: 100%; }
.phone-frame {
  background: #000;
  border: 1px solid var(--line-frame);
  border-radius: 40px;
  padding: 8px;
  box-shadow: 0 30px 60px -30px #000;
}
.phone-screen {
  display: flex;
  flex-direction: column;
  min-height: 600px;
  background: var(--screen);
  border-radius: 33px;
  overflow: hidden;
}
.phone-caption { margin-top: 14px; }
.phone-caption strong {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 14.5px;
}
.phone-caption p {
  margin-top: 3px;
  color: var(--dim);
  font-size: 13px;
}

.p-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 20px 4px;
  font-family: var(--mono);
  font-size: 11px;
}
.p-battery {
  width: 20px;
  height: 10px;
  border: 1.3px solid var(--fg);
  border-radius: 3px;
  opacity: 0.8;
}

.p-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px 10px;
}
.p-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 11px;
  color: var(--dim);
}
.p-chip .icon { width: 13px; height: 13px; }
.p-brand {
  font-family: var(--display);
  font-weight: 800;
  font-size: 16px;
}
.p-top::after { content: ""; width: 18px; }

.p-tabs {
  display: flex;
  gap: 0;
  margin: 0 16px 8px;
  padding: 3px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.p-tab {
  flex: 1;
  padding: 7px;
  border-radius: 9px;
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--dim);
}
.p-tab--on { background: var(--green); color: var(--green-ink); }
.p-tab--on-alt { background: var(--yellow); color: var(--yellow-ink); }

.p-body { padding: 6px 16px 0; }
.p-body--map { padding-top: 14px; }
.p-label {
  margin-bottom: 7px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}
.p-label--spaced { margin-top: 14px; }

.p-stepper {
  display: flex;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  overflow: hidden;
}
.p-stepper span:first-child,
.p-stepper span:last-child {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  color: var(--green);
  font-size: 20px;
}
.p-count {
  flex: 1;
  text-align: center;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 19px;
}
.p-count small {
  display: block;
  margin-top: 1px;
  font-size: 8.5px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

.p-field {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 13px;
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  font-size: 13px;
}
.p-field .icon { flex-shrink: 0; width: 15px; height: 15px; color: var(--dim); }

.p-payout {
  margin-top: 14px;
  padding: 14px 15px;
  background: var(--yellow-panel);
  border: 1px solid var(--yellow-line);
  border-radius: 16px;
}
.p-payout-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.p-pill {
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--yellow);
  color: var(--yellow-ink);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 9.5px;
  letter-spacing: 0.1em;
}
.p-payout-count {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--dim);
}
.p-amount {
  margin: 10px 0 2px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 24px;
  color: var(--yellow);
}
.p-amount small {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  color: var(--dim);
}
.p-fine {
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.5;
  color: var(--dim);
}

.p-spacer { flex: 1; }

.p-cta {
  margin: 12px 16px 14px;
  padding: 13px;
  border-radius: 14px;
  background: var(--green);
  color: var(--green-ink);
  text-align: center;
  font-weight: 700;
  font-size: 14px;
}

.p-tabbar {
  display: flex;
  justify-content: space-between;
  padding: 10px 22px 15px;
  background: var(--screen-deep);
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 8.5px;
  color: var(--faint);
}
.p-tabbar span:first-child { color: var(--green); }

/* Stylised map: a grid, two roads, and one bubble per waiting pickup. */
.p-map {
  position: relative;
  height: 300px;
  margin: 4px 16px 0;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  overflow: hidden;
  background-color: var(--map);
  background-image:
    linear-gradient(var(--map-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--map-grid) 1px, transparent 1px);
  background-size: 30px 30px;
}
.p-road {
  position: absolute;
  left: 0;
  top: 88px;
  width: 100%;
  height: 13px;
  background: var(--map-road);
  transform: rotate(-4deg);
}
.p-road--v {
  left: 118px;
  top: 0;
  width: 13px;
  height: 100%;
  transform: rotate(6deg);
}
.p-pin {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid var(--map);
  background: var(--green);
  color: var(--green-ink);
  font-family: var(--mono);
  font-weight: 700;
  transform: translate(-50%, -100%);
}
.p-pin--a { left: 32%; top: 36%; width: 40px; height: 40px; font-size: 12px; }
.p-pin--b { left: 64%; top: 29%; width: 32px; height: 32px; font-size: 11px; }
.p-pin--c { left: 49%; top: 63%; width: 27px; height: 27px; font-size: 10px; }
.p-pin--d { left: 79%; top: 57%; width: 23px; height: 23px; font-size: 9px; }
.p-me {
  position: absolute;
  left: 21%;
  top: 75%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--map);
  background: #5cc5e0;
  transform: translate(-50%, -50%);
}

.p-nearest {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px;
  background: var(--panel-green-soft);
  border: 1px solid var(--line-green);
  border-radius: 16px;
}
.p-nearest-count {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--line-green);
  color: var(--green);
  font-family: var(--display);
  font-weight: 700;
  font-size: 12px;
}
.p-nearest strong { display: block; font-weight: 600; font-size: 13px; }
.p-nearest span {
  display: block;
  margin-top: 2px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--dim);
}

/* ---------- closing call to action ---------- */

.cta-section { padding-top: 60px; padding-bottom: 20px; }
.cta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  align-items: center;
  padding: clamp(26px, 4vw, 44px);
  background: var(--panel-green);
  border: 1px solid var(--line-green);
  border-radius: 24px;
}
.cta-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(24px, 3.4vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: pretty;
}
.cta p {
  max-width: 26em;
  margin-top: 12px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.6;
}

/* ---------- signup forms ---------- */

.signup--hero { max-width: 460px; margin-top: 30px; }

.signup-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.signup-input {
  flex: 1 1 180px;
  min-width: 0;
  padding: 15px 16px;
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  font-family: inherit;
  font-size: 15px;
  color: var(--fg);
}
.signup--cta .signup-input { background: var(--bg); }
.signup-input::placeholder { color: var(--faint); }
/* The design removes the outline; keep a visible ring so the field can still be
   found by keyboard. */
.signup-input:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 0;
  border-color: transparent;
}
.signup-input:-webkit-autofill {
  -webkit-text-fill-color: var(--fg);
  -webkit-box-shadow: 0 0 0 1000px var(--panel) inset;
  caret-color: var(--fg);
}

.btn {
  flex: 0 0 auto;
  padding: 15px 22px;
  background: var(--green);
  color: var(--green-ink);
  border: 0;
  border-radius: 14px;
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.btn:hover { background: var(--green-hover); }
.btn[disabled] { opacity: 0.6; cursor: default; }
.btn[disabled]:hover { background: var(--green); }

.signup-note {
  margin-top: 11px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--dim);
}
/* Keep the policy link whole: a stray "cum" left at the end of a line reads
   like a typo rather than a link. */
.signup-note a { white-space: nowrap; }
.signup-error {
  margin-top: 11px;
  font-size: 13.5px;
  color: var(--error);
}

.signup-done--card {
  margin-top: 30px;
  max-width: 460px;
  padding: 18px 18px 16px;
  background: var(--panel-green);
  border: 1px solid var(--line-green);
  border-radius: 16px;
}
.signup-done-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
}
.signup-done--card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.check {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--green);
  color: var(--green-ink);
}
.check .icon { width: 17px; height: 17px; stroke-width: 2.4; }

.signup-done--inline {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  color: var(--green);
}
.signup-done--inline .icon { width: 20px; height: 20px; stroke-width: 2.4; }

/* Honeypot: off-screen rather than display:none, which some bots skip. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

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

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 40px;
  padding-top: 40px;
  padding-bottom: 56px;
  border-top: 1px solid var(--line);
}
.site-footer .logo { font-size: 17px; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.site-footer a {
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.7;
  color: var(--dim);
}
.site-footer a:hover { color: var(--fg); }

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.01ms !important; }
}
