:root {
  --ink: #172b4d;
  --ink-secondary: #45546c;
  --muted: #6b778c;
  --line: #e7eaf0;
  --surface: #ffffff;
  --surface-muted: #f5f7fb;
  --accent-surface: #edf3fd;
  --accent-line: #c0d3f1;
  --blue: #1868db;
  --blue-hover: #1458ba;
  --navy: #102d51;
  --navy-ink: #f4f8ff;
  --navy-muted: #a7bbd7;
  --navy-accent: #98c7ff;
  --radius: 12px;
  color-scheme: light;
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e2eaf5;
    --ink-secondary: #c3d0e2;
    --muted: #a9b8cd;
    --line: #2c3a4f;
    --surface: #141d2b;
    --surface-muted: #182333;
    --accent-surface: #203552;
    --accent-line: #39577f;
    --blue: #82b8ff;
    --blue-hover: #a4ccff;
    --navy: #0d2340;
    color-scheme: dark;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  line-height: 1.6;
}

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

h2 {
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem);
}

h3 {
  font-size: 1.1rem;
}

p {
  margin: 0 0 1em;
}

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

a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 720px) {
  .wrap {
    padding: 0 32px;
  }
}

.narrow {
  max-width: 760px;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 10;
  background: var(--surface);
  padding: 8px 12px;
}

.top {
  position: sticky;
  top: 0;
  z-index: 5;
  background: color-mix(in srgb, var(--navy) 94%, transparent);
  backdrop-filter: blur(8px);
  color: var(--navy-ink);
}

.top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy-ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.15rem;
}

.top nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.92rem;
}

.top nav a {
  color: #bed0e9;
  text-decoration: none;
}

.top nav a:hover {
  color: #fff;
}

.top nav .signin {
  color: #fff;
  border: 1px solid #ffffff40;
  padding: 6px 14px;
  border-radius: 999px;
}

@media (max-width: 719px) {
  .top nav a:not(.signin) {
    display: none;
  }
}

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--navy);
  color: var(--navy-ink);
  padding: clamp(64px, 10vw, 128px) 0 clamp(64px, 9vw, 112px);
}

.ring {
  position: absolute;
  z-index: -1;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  border: 80px solid #528ad419;
  pointer-events: none;
}

.ring-one {
  right: -240px;
  top: -200px;
}

.ring-two {
  right: 80px;
  bottom: -340px;
  border-color: #1e406740;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #97afd1;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.3rem, 1.4rem + 4.2vw, 4.4rem);
  letter-spacing: -0.035em;
  font-weight: 560;
  max-width: 16ch;
  margin-bottom: 24px;
}

.hero em {
  font-style: normal;
  color: var(--navy-accent);
}

.lede {
  max-width: 60ch;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
  color: var(--navy-muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.button.primary {
  background: #1868db;
  color: #fff;
}

.button.primary:hover {
  background: #1458ba;
}

.button.ghost {
  color: var(--navy-ink);
  border: 1px solid #ffffff40;
}

.button.ghost:hover {
  background: #ffffff12;
}

.fine {
  font-size: 0.85rem;
  color: #8fa8c7;
}

.section {
  padding-top: clamp(56px, 8vw, 96px);
  padding-bottom: clamp(56px, 8vw, 96px);
}

.band {
  background: var(--surface-muted);
  padding: clamp(56px, 8vw, 96px) 0;
}

.split {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

.split p {
  color: var(--ink-secondary);
  font-size: 1.05rem;
}

.compare {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.compare table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.compare caption {
  text-align: left;
  font-weight: 600;
  padding-bottom: 12px;
}

.compare th,
.compare td {
  padding: 12px 8px;
  border-top: 1px solid var(--line);
  text-align: right;
}

.compare th[scope='row'] {
  text-align: left;
  font-weight: 500;
}

.compare thead th {
  border-top: 0;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
}

.compare .ours th,
.compare .ours td {
  font-weight: 700;
  color: var(--blue);
}

.compare figcaption {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 12px;
}

.grid {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}

@media (min-width: 640px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.grid article,
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--surface);
}

.grid article p,
.card p {
  color: var(--ink-secondary);
  margin: 0;
}

.two {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}

@media (min-width: 860px) {
  .two {
    grid-template-columns: 1fr 1fr;
  }
}

.card .link {
  display: inline-block;
  margin-top: 16px;
  font-weight: 600;
  text-decoration: none;
}

.band .narrow p {
  color: var(--ink-secondary);
  font-size: 1.05rem;
}

.plans {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}

@media (min-width: 640px) {
  .plans {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .plans {
    grid-template-columns: repeat(5, 1fr);
  }
}

.plan {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.plan.featured {
  border-color: var(--accent-line);
  background: var(--accent-surface);
}

.plan h3 {
  font-size: 1rem;
  color: var(--ink-secondary);
}

.price {
  font-size: 2rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.price span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
}

.plan ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  font-size: 0.92rem;
  color: var(--ink-secondary);
}

.plan li {
  padding: 6px 0;
  border-top: 1px solid var(--line);
}

.plan .button {
  margin-top: auto;
}

.note {
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 80ch;
  margin-top: 24px;
  margin-bottom: 0;
}

.intro {
  color: var(--ink-secondary);
}

.limits {
  padding-left: 1.2em;
  color: var(--ink-secondary);
  max-width: 80ch;
}

.limits li {
  margin-bottom: 8px;
}

details {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}

details:last-of-type {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
}

details p {
  margin: 12px 0 0;
}

.cta {
  background: var(--navy);
  color: var(--navy-ink);
  text-align: center;
  padding: clamp(56px, 8vw, 88px) 0;
}

.cta p {
  color: var(--navy-muted);
  margin-bottom: 24px;
}

.foot {
  padding: 28px 0 36px;
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.foot-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.foot nav {
  display: flex;
  gap: 20px;
}

.foot a {
  color: var(--muted);
}

.trademark {
  margin-top: 16px;
  font-size: 0.78rem;
}
