:root {
  color-scheme: light dark;
  --ink: #17221c;
  --muted: #58645d;
  --paper: #f7f5ef;
  --surface: #ffffff;
  --surface-soft: #eeeee7;
  --line: #d9ddd6;
  --forest: #164d34;
  --forest-deep: #0d3523;
  --mint: #dcebdd;
  --amber: #e1a52e;
  --amber-soft: #f8e7b9;
  --danger: #a2342b;
  --inverse-background: #0d3523;
  --inverse-ink: #ffffff;
  --inverse-muted: #cad7cf;
  --inverse-accent: #f8e7b9;
  --inverse-card: rgba(255, 255, 255, 0.06);
  --inverse-line: rgba(255, 255, 255, 0.16);
  --shadow: 0 18px 50px rgba(23, 34, 28, 0.1);
  --radius-sm: 0.75rem;
  --radius: 1.25rem;
  --radius-lg: 2rem;
  --max: 72rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}

a {
  color: var(--forest);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--forest-deep);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 4px;
}

.skip-link {
  background: var(--ink);
  border-radius: 0 0 var(--radius-sm) 0;
  color: #fff;
  left: 0;
  padding: 0.75rem 1rem;
  position: fixed;
  top: -8rem;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

.shell {
  margin-inline: auto;
  max-width: var(--max);
  padding-inline: clamp(1.1rem, 4vw, 2.5rem);
}

.site-header {
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
}

.header-inner {
  align-items: center;
  display: flex;
  min-height: 4.75rem;
  justify-content: space-between;
}

.brand {
  align-items: center;
  color: var(--ink);
  display: inline-flex;
  font-size: 1.16rem;
  font-weight: 760;
  gap: 0.7rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img {
  height: 2.3rem;
  width: 2.3rem;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: 0.25rem;
}

.site-nav a {
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 650;
  padding: 0.6rem 0.8rem;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--mint);
  color: var(--forest-deep);
}

.nav-toggle {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  display: none;
  font: inherit;
  font-weight: 700;
  min-height: 2.75rem;
  padding: 0.55rem 0.9rem;
}

main {
  overflow: clip;
}

.hero {
  background:
    radial-gradient(circle at 80% 14%, rgba(225, 165, 46, 0.26), transparent 24rem),
    radial-gradient(circle at 15% 85%, rgba(22, 77, 52, 0.16), transparent 28rem);
  padding-block: clamp(4.5rem, 10vw, 8rem);
}

.hero-grid {
  align-items: center;
  display: grid;
  gap: clamp(3rem, 7vw, 6rem);
  grid-template-columns: minmax(0, 1.02fr) minmax(18rem, 0.8fr);
}

.eyebrow {
  align-items: center;
  color: var(--forest);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 800;
  gap: 0.55rem;
  letter-spacing: 0.11em;
  margin: 0 0 1.1rem;
  text-transform: uppercase;
}

.eyebrow::before {
  background: var(--amber);
  border-radius: 999px;
  content: "";
  height: 0.55rem;
  width: 0.55rem;
}

h1,
h2,
h3 {
  font-family:
    "Iowan Old Style", "Palatino Linotype", ui-serif, Georgia, serif;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin-block: 0;
}

h1 {
  font-size: clamp(3.2rem, 8vw, 6.8rem);
  max-width: 11ch;
}

h2 {
  font-size: clamp(2.1rem, 5vw, 4rem);
}

h3 {
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
}

.lede {
  color: var(--muted);
  font-size: clamp(1.13rem, 2.4vw, 1.42rem);
  max-width: 42rem;
}

.hero .lede {
  margin: 1.5rem 0 0;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 760;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.78rem 1.25rem;
  text-decoration: none;
}

.button-primary {
  background: var(--forest);
  color: #fff;
}

.button-primary:hover {
  background: var(--forest-deep);
  color: #fff;
}

.button-secondary {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}

.button-secondary:hover {
  border-color: var(--forest);
  color: var(--forest);
}

.app-store-placeholder {
  align-items: center;
  background: #101914;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.85rem;
  color: #fff;
  display: inline-grid;
  gap: 0.05rem 0.7rem;
  grid-template-columns: auto auto;
  min-height: 3.2rem;
  padding: 0.52rem 0.95rem;
}

.app-store-placeholder::before {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 0.5rem;
  content: "↓";
  display: flex;
  font-size: 1.1rem;
  font-weight: 800;
  grid-row: 1 / span 2;
  height: 2rem;
  justify-content: center;
  width: 2rem;
}

.app-store-placeholder small,
.app-store-placeholder strong {
  line-height: 1.15;
}

.app-store-placeholder small {
  color: #c8d3cc;
  font-size: 0.7rem;
}

.app-store-placeholder strong {
  font-size: 1rem;
}

.trust-list {
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.92rem;
  font-weight: 650;
  gap: 0.7rem 1.3rem;
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
}

.trust-list li::before {
  color: var(--forest);
  content: "✓";
  font-weight: 900;
  margin-right: 0.45rem;
}

.phone-stage {
  display: grid;
  min-height: 35rem;
  place-items: center;
  position: relative;
}

.phone-stage::before {
  background: var(--amber-soft);
  border-radius: 46% 54% 60% 40%;
  content: "";
  inset: 9% 0 5% 4%;
  position: absolute;
  transform: rotate(-4deg);
}

.phone-shot {
  border: 0.55rem solid #111714;
  border-radius: 2.55rem;
  box-shadow: var(--shadow);
  max-width: 19rem;
  position: relative;
  transform: rotate(2deg);
  width: 70%;
  z-index: 1;
}

.phone-shot.secondary {
  bottom: 0;
  position: absolute;
  right: 0;
  transform: rotate(8deg);
  width: 45%;
  z-index: 2;
}

.section {
  padding-block: clamp(4.5rem, 8vw, 7rem);
}

.section-heading {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.7fr);
  margin-bottom: 2.5rem;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.1rem;
  margin: 0.45rem 0 0;
}

