/* The front door (landing.html). Stands alone rather than building on
   styles.css: that sheet is the app's chrome — a dark company bar on every
   <header>, full-width indigo buttons — and a page selling AhsomO to somebody
   who has never seen it wants the brand instead. The colours are the logo's
   own navy and cyan; the indigo is the app's, used where a picture of the app
   should look like the app. */

:root {
  --navy: #15265c;
  --navy-deep: #0d1a45;
  --cyan: #43c6e8;
  --cyan-soft: #e7f8fd;
  --indigo: #4f46e5;
  --ink: #121827;
  --muted: #566074;
  --line: #e4e8f0;
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --radius: 18px;
  --shadow: 0 18px 40px -18px rgba(13, 26, 69, 0.35);
}

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

html {
  scroll-behavior: smooth;
  /* Anchored sections stop below the sticky nav rather than under it. */
  scroll-padding-top: 84px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a { color: inherit; }

h1, h2, h3 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* No one-word last lines on the big headings. */
h1, h2 { text-wrap: balance; }

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

.lp-wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.lp-skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.lp-skip:focus { top: 12px; }

/* ── Buttons ─────────────────────────────────────────────────────────── */

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 12px;
  border: 2px solid transparent;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.12s ease, background-color 0.12s ease, border-color 0.12s ease;
}

.lp-btn:hover { transform: translateY(-1px); }

.lp-btn--small { padding: 9px 16px; font-size: 0.92rem; border-radius: 10px; }

.lp-btn--primary { background: var(--navy); color: #fff; }
.lp-btn--primary:hover { background: #1d3478; }

/* On the navy bands: the logo's cyan, with navy type (7:1). */
.lp-btn--accent { background: var(--cyan); color: var(--navy-deep); }
.lp-btn--accent:hover { background: #6dd5ef; }

.lp-btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.lp-btn--ghost:hover { border-color: #fff; }

.lp-btn--outline {
  color: var(--navy);
  border-color: var(--navy);
}
.lp-btn--outline:hover { background: var(--cyan-soft); }

/* ── Nav ─────────────────────────────────────────────────────────────── */

.lp-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}

.lp-nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.lp-brand { display: inline-flex; flex-shrink: 0; }
.lp-brand img { height: 30px; width: auto; display: block; }

.lp-nav-links {
  display: flex;
  gap: 26px;
  margin-left: 16px;
}

.lp-nav-links a,
.lp-signin {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}

.lp-nav-links a:hover,
.lp-signin:hover { color: var(--navy); }

.lp-nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

/* ── Hero ────────────────────────────────────────────────────────────── */

.lp-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(900px 480px at 85% 10%, rgba(67, 198, 232, 0.22), transparent 60%),
    radial-gradient(700px 420px at 0% 100%, rgba(79, 70, 229, 0.25), transparent 60%),
    linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 60%, #1b3577 100%);
  padding: 88px 0 96px;
}

.lp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.lp-eyebrow,
.lp-kicker {
  margin: 0 0 14px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lp-eyebrow { color: var(--cyan); }
.lp-kicker { color: var(--indigo); }

.lp-hero h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.6rem);
  font-weight: 800;
}

.lp-lede {
  margin: 22px 0 0;
  max-width: 34em;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.8);
}

.lp-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.lp-cta-row--center { justify-content: center; }

.lp-assurances {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.72);
}

.lp-assurances li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.lp-assurances li::before {
  content: "";
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.2 2.2 4.8-4.8' fill='none' stroke='%230d1a45' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 100% no-repeat,
    var(--cyan);
}

/* The drawn product. Four cards in a loose two-column stack; each is a small
   imitation of the real page it stands for, so the indigo and the chip
   colours are the app's rather than the brand's. */
.lp-hero-art {
  display: grid;
  /* The game card's two-team rows want the wider half. */
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.lp-mock {
  background: #fff;
  color: var(--ink);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.55);
}

.lp-mock--survey { grid-column: 1 / -1; }
.lp-mock--game { transform: translateY(10px); }
.lp-mock--shout { transform: translateY(-6px); }

.lp-mock--milestone {
  grid-column: 1 / -1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 10px;
  border-radius: 999px;
  font-size: 0.9rem;
  margin-left: 12%;
}

.lp-mock-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.lp-mock-title { font-weight: 700; font-size: 0.95rem; }

.lp-mock-meta {
  margin-left: auto;
  font-size: 0.78rem;
  color: var(--muted);
}

.lp-mock-small {
  margin: 8px 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.lp-mock-q {
  margin: 10px 0 12px;
  font-weight: 700;
  font-size: 1.05rem;
}

.lp-mock-body {
  margin: 0;
  font-size: 0.9rem;
  color: #374151;
  line-height: 1.5;
}

.lp-progress {
  height: 6px;
  border-radius: 999px;
  background: #eef2ff;
  overflow: hidden;
}

.lp-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--indigo);
}

