:root {
  --ink: #081527;
  --muted: #627086;
  --line: #d8e4e8;
  --paper: #fbfdfc;
  --soft: #eaf7f1;
  --mint: #cfeade;
  --teal: #087f73;
  --teal-dark: #055f56;
  --navy: #0b2a53;
  --blue: #1d6feb;
  --gold: #f4b63f;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(8, 21, 39, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 20;
  width: min(1040px, calc(100% - 32px));
  min-height: 56px;
  margin: 12px auto 0;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 12px 30px rgba(8, 21, 39, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0;
  color: var(--navy);
}

.brand span {
  color: var(--teal);
}

.brand-mark {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  text-decoration: none;
}

.nav-download,
.download-button {
  min-height: 40px;
  border-radius: 8px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--white);
  background: var(--teal);
  border: 1px solid var(--teal);
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(8, 127, 115, 0.2);
}

.nav-download:hover,
.download-button:hover {
  background: var(--teal-dark);
}

.download-button.secondary {
  color: var(--navy);
  background: var(--white);
  border-color: #b7cad1;
  box-shadow: none;
}

.download-button.is-disabled {
  cursor: not-allowed;
  color: #7a8797;
  background: #edf2f4;
  border-color: #d5e0e4;
  box-shadow: none;
}

.section-band {
  width: min(1280px, calc(100% - 24px));
  margin: -58px auto 0;
  border-radius: 0 0 36px 36px;
  background: var(--soft);
}

.hero {
  min-height: 760px;
  padding: 150px 24px 58px;
  text-align: center;
  overflow: hidden;
}

.hero-copy {
  width: min(780px, 100%);
  margin: 0 auto;
}

.hero-logo {
  width: min(320px, 82vw);
  height: auto;
  object-fit: contain;
  margin: 0 auto 16px;
  display: block;
}

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

.centered {
  text-align: center;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  margin: 0 auto;
  color: var(--teal-dark);
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.96;
  font-weight: 900;
}

h2 {
  margin: 0;
  color: var(--teal-dark);
  text-align: center;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.05;
  font-weight: 900;
}

h3 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.15;
  font-weight: 900;
}

.hero-text {
  width: min(560px, 100%);
  margin: 20px auto 24px;
  color: #506174;
  font-size: 17px;
  line-height: 1.7;
}

.download-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.download-row .download-button {
  min-width: 170px;
}

.release-line,
.install-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.release-line a {
  color: var(--teal-dark);
  margin-left: 8px;
}

.hero-visual {
  position: relative;
  height: 360px;
  margin: 42px auto 0;
  width: min(820px, 100%);
}

.phone {
  position: absolute;
  top: 16px;
  left: 50%;
  width: 238px;
  height: 360px;
  border: 7px solid #052f2d;
  border-radius: 34px;
  background: #052f2d;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.phone-left {
  transform: translateX(-112%) rotate(-17deg);
}

.phone-main {
  z-index: 3;
  top: 0;
  transform: translateX(-50%);
}

.phone-right {
  transform: translateX(12%) rotate(15deg);
}

.phone-bar {
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 2;
  width: 78px;
  height: 20px;
  border-radius: 0 0 14px 14px;
  transform: translateX(-50%);
  background: #052f2d;
}

.phone-screen {
  height: 100%;
  padding: 42px 18px 18px;
  border-radius: 26px;
  background: var(--white);
  text-align: left;
}

.app-logo-mini {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--teal);
  font-weight: 900;
  margin-bottom: 14px;
}

.app-logo-mini img {
  width: 30px;
  height: 30px;
}

.input-preview {
  min-height: 166px;
  padding: 14px;
  border: 1px solid #d3e0e3;
  border-radius: 8px;
  color: #8a97a8;
  font-size: 14px;
  line-height: 1.55;
}

.input-preview p {
  margin: 0 0 8px;
}

.button-preview,
.save-preview {
  margin-top: 14px;
  min-height: 44px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--teal);
  font-weight: 900;
}

.preview-title {
  color: var(--ink);
  font-weight: 900;
  font-size: 20px;
  margin-bottom: 16px;
}

.preview-grid {
  display: grid;
  gap: 9px;
}

.preview-grid span {
  color: var(--muted);
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 900;
}

.preview-grid strong {
  margin-top: -7px;
  color: var(--ink);
  font-size: 18px;
}

.total-card {
  min-height: 104px;
  border-radius: 8px;
  padding: 18px;
  color: var(--white);
  background: var(--teal);
  display: grid;
  align-content: center;
  gap: 6px;
}

.total-card span {
  color: #d9fff5;
  font-size: 13px;
  font-weight: 800;
}

.total-card strong {
  font-size: 30px;
}

.category-row {
  margin-top: 12px;
  min-height: 48px;
  border-radius: 8px;
  padding: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f3f7f8;
  font-size: 14px;
}

.features-section,
.steps-section,
.reviews-section,
.download-section {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 86px 0;
}

.features-section h2,
.steps-section h2,
.reviews-section h2 {
  margin-bottom: 36px;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 12px;
}

.feature-card,
.review-card,
.privacy-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #eef8f3;
}