.grid-3,
.grid-2,
.price-grid {
  display: grid;
  gap: 1rem;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2,
.price-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2.15rem);
}

.card h3 {
  margin-bottom: 0.7rem;
}

.card p {
  color: var(--muted);
  margin: 0;
}

.step-number {
  align-items: center;
  background: var(--mint);
  border-radius: 999px;
  color: var(--forest-deep);
  display: inline-flex;
  font-size: 0.85rem;
  font-weight: 850;
  height: 2rem;
  justify-content: center;
  margin-bottom: 1.2rem;
  width: 2rem;
}

.dark-section {
  background: var(--inverse-background);
  color: var(--inverse-ink);
}

.dark-section .eyebrow {
  color: var(--inverse-accent);
}

.dark-section .section-heading p,
.dark-section .card p {
  color: var(--inverse-muted);
}

.dark-section .card {
  background: var(--inverse-card);
  border-color: var(--inverse-line);
}

.plain-list,
.check-list {
  margin: 1.2rem 0 0;
  padding-left: 1.15rem;
}

.check-list {
  list-style: none;
  padding-left: 0;
}

.check-list li {
  margin-block: 0.55rem;
  padding-left: 1.6rem;
  position: relative;
}

.check-list li::before {
  color: var(--forest);
  content: "✓";
  font-weight: 900;
  left: 0;
  position: absolute;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 3rem);
}

.price-card.featured {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px var(--mint);
}

.price-label {
  color: var(--forest);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.price {
  font-family:
    "Iowan Old Style", "Palatino Linotype", ui-serif, Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
  margin: 0.8rem 0;
}

.price-note {
  color: var(--muted);
}

.quote-band {
  background: var(--amber-soft);
  border-block: 1px solid color-mix(in srgb, var(--amber) 45%, transparent);
  padding-block: 3rem;
}

.quote-band p {
  font-family:
    "Iowan Old Style", "Palatino Linotype", ui-serif, Georgia, serif;
  font-size: clamp(1.55rem, 4vw, 2.5rem);
  line-height: 1.25;
  margin: 0;
  max-width: 34ch;
}

.page-hero {
  background:
    radial-gradient(circle at 88% 10%, rgba(225, 165, 46, 0.2), transparent 20rem);
  padding-block: clamp(4rem, 8vw, 6.5rem);
}

.page-hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  max-width: 14ch;
}

.page-hero .lede {
  margin-bottom: 0;
}

.content-layout {
  align-items: start;
  display: grid;
  gap: clamp(2rem, 6vw, 5rem);
  grid-template-columns: minmax(0, 1fr) minmax(14rem, 0.32fr);
}

.prose {
  max-width: 48rem;
}

.prose h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  margin-top: 3.2rem;
}

.prose h3 {
  margin-top: 2rem;
}

