:root {
  --brand: #b75a52;
  --brand-soft: #d47b72;
  --brand-deep: #7f3935;
  --brand-bg: #fff3f1;
  --green: #4faf83;
  --green-bg: #eff8f3;
  --blue: #4f8fc8;
  --amber: #c68b2f;
  --ink: #242221;
  --text: #5d5652;
  --muted: #8a817d;
  --line: #eee5e0;
  --page: #f8f5f3;
  --card: #ffffff;
  --shadow: 0 24px 70px rgba(73, 42, 38, 0.1);
  --shadow-soft: 0 12px 34px rgba(73, 42, 38, 0.08);
  --radius: 8px;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-size: 16px;
  line-height: 1.7;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 clamp(20px, 5vw, 72px);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(238, 229, 224, 0.72);
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 30px rgba(70, 43, 39, 0.08);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand {
  color: var(--brand-deep);
  font-size: clamp(16px, 2vw, 20px);
  white-space: nowrap;
}

.brand-copy {
  display: grid;
  gap: 1px;
  line-height: 1.2;
}

.brand-copy strong {
  font-size: 18px;
}

.brand-copy small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.brand img,
.footer-brand img {
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(183, 90, 82, 0.2);
}

.desktop-nav {
  display: flex;
  gap: 28px;
  color: var(--text);
  font-size: 15px;
}

.desktop-nav a {
  transition: color 160ms ease;
}

.desktop-nav a:hover {
  color: var(--brand);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
}

.menu-button span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 6px auto;
  background: var(--ink);
}

.mobile-nav {
  position: fixed;
  top: 72px;
  left: 16px;
  right: 16px;
  z-index: 29;
  display: none;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.mobile-nav.is-open {
  display: grid;
}

.mobile-nav a {
  padding: 12px 14px;
  color: var(--text);
}

.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 118px clamp(22px, 7vw, 96px) 86px;
  background:
    radial-gradient(circle at 86% 26%, rgba(79, 143, 200, 0.16), transparent 32%),
    radial-gradient(circle at 76% 78%, rgba(79, 175, 131, 0.16), transparent 34%),
    linear-gradient(116deg, #fff 0%, #fff7f5 54%, #f6fbf8 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: var(--line);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(46px, 6.4vw, 82px);
  line-height: 1.08;
  letter-spacing: 0;
}

.title-accent {
  color: var(--brand);
}

.hero-subtitle {
  max-width: 620px;
  margin-bottom: 34px;
  color: var(--text);
  font-size: clamp(20px, 2vw, 25px);
  line-height: 1.66;
}

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

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 26px;
  border-radius: var(--radius);
  font-weight: 800;
}

.primary-action {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-soft));
  box-shadow: 0 14px 28px rgba(183, 90, 82, 0.22);
}

.primary-action:hover {
  background: linear-gradient(135deg, var(--brand-deep), var(--brand));
}

.primary-action.light {
  color: var(--brand-deep);
  background: #fff;
  box-shadow: none;
}

.secondary-action {
  color: var(--brand-deep);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(183, 90, 82, 0.2);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-top: 42px;
}

.hero-trust span {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brand-deep);
  font-size: 14px;
  font-weight: 700;
}

.hero-trust span::before {
  content: "";
  width: 2px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--brand), rgba(183, 90, 82, 0.18));
}