.lp-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lp-options span,
.lp-matchup span {
  padding: 7px 12px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  font-size: 0.85rem;
  font-weight: 600;
  color: #374151;
}

.lp-options .is-picked,
.lp-matchup .is-picked {
  border-color: var(--indigo);
  background: #eef2ff;
  color: var(--indigo);
}

.lp-matchup {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  text-align: center;
}

.lp-matchup span { padding: 7px 6px; }

.lp-mock--game .lp-mock-title { white-space: nowrap; }

.lp-matchup em {
  font-style: normal;
  font-size: 0.8rem;
  color: var(--muted);
}

.lp-badge {
  margin-left: auto;
  padding: 3px 9px;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
  font-size: 0.72rem;
  font-weight: 700;
}

.lp-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--cyan), var(--indigo));
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}

/* Icon badges — the same tones the dashboards' panel icons use. */
.lp-chip {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}

.lp-chip svg { width: 18px; height: 18px; fill: currentColor; }

.lp-chip--indigo { background: #eef2ff; color: #4f46e5; }
.lp-chip--amber  { background: #fef3c7; color: #b45309; }
.lp-chip--pink   { background: #fce7f3; color: #be185d; }
.lp-chip--blue   { background: #dbeafe; color: #1d4ed8; }
.lp-chip--green  { background: #dcfce7; color: #15803d; }
.lp-chip--cyan   { background: var(--cyan-soft); color: #0e7490; }
.lp-chip--navy   { background: #e0e7ff; color: var(--navy); }
.lp-chip--slate  { background: #f1f5f9; color: #475569; }

/* ── Sections ────────────────────────────────────────────────────────── */

.lp-section { padding: 96px 0; }
.lp-section--alt { background: var(--bg-alt); }

.lp-section-head {
  max-width: 680px;
  margin: 0 auto 52px;
  text-align: center;
}

.lp-section-head h2,
.lp-split-copy h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 800;
  color: var(--navy-deep);
}

.lp-section-head p:not(.lp-kicker),
.lp-split-copy > p:not(.lp-kicker) {
  margin: 16px 0 0;
  font-size: 1.08rem;
  color: var(--muted);
}

/* A week on AhsomO: four steps along a line. */
.lp-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  counter-reset: step;
}

.lp-steps li {
  position: relative;
  padding-top: 64px;
  counter-increment: step;
}

.lp-steps li::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 0 0 6px var(--cyan-soft);
}

/* The line joining one step's number to the next. */
.lp-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 21px;
  left: 60px;
  right: -12px;
  height: 2px;
  background: repeating-linear-gradient(90deg, #c7d2fe 0 6px, transparent 6px 12px);
}

.lp-step-when {
  display: block;
  margin-bottom: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0e7490;
}

.lp-steps h3 { font-size: 1.2rem; color: var(--navy-deep); }

.lp-steps p {
  margin: 10px 0 0;
  color: var(--muted);
}

/* The survey, up close: copy beside a ladder of four real questions. */
.lp-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.lp-checks {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 12px;
}

.lp-checks li {
  position: relative;
  padding-left: 30px;
}

.lp-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.2 2.2 4.8-4.8' fill='none' stroke='%230e7490' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 100% no-repeat,
    var(--cyan-soft);
}

.lp-ladder {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.lp-ladder li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 10px 24px -18px rgba(13, 26, 69, 0.4);
}

/* Each rung a little further in — the shape of the week. */
.lp-ladder li:nth-child(2) { margin-left: 4%; }
.lp-ladder li:nth-child(3) { margin-left: 8%; }
.lp-ladder li:nth-child(4) { margin-left: 12%; border-color: #c7d2fe; }

.lp-ladder p {
  margin: 0;
  font-weight: 700;
  color: var(--navy-deep);
  line-height: 1.4;
}

.lp-ladder-n {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #eef2ff;
  color: var(--indigo);
  font-weight: 800;
  font-size: 0.9rem;
}

.lp-ladder-kind {
  display: block;
  margin-top: 4px;
  font-size: 0.85rem;
  color: var(--muted);
}

.lp-ladder-kind--own {
  color: #0e7490;
  font-weight: 600;
}

/* Features */
.lp-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.lp-feature {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.lp-feature:hover {
  border-color: #c7d2fe;
  box-shadow: var(--shadow);
}

.lp-feature .lp-chip { width: 42px; height: 42px; border-radius: 12px; }
.lp-feature .lp-chip svg { width: 22px; height: 22px; }

.lp-feature h3 {
  margin-top: 16px;
  font-size: 1.08rem;
  color: var(--navy-deep);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.lp-feature p {
  margin: 8px 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}

/* Marks what the free plan includes, so the pricing below is no surprise. */
.lp-free-tag {
  padding: 2px 8px;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Roles */
.lp-roles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.lp-role {
  padding: 28px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}

.lp-role-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}

.lp-role:nth-child(2) .lp-role-badge { background: var(--indigo); }
.lp-role:nth-child(3) .lp-role-badge { background: var(--cyan); color: var(--navy-deep); }

.lp-role h3 {
  margin-top: 16px;
  font-size: 1.2rem;
  color: var(--navy-deep);
}

.lp-role p {
  margin: 10px 0 0;
  color: var(--muted);
}

/* Pricing */
.lp-plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 880px;
  margin: 0 auto;
}

.lp-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
}

.lp-plan--featured {
  border: 2px solid var(--navy);
  box-shadow: var(--shadow);
}

.lp-plan-flag {
  position: absolute;
  top: -13px;
  left: 32px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--cyan);
  color: var(--navy-deep);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lp-plan h3 { font-size: 1.2rem; color: var(--navy-deep); }

.lp-plan-price {
  margin: 16px 0 0;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
}

.lp-plan-price strong {
  font-size: 2.8rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy-deep);
}

.lp-plan-note {
  margin: 10px 0 0;
  font-weight: 600;
  color: #0e7490;
}

.lp-plan .lp-checks { margin-bottom: 28px; }

/* Buttons sit on the same line in both cards however long the lists run. */
.lp-plan .lp-btn { margin-top: auto; }

.lp-plans-more {
  margin: 28px 0 0;
  text-align: center;
  font-weight: 600;
}

.lp-plans-more a { color: var(--indigo); text-decoration: none; }
.lp-plans-more a:hover { text-decoration: underline; }

/* FAQ */
.lp-faq-wrap { max-width: 800px; }

.lp-faq {
  display: grid;
  gap: 12px;
}

.lp-faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 22px;
}

.lp-faq details[open] { border-color: #c7d2fe; }

.lp-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 28px 18px 0;
  position: relative;
  font-weight: 700;
  color: var(--navy-deep);
}

.lp-faq summary::-webkit-details-marker { display: none; }

.lp-faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--indigo);
}

.lp-faq details[open] summary::after { content: "\2013"; }

.lp-faq p {
  margin: 0 0 18px;
  color: var(--muted);
}

/* Closing band */
.lp-closer {
  padding: 88px 0;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(67, 198, 232, 0.25), transparent 70%),
    var(--navy-deep);
}