.prose p,
.prose li {
  color: var(--muted);
}

.prose strong {
  color: var(--ink);
}

.prose .callout,
.callout {
  background: var(--mint);
  border-left: 0.35rem solid var(--forest);
  border-radius: var(--radius-sm);
  color: var(--forest-deep);
  margin-block: 2rem;
  padding: 1.1rem 1.25rem;
}

.prose .callout p,
.callout p {
  color: inherit;
  margin: 0;
}

.sidebar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  position: sticky;
  top: 6.2rem;
}

.sidebar strong {
  display: block;
  margin-bottom: 0.65rem;
}

.sidebar a {
  display: block;
  padding-block: 0.38rem;
}

.guide-prose {
  max-width: none;
}

.guide-step {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.72fr);
  padding-block: clamp(2rem, 5vw, 4.75rem);
  scroll-margin-top: 6rem;
}

.guide-step:first-child {
  padding-top: 0;
}

.guide-step-reverse .guide-copy {
  order: 2;
}

.guide-copy h2,
.guide-boundary h2 {
  margin-top: 0;
}

.guide-copy p {
  margin-block: 1rem;
}

.guide-kicker {
  color: var(--forest) !important;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  margin-bottom: 0.8rem !important;
  text-transform: uppercase;
}

.guide-visual {
  background:
    radial-gradient(circle at 84% 12%, rgba(225, 165, 46, 0.35), transparent 28%),
    linear-gradient(145deg, #f0eadc, #d9eadc);
  border: 1px solid color-mix(in srgb, var(--forest) 18%, transparent);
  border-radius: var(--radius-lg);
  margin: 0;
  overflow: hidden;
  padding: clamp(1.25rem, 3vw, 2.4rem);
}

.guide-phone {
  border: 0.42rem solid #111714;
  border-radius: 2.25rem;
  box-shadow: 0 24px 55px rgba(17, 23, 20, 0.24);
  margin-inline: auto;
  max-width: 20rem;
  overflow: hidden;
  position: relative;
}

.guide-phone img {
  width: 100%;
}

.guide-visual figcaption {
  color: #294033;
  font-size: 0.83rem;
  font-weight: 650;
  line-height: 1.45;
  margin: 1.15rem auto 0;
  max-width: 22rem;
  text-align: center;
}

.shot-highlight {
  background: rgba(245, 183, 57, 0.035);
  border: 0.16rem dashed rgba(245, 183, 57, 0.92);
  border-radius: 0.8rem;
  box-shadow:
    0 0 0 0.08rem rgba(255, 255, 255, 0.72),
    0 3px 10px rgba(17, 23, 20, 0.14);
  pointer-events: none;
  position: absolute;
}

.shot-marker {
  align-items: center;
  background: #f5b739;
  border: 0.12rem solid #fff;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(17, 23, 20, 0.32);
  color: #14261b;
  display: flex;
  font-size: 0.73rem;
  font-weight: 900;
  height: 1.55rem;
  justify-content: center;
  line-height: 1;
  pointer-events: none;
  position: absolute;
  width: 1.55rem;
}

.highlight-kits-tools { height: 6.6%; left: 67%; top: 4.7%; width: 29%; }
.marker-kits-menu { left: 73%; top: 9.1%; }
.marker-kits-add { left: 88%; top: 9.1%; }
.highlight-detail-start { height: 16.5%; left: 4%; top: 14.7%; width: 92%; }
.highlight-detail-items { height: 29%; left: 4%; top: 36.7%; width: 92%; }
.marker-detail-start { left: 88%; top: 15.8%; }
.marker-detail-items { left: 88%; top: 37.8%; }
.highlight-check-progress { height: 13.5%; left: 3%; top: 17%; width: 94%; }
.highlight-check-items { height: 30.5%; left: 2%; top: 31.5%; width: 96%; }
.highlight-check-actions { height: 15.8%; left: 2%; top: 78.3%; width: 96%; }
.marker-check-progress { left: 88%; top: 18%; }
.marker-check-items { left: 88%; top: 32.5%; }
.marker-check-actions { left: 88%; top: 79.3%; }
.highlight-history-results { height: 25%; left: 4%; top: 19%; width: 92%; }
.marker-history-results { left: 88%; top: 20%; }
.highlight-share-dialog { height: 33%; left: 17%; top: 7%; width: 66%; }
.marker-share-dialog { left: 76%; top: 8%; }
.marker-share-action { left: 76%; top: 31%; }
.highlight-settings-data { height: 16.5%; left: 4%; top: 70.5%; width: 92%; }
.marker-settings-data { left: 88%; top: 71.5%; }

.guide-callouts {
  display: grid;
  gap: 0.6rem;
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.guide-callouts li {
  align-items: start;
  color: var(--muted);
  display: grid;
  gap: 0.7rem;
  grid-template-columns: 1.8rem minmax(0, 1fr);
}

.guide-callouts li span {
  align-items: center;
  background: var(--amber);
  border-radius: 50%;
  color: #14261b;
  display: flex;
  font-size: 0.75rem;
  font-weight: 900;
  height: 1.65rem;
  justify-content: center;
  margin-top: 0.1rem;
  width: 1.65rem;
}

.guide-callouts strong {
  color: var(--ink);
}

.guide-boundary {
  background: var(--amber-soft);
  border-radius: var(--radius-lg);
  margin-top: clamp(3rem, 6vw, 5rem);
  padding: clamp(1.6rem, 4vw, 3rem);
  scroll-margin-top: 6rem;
}

.guide-boundary p:last-child {
  color: var(--ink);
  margin-bottom: 0;
}

.topic-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 2rem;
}

.topic-grid article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.topic-grid h2,
.topic-grid h3 {
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
}

.topic-grid p {
  color: var(--muted);
  margin: 0;
}

.support-brief {
  padding-block: clamp(3rem, 5vw, 4.75rem);
}

.support-layout {
  align-items: start;
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 1.6fr) minmax(18rem, 0.72fr);
}

