:root {
  color-scheme: light;
  --ink: #1b1514;
  --muted: #6d5b58;
  --line: #eadedb;
  --paper: #fffbf1;
  --panel: #ffffff;
  --red: #f5a623;
  --red-deep: #8a5a0a;
  --gold: #d18a12;
  --gold-soft: #f9dfaa;
  --green: #284a3b;
  --shadow: 0 24px 60px rgba(138, 90, 10, 0.14);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC",
    "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 clamp(20px, 5vw, 72px);
  background: rgba(255, 251, 241, 0.9);
  border-bottom: 1px solid rgba(234, 222, 219, 0.72);
  backdrop-filter: blur(16px);
}

.brand,
.nav-links,
.hero-actions,
.hero-metrics,
.trust-strip,
.flow-list li,
.cta-section {
  display: flex;
  align-items: center;
}

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

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(115, 7, 11, 0.16);
}

.nav-links {
  gap: clamp(16px, 3vw, 36px);
  color: var(--muted);
  font-size: 14px;
}

.nav-links a:hover {
  color: var(--red);
}

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

.secondary-action {
  border: 1px solid var(--line);
  background: #ffffff;
}

.header-action {
  color: #4d3100;
  background: linear-gradient(135deg, #ffe08a, var(--red));
  border: 1px solid rgba(138, 90, 10, 0.28);
  box-shadow: 0 10px 26px rgba(245, 166, 35, 0.24);
}

.primary-action {
  color: #5f3c00;
  background: var(--red);
  box-shadow: 0 12px 32px rgba(245, 166, 35, 0.22);
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: clamp(28px, 5vw, 84px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(40px, 7vw, 96px) clamp(20px, 5vw, 72px) clamp(28px, 5vw, 68px);
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(245, 166, 35, 0.16), rgba(255, 251, 241, 0) 48%),
    var(--paper);
}

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

.hero-copy h1,
.section-heading h2,
.cta-section h2 {
  margin: 0;
  color: var(--red);
  font-weight: 900;
  letter-spacing: 0;
}

.hero-copy h1 {
  font-size: clamp(56px, 9vw, 118px);
  line-height: 0.96;
}

.hero-lead {
  max-width: 620px;
  margin: 28px 0 0;
  color: #3e302e;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.68;
}

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

.hero-metrics {
  flex-wrap: wrap;
  gap: 12px;
  margin: 36px 0 0;
}

.hero-metrics div {
  min-width: 150px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.hero-metrics dt {
  color: var(--red);
  font-size: 22px;
  font-weight: 900;
}

.hero-metrics dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: clamp(420px, 56vh, 560px);
  min-height: 420px;
  padding-top: 28px;
  overflow: hidden;
}

.phone {
  position: relative;
  width: auto;
  height: 100%;
  max-width: min(34vw, 260px);
  border-radius: 28px;
  box-shadow: var(--shadow);
  background: #ffffff;
  object-fit: cover;
  object-position: top center;
}

.phone-main {
  z-index: 2;
}

.phone-side {
  height: 88%;
  max-width: min(30vw, 230px);
  transform: scale(0.82);
  transform-origin: bottom left;
  margin-left: clamp(-88px, -8vw, -44px);
  z-index: 1;
}

.trust-strip {
  position: relative;
  z-index: 2;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1px;
  margin: 0 clamp(20px, 5vw, 72px);
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.trust-strip div {
  min-width: 180px;
  flex: 1;
  padding: 18px 16px;
  background: #ffffff;
  color: var(--red);
  text-align: center;
  font-weight: 800;
}

.section {
  position: relative;
  z-index: 2;
  padding: clamp(64px, 9vw, 120px) clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading h2,
.cta-section h2 {
  font-size: clamp(32px, 4.6vw, 58px);
  line-height: 1.1;
}

.section-heading p:not(.eyebrow),
.cta-section p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.78;
}

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

.feature-card {
  min-height: 240px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 28px;
  color: var(--red);
  background: #fff3d8;
  border: 1px solid #f1d186;
  border-radius: 8px;
  font-weight: 900;
}

.feature-card h3 {
  margin: 0;
  font-size: 22px;
}

.feature-card p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.72;
}

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

.screen-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.screen-gallery figure {
  margin: 0;
}

.screen-gallery img {
  width: 100%;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.screen-gallery figcaption {
  margin-top: 14px;
  color: var(--red);
  font-weight: 800;
  text-align: center;
}

.flow-section {
  background:
    linear-gradient(180deg, rgba(40, 74, 59, 0.08), rgba(251, 248, 246, 0) 54%),
    var(--paper);
}

.flow-list {
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  max-width: 920px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow-list li {
  gap: 24px;
  min-height: 76px;
  padding: 18px 22px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.flow-list strong {
  width: 120px;
  color: var(--red);
  font-size: 18px;
}

.flow-list span {
  color: var(--muted);
  line-height: 1.7;
}

.cta-section {
  align-items: stretch;
  justify-content: space-between;
  gap: clamp(24px, 5vw, 56px);
  margin: 0 clamp(20px, 5vw, 72px) clamp(40px, 5vw, 72px);
  padding: clamp(28px, 5vw, 54px);
  color: #4d3100;
  background:
    linear-gradient(110deg, rgba(255, 224, 138, 0.88), rgba(245, 166, 35, 0.76)),
    #fff8e8;
  border: 1px solid rgba(138, 90, 10, 0.2);
  border-radius: 8px;
  box-shadow: 0 26px 70px rgba(138, 90, 10, 0.16);
}

.contact-copy {
  max-width: 520px;
}

.cta-section h2 {
  color: #5f3c00;
  font-size: clamp(44px, 6vw, 76px);
}

.cta-section .eyebrow {
  color: #7d520b;
}

.cta-section p {
  color: #5f4b23;
}

.contact-card {
  width: min(100%, 620px);
  padding: clamp(20px, 3vw, 30px);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(138, 90, 10, 0.18);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(138, 90, 10, 0.12);
}

.contact-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.contact-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 14px;
  border-bottom: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
}

.contact-item:last-child {
  border-bottom: 0;
}

.contact-highlight {
  background: #fff5d8;
  border: 1px solid #efd083;
}

.contact-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #6f4700;
  background: linear-gradient(135deg, #ffe7a3, #f5a623);
  border: 1px solid rgba(138, 90, 10, 0.2);
  border-radius: 50%;
  box-shadow: 0 10px 22px rgba(138, 90, 10, 0.16);
}

.contact-icon svg,
.button-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-list dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.contact-list dd {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.contact-list a {
  color: #7d520b;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.contact-actions a {
  gap: 8px;
  min-width: 132px;
}

.cta-section .primary-action {
  color: #4d3100;
  background: linear-gradient(135deg, #ffe08a, var(--red));
  box-shadow: none;
  white-space: nowrap;
}

.cta-section .secondary-action {
  color: #5f3c00;
  background: #fff8e8;
  border-color: #e6c46a;
}

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

  .hero-section {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-visual {
    justify-content: flex-start;
    height: clamp(360px, 52vh, 480px);
    min-height: 360px;
  }

  .phone {
    max-width: min(44vw, 240px);
  }

  .phone-main {
    left: auto;
    right: auto;
  }

  .phone-side {
    right: auto;
  }

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

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

  .header-action {
    display: none;
  }

  .hero-section {
    padding-top: 36px;
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-visual {
    height: 340px;
    min-height: 340px;
    overflow: hidden;
  }

  .phone {
    border-radius: 20px;
  }

  .phone-main {
    width: auto;
    max-width: 48vw;
    left: auto;
  }

  .phone-side {
    width: auto;
    max-width: 42vw;
    top: auto;
    margin-left: -72px;
  }

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

  .screen-gallery {
    max-width: 360px;
    margin: 0 auto;
  }

  .flow-list li,
  .cta-section {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-item {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
  }

  .contact-icon {
    width: 40px;
    height: 40px;
  }

  .flow-list strong {
    width: auto;
  }
}
