/* ============================================================
   神算子 · 国学八字命理
   风格：中国水墨古典风（宣纸 / 墨色 / 朱砂印章 / 竖排题字）
   ============================================================ */

:root {
  --paper: #f6efdf;
  --paper-2: #efe6d0;
  --paper-3: #e9debf;
  --ink: #26211a;
  --ink-2: #4a4436;
  --ink-3: #6f6757;
  --faint: #8d8477;
  --red: #9e2b25;
  --red-strong: #7e201c;
  --red-soft: rgba(158, 43, 37, 0.1);
  --gold: #b0812f;
  --grad-red: linear-gradient(135deg, #b8322a, #8f241f);
  --radius: 14px;
  --shadow: 0 18px 46px rgba(60, 48, 30, 0.18);
  --font-body: "Noto Serif SC", "Songti SC", "STSong", "SimSun",
    "KaiTi", serif;
  --font-script: "Ma Shan Zheng", "KaiTi", "STKaiti", "FangSong",
    "Songti SC", cursive;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 78px;
}

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* 宣纸颗粒纹理 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  mix-blend-mode: multiply;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.07'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

/* ---------------- 通用按钮 ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.68em 1.5em;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.2s ease, border-color 0.2s ease,
    background 0.2s ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--grad-red);
  color: #f8f1e2;
  border-color: var(--red-strong);
  box-shadow: 0 8px 22px rgba(158, 43, 37, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(158, 43, 37, 0.4);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(38, 33, 26, 0.35);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--ink);
  background: rgba(38, 33, 26, 0.06);
}

.btn-lg {
  padding: 0.82em 1.9em;
  font-size: 1.08rem;
}

.btn-sm {
  padding: 0.42em 0.95em;
  font-size: 0.85rem;
}

/* 按钮内的小印章 */
.btn-seal {
  display: inline-grid;
  place-items: center;
  width: 1.5em;
  height: 1.5em;
  background: #f8f1e2;
  color: var(--red-strong);
  font-family: var(--font-script);
  font-size: 0.92em;
  border-radius: 3px;
  box-shadow: inset 0 0 0 1px rgba(126, 32, 28, 0.4);
}

/* ---------------- 顶部导航 ---------------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(246, 239, 223, 0.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.nav.scrolled {
  border-bottom-color: rgba(38, 33, 26, 0.12);
  box-shadow: 0 6px 24px rgba(60, 48, 30, 0.08);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  height: 66px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-script);
  font-size: 1.5rem;
  letter-spacing: 0.1em;
}

.brand-seal {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: var(--grad-red);
  color: #f8f1e2;
  display: grid;
  place-items: center;
  font-family: var(--font-script);
  font-size: 1.1rem;
  box-shadow: inset 0 0 0 2px rgba(248, 241, 226, 0.3),
    0 4px 10px rgba(158, 43, 37, 0.28);
}

/* 头像位：图片加载后替换印章，缺失时印章兜底 */
.brand-avatar {
  display: inline-flex;
}

.brand-avatar img {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(158, 43, 37, 0.28);
}

.nav-links {
  margin-left: auto;
  display: flex;
  gap: 6px;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: 6px;
  color: var(--ink-2);
  font-size: 0.98rem;
  letter-spacing: 0.04em;
  transition: color 0.2s ease, background 0.2s ease;
}

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

.nav-cta {
  padding: 0.5em 1.15em;
  font-size: 0.92rem;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid rgba(38, 33, 26, 0.25);
  width: 40px;
  height: 40px;
  border-radius: 6px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 20px 18px;
  border-top: 1px solid rgba(38, 33, 26, 0.1);
}

.nav-mobile a:not(.btn) {
  padding: 12px 8px;
  border-radius: 6px;
  color: var(--ink-2);
  font-size: 1rem;
  letter-spacing: 0.06em;
}

.nav-mobile a:hover {
  color: var(--red);
  background: var(--red-soft);
}

.nav-mobile .btn {
  margin-top: 8px;
}

/* ---------------- Hero 卷首 ---------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 130px 24px 90px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(720px 420px at 82% 16%, rgba(176, 129, 47, 0.14), transparent 62%),
    radial-gradient(640px 460px at 12% 22%, rgba(158, 43, 37, 0.07), transparent 60%),
    linear-gradient(180deg, #faf5e9 0%, var(--paper) 52%, var(--paper-2) 100%);
}

/* 红日 */
.hero-sun {
  position: absolute;
  top: 108px;
  right: 9%;
  width: 148px;
  height: 148px;
  border-radius: 50%;
  background: radial-gradient(circle at 42% 36%, #f0c79b, #dc9267 58%, rgba(220, 146, 103, 0) 74%);
  opacity: 0.85;
}

/* 水墨远山 */
.ink-mountains {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 42%;
  min-height: 220px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 60px;
  align-items: center;
  z-index: 2;
}

.hero-copy {
  animation: rise-in 0.7s ease both;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 4px;
  background: var(--red-soft);
  border: 1px solid rgba(158, 43, 37, 0.35);
  color: var(--red);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  margin-bottom: 24px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse-dot 2s ease-out infinite;
}

.hero-title {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(3rem, 8vw, 5rem);
  line-height: 1.22;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin-bottom: 16px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}

.hero-sub {
  color: var(--ink-3);
  font-size: 1.12rem;
  max-width: 30em;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.hero-stats {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
}

.stat strong {
  display: block;
  font-family: var(--font-script);
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--red-strong);
  margin-bottom: 2px;
}

.stat span {
  color: var(--faint);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}

/* ---------------- 名帖 · 在线问命入口卡片 ---------------- */
.mt-wrap {
  position: relative;
  animation: rise-in 0.7s 0.12s ease both;
  display: flex;
  justify-content: center;
}

.mt-card {
  position: relative;
  width: 100%;
  max-width: 372px;
  background: linear-gradient(180deg, #faf4e4, #f2ead4);
  border: 1px solid rgba(158, 43, 37, 0.55);
  border-radius: var(--radius);
  padding: 10px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* 名帖双重红框 */
.mt-card::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(158, 43, 37, 0.38);
  border-radius: 9px;
  pointer-events: none;
}

.mt-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(60, 48, 30, 0.26);
}

.mt-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 16px 12px;
  border-bottom: 1px dashed rgba(158, 43, 37, 0.3);
}

.mt-seal {
  padding: 3px 8px;
  background: var(--grad-red);
  color: #f8f1e2;
  font-family: var(--font-script);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px rgba(248, 241, 226, 0.35);
}

.mt-avatar {
  display: inline-flex;
}

.mt-avatar img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(60, 48, 30, 0.28);
}

