/* Gradeping site. Light by default, dark when the computer is. */
:root {
  color-scheme: light dark;
  --bg: #f6f7f4;
  --bg-2: #eef1ec;
  --card: #ffffff;
  --text: #121a16;
  --muted: #56605b;
  --line: rgba(18, 26, 22, 0.1);
  --brand: #2fb5a1;
  --brand-ink: #0b6b5e;
  --brand-soft: #dff3ee;
  --a: #1a8a4a;
  --b: #2463c7;
  --c: #c0700c;
  --d: #d33a2c;
  --shadow-sm: 0 1px 2px rgba(18, 26, 22, 0.06), 0 2px 8px rgba(18, 26, 22, 0.04);
  --shadow-lg: 0 2px 6px rgba(18, 26, 22, 0.05), 0 24px 60px -12px rgba(18, 26, 22, 0.18);
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1120px;
  --head: "Manrope", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1210;
    --bg-2: #121916;
    --card: #171e1b;
    --text: #e9efeb;
    --muted: #9ba7a1;
    --line: rgba(255, 255, 255, 0.09);
    --brand-ink: #5fd3c0;
    --brand-soft: rgba(47, 181, 161, 0.14);
    --a: #3ccf7a;
    --b: #6c9ff4;
    --c: #f0a63c;
    --d: #f26b5e;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.3), 0 30px 70px -20px rgba(0, 0, 0, 0.6);
  }
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--brand-ink);
}

h1,
h2,
h3 {
  font-family: var(--head);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0;
}

p {
  margin: 0;
}

.wrap {
  width: min(var(--max), 100% - 32px);
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--card);
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 60;
}
.skip:focus {
  left: 16px;
}

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 8px;
}

/* Scroll progress */
.progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--brand);
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
  z-index: 50;
}

