:root {
  --bg: #fffaf6;
  --surface: #ffffff;
  --ink: #281716;
  --muted: #735f5b;
  --line: #ecd8d0;
  --brand: #ff6748;
  --brand-dark: #8f1822;
  --gold: #ffcb37;
  --sage: #4a7c59;
  --blue: #426a8c;
  --shadow: 0 24px 70px rgba(143, 24, 34, 0.14);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(236, 216, 208, 0.78);
  background: rgba(255, 250, 246, 0.9);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a {
  padding: 8px 10px;
  border-radius: 999px;
}

.nav-links a:hover {
  background: #fff0e8;
  color: var(--brand-dark);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 420px);
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
  padding: clamp(56px, 8vw, 88px) clamp(20px, 6vw, 96px) 56px;
}

.hero-copy {
  max-width: 760px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 800;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(44px, 7vw, 76px);
  line-height: 1.05;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.14;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.lead,
.section p,
.copy-block p,
.tech-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.lead {
  max-width: 680px;
  margin-bottom: 30px;
  overflow-wrap: anywhere;
}

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

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  font-weight: 800;
}

.primary-action {
  color: #fff;
  background: var(--brand-dark);
}

.secondary-action {
  color: var(--brand-dark);
  border: 1px solid var(--line);
  background: var(--surface);
}

.phone-card {
  width: min(100%, 420px);
  justify-self: end;
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.phone-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.phone-top img {
  width: 56px;
  height: 56px;
  border-radius: 16px;
}

.phone-top strong,
.phone-top span {
  display: block;
}

.phone-top span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.search-pill {
  padding: 13px 16px;
  border: 1px solid #f2ddd5;
  border-radius: 14px;
  color: #8a6d66;
  background: #fff8f3;
  font-size: 14px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 18px 0;
}

.product-tile {
  min-height: 118px;
  border-radius: 18px;
}

.tile-coral {
  background: linear-gradient(135deg, #ff7a58, #ffd0bf);
}

.tile-gold {
  background: linear-gradient(135deg, #ffd35e, #fff2b7);
}

.tile-sage {
  background: linear-gradient(135deg, #70a676, #d4efd4);
}

.tile-blue {
  background: linear-gradient(135deg, #5f88aa, #d7e8f3);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid #f0dfd8;
  color: var(--muted);
  font-size: 14px;
  min-width: 0;
}

.summary-row strong {
  color: var(--ink);
  text-align: right;
  min-width: 0;
  overflow-wrap: anywhere;
}

.section {
  padding: 78px clamp(20px, 6vw, 96px);
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 80px);
  border-top: 1px solid var(--line);
  background: #fff;
}

.copy-block {
  max-width: 760px;
  min-width: 0;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fffaf6;
  color: #4b3834;
  font-weight: 700;
}

.feature-band {
  background: #2f1c1b;
  color: #fffaf6;
}

.section-heading {
  max-width: 780px;
  min-width: 0;
  margin-bottom: 32px;
}

.feature-band .eyebrow {
  color: var(--gold);
}

.feature-band p {
  color: #f3dcd2;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-grid article {
  min-height: 230px;
  padding: 24px;
  border: 1px solid rgba(255, 250, 246, 0.18);
  border-radius: 18px;
  background: rgba(255, 250, 246, 0.06);
}

.number {
  display: inline-flex;
  margin-bottom: 36px;
  color: var(--gold);
  font-weight: 900;
}

.compact {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
  background: #fff7f1;
}

.compact p {
  max-width: 760px;
}

.tech {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  background: var(--surface);
}

.tech-copy {
  max-width: 760px;
  min-width: 0;
}

.stack-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: flex-start;
}

.stack-list span {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fffaf6;
  color: #4a3834;
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(20px, 6vw, 96px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #fff;
}

.site-footer span:first-child {
  color: var(--ink);
  font-weight: 900;
}

@media (max-width: 860px) {
  .site-header {
    padding: 14px 18px;
  }

  .nav-links {
    gap: 2px;
  }

  .hero,
  .split,
  .compact,
  .tech {
    grid-template-columns: 1fr;
  }

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

  .phone-card {
    justify-self: stretch;
    width: 100%;
    max-width: 100%;
  }

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

@media (max-width: 560px) {
  .brand span {
    display: none;
  }

  .nav-links {
    display: none;
  }

  .nav-links a {
    padding: 8px;
  }

  h1 {
    font-size: 30px;
    line-height: 1.1;
    word-break: break-all;
  }

  h2,
  h3,
  .lead,
  .section p,
  .copy-block p,
  .tech-copy p,
  .check-list li {
    word-break: break-word;
  }

  .lead,
  .section p,
  .copy-block p,
  .tech-copy p {
    font-size: 16px;
  }

  .section {
    padding: 56px 18px;
  }

  .hero {
    padding: 38px 18px 34px;
  }

  .phone-card {
    padding: 20px;
    border-radius: 24px;
  }

  .phone-top {
    align-items: flex-start;
  }

  .phone-top img {
    width: 54px;
    height: 54px;
    flex: 0 0 auto;
  }

  .product-tile {
    min-height: 88px;
    border-radius: 16px;
  }

  .summary-row {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 10px;
    font-size: 13px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

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