:root {
  --ink: #16243a;
  --ink-2: #22344f;
  --muted: #55607a;
  --line: #d9dfe8;
  --sheet: #f5f7fa;
  --paper: #ffffff;
  --amber: #f2b705;
  --amber-dark: #c99500;
  --blue: #1f4e8c;
  --green: #1d7a4f;
  --radius: 14px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p { margin: 0; }

a { color: var(--blue); }

.wrap {
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.top {
  background: var(--ink);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4rem;
  gap: 1rem;
}
.mark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.mark-tick {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 6px;
  background: var(--amber);
  position: relative;
  flex: none;
}
.mark-tick::after {
  content: "";
  position: absolute;
  left: 0.5rem;
  top: 0.3rem;
  width: 0.45rem;
  height: 0.8rem;
  border: solid var(--ink);
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}
.top-link {
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
}
.top-link:hover, .top-link:focus-visible { border-color: var(--amber); color: var(--amber); }

/* Hero */
.hero {
  background: var(--ink);
  color: #fff;
  padding: 3rem 0 3.5rem;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  gap: 2.75rem;
  align-items: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--amber);
  border: 1px solid rgba(242, 183, 5, 0.45);
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
}
.dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--amber);
}
.hero h1 {
  margin-top: 1.25rem;
  font-size: clamp(2.2rem, 7vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
}
.hero h1 em {
  font-style: normal;
  color: var(--amber);
}
.lede {
  margin-top: 1.25rem;
  font-size: 1.15rem;
  color: #c9d2e0;
  max-width: 34rem;
}
.hero-actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
}
.hero-note {
  color: #9fb0c8;
  font-size: 0.95rem;
}

/* Buttons */
.btn {
  display: inline-block;
  font-weight: 700;
  text-decoration: none;
  border-radius: 10px;
  padding: 0.85rem 1.35rem;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.btn-amber { background: var(--amber); color: var(--ink); border-color: var(--amber); }
.btn-amber:hover { background: #ffc61a; }
.btn-ink { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-ink:hover { background: var(--ink-2); }
.hero .btn:focus-visible { outline-color: #fff; }

/* Phone preview */
.phone {
  justify-self: center;
  width: min(19rem, 100%);
  background: #0c1626;
  border-radius: 2.4rem;
  padding: 0.7rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: rotate(2deg);
}
.phone-screen {
  background: var(--sheet);
  color: var(--ink);
  border-radius: 1.8rem;
  padding: 1.1rem 1rem 1rem;
}
.app-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 800;
  font-size: 0.85rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}
.app-tag {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--muted);
  background: #e6ebf2;
  border-radius: 999px;
  padding: 0.1rem 0.5rem;
}
.app-label {
  margin-top: 0.9rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.app-count { font-size: 0.95rem; }
.app-count strong { font-size: 1.5rem; }
.bar {
  margin-top: 0.4rem;
  height: 0.5rem;
  border-radius: 999px;
  background: #dfe5ee;
  overflow: hidden;
}
.bar span {
  display: block;
  width: 58%;
  height: 100%;
  background: var(--amber);
  border-radius: 999px;
}
.app-list {
  list-style: none;
  margin: 0.9rem 0 0;
  padding: 0;
  font-size: 0.85rem;
}
.app-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0;
  border-bottom: 1px dashed var(--line);
}
.app-list li::before {
  content: "";
  flex: none;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  box-sizing: border-box;
}
.app-list .done::before {
  background: var(--green);
  background-image: linear-gradient(transparent, transparent);
  box-shadow: inset 0 0 0 0.3rem var(--green);
}
.app-list .done { color: var(--muted); position: relative; }
.app-list .done::after {
  content: "";
  position: absolute;
  left: 0.38rem;
  top: 50%;
  width: 0.25rem;
  height: 0.5rem;
  margin-top: -0.32rem;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.app-list .now { font-weight: 700; }
.app-list .now::before { border: 2px solid var(--amber); background: radial-gradient(circle, var(--amber) 35%, transparent 40%); }
.app-list .later { color: #8a94a8; }
.app-list .later::before { border: 2px solid #c3cbd8; }
.next {
  margin-top: 0.9rem;
  background: var(--ink);
  color: #fff;
  border-radius: 0.9rem;
  padding: 0.8rem 0.9rem;
}
.next-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--amber);
}
.next-text { font-weight: 700; font-size: 0.92rem; line-height: 1.35; margin-top: 0.2rem; }
.next-time { font-size: 0.8rem; color: #9fb0c8; margin-top: 0.25rem; }

/* How it works */
.how {
  background: var(--sheet);
  border-bottom: 1px solid var(--line);
  padding: 2.5rem 0;
}
.kicker {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.how-steps {
  list-style: none;
  counter-reset: step;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}
.how-steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  column-gap: 0.9rem;
  align-content: start;
}
.how-steps li::before {
  content: counter(step);
  grid-row: span 2;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--amber);
  font-weight: 800;
  display: grid;
  place-items: center;
}
.how-steps strong { font-size: 1.05rem; }
.how-steps span { color: var(--muted); font-size: 0.98rem; }

/* Paths */
.paths { padding: 3.5rem 0; }
.paths h2 {
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.paths-intro { margin-top: 0.6rem; color: var(--muted); }
.cards {
  margin-top: 2rem;
  display: grid;
  gap: 1.25rem;
}
.card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  border: 1px solid var(--line);
  border-top: 5px solid var(--ink);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  background: var(--paper);
}
.card-alt {
  background: var(--sheet);
  border-top-color: var(--amber);
}
.card-tag {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--blue);
}
.card h3 {
  font-size: 1.45rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.card > p:not(.card-tag) { color: var(--muted); }
.ticks {
  list-style: none;
  margin: 0.2rem 0 0.4rem;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}
.ticks li {
  position: relative;
  padding-left: 1.8rem;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3rem;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 4px;
  background: var(--ink);
}
.ticks li::after {
  content: "";
  position: absolute;
  left: 0.4rem;
  top: 0.45rem;
  width: 0.3rem;
  height: 0.6rem;
  border: solid var(--amber);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.card .btn { margin-top: auto; align-self: flex-start; }

/* About */
.about {
  background: var(--sheet);
  border-top: 1px solid var(--line);
  padding: 2.5rem 0;
}
.about-row {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.about-row > div:last-child { max-width: 42rem; }
.avatar {
  flex: none;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--amber);
  font-weight: 800;
  display: grid;
  place-items: center;
  letter-spacing: 0.02em;
}
.about-name { font-size: 1.15rem; }
.about p { color: var(--muted); margin-top: 0.3rem; }

/* Footer */
footer {
  background: var(--ink);
  color: #9fb0c8;
  padding: 2rem 0 2.5rem;
  font-size: 0.9rem;
}
footer p + p { margin-top: 0.4rem; }
footer strong { color: #fff; }
footer a { color: #fff; }
.foot-mark { margin-bottom: 0.8rem; }

/* Larger screens */
@media (min-width: 52rem) {
  .hero { padding: 4.5rem 0 5rem; }
  .hero-grid { grid-template-columns: 1.25fr 1fr; gap: 3rem; }
  .how-steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .cards { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .card { padding: 2rem 1.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}
