:root {
  color-scheme: light;
  --background: #f5f5f7;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-solid: #ffffff;
  --ink: #111114;
  --muted: #5d6571;
  --faint: #eef5ff;
  --line: rgba(18, 26, 34, 0.12);
  --aqua: #0a84ff;
  --aqua-dark: #006edb;
  --aqua-soft: #dbeaff;
  --green: #34c759;
  --shadow: 0 24px 70px rgba(30, 46, 58, 0.12);
  --radius-large: 30px;
  --radius-medium: 22px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 85% 8%, rgba(10, 132, 255, 0.10), transparent 32rem),
    radial-gradient(circle at 10% 26%, rgba(0, 122, 255, 0.06), transparent 26rem),
    var(--background);
  color: var(--ink);
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(20, 28, 36, 0.08);
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(22px) saturate(1.2);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.brand img {
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(10, 132, 255, 0.18);
}

nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  color: #242933;
  font-size: 15px;
  font-weight: 500;
}

nav a {
  transition: color 160ms ease;
}

nav a:hover {
  color: var(--aqua);
}

.app-store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 40px;
  flex: 0 0 auto;
}

.app-store-badge img {
  width: 120px;
  height: 40px;
}

.app-store-badge-header {
  justify-self: end;
}

.section-wrap {
  width: min(1280px, calc(100% - 56px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100svh - 78px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 520px);
  align-items: center;
  gap: clamp(36px, 7vw, 96px);
  padding: 62px 0 48px;
}

.hero-copy h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(58px, 7vw, 104px);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 620px;
  margin: 28px 0 0;
  color: #3f4957;
  font-size: clamp(21px, 2.1vw, 28px);
  line-height: 1.34;
}

.hero-checks {
  display: grid;
  gap: 15px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  color: #3c4654;
  font-size: 18px;
}

.hero-checks li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-checks li::before {
  content: "✓";
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--aqua);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  flex: 0 0 auto;
}

.primary-action {
  width: fit-content;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 48px;
  padding: 0 28px;
  border-radius: 19px;
  background: linear-gradient(180deg, #0a84ff, #006edb);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 18px 44px rgba(10, 132, 255, 0.28);
}

.primary-action svg {
  width: 22px;
  height: 22px;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.phone-shell {
  width: min(100%, 430px);
  aspect-ratio: 1320 / 2868;
  padding: 13px;
  border-radius: 56px;
  background: #111;
  box-shadow:
    0 34px 100px rgba(26, 38, 50, 0.22),
    0 0 0 1px rgba(24, 34, 44, 0.12);
  overflow: hidden;
}

.app-screen {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 18px 18px 0;
  border-radius: 43px;
  background: #f2f2f7;
  overflow: hidden;
}

.mock-statusbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 28px;
  color: #111114;
  font-size: 15px;
  font-weight: 700;
}

.mock-statusbar span:last-child {
  justify-self: end;
}

.dynamic-island {
  width: 84px;
  height: 24px;
  border-radius: 999px;
  background: #101010;
}

.app-screen > h2 {
  margin: 6px 0 2px;
  text-align: center;
  font-size: 21px;
  line-height: 1.1;
}

.mock-panel {
  border: 1px solid rgba(60, 60, 67, 0.14);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.mock-status {
  display: grid;
  grid-template-columns: 44px 1fr 28px;
  align-items: center;
  gap: 11px;
  padding: 14px;
}

.mock-check {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--green);
  color: #fff;
}

.mock-check svg,
.mock-refresh svg,
.mock-trash svg {
  width: 24px;
  height: 24px;
}

.mock-refresh {
  color: var(--aqua);
}

.mock-panel h3,
.mock-panel p {
  margin: 0;
}

.mock-panel h3 {
  font-size: 17px;
  line-height: 1.1;
}

.mock-panel p {
  margin-top: 4px;
  color: #636366;
  font-size: 13px;
  line-height: 1.25;
}

.mock-help,
.mock-area {
  padding: 14px;
}

.mock-input {
  min-height: 42px;
  display: flex;
  align-items: center;
  margin-top: 10px;
  padding: 0 12px;
  border: 1px solid rgba(60, 60, 67, 0.24);
  border-radius: 9px;
  background: #fff;
  color: #8e8e93;
  font-size: 15px;
}

.mock-area button,
.mock-apply button {
  appearance: none;
  border: 0;
  border-radius: 10px;
  background: var(--aqua);
  color: #fff;
  font: inherit;
  font-weight: 700;
}

.mock-area button {
  width: 100%;
  min-height: 40px;
  margin-top: 10px;
  font-size: 15px;
}

.mock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding: 12px;
  border-radius: 11px;
  background: #fff;
}

.mock-row strong,
.mock-row span {
  display: block;
}

.mock-row strong {
  font-size: 23px;
  letter-spacing: 0;
}

.mock-row span {
  color: #636366;
  font-size: 14px;
}

.mock-trash {
  color: #ff3b30;
}

