:root {
  --forest: #0d513d;
  --forest-dark: #073b2d;
  --leaf: #2f8d62;
  --lime: #cde782;
  --cream: #fff9e8;
  --paper: #fffdf6;
  --sky: #83c9ef;
  --watermelon: #fb6b72;
  --ink: #173c31;
  --muted: #537167;
  --line: rgba(13, 81, 61, 0.14);
  --shadow: 0 24px 70px rgba(7, 59, 45, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Avenir Next", "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

.shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: relative;
  z-index: 20;
  background: rgba(255, 253, 246, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  box-shadow: 0 7px 18px rgba(7, 59, 45, 0.18);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  font-size: 0.86rem;
  font-weight: 750;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 18%, rgba(205, 231, 130, 0.7) 0 5%, transparent 5.2%),
    radial-gradient(circle at 92% 14%, rgba(251, 107, 114, 0.22) 0 8%, transparent 8.2%),
    linear-gradient(145deg, #fff8dc 0%, #fffdf6 54%, #edf8df 100%);
}

.hero::after {
  content: "7 × 8";
  position: absolute;
  right: -35px;
  bottom: -55px;
  color: rgba(13, 81, 61, 0.045);
  font-size: clamp(8rem, 20vw, 18rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.08em;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  min-height: min(760px, calc(100vh - 82px));
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.75fr);
  align-items: center;
  gap: 60px;
  padding: 52px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--forest);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 27px;
  height: 5px;
  border-radius: 999px;
  background: var(--watermelon);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 730px;
  margin-bottom: 24px;
  color: var(--forest-dark);
  font-size: clamp(3.25rem, 5.6vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

h1 span {
  display: block;
}

.hero-copy {
  max-width: 640px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 21px;
  border: 2px solid var(--forest);
  border-radius: 16px;
  background: var(--forest);
  color: white;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 800;
  box-shadow: 0 12px 26px rgba(13, 81, 61, 0.2);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  background: var(--forest-dark);
  box-shadow: 0 16px 30px rgba(13, 81, 61, 0.24);
}

.button.secondary {
  background: transparent;
  color: var(--forest);
  box-shadow: none;
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: rgba(13, 81, 61, 0.07);
}

.apple-mark {
  font-size: 1.25rem;
  line-height: 1;
}

.hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  place-items: center;
  gap: 18px;
  width: 100%;
  padding: 12px 8px 36px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(106%, 390px);
  aspect-ratio: 1;
  border-radius: 42% 58% 58% 42% / 56% 42% 58% 44%;
  background: var(--sky);
  transform: translate(-50%, -50%) rotate(7deg);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.44);
}

.hero-phone {
  --phone-radius: clamp(24px, 2.5vw, 32px);
  position: relative;
  width: 100%;
  padding: 5px;
  border: 1px solid #64676b;
  border-radius: var(--phone-radius);
  background: #111214;
  box-shadow:
    0 0 0 1px #202124,
    inset 0 0 0 1px #34363a,
    var(--shadow);
  transform: rotate(-3deg);
}

.hero-phone::before,
.hero-phone::after {
  content: "";
  position: absolute;
  width: 3px;
  border-radius: 2px;
  background: #34363a;
}

.hero-phone::before {
  top: 19%;
  left: -3px;
  height: 12%;
}

.hero-phone::after {
  top: 25%;
  right: -3px;
  height: 9%;
}

.hero-shot {
  width: 100%;
  height: auto;
  aspect-ratio: 660 / 1434;
  object-fit: contain;
  border-radius: calc(var(--phone-radius) - 6px);
}

.hero-phone + .hero-phone {
  transform: translateY(24px) rotate(3deg);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 30px;
  color: var(--forest);
  font-size: 0.84rem;
  font-weight: 750;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust-row span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--watermelon);
}

.section {
  padding: 104px 0;
}

.section-heading {
  max-width: 740px;
  margin-bottom: 48px;
}