/* Nav */
.nav {
  position: sticky;
  top: 12px;
  z-index: 40;
  margin-top: 12px;
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 10px 10px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.nav.scrolled .nav-inner {
  background: color-mix(in srgb, var(--card) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 800 19px var(--head);
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}
.brand svg {
  width: 30px;
  height: 30px;
  overflow: visible;
}
.nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  padding: 8px 12px;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover {
  color: var(--text);
  background: var(--bg-2);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font: 700 16px var(--head);
  text-decoration: none;
  cursor: pointer;
  border: 0;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
}
.btn-primary {
  background: var(--brand);
  color: #04221d;
  box-shadow: 0 6px 20px -6px rgba(47, 181, 161, 0.6);
}
.btn-primary:hover {
  background: #3cc6b1;
  box-shadow: 0 10px 28px -8px rgba(47, 181, 161, 0.75);
  transform: translateY(-1px);
}
.btn-ghost {
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line);
}
.btn-ghost:hover {
  background: var(--bg-2);
}
.btn svg {
  width: 20px;
  height: 20px;
}
.nav .btn {
  min-height: 42px;
  padding: 0 18px;
  font-size: 15px;
}

/* Logo arcs ripple */
.arc {
  animation: ping 2.4s var(--ease) infinite;
  transform-box: fill-box;
  transform-origin: 0% 100%;
}
.arc-2 {
  animation-delay: 0.25s;
}
@keyframes ping {
  0%,
  55%,
  100% {
    opacity: 1;
  }
  20% {
    opacity: 0.25;
  }
}

/* Hero */
.hero {
  padding: 72px 0 40px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 600 14px var(--body);
  color: var(--brand-ink);
  background: var(--brand-soft);
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
}
.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 0 rgba(47, 181, 161, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  70% {
    box-shadow: 0 0 0 8px rgba(47, 181, 161, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(47, 181, 161, 0);
  }
}
.hero h1 {
  font-size: clamp(40px, 6vw, 66px);
  font-weight: 800;
  margin: 18px 0 18px;
}
.hero h1 .hl {
  background: linear-gradient(90deg, var(--brand), #1f8f7f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede {
  font-size: 19px;
  color: var(--muted);
  max-width: 34em;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.cta-note {
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}
.cta-note span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cta-note svg {
  width: 16px;
  height: 16px;
  color: var(--brand);
}

/* Hero app mock */
.mock {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  padding: 20px;
  font-size: 15px;
}
.mock::before {
  content: "";
  position: absolute;
  inset: -40px -30px auto auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 181, 161, 0.28), transparent 70%);
  z-index: -1;
  filter: blur(10px);
}
.mock-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.mock-bar .brand {
  font-size: 16px;
}
.mock-bar .brand svg {
  width: 24px;
  height: 24px;
}
.ping-btn {
  font: 700 13px var(--head);
  color: #04221d;
  background: var(--brand);
  border-radius: 999px;
  padding: 7px 14px;
}
.gpa {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  background: var(--bg-2);
  border-radius: 16px;
  padding: 14px 16px;
}
.gpa-num {
  font: 800 34px/1 var(--head);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.gpa-label {
  color: var(--muted);
  font-size: 13px;
  margin-top: 4px;
}
.delta {
  display: inline-block;
  font: 700 12px var(--body);
  color: var(--a);
  background: color-mix(in srgb, var(--a) 14%, transparent);
  padding: 2px 7px;
  border-radius: 999px;
  margin-left: 6px;
  vertical-align: 8px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.delta.on {
  opacity: 1;
  transform: none;
}
.rows {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 8px;
}
.row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 14px;
  transition: border-color 0.3s, background 0.3s;
}
.row.active {
  border-color: var(--brand);
  background: var(--brand-soft);
}
.row-code {
  font: 700 14px var(--head);
}
.row-grade {
  font: 700 14px var(--head);
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: center;
  gap: 8px;
}
.letter {
  font: 800 12px var(--head);
  min-width: 30px;
  text-align: center;
  padding: 3px 6px;
  border-radius: 8px;
  color: #fff;
}
.l-a {
  background: var(--a);
}
.l-b {
  background: var(--b);
}
.l-c {
  background: var(--c);
}
.meter {
  grid-column: 1 / -1;
  height: 6px;
  background: var(--bg-2);
  border-radius: 999px;
  overflow: hidden;
}
.meter i {
  display: block;
  height: 100%;
  width: var(--w, 0%);
  border-radius: inherit;
  background: var(--brand);
  transform-origin: 0 50%;
  transition: width 0.9s var(--ease);
}
.whatif {
  margin-top: 12px;
  border-radius: 14px;
  background: var(--bg-2);
  padding: 12px 14px;
}
.whatif-top {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
}
.whatif-top b {
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.slider {
  position: relative;
  height: 6px;
  border-radius: 999px;
  background: var(--line);
  margin: 12px 4px 4px;
}
.slider .fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--s, 60%);
  background: var(--brand);
  border-radius: inherit;
}
.slider .knob {
  position: absolute;
  top: 50%;
  left: var(--s, 60%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--brand);
  transform: translate(-50%, -50%);
  box-shadow: var(--shadow-sm);
}
.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  animation: bob 6s ease-in-out infinite;
}
.float-chip svg {
  width: 18px;
  height: 18px;
  color: var(--brand);
  flex: none;
}
.chip-1 {
  left: -28px;
  bottom: -24px;
}
.chip-2 {
  right: 36px;
  top: -24px;
  animation-delay: -3s;
}
@keyframes bob {
  50% {
    transform: translateY(-8px);
  }
}

/* Sections */
section {
  padding: 96px 0;
}
.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
}
.kicker {
  font: 700 13px var(--body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-ink);
  margin-bottom: 12px;
}
h2 {
  font-size: clamp(32px, 4.2vw, 48px);
  font-weight: 800;
}
.section-head p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 19px;
}