.mt-title {
  color: var(--ink-2);
  font-size: 0.92rem;
  letter-spacing: 0.16em;
}

.mt-body {
  position: relative;
  padding: 24px 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
}

/* 主入口按钮 */
.mt-entry {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 24px 16px;
  background: var(--grad-red);
  color: #f8f1e2;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px rgba(248, 241, 226, 0.35);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mt-entry:hover {
  transform: translateY(-3px);
  box-shadow: inset 0 0 0 1px rgba(248, 241, 226, 0.5), 0 14px 30px rgba(158, 43, 37, 0.35);
}

.mt-entry-seal {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: #f8f1e2;
  color: var(--red-strong);
  display: grid;
  place-items: center;
  font-family: var(--font-script);
  font-size: 1.9rem;
  margin-bottom: 2px;
}

.mt-entry strong {
  font-family: var(--font-script);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.1em;
}

.mt-entry em {
  font-style: normal;
  font-size: 0.82rem;
  color: rgba(248, 241, 226, 0.75);
  letter-spacing: 0.08em;
}

.mt-tip {
  text-align: center;
  color: var(--ink-3);
  font-size: 0.88rem;
  letter-spacing: 0.03em;
}

.mt-quick {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.mt-quick a {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--red-strong);
  border: 1px solid rgba(158, 43, 37, 0.4);
  border-radius: 999px;
  padding: 5px 16px;
  background: rgba(255, 253, 246, 0.6);
  transition: background 0.2s ease, color 0.2s ease;
}