.feature-card {
  min-height: 210px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-card p,
.privacy-copy p,
.download-section p,
.review-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.large-card {
  grid-row: span 2;
  min-height: 432px;
}

.wide-card {
  grid-column: span 2;
}

.card-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--teal);
  font-weight: 900;
}

.mini-ui {
  margin-top: auto;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 16px;
  display: grid;
  gap: 8px;
  box-shadow: 0 10px 26px rgba(8, 21, 39, 0.08);
}

.mini-ui span {
  color: var(--muted);
  font-weight: 700;
}

.mini-ui strong {
  color: var(--teal);
}

.sync-strip,
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sync-strip span,
.pill-row span {
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--teal-dark);
  background: var(--white);
  border: 1px solid #c8e2da;
  font-size: 12px;
  font-weight: 900;
}

.privacy-band {
  background: var(--mint);
  padding: 88px 24px;
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(280px, 360px);
  justify-content: center;
  align-items: center;
  gap: 72px;
}

.privacy-copy h2 {
  text-align: left;
  margin-bottom: 16px;
}

.privacy-copy p {
  font-size: 17px;
  margin-bottom: 20px;
}

.privacy-panel {
  background: var(--white);
  padding: 12px;
  box-shadow: var(--shadow);
}

.privacy-row {
  min-height: 60px;
  border-radius: 8px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f6fbf9;
  margin-bottom: 8px;
}

.privacy-row:last-child {
  margin-bottom: 0;
}

.privacy-row span {
  color: var(--muted);
  font-weight: 800;
}

.privacy-row strong {
  color: var(--teal);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  text-align: center;
}

.step {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.step-phone {
  width: 152px;
  height: 232px;
  border: 6px solid #052f2d;
  border-radius: 28px;
  background: var(--white);
  padding: 42px 14px 14px;
  display: grid;
  align-content: start;
  gap: 14px;
  box-shadow: 0 18px 40px rgba(8, 21, 39, 0.12);
}

.step-phone span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.step-phone strong {
  min-height: 56px;
  border-radius: 8px;
  padding: 12px;
  display: grid;
  place-items: center;
  color: var(--teal);
  background: #eef8f3;
  font-size: 13px;
}

.step p {
  margin: 0;
  color: var(--teal);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.review-card {
  min-height: 150px;
  padding: 18px;
}

.review-card::before {
  content: "★★★★★";
  color: var(--gold);
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
}

.review-card strong {
  color: var(--ink);
}

.review-card p {
  margin-top: 8px;
  font-size: 14px;
}

.download-section {
  text-align: center;
}

.download-logo {
  width: min(280px, 78vw);
  height: auto;
  object-fit: contain;
  margin-bottom: 18px;
}

.download-section p {
  width: min(560px, 100%);
  margin: 14px auto 22px;
}

.centered-row {
  justify-content: center;
}

.install-note {
  width: min(650px, 100%);
  margin-inline: auto;
}

.footer {
  min-height: 150px;
  padding: 34px 24px;
  border-top: 1px solid var(--line);
  display: grid;
  place-items: center;
  gap: 10px;
  text-align: center;
  color: var(--muted);
}

.footer-brand {
  justify-content: center;
}

.footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .site-header {
    top: 8px;
    width: min(620px, calc(100% - 24px));
  }

  .section-band {
    width: 100%;
    margin-top: -54px;
    border-radius: 0 0 24px 24px;
  }

  .hero {
    padding: 138px 18px 44px;
    min-height: 760px;
  }

  .hero-visual {
    height: 332px;
    margin-top: 34px;
  }

  .phone {
    width: 206px;
    height: 318px;
  }

  .phone-left {
    transform: translateX(-92%) rotate(-12deg);
  }

  .phone-right {
    transform: translateX(-8%) rotate(12deg);
  }

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

  .large-card,
  .wide-card {
    grid-column: auto;
    grid-row: auto;
    min-height: 220px;
  }

  .privacy-band {
    gap: 28px;
  }

  .privacy-copy h2 {
    text-align: center;
  }

  .privacy-copy {
    text-align: center;
  }

  .pill-row {
    justify-content: center;
  }
}

@media (max-width: 540px) {
  .site-header {
    min-height: 52px;
  }

  .brand {
    font-size: 17px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .nav-download {
    margin-left: auto;
    min-height: 36px;
    padding: 0 12px;
    font-size: 13px;
  }

  .hero {
    min-height: 720px;
  }

  .download-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-visual {
    height: 270px;
  }

  .phone {
    width: 176px;
    height: 270px;
    border-width: 5px;
    border-radius: 28px;
  }

  .phone-screen {
    padding: 38px 13px 13px;
  }

  .phone-left {
    display: none;
  }

  .phone-right {
    transform: translateX(-12%) rotate(10deg);
    opacity: 0.9;
  }

  .phone-main {
    transform: translateX(-82%);
  }

  .features-section,
  .steps-section,
  .reviews-section,
  .download-section {
    width: min(100% - 28px, 920px);
    padding: 64px 0;
  }

  .privacy-band {
    padding: 64px 18px;
  }
}