.mock-apply {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: auto -18px 0;
  padding: 14px 18px max(16px, env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.82);
  border-top: 1px solid rgba(60, 60, 67, 0.18);
}

.mock-apply span,
.mock-apply strong {
  display: block;
}

.mock-apply span {
  color: #636366;
  font-size: 13px;
  font-weight: 700;
}

.mock-apply strong {
  margin-top: 2px;
  font-size: 16px;
}

.mock-apply button {
  min-height: 40px;
  padding: 0 20px;
  font-size: 16px;
}

.steps-section,
.privacy-section,
.faq-section {
  margin-top: 34px;
  padding: clamp(32px, 5vw, 56px);
  border: 1px solid rgba(10, 132, 255, 0.08);
  border-radius: var(--radius-large);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(246, 252, 253, 0.94)),
    var(--surface-solid);
  box-shadow: var(--shadow);
}

.steps-section h2,
.privacy-section h2,
.faq-section h2 {
  margin: 0 0 28px;
  text-align: center;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.06;
  letter-spacing: 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.step-card {
  position: relative;
  min-height: 250px;
  padding: 34px 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-medium);
  background: rgba(255, 255, 255, 0.88);
  text-align: center;
}

.step-number {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--aqua-soft);
  color: var(--aqua-dark);
  font-size: 17px;
  font-weight: 800;
}

.step-icon,
.privacy-icon {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  margin: 0 auto 26px;
  border-radius: 20px;
  background: linear-gradient(180deg, #fff, #f4f7fb);
  color: var(--aqua);
  font-size: 44px;
  font-weight: 500;
  box-shadow: inset 0 0 0 1px var(--line);
}

.step-icon svg,
.privacy-icon svg {
  width: 38px;
  height: 38px;
}

.step-card h3,
.privacy-grid h3,
.faq-list h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.18;
}

.step-card p,
.privacy-grid p,
.faq-list p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
}

.section-note {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 15px;
  text-align: center;
}

.section-note::before {
  content: "▣";
  color: var(--aqua);
  margin-right: 8px;
}

.privacy-section {
  background: rgba(255, 255, 255, 0.84);
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.privacy-grid article {
  padding: 22px 26px;
  border-left: 1px solid var(--line);
}

.privacy-grid article:first-child {
  border-left: 0;
}

.privacy-icon {
  width: 58px;
  height: 58px;
  margin: 0 0 18px;
  border-radius: 999px;
  background: #0a84ff;
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  box-shadow: none;
}

.privacy-icon svg {
  width: 32px;
  height: 32px;
}

.faq-section {
  margin-bottom: 54px;
}

.faq-list {
  border: 1px solid var(--line);
  border-radius: var(--radius-medium);
  background: #fff;
  overflow: hidden;
}

.faq-list article {
  position: relative;
  padding: 27px 78px 27px 34px;
  border-top: 1px solid var(--line);
}

.faq-list article:first-child {
  border-top: 0;
}

.faq-list article::after {
  content: "›";
  position: absolute;
  top: 50%;
  right: 34px;
  transform: translateY(-50%);
  color: #7c8793;
  font-size: 36px;
  font-weight: 300;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid rgba(20, 28, 36, 0.08);
  background: rgba(255, 255, 255, 0.76);
  color: #68717d;
  font-size: 13px;
  line-height: 1.45;
}

.site-footer p {
  margin: 0;
}

.site-footer p:last-child {
  max-width: 370px;
  justify-self: end;
}

@media (max-width: 980px) {
  .site-header,
  .site-footer {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
  }

  .app-store-badge-header,
  .site-footer p:last-child {
    justify-self: start;
  }

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

  .hero {
    min-height: auto;
    padding-top: 46px;
  }

  .phone-shell {
    width: min(70vw, 360px);
    border-radius: 48px;
    padding: 11px;
  }

  .steps,
  .privacy-grid {
    grid-template-columns: 1fr;
  }

  .privacy-grid article {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .privacy-grid article:first-child {
    border-top: 0;
  }
}

@media (max-width: 640px) {
  .section-wrap {
    width: min(100% - 28px, 1280px);
  }

  .site-header {
    padding: 14px;
  }

  .brand {
    font-size: 18px;
  }

  .app-store-badge-header {
    width: 120px;
  }

  nav {
    font-size: 14px;
  }

  .hero-copy h1 {
    font-size: clamp(45px, 13vw, 68px);
  }

  .hero-copy p {
    font-size: 20px;
  }

  .hero-checks {
    font-size: 16px;
  }

  .primary-action {
    width: 100%;
    justify-content: center;
  }

  .steps-section,
  .privacy-section,
  .faq-section {
    padding: 24px 16px;
    border-radius: 24px;
  }

  .phone-shell {
    width: min(86vw, 330px);
    border-radius: 42px;
    padding: 9px;
  }

  .app-screen {
    border-radius: 32px;
    padding: 15px 15px 0;
  }

  .faq-list article {
    padding: 23px 48px 23px 20px;
  }

  .faq-list article::after {
    right: 20px;
  }
}