.hero-visual {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ambient-card,
.phone-shell,
.care-card {
  position: absolute;
  border: 1px solid rgba(238, 229, 224, 0.82);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.ambient-card {
  width: 280px;
  height: 170px;
}

.card-a {
  right: clamp(80px, 9vw, 150px);
  top: 146px;
  transform: rotate(-5deg);
}

.card-b {
  right: clamp(20px, 5vw, 80px);
  bottom: 128px;
  width: 220px;
  height: 138px;
  transform: rotate(8deg);
  border-color: rgba(79, 175, 131, 0.18);
}

.phone-shell {
  right: clamp(88px, 13vw, 220px);
  top: 206px;
  width: 282px;
  height: 470px;
  padding: 22px;
}

.phone-status {
  width: 88px;
  height: 8px;
  margin: 0 auto 30px;
  border-radius: 999px;
  background: #ddd2cd;
}

.phone-hero-card {
  height: 138px;
  padding: 22px;
  color: #fff;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--brand), var(--brand-soft));
}

.phone-hero-card span {
  display: block;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

.phone-hero-card strong {
  font-size: 28px;
  line-height: 1.2;
}

.phone-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.phone-list div {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
}

.phone-list span {
  height: 44px;
  border-radius: 12px;
  background: var(--brand-bg);
}

.phone-list em {
  height: 12px;
  border-radius: 999px;
  background: #eadeda;
}

.phone-action {
  height: 48px;
  margin-top: 30px;
  border-radius: var(--radius);
  background: var(--green);
}

.care-card {
  right: clamp(36px, 7vw, 112px);
  top: 520px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
}

.care-card p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.care-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 8px var(--green-bg);
}

.section {
  padding: 92px clamp(20px, 6vw, 84px);
}

.section-inner {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.section-head {
  max-width: 700px;
  margin-bottom: 38px;
}

.section-head.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-head h2,
.contact-inner h2 {
  margin-bottom: 14px;
  font-size: clamp(32px, 4.1vw, 52px);
  line-height: 1.18;
}

.section-head p,
.contact-inner p {
  color: var(--text);
  font-size: 18px;
}

.scope-section,
.standard-section,
.faq-section {
  background: #fff;
}

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

.scope-card,
.scenario-item,
.boundary-item,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.scope-card {
  min-height: 230px;
  padding: 28px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.scope-card:hover {
  transform: translateY(-4px);
  border-color: rgba(183, 90, 82, 0.22);
  box-shadow: var(--shadow-soft);
}

.primary-scope {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-deep), var(--brand));
}

.quiet-scope {
  background: linear-gradient(180deg, #fff, #f8fbf9);
}

.scope-number {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.primary-scope .scope-number,
.primary-scope p {
  color: #fff;
}

.scope-card h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.35;
}

.scope-card p,
.scenario-item span,
.boundary-item span,
.standard-grid p,
.faq-list p {
  margin-bottom: 0;
  color: var(--text);
}

.primary-scope .scope-number,
.primary-scope p {
  color: #fff;
}

.scenario-layout,
.boundary-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: 48px;
  align-items: start;
}

.scenario-list,
.boundary-grid,
.faq-list {
  display: grid;
  gap: 14px;
}

.scenario-item {
  display: grid;
  gap: 8px;
  padding: 25px 28px;
}

.scenario-item strong,
.boundary-item strong {
  font-size: 21px;
}

.standard-panel {
  overflow: hidden;
  padding: clamp(32px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(120deg, rgba(183, 90, 82, 0.08), rgba(79, 175, 131, 0.08)),
    #fff;
  box-shadow: var(--shadow-soft);
}

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

.standard-grid div {
  padding: 20px 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.85);
}

.standard-grid span {
  display: block;
  margin-bottom: 24px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
}

.standard-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}

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

.boundary-item {
  display: grid;
  gap: 8px;
  padding: 24px;
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
}

.faq-list details {
  padding: 0 22px;
}

.faq-list summary {
  cursor: pointer;
  padding: 22px 0;
  color: var(--ink);
  font-size: 19px;
  font-weight: 800;
}

.faq-list p {
  padding: 0 0 22px;
}

.contact-band {
  padding: 76px clamp(20px, 6vw, 84px);
  color: #fff;
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 255, 255, 0.2), transparent 26%),
    linear-gradient(135deg, var(--brand-deep), var(--brand));
}

.contact-band .eyebrow,
.contact-band p {
  color: rgba(255, 255, 255, 0.82);
}

.contact-inner {
  justify-content: space-between;
}

.contact-inner > div {
  max-width: 720px;
}

.site-footer {
  padding: 26px clamp(20px, 6vw, 84px);
  background: #fff;
  border-top: 1px solid var(--line);
}

.footer-inner {
  width: min(1160px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.footer-brand div,
.footer-links {
  display: grid;
  gap: 2px;
}

.footer-brand span,
.footer-company span,
.footer-links {
  color: var(--muted);
  font-size: 14px;
}

.footer-company {
  display: grid;
  gap: 2px;
}

.footer-company strong {
  color: var(--brand-deep);
  font-size: 16px;
}

.footer-links {
  justify-items: end;
}

.footer-links a:hover {
  color: var(--brand);
}

.error-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 82% 18%, rgba(79, 143, 200, 0.13), transparent 28%),
    linear-gradient(135deg, #fff, #fff7f5 58%, #f6fbf8);
}

.error-main {
  width: min(900px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 48px 0;
  display: grid;
  align-content: center;
  gap: 42px;
}

.error-brand {
  justify-self: start;
}

.error-panel {
  max-width: 680px;
}

.error-panel h1 {
  font-size: clamp(42px, 7vw, 76px);
}

.error-panel p {
  color: var(--text);
  font-size: 20px;
}

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

  .menu-button {
    display: block;
  }

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

  .hero-visual {
    opacity: 0.36;
  }

  .phone-shell {
    right: -46px;
    top: 150px;
    transform: scale(0.88);
  }

  .ambient-card,
  .care-card {
    display: none;
  }

  .scope-grid,
  .scenario-layout,
  .standard-grid,
  .boundary-layout,
  .boundary-grid {
    grid-template-columns: 1fr;
  }

  .section-head.centered {
    text-align: left;
  }

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

  .footer-links {
    justify-items: start;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  .site-header {
    height: 66px;
    padding: 0 16px;
  }

  .brand {
    max-width: calc(100vw - 86px);
    overflow: hidden;
    font-size: 16px;
    text-overflow: ellipsis;
  }

  .brand-copy small {
    display: none;
  }

  .mobile-nav {
    top: 66px;
  }

  .hero {
    padding: 106px 20px 58px;
  }

  .hero-visual {
    opacity: 0.2;
  }

  .phone-shell {
    right: -120px;
    top: 172px;
  }

  h1 {
    font-size: 43px;
  }

  .hero-subtitle {
    font-size: 19px;
  }

  .section {
    padding: 68px 20px;
  }

  .scope-card {
    min-height: auto;
  }

  .scope-number {
    margin-bottom: 30px;
  }

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