.mt-quick a:hover {
  background: var(--grad-red);
  color: #f8f1e2;
}

/* 卡片右侧竖排落款 */
.mt-colophon {
  position: absolute;
  top: 50%;
  right: -52px;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: var(--font-script);
  font-size: 2.4rem;
  letter-spacing: 0.18em;
  color: rgba(158, 43, 37, 0.5);
  pointer-events: none;
}

/* ---------------- 通用区块 ---------------- */
.section {
  padding: 92px 24px;
}

.section-ink {
  background:
    radial-gradient(560px 320px at 50% 0%, rgba(158, 43, 37, 0.06), transparent 68%),
    var(--paper-2);
  border-top: 1px solid rgba(38, 33, 26, 0.1);
  border-bottom: 1px solid rgba(38, 33, 26, 0.1);
}

.section-head {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 52px;
}

.section-head h2 {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  letter-spacing: 0.12em;
  color: var(--ink);
}

.section-head p {
  color: var(--ink-3);
  font-size: 1rem;
  margin-top: 14px;
  letter-spacing: 0.03em;
}

/* 回纹饰带 */
.orn {
  position: relative;
  display: block;
  width: 150px;
  height: 12px;
  margin: 18px auto 0;
  background-image:
    linear-gradient(90deg, rgba(158, 43, 37, 0.6) 0 2px, transparent 2px 7px),
    linear-gradient(90deg, rgba(158, 43, 37, 0.6) 0 2px, transparent 2px 7px);
  background-size: 9px 3px, 9px 3px;
  background-repeat: repeat-x, repeat-x;
  background-position: center 0, center 100%;
}

.orn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 9px;
  height: 9px;
  background: var(--red);
}

.orn-light {
  filter: brightness(1.15);
}

/* ---------------- 批算服务 ---------------- */
.feature-grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-card {
  position: relative;
  background: rgba(255, 252, 242, 0.65);
  border: 1px solid rgba(38, 33, 26, 0.16);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 24px;
  right: 24px;
  height: 2px;
  background-image: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(158, 43, 37, 0.4);
  box-shadow: 0 16px 36px rgba(60, 48, 30, 0.12);
}

.feature-card:hover::before {
  opacity: 1;
}

.seal-char {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #c13b32, #8f241f);
  color: #f8f1e2;
  font-family: var(--font-script);
  font-size: 1.75rem;
  box-shadow: inset 0 0 0 2px rgba(248, 241, 226, 0.3),
    0 6px 14px rgba(158, 43, 37, 0.25);
  margin-bottom: 16px;
}

.seal-char-lg {
  width: 64px;
  height: 64px;
  font-size: 2.1rem;
}

.feature-card h3 {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: 1.45rem;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--ink-3);
  font-size: 0.95rem;
}

/* 合婚宽卡片 */
.feature-card-wide {
  grid-column: 1 / -1;
  background:
    radial-gradient(520px 220px at 8% 0%, rgba(158, 43, 37, 0.1), transparent 70%),
    rgba(255, 252, 242, 0.7);
  border-color: rgba(158, 43, 37, 0.32);
}

.feature-wide-inner {
  display: flex;
  align-items: center;
  gap: 22px;
}

.feature-wide-copy h3 {
  font-size: 1.6rem;
}

.feature-wide-copy p {
  max-width: 46em;
}