/* Problems */
.problems {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.problem {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 4px 18px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.problem:hover {
  box-shadow: var(--shadow-lg);
}
.problem .ic {
  grid-row: span 2;
}
.problem h3 {
  font-size: 20px;
}
.problem p {
  color: var(--muted);
}
.problem .fix {
  grid-column: 2;
  margin-top: 12px;
  font-size: 15px;
  color: var(--text);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.problem .fix svg {
  width: 18px;
  height: 18px;
  color: var(--brand);
  flex: none;
  margin-top: 3px;
}
.ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand-ink);
}
.ic svg {
  width: 22px;
  height: 22px;
}
.ic.warn {
  background: color-mix(in srgb, var(--c) 15%, transparent);
  color: var(--c);
}

/* Features */
.alt {
  background: var(--bg-2);
}
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.feature + .feature {
  margin-top: 96px;
}
.feature.flip .feature-copy {
  order: 2;
}
.feature-copy h3 {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  margin: 12px 0 14px;
}
.feature-copy > p {
  color: var(--muted);
  font-size: 18px;
}
.ticks {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 12px;
}
.ticks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.ticks svg {
  width: 20px;
  height: 20px;
  color: var(--brand);
  flex: none;
  margin-top: 3px;
}
.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  padding: 22px;
  font-size: 15px;
}
.panel-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
}
.panel-title b {
  font: 800 18px var(--head);
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 13px;
}
.item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.item:first-of-type {
  border-top: 0;
}
.item s {
  color: var(--muted);
}
.tag {
  font: 600 12px var(--body);
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--bg-2);
  color: var(--muted);
  white-space: nowrap;
}
.tag.drop {
  background: color-mix(in srgb, var(--c) 15%, transparent);
  color: var(--c);
}
.tag.miss {
  background: color-mix(in srgb, var(--d) 14%, transparent);
  color: var(--d);
}
.tag.ok {
  background: var(--brand-soft);
  color: var(--brand-ink);
}
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}
.compare div {
  border-radius: 14px;
  padding: 12px 14px;
  background: var(--bg-2);
}
.compare .big {
  font: 800 26px var(--head);
  font-variant-numeric: tabular-nums;
}
.compare .ours {
  background: var(--brand-soft);
}
.need {
  margin-top: 14px;
  border-radius: 14px;
  padding: 14px 16px;
  background: var(--brand-soft);
  display: flex;
  gap: 12px;
  align-items: center;
}
.need .big {
  font: 800 30px var(--head);
  color: var(--brand-ink);
  font-variant-numeric: tabular-nums;
}
.seg {
  display: inline-flex;
  gap: 4px;
  background: var(--bg-2);
  border-radius: 999px;
  padding: 4px;
}
.seg span {
  font: 700 13px var(--head);
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--muted);
  transition: background 0.3s, color 0.3s;
}
.seg span.on {
  background: var(--card);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.gpa-table {
  display: grid;
  gap: 8px;
}
.gpa-line {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 14px;
  align-items: center;
  padding: 8px 0;
  border-top: 1px solid var(--line);
}
.gpa-line:first-child {
  border-top: 0;
}
.cr {
  color: var(--muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.gpa-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 10px;
  padding-top: 14px;
  border-top: 2px solid var(--text);
}
.gpa-total .big {
  font: 800 34px var(--head);
  font-variant-numeric: tabular-nums;
}
.toast {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  margin-top: 10px;
  background: var(--card);
}
.toast .ic {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}
.toast .ic svg {
  width: 18px;
  height: 18px;
}
.toast b {
  font-weight: 700;
}
.cal-head,
.cal {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  text-align: center;
}
.cal-head {
  margin-top: 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  padding-bottom: 6px;
}
.day {
  position: relative;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--bg-2);
  color: var(--text);
  font: 600 14px var(--body);
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s var(--ease), color 0.2s;
}
.day:hover {
  border-color: var(--brand);
}
.day:active {
  transform: scale(0.95);
}
.day.due::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 5px;
  height: 5px;
  margin-left: -2.5px;
  border-radius: 50%;
  background: var(--brand);
}
.day.today {
  color: var(--brand-ink);
  font-weight: 800;
}
.day.on {
  background: var(--brand);
  color: #04221d;
  border-color: var(--brand);
}
.day.on.due::after {
  background: #04221d;
}
.due-list {
  margin-top: 12px;
  min-height: 104px;
}
.due-day {
  font: 700 13px var(--body);
  color: var(--muted);
  margin-bottom: 8px;
}
.due-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--bg-2);
  margin-top: 6px;
  animation: slide-in 0.4s var(--ease) both;
}
.due-item:nth-child(3) {
  animation-delay: 0.06s;
}
.due-item .when {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}
.due-empty {
  color: var(--muted);
  font-size: 14px;
  padding: 10px 2px;
  animation: slide-in 0.4s var(--ease) both;
}
@keyframes slide-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}