.lp-closer h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  font-weight: 800;
}

.lp-closer p {
  max-width: 36em;
  margin: 16px auto 0;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.78);
}

/* Footer */
.lp-footer {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.lp-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}

.lp-footer img { height: 22px; width: auto; display: block; }

.lp-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.lp-footer nav a {
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
}

.lp-footer nav a:hover { color: var(--navy); }

/* ── Smaller screens ─────────────────────────────────────────────────── */

@media (max-width: 1020px) {
  .lp-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  /* Two to a row, so the line would run off the end of every second step. */
  .lp-steps li:nth-child(2n)::after { display: none; }
}

@media (max-width: 900px) {
  .lp-nav-links { display: none; }
  .lp-hero { padding: 56px 0 64px; }
  .lp-hero-grid,
  .lp-split { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .lp-hero-art { max-width: 560px; }
  .lp-roles { grid-template-columns: minmax(0, 1fr); }
  .lp-section { padding: 72px 0; }
  .lp-section-head { margin-bottom: 40px; }
}

@media (max-width: 640px) {
  .lp-wrap,
  .lp-nav-inner { padding-left: 16px; padding-right: 16px; }
  .lp-nav-actions { gap: 12px; }
  .lp-brand img { height: 24px; }
  .lp-cta-row .lp-btn { flex: 1 1 100%; }
  .lp-hero-art { grid-template-columns: minmax(0, 1fr); }
  /* One column: the game and the shoutout say the same thing the steps
     below do, and a phone screen is better spent on the survey. */
  .lp-mock--shout { display: none; }
  .lp-mock--game,
  .lp-mock--shout { transform: none; }
  .lp-mock--milestone { margin-left: 0; }
  .lp-features,
  .lp-steps,
  .lp-plans { grid-template-columns: minmax(0, 1fr); }
  .lp-steps li:not(:last-child)::after { display: none; }
  .lp-ladder li:nth-child(n) { margin-left: 0; }
  .lp-plan { padding: 28px 22px; }
  .lp-footer-inner { flex-direction: column; align-items: flex-start; }
}