.support-layout > div:first-child {
  max-width: 50rem;
}

.support-layout > div:first-child p:last-child {
  margin-bottom: 0;
}

.support-layout .card {
  justify-self: end;
  max-width: 26rem;
  width: 100%;
}

details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  padding: 1rem 1.15rem;
}

summary {
  cursor: pointer;
  font-weight: 760;
}

details p {
  color: var(--muted);
  margin-bottom: 0;
}

.meta {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer {
  background: #101914;
  color: #d8e0db;
  padding-block: 3.5rem 2rem;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: minmax(14rem, 1.2fr) repeat(3, minmax(8rem, 0.5fr));
}

.site-footer .brand {
  color: #fff;
}

.site-footer p {
  color: #aab7af;
  max-width: 28rem;
}

.footer-group strong {
  color: #fff;
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.7rem;
  text-transform: uppercase;
}

.footer-group a {
  color: #d8e0db;
  display: block;
  padding-block: 0.25rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #aab7af;
  font-size: 0.87rem;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
}

@media (max-width: 56rem) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    align-items: stretch;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    display: none;
    flex-direction: column;
    inset: 4.75rem 0 auto;
    padding: 0.8rem 1.1rem 1rem;
    position: absolute;
  }

  .site-nav[data-open="true"] {
    display: flex;
  }

  .site-nav a {
    padding: 0.8rem 1rem;
  }

  .hero-grid,
  .section-heading,
  .content-layout,
  .support-layout,
  .guide-step,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 2.5rem;
  }

  .phone-stage {
    min-height: 30rem;
  }

  .sidebar {
    position: static;
  }

  .guide-step-reverse .guide-copy {
    order: initial;
  }

  .guide-visual {
    max-width: 30rem;
  }

  .support-layout .card {
    justify-self: stretch;
    max-width: none;
  }

  .footer-grid {
    gap: 1.6rem;
  }
}

@media (max-width: 44rem) {
  .grid-3,
  .grid-2,
  .price-grid,
  .topic-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .hero {
    padding-top: 4rem;
  }

  .phone-stage {
    min-height: 26rem;
  }

  .phone-shot {
    width: 65%;
  }

  .actions .button {
    width: 100%;
  }

  .actions .app-store-placeholder {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #edf3ef;
    --muted: #b4c0b8;
    --paper: #101713;
    --surface: #17221c;
    --surface-soft: #1d2a23;
    --line: #33443a;
    --forest: #93d0aa;
    --forest-deep: #bce8cb;
    --mint: #243c2f;
    --amber: #f1ba4d;
    --amber-soft: #4b3b1a;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  }

  .button-primary {
    background: #a9d9b9;
    color: #102318;
  }

  .button-primary:hover {
    background: #c6ecd2;
    color: #102318;
  }

  .site-footer {
    background: #080d0a;
  }
}
