:root {
  --ivory: #f4efe3;
  --ivory-deep: #e9e1d2;
  --paper: #fffdf8;
  --white: #ffffff;
  --ink: #15313c;
  --ink-soft: #2e4a54;
  --muted: #6a7b80;
  --line: rgba(21, 49, 60, 0.14);
  --teal: #3d9298;
  --teal-light: #d9ecea;
  --green: #86b96e;
  --green-dark: #56834b;
  --coral: #e57e5c;
  --danger: #a84236;
  --success: #2f7754;
  --shadow-sm: 0 10px 30px rgba(21, 49, 60, 0.08);
  --shadow-md: 0 24px 70px rgba(21, 49, 60, 0.14);
  --shadow-lg: 0 40px 110px rgba(21, 49, 60, 0.2);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 36px;
  --shell: min(1180px, calc(100% - 40px));
  --ease: cubic-bezier(.22, 1, .36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--ivory);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::selection {
  background: var(--teal-light);
  color: var(--ink);
}

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

button,
input {
  font: inherit;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-140%);
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(21, 49, 60, 0.08);
  background: rgba(244, 239, 227, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.site-brand img {
  width: 210px;
  height: auto;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 700;
}

.header-nav a {
  text-decoration: none;
  transition: color .2s ease, transform .2s ease, background .2s ease;
}

.header-nav > a:not(.nav-button):hover {
  color: var(--teal);
}

.nav-button {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
}

.nav-button:hover {
  transform: translateY(-1px);
  background: #0e252e;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 86px 0 96px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(rgba(21,49,60,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21,49,60,.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.65), transparent 92%);
}

.hero-glow {
  position: absolute;
  z-index: -2;
  border-radius: 50%;
  filter: blur(2px);
  opacity: .82;
}

.hero-glow-one {
  width: 520px;
  height: 520px;
  top: -210px;
  right: -100px;
  background: radial-gradient(circle at 38% 38%, rgba(134,185,110,.45), rgba(134,185,110,0) 68%);
}

.hero-glow-two {
  width: 560px;
  height: 560px;
  left: -250px;
  bottom: -300px;
  background: radial-gradient(circle at 60% 45%, rgba(61,146,152,.27), rgba(61,146,152,0) 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(470px, 1.08fr);
  align-items: center;
  gap: clamp(52px, 7vw, 92px);
}

.hero-copy {
  max-width: 610px;
}

.app-lockup {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.app-icon,
.closing-icon {
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
}

.app-icon {
  width: 78px;
  height: 78px;
}

.app-name,
.app-kicker,
.eyebrow,
.preview-label,
.signup-step,
.authors,
.age-note {
  margin: 0;
}

.app-name {
  font-size: 24px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .16em;
}

.app-kicker {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(46px, 5.6vw, 76px);
  line-height: .99;
  letter-spacing: -.052em;
  text-wrap: balance;
}

.hero h1 span {
  color: var(--teal);
}

.hero-lead {
  max-width: 610px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: clamp(18px, 1.8vw, 21px);
  line-height: 1.65;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.hero-point {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px 9px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.48);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 750;
}

.point-icon {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  color: var(--teal);
  box-shadow: 0 4px 10px rgba(21,49,60,.08);
}

.point-icon svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.age-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

.hero-side {
  position: relative;
  min-height: 760px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.phone-preview {
  position: absolute;
  z-index: 1;
  top: 0;
  left: -42px;
  width: 286px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 45px;
  background: #112832;
  box-shadow: var(--shadow-lg);
  transform: rotate(-5deg);
}

.phone-preview::after {
  content: "";
  position: absolute;
  inset: 9px;
  z-index: -1;
  border-radius: 37px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}

.phone-speaker {
  position: absolute;
  z-index: 3;
  top: 20px;
  left: 50%;
  width: 86px;
  height: 21px;
  border-radius: 999px;
  background: #0a1b22;
  transform: translateX(-50%);
}

.phone-screen {
  min-height: 584px;
  overflow: hidden;
  padding: 44px 19px 19px;
  border-radius: 35px;
  background: var(--paper);
}

.preview-topbar,
.preview-brand,
.preview-metrics,
.preview-action {
  display: flex;
  align-items: center;
}

.preview-topbar {
  justify-content: space-between;
}

.preview-brand {
  gap: 8px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
}

.preview-brand img {
  width: 32px;
  height: 32px;
  border-radius: 9px;
}

.preview-date {
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .12em;
}

.preview-copy {
  padding: 34px 5px 12px;
}

.preview-label {
  color: var(--teal);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .12em;
}

.preview-copy h2 {
  margin: 8px 0 0;
  font-size: 26px;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.preview-copy p:last-child {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.preview-metrics {
  gap: 8px;
  margin-top: 14px;
}

.preview-metrics > div {
  flex: 1;
  padding: 12px 10px;
  border: 1px solid rgba(21,49,60,.08);
  border-radius: 14px;
  background: var(--white);
}

.preview-metrics span,
.preview-metrics strong {
  display: block;
}

.preview-metrics span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
}

.preview-metrics strong {
  margin-top: 5px;
  font-size: 21px;
  line-height: 1;
}

.preview-chart {
  height: 122px;
  margin: 18px 0 0;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(61,146,152,.08), rgba(134,185,110,.1));
}

.preview-chart svg {
  width: 100%;
  height: 100%;
}

.chart-area {
  fill: rgba(61,146,152,.22);
}

.chart-line {
  fill: none;
  stroke: var(--teal);
  stroke-width: 4;
  stroke-linecap: round;
}

.chart-base {
  fill: none;
  stroke: var(--green);
  stroke-width: 8;
}

.preview-action {
  justify-content: space-between;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 15px;
  background: var(--ink);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
}

.signup-card {
  position: relative;
  z-index: 3;
  width: min(100%, 468px);
  margin-left: auto;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid rgba(21,49,60,.1);
  border-radius: var(--radius-lg);
  background: rgba(255,253,248,.96);
  box-shadow: var(--shadow-md);
}

.signup-card::before {
  content: "";
  position: absolute;
  inset: 13px;
  z-index: -1;
  border: 1px solid rgba(61,146,152,.1);
  border-radius: 28px;
  pointer-events: none;
}

.signup-step {
  color: var(--coral);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
}

.signup-heading h2 {
  margin: 8px 0 0;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1;
  letter-spacing: -.045em;
}

.signup-heading p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.access-form {
  margin-top: 28px;
}

.field-group label,
.consent-list legend {
  font-size: 13px;
  font-weight: 850;
}

.email-control {
  position: relative;
  margin-top: 8px;
}

.email-icon {
  position: absolute;
  top: 50%;
  left: 16px;
  width: 21px;
  height: 21px;
  color: var(--muted);
  transform: translateY(-50%);
  pointer-events: none;
}

.email-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.email-control input {
  width: 100%;
  min-height: 58px;
  padding: 14px 16px 14px 50px;
  border: 1.5px solid rgba(21,49,60,.18);
  border-radius: 16px;
  outline: none;
  background: var(--white);
  color: var(--ink);
  font-size: 16px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.email-control input::placeholder {
  color: #9aa7aa;
}

.email-control input:hover {
  border-color: rgba(21,49,60,.32);
}

.email-control input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(61,146,152,.13);
}

.email-control input[aria-invalid="true"] {
  border-color: var(--danger);
  box-shadow: 0 0 0 4px rgba(168,66,54,.1);
}

.field-help,
.field-error {
  margin: 7px 0 0;
  font-size: 12px;
  line-height: 1.45;
}

.field-help {
  color: var(--muted);
}

.field-error {
  min-height: 0;
  color: var(--danger);
  font-weight: 700;
}

.field-error:empty {
  display: none;
}

.consent-list {
  min-width: 0;
  margin: 24px 0 0;
  padding: 0;
  border: 0;
}

.consent-list legend {
  margin-bottom: 12px;
}

.consent-row {
  position: relative;
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 11px;
  align-items: flex-start;
  margin-top: 10px;
  padding: 12px 13px;
  border: 1px solid rgba(21,49,60,.1);
  border-radius: 14px;
  background: rgba(255,255,255,.58);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.consent-row:hover {
  border-color: rgba(61,146,152,.42);
  background: var(--white);
}

.consent-row:focus-within {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(61,146,152,.1);
}

.consent-row input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.checkmark {
  position: relative;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border: 1.5px solid rgba(21,49,60,.28);
  border-radius: 7px;
  background: var(--white);
  transition: background .2s ease, border-color .2s ease, transform .2s var(--ease);
}

.checkmark::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 7px;
  width: 5px;
  height: 9px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  opacity: 0;
  transform: rotate(45deg) scale(.5);
  transition: opacity .16s ease, transform .2s var(--ease);
}

.consent-row input:checked + .checkmark {
  border-color: var(--teal);
  background: var(--teal);
  transform: scale(1.03);
}

.consent-row input:checked + .checkmark::after {
  opacity: 1;
  transform: rotate(45deg) scale(1);
}

.consent-copy {
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.48;
}

.consent-copy a {
  color: var(--teal);
  font-weight: 800;
}

.consent-copy em {
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.optional-consent {
  background: rgba(244,239,227,.46);
}

.consent-error {
  margin-top: 10px;
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.primary-button {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 14px 22px;
  border: 0;
  border-radius: 17px;
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(21,49,60,.2);
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s ease, background .2s ease;
}

.access-form .primary-button {
  width: 100%;
  margin-top: 18px;
}

.primary-button:hover:not(:disabled) {
  transform: translateY(-2px);
  background: #0c252f;
  box-shadow: 0 18px 34px rgba(21,49,60,.25);
}

.primary-button:active:not(:disabled) {
  transform: translateY(0);
}

.primary-button:focus-visible,
.text-link:focus-visible,
.header-nav a:focus-visible,
.site-brand:focus-visible,
.footer-links a:focus-visible,
.footer-brand:focus-visible,
.privacy-summary summary:focus-visible {
  outline: 3px solid rgba(61,146,152,.38);
  outline-offset: 4px;
}

.primary-button:disabled {
  cursor: wait;
  opacity: .75;
}

.button-arrow {
  font-size: 22px;
  line-height: 1;
}

.button-loader {
  display: none;
  width: 19px;
  height: 19px;
  border: 2px solid rgba(255,255,255,.34);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

.primary-button.is-loading .button-arrow {
  display: none;
}

.primary-button.is-loading .button-loader {
  display: block;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.form-status {
  margin-top: 13px;
  font-size: 13px;
  font-weight: 750;
  text-align: center;
}

.form-status.is-success {
  color: var(--success);
}

.form-status.is-error {
  color: var(--danger);
}

.form-note {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
  text-align: center;
}

.form-note span {
  color: var(--green-dark);
}

.store-note {
  margin: 12px 0 0;
  padding: 11px 13px;
  border-radius: 12px;
  background: rgba(217,236,234,.48);
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

.privacy-summary {
  margin-top: 22px;
  border-top: 1px solid var(--line);
}

.privacy-summary summary {
  padding-top: 17px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.privacy-summary summary::marker {
  color: var(--teal);
}

.privacy-summary div {
  padding: 5px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.privacy-summary p {
  margin: 10px 0 0;
}

.privacy-summary a {
  color: var(--teal);
  font-weight: 750;
}

.app-section {
  padding: 110px 0 120px;
  background: var(--paper);
}

.section-intro {
  max-width: 760px;
}

.section-intro h2,
.book-copy h2,
.closing-inner h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.02;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.section-intro > p:last-child {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 54px;
}

.feature-card {
  position: relative;
  min-height: 330px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--ivory);
  transition: transform .3s var(--ease), box-shadow .3s ease, border-color .3s ease;
}

.feature-card::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: rgba(61,146,152,.1);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(61,146,152,.32);
  box-shadow: var(--shadow-sm);
}

.featured-card {
  background: var(--ink);
  color: var(--white);
}

.featured-card::after {
  background: rgba(134,185,110,.15);
}

.feature-number {
  position: absolute;
  top: 24px;
  right: 25px;
  color: rgba(21,49,60,.24);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
}

.featured-card .feature-number {
  color: rgba(255,255,255,.34);
}

.feature-symbol {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--white);
  color: var(--teal);
  box-shadow: 0 10px 22px rgba(21,49,60,.08);
}

.featured-card .feature-symbol {
  background: var(--green);
  color: var(--ink);
}

.feature-symbol svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  margin: 54px 0 0;
  font-size: 29px;
  line-height: 1;
  letter-spacing: -.03em;
}

.feature-card p {
  position: relative;
  z-index: 1;
  margin: 18px 0 0;
  color: var(--muted);
}

.featured-card p {
  color: rgba(255,255,255,.72);
}

.local-first-panel {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: center;
  margin-top: 28px;
  padding: 28px 32px;
  border: 1px solid rgba(61,146,152,.18);
  border-radius: var(--radius-md);
  background: linear-gradient(110deg, rgba(217,236,234,.82), rgba(244,239,227,.65));
}

.local-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--paper);
  color: var(--green-dark);
}

.local-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.local-first-panel h3 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -.02em;
}

.local-first-panel p {
  margin: 5px 0 0;
  color: var(--ink-soft);
}

.book-section {
  padding: 120px 0;
  overflow: hidden;
}

.book-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(54px, 8vw, 104px);
  align-items: center;
}

.book-image-wrap {
  position: relative;
}

.book-image-wrap::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 8% -10% -8% 12%;
  border-radius: 50%;
  background: rgba(61,146,152,.17);
  filter: blur(20px);
}

.book-image-wrap img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 32px;
  box-shadow: var(--shadow-md);
  transform: rotate(-1.2deg);
}

.book-badge {
  position: absolute;
  top: 24px;
  left: -18px;
  padding: 11px 16px;
  border-radius: 999px;
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(229,126,92,.26);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
}

.book-copy .eyebrow {
  margin-bottom: 18px;
}

.book-copy h2 {
  font-size: clamp(40px, 4.6vw, 61px);
}

.authors {
  margin-top: 14px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 850;
  letter-spacing: .03em;
}

.book-lead {
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: 21px;
  line-height: 1.55;
}

.book-copy > p:not(.eyebrow):not(.authors):not(.book-lead):not(.book-bridge) {
  color: var(--muted);
}

.book-bridge {
  margin: 25px 0 0;
  padding-left: 18px;
  border-left: 4px solid var(--green);
  color: var(--ink);
  font-weight: 750;
}

.book-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 32px;
}

.book-button {
  min-height: 56px;
}

.text-link {
  color: var(--teal);
  font-weight: 850;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.closing-section {
  padding: 32px 0 90px;
}

.closing-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 38px 42px;
  border-radius: 32px;
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.closing-icon {
  width: 88px;
  height: 88px;
}

.closing-inner .eyebrow {
  color: var(--green);
}

.closing-inner h2 {
  font-size: clamp(31px, 4vw, 48px);
}

.closing-inner .primary-button {
  background: var(--green);
  color: var(--ink);
  box-shadow: none;
}

.closing-inner .primary-button:hover {
  background: #95c580;
}

.site-footer {
  padding: 55px 0;
  border-top: 1px solid rgba(21,49,60,.1);
  background: var(--ivory-deep);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(200px, .7fr) minmax(260px, 1.2fr) minmax(200px, .7fr);
  gap: 42px;
  align-items: center;
}

.footer-brand img {
  width: 215px;
  height: auto;
}

.footer-grid > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
}

.footer-links a {
  font-weight: 750;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--teal);
}

