:root {
  --ink: #241716;
  --muted: #6b5952;
  --cream: #f8efe6;
  --paper: #fffaf5;
  --accent: #b76668;
  --accent-dark: #7f303c;
  --mint: #f3dfdc;
  --coral: #c58b6a;
  --line: rgba(36, 23, 22, 0.14);
  --shadow: 0 24px 70px rgba(70, 39, 35, 0.14);
  font-family: Inter, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.5;
}

img,
video {
  display: block;
  max-width: 100%;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 22px clamp(20px, 4vw, 64px);
  background: rgba(251, 244, 232, 0.86);
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.hero-actions,
.business-cards,
.footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  font-size: 24px;
  color: var(--ink);
}

.brand-mark {
  width: 38px;
  height: 38px;
  border: 3px solid var(--accent-dark);
  border-radius: 50%;
  position: relative;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: var(--accent-dark);
}

.brand-mark::before {
  width: 14px;
  height: 3px;
  left: 10px;
  top: 16px;
  transform: rotate(35deg);
}

.brand-mark::after {
  width: 8px;
  height: 8px;
  right: 7px;
  top: 7px;
}

.nav {
  justify-content: center;
  gap: clamp(18px, 3vw, 48px);
  font-size: 18px;
}

.nav a {
  padding: 8px 0;
}

.nav a.active {
  color: var(--accent-dark);
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(17, 37, 28, 0.14);
}

.button-primary {
  color: #fff;
  background: var(--accent-dark);
}

.button-outline {
  background: transparent;
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.78);
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.menu-toggle {
  display: none;
}

.section-shell {
  width: min(1440px, calc(100% - 40px));
  margin: 0 auto;
  scroll-margin-top: 130px;
}

.hero {
  padding-top: 38px;
}

.hero-card {
  position: relative;
  min-height: clamp(560px, 70vh, 760px);
  overflow: hidden;
  border-radius: 34px;
  box-shadow: var(--shadow);
  background: #dfe7de;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(18, 34, 28, 0.72) 0%, rgba(18, 34, 28, 0.38) 42%, rgba(18, 34, 28, 0.06) 100%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(720px, 88%);
  padding: clamp(46px, 6vw, 82px) clamp(28px, 7vw, 96px);
  color: #fff;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f2c8c1;
}

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

h1 {
  margin-bottom: 24px;
  font-size: clamp(42px, 4.8vw, 72px);
  line-height: 1.06;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(36px, 4.2vw, 68px);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

p {
  color: var(--muted);
  font-size: 18px;
}

.hero-subtitle {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(18px, 1.55vw, 22px);
}

.hero-actions {
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.chat-chip,
.voice-pill {
  position: absolute;
  z-index: 3;
  border-radius: 999px;
  box-shadow: 0 16px 36px rgba(17, 37, 28, 0.16);
}

.chat-chip {
  max-width: min(360px, 42vw);
  padding: 16px 22px;
  background: rgba(255, 250, 245, 0.93);
  font-weight: 700;
}

.chip-one {
  right: 12%;
  top: 25%;
}

.chip-two {
  right: 7%;
  bottom: 26%;
  background: #f3dfdc;
}

.voice-pill {
  right: 25%;
  bottom: 16%;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 12px 18px;
  background: #fff;
}

.voice-pill span {
  display: block;
  width: 5px;
  border-radius: 999px;
  background: var(--accent-dark);
}

.voice-pill span:nth-child(1) { height: 16px; }
.voice-pill span:nth-child(2) { height: 30px; }
.voice-pill span:nth-child(3) { height: 22px; }
.voice-pill span:nth-child(4) { height: 36px; }

.hero-note {
  margin: 22px 0 0;
  text-align: right;
  font-size: 15px;
}

.claim-band {
  padding: clamp(88px, 11vw, 150px) 0;
  text-align: center;
}

.claim-band h2 {
  width: min(1160px, 100%);
  margin-inline: auto;
}

.claim-band p {
  width: min(780px, 100%);
  margin-inline: auto;
  font-size: 23px;
}

.split-section,
.video-proof,
.metrics-section,
.business-section,
.contact-section {
  display: grid;
  gap: clamp(34px, 6vw, 82px);
  align-items: center;
  padding: clamp(58px, 8vw, 116px) 0;
}

.split-section,
.video-proof {
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
}

.split-section.reverse {
  grid-template-columns: minmax(360px, 1.08fr) minmax(0, 0.92fr);
}

.split-section.reverse .section-copy {
  order: 2;
}

.section-copy p,
.video-proof p,
.space-copy p,
.contact-section p {
  font-size: 21px;
}

.media-panel {
  overflow: hidden;
  border-radius: 30px;
  background: #d8ece0;
  box-shadow: var(--shadow);
}

.media-panel.light {
  background: #fff9ef;
}

.media-panel img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.flow-grid,
.pill-list,
.step-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  padding: 0;
}

.flow-grid span,
.pill-list span,
.step-list li {
  list-style: none;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-weight: 700;
}

.video-proof {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.phone-frame {
  justify-self: center;
  width: min(360px, 100%);
  padding: 14px;
  border-radius: 34px;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.phone-frame video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 24px;
  background: #000;
}

.metrics-section {
  grid-template-columns: 0.85fr 1.15fr;
}

.metrics-card {
  padding: clamp(34px, 5vw, 60px);
  border-radius: 30px;
  background: linear-gradient(135deg, #241716, #5b2630);
  color: #fff;
}

.metrics-card .eyebrow {
  color: #f2c8c1;
}

.metrics-card p {
  color: rgba(255, 255, 255, 0.78);
}

.metric-list {
  display: grid;
  gap: 18px;
}

.metric-list article,
.strategy-grid article,
.business-cards article,
.team-grid article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 250, 242, 0.82);
}

.metric-list span,
.engine-orbit span {
  color: var(--accent-dark);
  font-weight: 900;
}

.strategy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: clamp(58px, 8vw, 112px) 0;
}

