:root {
  color-scheme: light dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  line-height: 1.6;
  --ink: #17211d;
  --muted: #56645e;
  --paper: #ffffff;
  --canvas: #f3f5f1;
  --line: #dfe6e1;
  --brand: #4e6670;
  --brand-deep: #30474f;
  --accent: #b4543d;
  --sage: #e4ebe3;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #f5f7f4;
  color: #17211d;
}

body:not(.landing-page) main {
  width: min(920px, calc(100% - 32px));
  margin: 32px auto 64px;
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid #dfe6e1;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(36, 61, 49, 0.08);
}

body:not(.landing-page) nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid #dfe6e1;
}

a { color: #315f53; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { line-height: 1.2; }
body:not(.landing-page) h1 { margin: 0 0 8px; font-size: clamp(2rem, 6vw, 3.25rem); }
body:not(.landing-page) h2 { margin-top: 36px; font-size: 1.35rem; }
body:not(.landing-page) h3 { margin-top: 24px; font-size: 1.05rem; }
.muted { color: #56645e; }
.lead { font-size: 1.08rem; }
.card {
  margin: 20px 0;
  padding: 18px 20px;
  border-radius: 14px;
  background: #eef4f0;
}
.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  margin-top: 28px;
}
.link-card {
  display: block;
  padding: 18px;
  border: 1px solid #d7e2db;
  border-radius: 14px;
  text-decoration: none;
}
.link-card strong { display: block; color: #17211d; }
address { font-style: normal; }
li + li { margin-top: 7px; }

.landing-page {
  min-height: 100vh;
  background: var(--canvas);
  color: var(--ink);
  color-scheme: light;
}

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

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img {
  border-radius: 12px;
  box-shadow: 0 5px 14px rgba(38, 56, 62, 0.16);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover { color: var(--accent); }

.landing-shell {
  overflow: hidden;
  border: 1px solid rgba(78, 102, 112, 0.15);
  border-radius: 30px;
  background: var(--paper);
  box-shadow: 0 24px 68px rgba(45, 65, 54, 0.1);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  min-height: 680px;
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  align-self: center;
  padding: clamp(52px, 8vw, 96px);
  padding-right: clamp(32px, 5vw, 68px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 650px;
  margin: 0;
  color: var(--brand-deep);
  font-size: clamp(2.9rem, 5.6vw, 5.7rem);
  font-weight: 760;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.hero-lead {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-top: 30px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 750;
  text-decoration: none;
}

.hero-visual {
  display: grid;
  place-items: center;
  padding: 54px 36px;
  background: var(--sage);
}

.phone {
  position: relative;
  overflow: hidden;
  border: 5px solid #25363c;
  border-radius: 27px;
  background: #25363c;
  box-shadow: 0 22px 50px rgba(37, 54, 60, 0.23);
}

.phone::after {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 30%;
  height: 7px;
  border-radius: 999px;
  background: rgba(20, 32, 36, 0.92);
  content: "";
  transform: translateX(-50%);
}

.phone img {
  display: block;
  width: 100%;
  height: auto;
}

.phone-hero { width: min(300px, 82%); }

.product-section,
.plans-section,
.legal-section {
  padding: clamp(62px, 8vw, 96px) clamp(26px, 8vw, 92px);
}

.section-heading { max-width: 760px; }
.section-heading h2 {
  margin: 0;
  color: var(--brand-deep);
  font-size: clamp(2rem, 4vw, 3.3rem);
  letter-spacing: -0.045em;
}
.section-heading > p:last-child {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.product-story {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(42px, 8vw, 96px);
  margin-top: clamp(70px, 10vw, 120px);
}

.product-story-reverse .story-screen { order: 2; }
.product-story-reverse .story-copy { order: 1; }

.story-screen {
  display: flex;
  justify-content: center;
  min-width: 0;
  padding: 32px;
  border-radius: 28px;
  background: var(--sage);
}

.story-screen .phone { width: min(260px, 82%); }
.story-screen-pair { gap: 18px; padding-inline: 18px; }
.story-screen-pair .phone { width: min(220px, 47%); }

.story-copy h3 {
  margin: 0 0 18px;
  color: var(--brand-deep);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  letter-spacing: -0.035em;
}

.story-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.story-copy p + p { margin-top: 14px; }

.plans-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #f7f8f6;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.plan-card {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
}

.plan-card-sync { border-color: rgba(78, 102, 112, 0.46); }
.plan-name {
  margin: 0;
  color: var(--accent);
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.plan-price {
  margin: 10px 0 24px;
  color: var(--brand-deep);
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  font-weight: 760;
  line-height: 1.15;
}
.plan-card ul { margin: 0; padding-left: 20px; color: var(--muted); }

.legal-section .link-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.legal-section .link-card {
  color: var(--brand-deep);
  background: #fff;
  transition: border-color 160ms ease;
}
.legal-section .link-card:hover { border-color: var(--accent); }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 0.88rem;
}

@media (max-width: 850px) {
  .hero { grid-template-columns: 1fr; }
  .hero-visual { min-height: 610px; }
  .product-story { grid-template-columns: 1fr; gap: 38px; }
  .product-story-reverse .story-screen,
  .product-story-reverse .story-copy { order: initial; }
  .story-copy { max-width: 680px; }
  .legal-section .link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .site-header,
  .site-footer { width: min(100% - 28px, 1160px); }
  .site-header { align-items: flex-start; }
  .site-nav { justify-content: flex-end; gap: 8px 13px; }
  .site-nav a:nth-child(2),
  .site-nav a:nth-child(3) { display: none; }
  .landing-shell {
    width: 100%;
    border-inline: 0;
    border-radius: 0;
  }
  .hero { min-height: auto; }
  .hero-copy { padding: 52px 24px 46px; }
  .hero h1 { font-size: clamp(2.8rem, 14vw, 4.3rem); }
  .hero-visual { min-height: 540px; padding: 42px 20px; }
  .phone-hero { width: min(270px, 76%); }
  .product-section,
  .plans-section,
  .legal-section { padding-inline: 24px; }
  .story-screen { padding: 24px 12px; }
  .story-screen-pair { gap: 10px; }
  .plan-grid,
  .legal-section .link-grid { grid-template-columns: 1fr; }
  .site-footer { flex-direction: column; padding-bottom: 28px; }
}

@media (prefers-color-scheme: dark) {
  body:not(.landing-page) { background: #101512; color: #e8efe9; }
  body:not(.landing-page) main { border-color: #344139; background: #18201c; box-shadow: none; }
  body:not(.landing-page) nav { border-color: #344139; }
  body:not(.landing-page) a { color: #9bc8b8; }
  body:not(.landing-page) .muted { color: #b7c4bc; }
  body:not(.landing-page) .card { background: #222d27; }
  body:not(.landing-page) .link-card { border-color: #3a4941; }
  body:not(.landing-page) .link-card strong { color: #e8efe9; }
}

@media (max-width: 560px) {
  body:not(.landing-page) main {
    width: 100%;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
}