@media (max-width: 1080px) {
  .hero {
    padding-top: 64px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 66px;
  }

  .hero-copy {
    max-width: 780px;
  }

  .hero-side {
    width: min(100%, 830px);
    min-height: 700px;
    margin-inline: auto;
  }

  .phone-preview {
    left: 0;
  }

  .signup-card {
    width: min(100%, 500px);
  }

  .feature-grid {
    gap: 14px;
  }

  .feature-card {
    padding: 25px;
  }

  .book-grid {
    gap: 54px;
  }
}

@media (max-width: 860px) {
  :root {
    --shell: min(100% - 28px, 720px);
  }

  .header-inner {
    min-height: 70px;
  }

  .site-brand img {
    width: 180px;
  }

  .header-nav > a:not(.nav-button) {
    display: none;
  }

  .hero-side {
    min-height: auto;
    display: grid;
    grid-template-columns: minmax(220px, .72fr) minmax(420px, 1.28fr);
    gap: 18px;
    align-items: center;
  }

  .phone-preview {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    transform: rotate(-3deg);
  }

  .phone-screen {
    min-height: 535px;
  }

  .signup-card {
    width: 100%;
    padding: 30px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 270px;
  }

  .feature-card h3 {
    margin-top: 34px;
  }

  .book-grid {
    grid-template-columns: 1fr;
  }

  .book-image-wrap {
    max-width: 680px;
  }

  .closing-inner {
    grid-template-columns: auto 1fr;
  }

  .closing-inner .primary-button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-links {
    align-items: flex-start;
  }
}