.section-heading {
  grid-column: 1 / -1;
}

.section-heading.narrow {
  width: min(820px, 100%);
  margin: 0 auto 34px;
  text-align: center;
}

.engine-section {
  padding: clamp(58px, 8vw, 112px) 0;
}

.engine-orbit {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.engine-orbit article {
  min-height: 260px;
  padding: 26px;
  border-radius: 28px;
  background: linear-gradient(180deg, #fffaf5, #f4ded8);
  border: 1px solid var(--line);
}

.business-section {
  grid-template-columns: 0.72fr 1.28fr;
}

.business-cards {
  align-items: stretch;
  gap: 16px;
  flex-wrap: wrap;
}

.business-cards article {
  flex: 1 1 230px;
}

.trust-section {
  padding: clamp(58px, 8vw, 112px) 0;
}

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

.trust-row article {
  min-height: 210px;
  padding: 30px;
  border-radius: 28px;
  background: #fffaf2;
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(17, 37, 28, 0.08);
}

.trust-row span {
  display: inline-flex;
  margin-bottom: 26px;
  width: 70px;
  height: 70px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--mint);
  color: var(--accent-dark);
  font-weight: 900;
}

.space-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: center;
  padding: clamp(58px, 8vw, 112px) 0;
}

.space-map {
  position: relative;
  min-height: 420px;
  border-radius: 34px;
  background: radial-gradient(circle at 40% 45%, rgba(183, 102, 104, 0.24), transparent 28%),
    linear-gradient(135deg, #241716, #66303a);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.space-map::before,
.space-map::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.space-map::before {
  inset: 70px;
}

.space-map::after {
  inset: 130px;
}

.space-map span {
  position: absolute;
  padding: 14px 18px;
  border-radius: 999px;
  background: #fff;
  font-weight: 800;
}

.space-map span:nth-child(1) {
  top: 70px;
  left: 60px;
}

.space-map span:nth-child(2) {
  right: 58px;
  top: 165px;
}

.space-map span:nth-child(3) {
  left: 44%;
  bottom: 66px;
}

.team-section {
  padding: clamp(58px, 8vw, 112px) 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.team-grid img {
  width: 76px;
  height: 76px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 18px;
  background: var(--mint);
}

.team-grid p {
  font-size: 15px;
}

.contact-section {
  grid-template-columns: minmax(0, 1fr) auto;
  margin-bottom: 48px;
  padding: clamp(42px, 6vw, 78px);
  border-radius: 34px;
  background: var(--ink);
  color: #fff;
}

.contact-section .eyebrow {
  color: #f2c8c1;
}

.contact-section p {
  color: rgba(255, 255, 255, 0.76);
}

.footer {
  justify-content: space-between;
  gap: 16px;
  padding: 34px clamp(20px, 4vw, 64px);
  background: #241716;
  color: rgba(255, 255, 255, 0.68);
}

.footer span:first-child {
  color: #fff;
  font-weight: 800;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .menu-toggle {
    display: inline-grid;
    justify-self: end;
    gap: 6px;
    width: 48px;
    height: 48px;
    border: 2px solid var(--ink);
    border-radius: 50%;
    background: transparent;
    place-content: center;
  }

  .menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--ink);
  }

  .nav,
  .header-cta {
    display: none;
  }

  .nav.open {
    display: grid;
    grid-column: 1 / -1;
    justify-content: stretch;
    gap: 10px;
    padding-top: 16px;
  }

  .nav.open a {
    padding: 14px 0;
    border-top: 1px solid var(--line);
  }

  .split-section,
  .split-section.reverse,
  .video-proof,
  .metrics-section,
  .business-section,
  .space-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .split-section.reverse .section-copy {
    order: 0;
  }

  .strategy-grid,
  .engine-orbit,
  .team-grid,
  .trust-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-card {
    min-height: 620px;
  }

  .chat-chip,
  .voice-pill {
    display: none;
  }
}

@media (max-width: 640px) {
  .section-shell {
    width: min(100% - 28px, 1440px);
  }

  .hero {
    padding-top: 18px;
  }

  .hero-card,
  .media-panel,
  .contact-section {
    border-radius: 22px;
  }

  .hero-copy {
    padding: 42px 24px;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 34px;
  }

  p,
  .section-copy p,
  .video-proof p,
  .space-copy p,
  .contact-section p {
    font-size: 17px;
  }

  .strategy-grid,
  .engine-orbit,
  .team-grid,
  .trust-row {
    grid-template-columns: 1fr;
  }

  .space-map {
    min-height: 320px;
  }

  .space-map span:nth-child(2) {
    right: 20px;
  }

  .space-map span:nth-child(3) {
    left: 26px;
  }

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