:root {
  color-scheme: light;
  --ink: #182321;
  --muted: #66716e;
  --paper: #f4f8f6;
  --card: #ffffff;
  --teal: #16887a;
  --teal-dark: #0d665d;
  --lime: #b7e840;
  --sky: #dff3f6;
  --line: #d9e4df;
  --shadow: 0 24px 60px rgba(21, 66, 59, 0.15);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { text-wrap: pretty; }

.skip-link { position: fixed; top: 12px; left: 12px; z-index: 50; padding: 10px 14px; color: #fff; background: var(--teal-dark); border-radius: 8px; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; width: min(1160px, calc(100% - 40px)); margin: 0 auto; padding: 15px 0; background: rgba(244, 248, 246, 0.94); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 850; text-decoration: none; }
.brand img { width: 46px; border-radius: 12px; }
.site-header nav, footer nav { display: flex; align-items: center; gap: 22px; }
.site-header nav a, footer nav a { font-size: 0.92rem; font-weight: 760; text-decoration: none; }

.hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr); align-items: center; gap: clamp(46px, 8vw, 104px); width: min(1160px, calc(100% - 40px)); min-height: 690px; margin: 0 auto; padding: 72px 0 92px; }
.eyebrow { margin: 0 0 13px; color: var(--teal-dark); font-size: 0.78rem; font-weight: 900; letter-spacing: 0.11em; text-transform: uppercase; }
h1 { max-width: 810px; margin: 0; font-size: clamp(3.5rem, 7vw, 7rem); line-height: 0.91; letter-spacing: -0.068em; }
.hero-lede { max-width: 650px; margin: 27px 0 0; color: var(--muted); font-size: clamp(1.08rem, 1.8vw, 1.3rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 33px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 13px 21px; border: 2px solid transparent; border-radius: 12px; font-weight: 840; text-align: center; text-decoration: none; transition: transform 160ms ease, background 160ms ease, border-color 160ms ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--teal); }
.button-primary:hover { background: var(--teal-dark); }
.button-secondary { border-color: #9eaaa6; }
.button-secondary:hover { border-color: var(--teal); }
.hero-art { display: grid; min-height: 600px; place-items: center; padding: 42px; overflow: hidden; background: linear-gradient(145deg, var(--sky), #b8dfd3); border-radius: 34px; box-shadow: var(--shadow); }
.phone { width: min(100%, 296px); padding: 9px; overflow: hidden; background: #121817; border: 2px solid #33413e; border-radius: 42px; box-shadow: 0 20px 46px rgba(12, 62, 54, 0.25); }
.phone img { width: 100%; border-radius: 32px; }

.section { padding: 110px max(20px, calc((100vw - 1080px) / 2)); }
.section-heading { max-width: 780px; margin: 0 auto 50px; text-align: center; }
.section-heading h2, .recovery-copy h2, .pricing-section h2, .download-section h2 { margin: 0; font-size: clamp(2.5rem, 5vw, 4.8rem); line-height: 0.98; letter-spacing: -0.052em; }
.step-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; margin: 0; padding: 0; list-style: none; }
.step-grid li { padding: 30px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 12px 32px rgba(21, 66, 59, 0.07); }
.step-grid span { display: grid; width: 43px; height: 43px; place-items: center; color: var(--ink); background: var(--lime); border-radius: 10px; font-weight: 900; }
.step-grid h3 { margin: 19px 0 0; font-size: 1.42rem; }
.step-grid p { margin: 8px 0 0; color: var(--muted); }

.recovery-section { display: grid; grid-template-columns: minmax(350px, 0.85fr) minmax(0, 1fr); align-items: center; gap: clamp(48px, 8vw, 110px); color: #fff; background: var(--teal-dark); }
.screen-pair { position: relative; min-height: 610px; }
.phone-back { position: absolute; top: 0; left: 0; width: 260px; transform: rotate(-4deg); }
.phone-front { position: absolute; right: 0; bottom: 0; width: 270px; transform: rotate(3deg); }
.recovery-copy .eyebrow { color: #dff5a8; }
.recovery-copy > p:not(.eyebrow) { max-width: 620px; margin: 22px 0 0; color: #d6eee9; font-size: 1.1rem; }
.recovery-copy .button { margin-top: 28px; color: var(--ink); background: var(--lime); }
.recovery-copy .button:hover { background: #caef70; }

.pricing-section { padding: 100px 20px; color: #fff; background: var(--teal-dark); text-align: center; }
.pricing-section .eyebrow { color: #bfe8df; }
.pricing-section p:last-child { margin: 18px 0 0; color: #d6eee9; font-size: 1.08rem; }
.download-section { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 28px; width: min(1080px, calc(100% - 40px)); margin: 100px auto; padding: 34px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.download-section img { width: 110px; border-radius: 23px; }
.download-section h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: min(1080px, calc(100% - 40px)); margin: 0 auto; padding: 38px 0 50px; border-top: 1px solid var(--line); }
footer p { margin: 5px 0 0; color: var(--muted); font-size: 0.9rem; }
a:focus-visible { outline: 3px solid #8bc81e; outline-offset: 4px; }

@media (max-width: 860px) {
  .hero, .recovery-section { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .step-grid { grid-template-columns: 1fr; }
  .screen-pair { width: min(100%, 520px); margin: 0 auto; }
  .download-section { grid-template-columns: auto 1fr; }
  .download-section .button { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .site-header { width: calc(100% - 28px); }
  .site-header nav a:not(:last-child) { display: none; }
  .hero { width: calc(100% - 28px); padding: 55px 0 76px; }
  h1 { font-size: clamp(3rem, 15vw, 4.5rem); }
  .hero-actions .button { width: 100%; }
  .hero-art { min-height: 540px; padding: 35px 24px; border-radius: 24px; }
  .section { padding: 82px 14px; }
  .step-grid li { padding: 25px; }
  .screen-pair { min-height: 540px; }
  .phone-back { width: 225px; }
  .phone-front { width: 235px; }
  .download-section { grid-template-columns: 1fr; width: calc(100% - 28px); margin: 74px auto; text-align: center; }
  .download-section img { margin: 0 auto; }
  footer { flex-direction: column; align-items: flex-start; width: calc(100% - 28px); }
  footer nav { flex-wrap: wrap; }
}

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