h2 {
  margin-bottom: 16px;
  color: var(--forest-dark);
  font-size: clamp(2.35rem, 5vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.section-heading p {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.screens-section {
  overflow: hidden;
  background: var(--forest-dark);
  color: white;
}

.screens-section h2,
.screens-section .eyebrow {
  color: white;
}

.screens-section .section-heading p {
  color: rgba(255, 255, 255, 0.72);
}

.screens {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  padding: 5px 0 28px;
}

.screen-card {
  min-width: 0;
  margin: 0;
}

.screen-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1290 / 2796;
  object-fit: contain;
  border-radius: 24px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
}

h3 {
  margin-bottom: 10px;
  color: var(--forest-dark);
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.steps-grid,
.guides-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.content-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--cream);
}

.content-card p {
  color: var(--muted);
  font-size: 1rem;
}

.content-card p:last-child {
  margin-bottom: 0;
}

.content-card h3 a {
  text-decoration: none;
}

.content-card h3 a:hover {
  text-decoration: underline;
}

.step-number {
  display: block;
  margin-bottom: 28px;
  color: var(--leaf);
  font-size: 1.1rem;
  font-weight: 850;
}

.text-link {
  color: var(--forest);
  font-size: 0.92rem;
  font-weight: 800;
  text-underline-offset: 4px;
}

.guides-section {
  padding-top: 0;
}

.faq-section {
  border-top: 1px solid var(--line);
  background: var(--cream);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
}

.faq-list details {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.faq-list details:first-child {
  padding-top: 0;
}

.faq-list summary {
  color: var(--forest-dark);
  font-size: 1.1rem;
  font-weight: 800;
  cursor: pointer;
}

.faq-list p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.faq-list a,
.faq-layout .section-heading a {
  color: var(--forest);
  font-weight: 750;
  text-underline-offset: 3px;
}

.unlock-section {
  padding-top: 30px;
}

.unlock {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 52px;
  align-items: center;
  padding: clamp(38px, 7vw, 76px);
  border-radius: 40px;
  background: linear-gradient(135deg, #dff2a2, #a8dcad 55%, #83c9ef);
}

.unlock::after {
  content: "+ − × ÷";
  position: absolute;
  right: -18px;
  bottom: -30px;
  color: rgba(7, 59, 45, 0.08);
  font-size: clamp(4rem, 9vw, 8rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  pointer-events: none;
}

.unlock-copy,
.unlock-list {
  position: relative;
  z-index: 1;
}

.unlock-copy p {
  margin-bottom: 0;
  color: #325e50;
}

.unlock-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.unlock-list li {
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 18px;
  border: 1px solid rgba(7, 59, 45, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--forest-dark);
  font-size: 0.92rem;
  font-weight: 760;
  backdrop-filter: blur(10px);
}

.check {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--forest);
  color: white;
  font-size: 0.75rem;
}

.cta-band {
  background: var(--watermelon);
  color: #321e1d;
}

.cta-inner {
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 70px 0;
}

.cta-inner h2 {
  max-width: 700px;
  margin-bottom: 0;
  color: #321e1d;
}

.cta-band .button {
  flex: 0 0 auto;
  border-color: #321e1d;
  background: #321e1d;
}

footer {
  padding: 30px 0;
  background: #321e1d;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: white;
}

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

@media (max-width: 860px) {
  .steps-grid,
  .guides-grid,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .faq-layout {
    gap: 16px;
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 58px;
    padding-top: 60px;
  }

  .hero-visual {
    max-width: 520px;
    margin: 0 auto;
  }

  .screens {
    grid-template-columns: repeat(6, minmax(220px, 76vw));
    gap: 16px;
    overflow-x: auto;
    margin-right: calc((100vw - min(1160px, calc(100vw - 40px))) / -2);
    padding-right: 20px;
    scroll-snap-type: x mandatory;
    scrollbar-color: rgba(255, 255, 255, 0.38) transparent;
  }

  .screen-card {
    scroll-snap-align: start;
  }

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

  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(100% - 28px, 1160px);
  }

  .nav {
    min-height: 72px;
    flex-wrap: wrap;
    gap: 14px;
    padding: 14px 0;
  }

  .nav-links {
    width: 100%;
    gap: 10px 20px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

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

  .hero-grid {
    padding-top: 48px;
  }

  .section {
    padding: 78px 0;
  }

  .guides-section {
    padding-top: 0;
  }

  .screens {
    grid-template-columns: repeat(6, minmax(220px, 76vw));
    margin-right: -14px;
    padding-right: 14px;
  }

  .unlock {
    gap: 34px;
    border-radius: 28px;
  }

  .unlock-list {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  .button {
    transition: none;
  }
}

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 0;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: white;
  color: var(--forest-dark);
  font-weight: 800;
  transform: translateY(-200%);
}

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