:root {
  color-scheme: light;
  --night: #0d1426;
  --paper: #f5f7fb;
  --ink: #172141;
  --muted: #4f5e76;
  --line: #d7dfeb;
  --heading: "Space Grotesk", system-ui, sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
  --gutter: clamp(20px, 4vw, 60px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.6 var(--body);
}
a { color: inherit; text-underline-offset: 0.22em; }
a:focus-visible { outline: 3px solid #6f72de; outline-offset: 5px; }
img { display: block; max-width: 100%; }
figure, p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { font-family: var(--heading); }
h1, h2 { text-wrap: balance; }
.shell { width: min(calc(100% - 2 * var(--gutter)), 1280px); margin-inline: auto; }
.skip-link {
  position: absolute;
  top: 12px;
  left: var(--gutter);
  z-index: 1;
  transform: translateY(-200%);
  padding: 10px 16px;
  border-radius: 8px;
  background: white;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  background: var(--night);
  border-bottom: 1px solid #2b3551;
  color: #f7f9ff;
}
.header-inner {
  min-height: 76px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px 30px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font: 700 clamp(1rem, 2.5vw, 1.32rem)/1.15 var(--heading);
  letter-spacing: -0.035em;
  text-decoration: none;
}
.brand img { flex: none; border-radius: 9px; }
.main-nav, .site-footer nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px clamp(16px, 3vw, 34px);
}
.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}
.main-nav a:hover, .site-footer nav a:hover { text-decoration: underline; }
.main-nav .sign-in { padding-inline: 16px; border: 1px solid #576582; border-radius: 8px; }
.site-header a:focus-visible, .hero a:focus-visible { outline-color: #b9f274; }

.hero {
  background: radial-gradient(ellipse at 73% 86%, #20316a 0%, var(--night) 68%);
  color: #f7f9ff;
}
.hero-inner {
  padding-block: clamp(52px, 6vw, 88px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: clamp(30px, 5vw, 75px);
  align-items: center;
}
.hero h1 {
  font-size: clamp(3.25rem, 5.9vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.067em;
}
.hero h1 span {
  color: #b7f275;
  background: linear-gradient(100deg, #bdf47b 10%, #63ebcf 95%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-copy > p {
  max-width: 45ch;
  margin-top: 26px;
  color: #ccd6eb;
  font-size: clamp(1.03rem, 1.55vw, 1.18rem);
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
}
.button-accent { background: #baf379; color: #121c2d; }
.button-accent:hover { background: #d0ffa0; }
.button-outline { border-color: #687694; color: #f7f9ff; }
.button-outline:hover { background: #283557; }
.hero-image {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid #48597a;
  border-radius: 23px;
  background: #222d47;
  box-shadow: 0 26px 70px #04091855;
}
.hero-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.24;
  object-fit: cover;
  object-position: center 34%;
}
.service-preview {
  position: absolute;
  left: clamp(12px, 2.2vw, 26px);
  bottom: clamp(12px, 2.2vw, 26px);
  max-width: calc(100% - 24px);
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 11px 15px 11px 12px;
  border: 1px solid #647391;
  border-radius: 13px;
  background: #111c32;
  color: #f7f9ff;
  line-height: 1.35;
}
.completion-mark {
  flex: none;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  background: #244037;
  color: #baf379;
  border-radius: 9px;
  font-weight: 700;
}
.service-preview strong { display: block; margin-block: 2px; font-size: 1rem; }
.service-preview small { display: block; font-size: 0.77rem; color: #bdc9df; }

.section { padding-block: clamp(52px, 7vw, 94px); }
h2 {
  font-size: clamp(2.1rem, 4.6vw, 4.15rem);
  letter-spacing: -0.055em;
  line-height: 1.01;
}
h3 { font-size: clamp(1.25rem, 2.2vw, 1.54rem); letter-spacing: -0.038em; line-height: 1.15; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 4vw, 55px);
  margin-top: clamp(28px, 4vw, 42px);
}
.feature { padding-top: 20px; border-top: 3px solid #675fca; }
.feature:nth-child(2) { border-color: #287f99; }
.feature:nth-child(3) { border-color: #5a8535; }
.feature p, .plans-copy p { margin-top: 10px; color: var(--muted); }

.garage-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(20px, 5vw, 68px);
  padding: clamp(26px, 5vw, 62px);
  background: linear-gradient(116deg, #e6eeff, #edebf9);
  border: 1px solid #d6def1;
  border-radius: 23px;
}
.garage-panel h2 { font-size: clamp(2rem, 3.8vw, 3.55rem); }
.garage-panel p { margin-top: 16px; color: #465675; max-width: 48ch; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: #343598;
  font-weight: 700;
}
.text-link:hover { color: #221a70; text-decoration-thickness: 2px; }
.garage-panel .text-link { margin-top: 10px; }
.timeline {
  border: 1px solid #d4dcee;
  border-radius: 16px;
  background: #fcfdff;
  padding: clamp(15px, 3vw, 26px);
}
.timeline h3 { font-size: 1.15rem; }
.timeline ol { list-style: none; padding: 0; margin: 10px 0 0; }
.timeline li {
  display: grid;
  grid-template-columns: minmax(66px, 0.65fr) minmax(0, 1.45fr);
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #e0e6f2;
  font-size: 0.88rem;
  line-height: 1.3;
}
.timeline li:last-child { border-bottom: 0; padding-bottom: 0; }
.timeline-date time { display: block; font-weight: 700; }
.timeline-date small { color: var(--muted); font-size: 0.75rem; }

.plans-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 36px);
}
.plans-copy { grid-column: 1 / -1; }
.plans-copy .fine-print { font-size: 0.84rem; }
.plan {
  display: flex;
  flex-direction: column;
  padding: clamp(18px, 2.7vw, 32px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.plan h3 { font-size: 1.1rem; }
.plan .price {
  margin-top: 12px;
  font: 700 clamp(2.45rem, 4vw, 3.5rem)/1 var(--heading);
  letter-spacing: -0.065em;
}
.price span { font: 600 0.88rem var(--body); letter-spacing: normal; }
.plan .annual-price { margin-top: 5px; }
.plan .plan-capacity { margin-top: 16px; font-weight: 700; }
.plan-features { margin: 12px 0 16px; padding-left: 1.2em; font-size: 0.94rem; }
.plan-features li + li { margin-top: 6px; }
.plan .text-link { align-self: flex-start; padding-top: 8px; margin-top: auto; }
.plan-pro { background: linear-gradient(135deg, #1c2850, #2d2967); color: #f7f9ff; border-color: transparent; }
.plan-pro .text-link { color: #c3f592; }
.plan-pro .text-link:focus-visible { outline-color: #baf379; }
.plan-family { background: #edf1f9; }
.referral {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 30px;
  margin-top: 24px;
  padding: clamp(16px, 3vw, 26px);
  background: #e8f2e5;
  border: 1px solid #cddfc9;
  border-radius: 15px;
}
.referral h3 { font-size: 1.1rem; }
.referral p { margin-top: 4px; color: #385241; max-width: 76ch; }
.referral .text-link { flex-shrink: 0; }

.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; padding-block: 25px; }
.site-footer .brand { margin-right: auto; }
.site-footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.88rem;
  text-decoration: none;
}
.site-footer small { color: var(--muted); }

@media (max-width: 840px) {
  .plans-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan-family { grid-column: 1 / -1; }
}

@media (max-width: 800px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(3.2rem, 9vw, 5.1rem); }
  .hero-image img { aspect-ratio: 1.58; }
  .garage-panel { grid-template-columns: 1fr; }
  .referral { flex-wrap: wrap; }
}

@media (max-width: 580px) {
  .header-inner { min-height: 65px; gap: 4px 12px; flex-wrap: wrap; padding-block: 9px; }
  .main-nav { gap: 4px 13px; }
  .main-nav a { font-size: 0.84rem; }
  .main-nav .sign-in { padding-inline: 10px; }
  .hero-inner { padding-block: 42px 34px; gap: 24px; }
  .hero-copy > p { margin-top: 18px; }
  .hero-actions { margin-top: 20px; }
  .hero-image { border-radius: 15px; }
  .hero-image img { aspect-ratio: 1.25; }
  .desktop-break { display: none; }
  .feature-grid, .plans-layout { grid-template-columns: 1fr; }
  .feature-grid { gap: 21px; }
  .feature { padding-top: 13px; }
  .feature p { margin-top: 6px; }
  .plan .text-link { margin-top: 8px; }
  .site-footer nav { gap: 0 18px; }
}

@media (max-width: 440px) {
  .main-nav { width: 100%; justify-content: space-between; }
  .hero-actions .button { width: 100%; }
  .service-preview { gap: 8px; padding: 8px; }
  .completion-mark { width: 29px; height: 29px; }
}

@media (forced-colors: active) {
  .hero h1 span { background: none; -webkit-text-fill-color: currentColor; }
}
