:root {
  --bg: #eef6fc;
  --surface: #ffffff;
  --surface-soft: #f7fafe;
  --ink: #172033;
  --muted: #526273;
  --line: #d8e2f0;
  --blue: #246bfe;
  --blue-dark: #1553d1;
  --blue-soft: #eaf3ff;
  --shadow: 0 24px 70px rgba(23, 32, 51, 0.14);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 3px 3px, rgba(36, 107, 254, 0.18) 1.6px, transparent 1.8px) 0 0 / 32px 32px,
    var(--bg);
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(20px, 7vw, 112px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(216, 226, 240, 0.8);
  backdrop-filter: blur(16px);
}

.brand,
.nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand {
  text-decoration: none;
  font-size: 22px;
  font-weight: 850;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: inset 0 0 0 9px #ffffff;
}

.nav a {
  color: #34445c;
  text-decoration: none;
  font-weight: 750;
}

main {
  width: min(1376px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
  min-height: 640px;
  padding: 72px 0 48px;
}

.eyebrow {
  margin: 0 0 18px;
  color: #56708a;
  font-size: 18px;
  font-weight: 800;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(48px, 8vw, 92px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-text {
  max-width: 690px;
  color: #34445c;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.42;
}

.search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  width: min(720px, 100%);
  margin: 34px 0 28px;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.search input {
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 14px 18px;
  color: var(--ink);
  background: transparent;
  font-size: 20px;
  font-weight: 650;
}

.search input::placeholder {
  color: #94a3b8;
}

.search button,
.button,
.phone-screen button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border: 0;
  border-radius: 18px;
  color: #ffffff;
  background: var(--blue);
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

.search button {
  padding: 0 24px;
  font-size: 18px;
}

.search button:hover,
.button.primary:hover,
.phone-screen button:hover {
  background: var(--blue-dark);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  padding: 0 24px;
  font-size: 19px;
}

.button.quiet {
  color: var(--blue);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
}

.phone-preview {
  display: flex;
  justify-content: center;
}

.phone-shell {
  width: 300px;
  min-height: 560px;
  padding: 14px;
  border-radius: 54px;
  background: #12141b;
  box-shadow: var(--shadow);
}

.phone-notch {
  position: relative;
  z-index: 1;
  width: 96px;
  height: 26px;
  margin: 8px auto -16px;
  border-radius: 999px;
  background: #12141b;
}

.phone-screen {
  position: relative;
  min-height: 520px;
  padding: 64px 28px 34px;
  overflow: hidden;
  border-radius: 38px;
  background: var(--surface-soft);
}

.phone-screen p {
  margin-bottom: 24px;
  color: #56708a;
  font-size: 17px;
  font-weight: 800;
}

.phone-screen h2 {
  margin-bottom: 28px;
  font-size: 28px;
  line-height: 1.08;
}

.mini-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #ffffff;
}

.mini-card strong {
  display: block;
  margin-bottom: 18px;
  font-size: 20px;
}

.mini-card span {
  display: block;
  height: 32px;
  margin-top: 12px;
  border-radius: 12px;
  background: var(--blue-soft);
}

.phone-screen button {
  width: calc(100% - 56px);
  position: absolute;
  left: 28px;
  bottom: 34px;
  font-size: 19px;
}

.tips-section,
.tip-detail,
.app-soon {
  padding: 52px 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.section-heading h2,
.app-soon h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 4.8vw, 56px);
  line-height: 1.04;
}

.section-heading > p {
  max-width: 390px;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.4;
}

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

.tip-card {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 18px 52px rgba(23, 32, 51, 0.1);
  text-align: left;
}

.tip-card .icon {
  width: 36px;
  height: 36px;
  margin-bottom: 30px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: inset 0 0 0 11px #ffffff;
}

.tip-card h3 {
  margin-bottom: 10px;
  font-size: 26px;
  line-height: 1.12;
}

.tip-card p {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.42;
}

.tip-card a {
  margin-top: auto;
  color: var(--blue);
  font-weight: 850;
  text-decoration: none;
}

.tip-image {
  margin: 0;
}

.tip-image img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #f7fbff;
}

.tip-image figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.35;
}

.tip-card-image {
  margin-bottom: 20px;
}

.tip-card-image figcaption {
  display: none;
}

.tip-card-image img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 18px;
}

.tip-detail[hidden] {
  display: none;
}

.detail-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  padding: clamp(26px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.detail-panel h2 {
  max-width: 720px;
  margin-bottom: 14px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
}

.detail-intro {
  max-width: 680px;
  color: var(--muted);
  font-size: 23px;
  line-height: 1.42;
}

.tip-images {
  display: grid;
  gap: 16px;
  max-width: 680px;
  margin: 28px 0 6px;
}

.steps {
  display: grid;
  gap: 14px;
  margin: 30px 0;
  padding: 0;
  list-style: none;
}

.step {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #ffffff;
}

.step-number {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--blue);
  font-size: 22px;
  font-weight: 900;
}

.step p {
  margin: 0;
  font-size: 21px;
  font-weight: 750;
  line-height: 1.35;
}

.remember,
.question-box,
.app-soon {
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.remember {
  padding: 22px;
  background: var(--blue-soft);
}

.remember strong,
.question-box strong {
  display: block;
  margin-bottom: 8px;
  font-size: 21px;
}

.remember p,
.question-box p,
.app-soon p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.42;
}

.question-box {
  align-self: start;
  padding: 26px;
  background: #ffffff;
}

.question-box a {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  border-radius: 16px;
  color: #ffffff;
  background: var(--blue);
  font-weight: 850;
  text-decoration: none;
}

.app-soon {
  margin: 40px 0 80px;
  padding: clamp(28px, 5vw, 52px);
  background: rgba(255, 255, 255, 0.78);
}

.app-soon p {
  max-width: 790px;
  font-size: 22px;
}

.empty-state {
  padding: 24px;
  border-radius: 18px;
  background: #ffffff;
  color: var(--muted);
  font-size: 20px;
  font-weight: 700;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(20px, 7vw, 112px);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.76);
  border-top: 1px solid var(--line);
}

.footer p {
  margin: 0;
}

.footer a {
  color: var(--muted);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 980px) {
  .hero,
  .detail-panel {
    grid-template-columns: 1fr;
  }

  .phone-preview {
    justify-content: flex-start;
  }

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

  .section-heading {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .site-header,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
  }

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

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

  .search button {
    width: 100%;
  }

  .phone-shell {
    width: 100%;
    min-height: 560px;
  }

  .phone-screen {
    min-height: 480px;
  }

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