:root {
  color-scheme: light;
  --bg: #f7faf9;
  --paper: #ffffff;
  --ink: #102033;
  --muted: #5d6e7d;
  --line: #dce7e6;
  --teal: #0e7490;
  --teal-dark: #07566c;
  --green: #0f8a5f;
  --gold: #b77717;
  --red: #b94a48;
  --wash: #edf5f4;
  --shadow: 0 18px 50px rgba(16, 32, 51, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

img {
  max-width: 100%;
}

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

a:hover {
  color: var(--teal-dark);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(14, 116, 144, 0.35);
  outline-offset: 4px;
}

.site-header,
main,
.site-footer {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand-name,
.brand-tag {
  display: block;
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 800;
}

.brand-tag {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.9rem;
}

nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: wrap;
  color: #263b4f;
  font-size: 0.94rem;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: clamp(540px, 74vh, 700px);
  overflow: hidden;
  padding: 92px 0 74px;
  border-bottom: 1px solid var(--line);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.13rem;
  line-height: 1.25;
}

.hero-lede {
  max-width: 610px;
  color: #405568;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
}

.hero-support {
  max-width: 610px;
  color: var(--muted);
  font-size: 1rem;
}

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

.hero-actions {
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
}

.button-primary {
  background: var(--teal);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(14, 116, 144, 0.2);
}

.button-primary:hover {
  background: var(--teal-dark);
  color: #ffffff;
}

.button-secondary {
  background: #ffffff;
  color: var(--ink);
  border-color: var(--line);
}

.hero-visual {
  position: absolute;
  z-index: 1;
  top: 26px;
  right: 0;
  bottom: 26px;
  width: min(44%, 430px);
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(14, 116, 144, 0.14), rgba(15, 138, 95, 0.1)),
    #eaf3f1;
}

.screenshot-panel {
  overflow: hidden;
  border: 1px solid rgba(220, 231, 230, 0.85);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(14, 116, 144, 0.12), rgba(15, 138, 95, 0.08)),
    #eef6f4;
  box-shadow: var(--shadow);
}

.iphone-screen {
  display: block;
  aspect-ratio: 1320 / 2868;
  height: auto;
  object-fit: contain;
  border-radius: 9.5% / 4.4%;
  box-shadow: 0 18px 54px rgba(16, 32, 51, 0.2);
}

.hero-screenshot-panel {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 48px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.hero-phone-preview {
  display: block;
  width: auto;
  max-width: min(72%, 300px);
  max-height: calc(100% - 72px);
  height: auto;
  object-fit: contain;
  border-radius: 9.5% / 4.4%;
  box-shadow: 0 0 54px rgba(16, 32, 51, 0.18);
}

.intro-strip,
.launch-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 28px 0 0;
  padding: 18px 0 26px;
  border-bottom: 1px solid var(--line);
  color: #3f5365;
  font-weight: 700;
}

.intro-strip p,
.launch-band p {
  margin-bottom: 0;
}

.release-note,
.care-note {
  margin: 22px 0 0;
  padding: 16px 18px;
  border-left: 4px solid var(--gold);
  background: #fff8ec;
  color: #684613;
  font-weight: 700;
}

.release-note p,
.care-note p {
  margin-bottom: 0;
}

.section,
.launch-band {
  padding: 64px 0;
}

.section-heading {
  width: 100%;
  margin-bottom: 28px;
}

.section-heading p,
.launch-band > div > p {
  color: var(--muted);
}

.feature-grid,
.detail-layout,
.support-grid,
.feature-showcase-list {
  display: grid;
  gap: 16px;
}

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

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

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

.feature-showcase-list {
  gap: 22px;
}

.feature-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.72fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: center;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.feature-showcase-reverse .feature-copy {
  order: 2;
}

.feature-copy {
  max-width: 520px;
}

.feature-copy h3 {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.1;
}

.feature-copy p {
  color: var(--muted);
}

.feature-showcase .screenshot-panel {
  display: grid;
  place-items: center;
  padding: clamp(16px, 2.6vw, 26px);
  box-shadow: none;
}

.feature-iphone-screen {
  width: min(100%, 250px);
}

.feature-card,
.detail-panel,
.support-card {
  min-height: 220px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.feature-card p,
.detail-panel p,
.support-card p {
  color: var(--muted);
}

.feature-kicker {
  display: block;
  margin-bottom: 18px;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.detail-panel {
  min-height: 0;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.check-list li {
  position: relative;
  padding-left: 24px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.care-note {
  margin: 18px 0 0;
}

.launch-band {
  align-items: flex-start;
  margin-top: 0;
}

.launch-band > div:first-child {
  max-width: 690px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--teal-dark);
  font-size: 0.94rem;
  font-weight: 800;
}

.text-link {
  display: inline-flex;
  margin-top: 6px;
  color: var(--teal-dark);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.inline-link {
  display: inline;
  margin-top: 0;
}

.policy-page {
  max-width: 820px;
  padding-bottom: 56px;
}

.policy-hero {
  padding: 44px 0 24px;
  border-bottom: 1px solid var(--line);
}

.policy-hero h1 {
  margin-bottom: 14px;
  font-size: clamp(2.35rem, 4vw, 3.4rem);
  line-height: 1;
}

.policy-hero p {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.03rem;
}

.policy-section {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.policy-section h2 {
  margin-bottom: 8px;
  font-size: clamp(1.28rem, 2vw, 1.65rem);
  line-height: 1.18;
}

.policy-section p,
.policy-section li {
  color: var(--muted);
}

.policy-section p {
  max-width: 720px;
  margin-bottom: 10px;
}

.policy-section p:last-child {
  margin-bottom: 0;
}

.policy-section ul {
  display: grid;
  gap: 6px;
  margin: 12px 0 12px;
  padding-left: 1.2rem;
}

.policy-section li + li {
  margin-top: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.94rem;
}

.site-footer p {
  margin-bottom: 0;
}

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

@media (max-width: 920px) {
  .site-header,
  main,
  .site-footer {
    width: min(100% - 32px, 720px);
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

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

  .hero-visual {
    position: relative;
    inset: auto;
    width: 100%;
    min-height: 520px;
    margin-top: 36px;
  }

  .intro-strip,
  .launch-band,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .feature-grid,
  .detail-layout,
  .support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-showcase {
    grid-template-columns: 1fr;
  }

  .feature-showcase-reverse .feature-copy {
    order: 0;
  }
}

@media (max-width: 620px) {
  .site-header,
  main,
  .site-footer {
    width: min(100% - 28px, 520px);
  }

  nav {
    gap: 12px 16px;
    font-size: 0.9rem;
  }

  .brand-tag {
    display: none;
  }

  .hero {
    padding-bottom: 42px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 460px;
  }

  .hero-phone-preview {
    max-width: min(78%, 280px);
    max-height: calc(100% - 56px);
  }

  .feature-grid,
  .detail-layout,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .detail-panel,
  .support-card {
    min-height: 0;
  }

  .section,
  .launch-band {
    padding: 46px 0;
  }
}