/* ---------------- 求测方式 ---------------- */
.steps {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step {
  position: relative;
  background: rgba(255, 252, 242, 0.6);
  border: 1px solid rgba(38, 33, 26, 0.16);
  border-radius: var(--radius);
  padding: 30px 28px;
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.step:hover {
  transform: translateY(-4px);
  border-color: rgba(158, 43, 37, 0.4);
  box-shadow: 0 16px 36px rgba(60, 48, 30, 0.12);
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #c13b32, #8f241f);
  color: #f8f1e2;
  font-family: var(--font-script);
  font-size: 1.5rem;
  box-shadow: inset 0 0 0 2px rgba(248, 241, 226, 0.3);
  margin-bottom: 16px;
}

.step h3 {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.step p {
  color: var(--ink-3);
  font-size: 0.95rem;
}

/* ---------------- 求测须知 ---------------- */
.info-panel {
  max-width: 780px;
  margin: 0 auto;
  background: rgba(255, 252, 242, 0.7);
  border: 1px solid rgba(38, 33, 26, 0.18);
  border-radius: var(--radius);
  position: relative;
}

.info-panel::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 40px;
  right: 40px;
  height: 3px;
  background-image: linear-gradient(90deg, transparent, var(--red), transparent);
}

.info-item {
  display: flex;
  gap: 18px;
  align-items: baseline;
  padding: 22px 28px;
  border-bottom: 1px dashed rgba(38, 33, 26, 0.12);
}

.info-item:last-child {
  border-bottom: none;
}

.info-tag {
  flex-shrink: 0;
  min-width: 4.5em;
  text-align: center;
  padding: 3px 0;
  background: var(--red-soft);
  border: 1px solid rgba(158, 43, 37, 0.3);
  color: var(--red-strong);
  border-radius: 4px;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
}

.info-item p {
  color: var(--ink-3);
  font-size: 0.96rem;
}

/* ---------------- 结语 CTA ---------------- */
.cta {
  padding: 80px 24px;
}

.cta-inner {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  background:
    radial-gradient(560px 240px at 50% 0%, rgba(176, 129, 47, 0.14), transparent 70%),
    rgba(255, 252, 242, 0.7);
  border: 1px solid rgba(158, 43, 37, 0.3);
  border-radius: var(--radius);
  padding: 56px 32px;
  box-shadow: var(--shadow);
}

.cta-inner h2 {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.cta-inner p {
  color: var(--ink-3);
  margin-bottom: 28px;
}

/* ---------------- 页脚 ---------------- */
.footer {
  border-top: 1px solid rgba(38, 33, 26, 0.12);
  padding: 40px 24px;
  text-align: center;
  color: var(--faint);
  font-size: 0.88rem;
}

.footer-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-script);
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  color: var(--ink-2);
}

.footer-brand .brand-seal {
  width: 26px;
  height: 26px;
  font-size: 0.95rem;
  border-radius: 5px;
}

.footer-copy {
  font-size: 0.8rem;
}

/* ---------------- Toast ---------------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 36px;
  transform: translate(-50%, 20px);
  background: var(--ink);
  border: 1px solid rgba(248, 241, 226, 0.25);
  color: #f8f1e2;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  box-shadow: 0 12px 30px rgba(60, 48, 30, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease;
  z-index: 2100;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------------- 滚动出现动画 ---------------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

/* ---------------- 关键帧 ---------------- */
@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pulse-dot {
  0% {
    box-shadow: 0 0 0 0 rgba(158, 43, 37, 0.5);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(158, 43, 37, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(158, 43, 37, 0);
  }
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 900px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-mobile.show {
    display: flex;
  }

  .hero {
    padding: 112px 20px 70px;
  }

  .hero-sun {
    right: 4%;
    width: 104px;
    height: 104px;
    top: 120px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions,
  .hero-stats {
    justify-content: center;
  }

  .mt-colophon {
    display: none;
  }

  .feature-grid,
  .steps {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  .feature-wide-inner {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    gap: 22px;
  }

  .stat strong {
    font-size: 1.35rem;
  }

  .mt-body {
    padding: 18px 16px 14px;
  }

  .info-item {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }

  .info-tag {
    min-width: auto;
    padding: 2px 12px;
  }
}