/* Sticky scroll: the what-if panel stays put while scrolling changes the target. */
.scrolly {
  position: relative;
  height: 340vh;
}
.scrolly-stage {
  position: sticky;
  top: 0;
  min-height: 100vh;
  padding: 72px 0 24px;
}
.feature + .scrolly,
.scrolly + .feature {
  margin-top: 0;
}
.seg button {
  font: 700 14px var(--head);
  min-height: 40px;
  min-width: 52px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s, box-shadow 0.3s;
}
.seg button:hover {
  color: var(--text);
}
.seg button.on {
  background: var(--card);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.need {
  transition: background 0.4s var(--ease);
}
.need.out {
  background: color-mix(in srgb, var(--d) 12%, transparent);
}
.need.out .big {
  color: var(--d);
  font-size: 24px;
}
.need .big {
  min-width: 3.4ch;
}
.need-meter {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: var(--bg-2);
  margin: 16px 0 10px;
}
.need-meter i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: inherit;
  background: var(--brand);
  transition: width 0.6s var(--ease), background 0.4s;
}
.need-meter i.out {
  background: var(--d);
}
.need-foot {
  min-height: 2.6em;
}
.scroll-hint {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.dots {
  display: inline-flex;
  gap: 5px;
}
.dots i {
  width: 18px;
  height: 4px;
  border-radius: 999px;
  background: var(--line);
  transition: background 0.3s, width 0.3s var(--ease);
}
.dots i.on {
  width: 28px;
  background: var(--brand);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  counter-reset: step;
}
.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  position: relative;
}
.step .n {
  font: 800 15px var(--head);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #04221d;
  margin-bottom: 16px;
}
.step h3 {
  font-size: 20px;
  margin-bottom: 8px;
}
.step p {
  color: var(--muted);
}