@media (max-width: 700px) {
  html {
    scroll-padding-top: 80px;
  }

  .hero {
    padding: 48px 0 72px;
  }

  .app-lockup {
    margin-bottom: 24px;
  }

  .app-icon {
    width: 68px;
    height: 68px;
    border-radius: 19px;
  }

  .app-name {
    font-size: 21px;
  }

  .hero h1 {
    font-size: clamp(44px, 13vw, 62px);
  }

  .hero-lead {
    font-size: 18px;
  }

  .hero-side {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }

  .phone-preview {
    width: min(82vw, 310px);
    align-self: flex-start;
    margin-left: 6px;
  }

  .signup-card {
    padding: 28px 20px 24px;
    border-radius: 28px;
  }

  .signup-card::before {
    inset: 9px;
    border-radius: 22px;
  }

  .consent-row {
    padding: 12px 11px;
  }

  .app-section,
  .book-section {
    padding: 82px 0;
  }

  .section-intro h2,
  .book-copy h2 {
    font-size: clamp(38px, 11vw, 52px);
  }

  .section-intro > p:last-child {
    font-size: 17px;
  }

  .feature-grid {
    margin-top: 36px;
  }

  .local-first-panel {
    grid-template-columns: 1fr;
    padding: 25px;
  }

  .book-image-wrap img {
    border-radius: 24px;
  }

  .book-badge {
    top: 15px;
    left: -6px;
  }

  .book-actions {
    align-items: stretch;
  }

  .book-actions .primary-button {
    width: 100%;
  }

  .closing-section {
    padding-bottom: 60px;
  }

  .closing-inner {
    grid-template-columns: 1fr;
    padding: 30px 24px;
  }

  .closing-icon {
    width: 72px;
    height: 72px;
  }
}

@media (max-width: 430px) {
  :root {
    --shell: calc(100% - 22px);
  }

  .site-brand img {
    width: 155px;
  }

  .nav-button {
    padding: 9px 15px;
    font-size: 13px;
  }

  .hero h1 {
    font-size: 43px;
  }

  .hero-points {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-point {
    width: fit-content;
  }

  .phone-preview {
    width: min(88vw, 300px);
  }

  .signup-heading h2 {
    font-size: 36px;
  }

  .primary-button {
    padding-inline: 15px;
    font-size: 14px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
