:root {
  --ink: #142033;
  --muted: #647087;
  --line: #dfe6ef;
  --paper: #f6f8fb;
  --white: #ffffff;
  --blue: #1d68f2;
  --blue-dark: #114ab3;
  --blue-soft: #e9f1ff;
  --green: #1e9d67;
  --yellow: #e7a800;
  --red: #ec4c58;
  --radius-lg: 32px;
  --radius-md: 20px;
  --shadow: 0 24px 70px rgba(26, 45, 78, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  line-height: 1.55;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--white);
  background: var(--ink);
}

.skip-link:focus { top: 12px; }

.site-header {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.brand-mark {
  position: relative;
  width: 34px;
  height: 34px;
  display: inline-block;
  border: 2px solid var(--blue);
  border-radius: 11px;
  background: var(--white);
  transform: rotate(-7deg);
}

.brand-mark::before,
.brand-mark span {
  content: "";
  position: absolute;
  inset: 5px;
  border: 2px solid var(--blue);
  border-radius: 7px;
}

.brand-mark span {
  inset: 11px 5px 5px 11px;
  border-color: var(--green);
}

nav { display: flex; gap: 8px; }

nav a {
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible,
nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--white);
}

.hero {
  width: min(1180px, calc(100% - 40px));
  min-height: 670px;
  margin: 8px auto 0;
  padding: 76px clamp(28px, 7vw, 92px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: 72px;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 44px;
  background:
    radial-gradient(circle at 90% 10%, rgba(90, 173, 255, .24), transparent 35%),
    radial-gradient(circle at 0% 100%, rgba(57, 190, 130, .16), transparent 38%),
    var(--white);
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1, h2, h3 { margin-top: 0; line-height: 1.08; letter-spacing: -0.045em; }

h1 { margin-bottom: 24px; font-size: clamp(52px, 6.2vw, 82px); }

h2 { margin-bottom: 18px; font-size: clamp(36px, 4.2vw, 58px); }

h3 { margin-bottom: 12px; font-size: 24px; }

.hero-lede {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(19px, 2vw, 24px);
}

.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }

.button {
  display: inline-flex;
  min-height: 50px;
  padding: 13px 20px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 750;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover { transform: translateY(-2px); }
.button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid rgba(29, 104, 242, .35); outline-offset: 3px; }

.button.primary { color: var(--white); border-color: var(--blue); background: var(--blue); box-shadow: 0 12px 28px rgba(29, 104, 242, .24); }
.button.primary:hover { background: var(--blue-dark); }
.button.secondary { background: rgba(255,255,255,.72); }

.availability { margin: 20px 0 0; color: var(--muted); font-size: 14px; }

.phone-stage { position: relative; display: grid; justify-items: center; }

.phone {
  width: min(100%, 380px);
  padding: 18px;
  border: 9px solid #111923;
  border-radius: 42px;
  background: #f5f6fa;
  box-shadow: 0 34px 70px rgba(14, 25, 44, .25);
  transform: rotate(2.5deg);
}

.phone-top { display: flex; justify-content: space-between; padding: 2px 6px 12px; font-size: 13px; font-weight: 750; }
.phone-top span:last-child { color: var(--blue); }

.photo-demo {
  position: relative;
  height: 390px;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(180deg, #8bc8f7 0%, #e9b18f 58%, #f1d6a8 100%);
}

.sun { position: absolute; top: 66px; right: 60px; width: 74px; height: 74px; border-radius: 50%; background: #ffe3a1; box-shadow: 0 0 45px #ffe3a1; }
.mountain { position: absolute; left: -10%; bottom: -24%; width: 120%; height: 70%; clip-path: polygon(0 100%, 22% 38%, 36% 63%, 55% 15%, 72% 59%, 86% 34%, 100% 100%); }
.mountain-back { bottom: -13%; background: #667c93; opacity: .76; }
.mountain-front { background: #263d51; }

.gesture-copy { margin: 14px 0 12px; color: var(--muted); font-size: 11px; text-align: center; }

.decision-row { display: flex; justify-content: space-around; }
.decision { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 50%; font-size: 28px; font-weight: 900; }
.decision small { display: block; margin-top: -7px; font-size: 10px; font-weight: 750; }
.decision.delete { color: var(--red); background: #ffe7ea; }
.decision.favorite { color: var(--yellow); background: #fff4c9; }
.decision.keep { color: var(--green); background: #dcf5e8; }

.illustration-label { margin: 20px 0 0; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .11em; }

.trust-strip {
  width: min(1060px, calc(100% - 64px));
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--line);
}

.trust-strip p { margin: 0; padding: 20px 24px; display: grid; gap: 4px; background: var(--white); }
.trust-strip strong { font-size: 15px; }
.trust-strip span { color: var(--muted); font-size: 13px; }

.section { width: min(1080px, calc(100% - 40px)); margin: 130px auto; }
.section-heading { max-width: 690px; margin-bottom: 42px; }
.section-heading > p:last-child, .privacy-copy > p { color: var(--muted); font-size: 19px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step-card { min-height: 285px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); }
.step-card p { color: var(--muted); }
.step-number { display: inline-flex; margin-bottom: 64px; color: var(--blue); font-size: 13px; font-weight: 850; }

.safety-section { width: min(1180px, calc(100% - 40px)); }
.safety-card { padding: clamp(34px, 6vw, 72px); display: grid; grid-template-columns: 1fr 1fr; gap: 72px; border-radius: var(--radius-lg); color: var(--white); background: var(--ink); }
.safety-copy { color: #c9d3e2; font-size: 18px; }
.safety-copy p:first-child { margin-top: 0; }

.privacy-section { display: grid; grid-template-columns: 1fr .95fr; gap: 90px; align-items: center; }
.privacy-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.privacy-list li { padding: 20px 0; display: flex; gap: 18px; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 700; }
.privacy-list span { color: var(--blue); font-size: 12px; padding-top: 5px; }

.text-link { color: var(--blue); font-weight: 750; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

.closing-section { padding: 80px 24px; text-align: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.closing-section p:not(.eyebrow) { color: var(--muted); font-size: 18px; }

.document-page { width: min(940px, calc(100% - 40px)); margin: 58px auto 120px; }
.document-hero { padding: 62px clamp(28px, 7vw, 76px); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow); }
.document-hero h1 { font-size: clamp(52px, 8vw, 88px); }
.draft-notice { max-width: 660px; padding: 16px 18px; border-left: 4px solid var(--yellow); color: #634b04; background: #fff7d6; }

.policy { max-width: 760px; margin: 66px auto 0; color: #303d51; }
.policy h2 { margin: 50px 0 14px; color: var(--ink); font-size: 28px; letter-spacing: -.025em; }
.policy p { font-size: 17px; }
.policy a { color: var(--blue); }

.support-hero p { max-width: 650px; color: var(--muted); font-size: 19px; }
.support-hero .button { margin-top: 12px; color: var(--white); }
.support-hero .mailbox-note { margin-top: 12px; font-size: 13px; }

.faq { margin-top: 82px; }
.faq > h2 { margin-bottom: 30px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { padding: 24px 42px 24px 0; cursor: pointer; font-size: 19px; font-weight: 750; }
.faq details p { max-width: 760px; margin: -8px 0 26px; color: var(--muted); }
.faq details a { color: var(--blue); }

.contact-card { margin-top: 90px; padding: clamp(30px, 6vw, 62px); border-radius: var(--radius-lg); background: var(--blue-soft); }
.contact-card h2 { font-size: clamp(36px, 5vw, 54px); }
.contact-card > p:not(.eyebrow) { max-width: 680px; color: var(--muted); }

footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 50px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.footer-brand { color: var(--ink); font-size: 16px; }
.footer-brand .brand-mark { width: 27px; height: 27px; border-radius: 9px; }
footer > div { display: flex; justify-content: flex-end; gap: 18px; }
footer > div a { text-decoration: none; }
footer > div a:hover { color: var(--ink); }

@media (max-width: 860px) {
  .hero { min-height: auto; padding-top: 54px; grid-template-columns: 1fr; gap: 58px; }
  .hero-copy { text-align: center; }
  .hero-lede { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .trust-strip, .steps { grid-template-columns: 1fr; }
  .safety-card, .privacy-section { grid-template-columns: 1fr; gap: 40px; }
  .section { margin-block: 92px; }
  footer { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  footer > div { justify-content: center; }
}

@media (max-width: 560px) {
  .site-header { width: min(100% - 28px, 1180px); padding-block: 16px; }
  .brand { font-size: 18px; }
  .brand-mark { width: 30px; height: 30px; }
  nav { gap: 0; }
  nav a { padding: 8px 9px; font-size: 13px; }
  .hero { width: calc(100% - 20px); padding-inline: 18px; border-radius: 30px; }
  h1 { font-size: 45px; }
  .phone { width: min(100%, 350px); }
  .photo-demo { height: 330px; }
  .trust-strip { width: calc(100% - 32px); }
  .section, .safety-section, .document-page { width: calc(100% - 28px); }
  .step-number { margin-bottom: 40px; }
  .document-hero { padding: 38px 22px; }
  .document-hero h1 { font-size: 48px; }
  footer { width: calc(100% - 28px); }
}

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