/* Privacy */
.privacy {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.privacy-list {
  display: grid;
  gap: 12px;
}
.privacy-list li {
  list-style: none;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
}
.privacy-list .ic {
  width: 40px;
  height: 40px;
}
.privacy-list b {
  display: block;
  font-family: var(--head);
  font-size: 17px;
}
.privacy-list span {
  color: var(--muted);
  font-size: 15px;
}
.privacy-list ul {
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.shield {
  aspect-ratio: 1;
  max-width: 380px;
  margin-inline: auto;
  border-radius: 40px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.shield .ring {
  position: absolute;
  inset: 50%;
  border: 2px solid var(--brand);
  border-radius: 50%;
  opacity: 0;
  animation: ring 4s var(--ease) infinite;
}
.shield .ring:nth-child(2) {
  animation-delay: 1.33s;
}
.shield .ring:nth-child(3) {
  animation-delay: 2.66s;
}
@keyframes ring {
  0% {
    inset: 50%;
    opacity: 0.6;
  }
  100% {
    inset: -10%;
    opacity: 0;
  }
}
.shield .core {
  width: 42%;
  aspect-ratio: 1;
  border-radius: 30%;
  background: var(--brand);
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 20px 40px -12px rgba(47, 181, 161, 0.6);
  position: relative;
}
.shield .core svg {
  width: 48%;
  height: 48%;
}
.shield .caption {
  position: absolute;
  bottom: 22px;
  font: 700 14px var(--head);
  color: var(--muted);
}

/* FAQ */
.faq {
  max-width: 780px;
  margin-inline: auto;
  display: grid;
  gap: 10px;
}
.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: box-shadow 0.25s;
}
.faq details[open] {
  box-shadow: var(--shadow-sm);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  font: 700 17px var(--head);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  min-height: 44px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary svg {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--muted);
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary svg {
  transform: rotate(45deg);
}
.faq .answer {
  padding: 0 22px 20px;
  color: var(--muted);
}
.faq .answer p + p {
  margin-top: 10px;
}

/* Final CTA */
.final {
  text-align: center;
  background: linear-gradient(160deg, #13403a, #0b2a26);
  color: #eaf7f4;
  border-radius: 32px;
  padding: 72px 24px;
  position: relative;
  overflow: hidden;
}
.final h2 {
  color: #fff;
}
.final p {
  color: #b6d6cf;
  margin: 16px auto 28px;
  max-width: 34em;
  font-size: 19px;
}
.final .glow {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 181, 161, 0.45), transparent 65%);
  top: -260px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}
.final .cta-note {
  justify-content: center;
  color: #b6d6cf;
}
.final .cta-row {
  justify-content: center;
}

/* Footer */
footer {
  padding: 48px 0 56px;
  color: var(--muted);
  font-size: 14px;
}
.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.foot nav {
  display: flex;
  gap: 20px;
}
.foot a {
  color: var(--muted);
}
.disclaimer {
  margin-top: 18px;
  max-width: 62em;
  font-size: 13px;
}

/* Scroll reveal */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal="left"] {
  transform: translateX(-32px);
}
.js [data-reveal="right"] {
  transform: translateX(32px);
}
.js [data-reveal="zoom"] {
  transform: scale(0.95) translateY(16px);
}
.js [data-reveal].in {
  opacity: 1;
  transform: none;
}

/* The hero animates in on load, without waiting for the scroll observer. */
.js .hero [data-reveal] {
  opacity: 1;
  transform: none;
  transition: none;
  animation: rise 0.9s var(--ease) both;
  animation-delay: var(--d, 0s);
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
}

/* Legal page */
.legal {
  max-width: 760px;
  margin: 48px auto 0;
}
.legal h1 {
  font-size: clamp(34px, 5vw, 48px);
  margin-bottom: 8px;
}
.legal h2 {
  font-size: 24px;
  margin: 40px 0 12px;
}
.legal p,
.legal li {
  color: var(--muted);
}
.legal p + p {
  margin-top: 12px;
}
.legal ul {
  padding-left: 22px;
  display: grid;
  gap: 8px;
}
.legal b {
  color: var(--text);
}

/* Responsive */
@media (max-width: 960px) {
  .hero,
  .feature,
  .privacy {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .feature.flip .feature-copy {
    order: 0;
  }
  .hero {
    padding-top: 40px;
  }
  .mock {
    max-width: 520px;
    margin-inline: auto;
    width: 100%;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .scrolly .ticks {
    display: none;
  }
  .scrolly-stage {
    gap: 20px;
    padding-top: 84px;
    align-content: center;
  }
}
@media (max-width: 720px) {
  body {
    font-size: 16px;
  }
  .nav-links {
    display: none;
  }
  .nav .btn {
    margin-left: auto;
  }
  .problems {
    grid-template-columns: 1fr;
  }
  section {
    padding: 72px 0;
  }
  .feature + .feature {
    margin-top: 72px;
  }
  .chip-1 {
    left: -6px;
    bottom: -18px;
  }
  .chip-2 {
    right: -6px;
    top: -18px;
  }
  .problem {
    grid-template-columns: 1fr;
  }
  .problem .ic {
    grid-row: auto;
    margin-bottom: 8px;
  }
  .problem .fix {
    grid-column: 1;
  }
  .final {
    border-radius: 24px;
    padding: 56px 20px;
  }
}

@media (max-width: 420px) {
  .nav .btn {
    padding: 0 14px;
    font-size: 14px;
  }
  .brand {
    font-size: 17px;
  }
  .cta-row .btn {
    width: 100%;
    white-space: normal;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
