@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap");

:root {
  --bg: #faf7f2;
  --surface: #ffffff;
  --surface-muted: #f3ede4;
  --text: #1e2b2b;
  --text-muted: #7a7570;
  --teal: #1f5c5c;
  --teal-dark: #0f3d3d;
  --teal-mid: #1f5c5c;
  --teal-light: #2a7575;
  --teal-glow: rgba(31, 92, 92, 0.35);
  --gold: #c5a059;
  --gold-light: #e8d4a8;
  --gold-glow: rgba(197, 160, 89, 0.45);
  --border: rgba(30, 43, 43, 0.1);
  --danger: #9b4a3d;
  --saving: #2d7a5e;
  --shadow: 0 20px 50px rgba(15, 61, 61, 0.12);
  --shadow-lg: 0 32px 64px rgba(15, 61, 61, 0.16);
  --shadow-sm: 0 4px 16px rgba(15, 61, 61, 0.07);
  --radius: 20px;
  --radius-sm: 12px;
  --max: 1140px;
  --nav-h: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(31, 92, 92, 0.04) 1px, transparent 0);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--teal);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--teal-dark);
}

h1, h2, h3 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.15;
  color: var(--teal-dark);
}

/* —— Reveal on scroll —— */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* —— Nav —— */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(250, 247, 242, 0.75);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border);
}

.site-nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  font-weight: 700;
  font-size: 1.15rem;
  z-index: 1;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 4px 14px var(--teal-glow);
  transition: transform 0.3s;
}

.brand:hover img {
  transform: scale(1.05) rotate(-3deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a:not(.nav-cta) {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
}

.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: width 0.25s;
}

.nav-links a:not(.nav-cta):hover::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.25rem;
  background: linear-gradient(135deg, var(--teal-dark), var(--teal-light));
  color: #fff !important;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 6px 20px var(--teal-glow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px var(--teal-glow);
}

.nav-cta::after { display: none !important; }

.nav-toggle {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--teal-dark);
  z-index: 1;
}

/* —— Hero —— */
.hero {
  position: relative;
  padding: 2rem 1.5rem 5rem;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: float 12s ease-in-out infinite;
}

.hero-blob-1 {
  width: 520px;
  height: 520px;
  background: rgba(31, 92, 92, 0.22);
  top: -120px;
  right: -80px;
}

.hero-blob-2 {
  width: 400px;
  height: 400px;
  background: rgba(197, 160, 89, 0.2);
  bottom: -60px;
  left: -100px;
  animation-delay: -4s;
}

.hero-blob-3 {
  width: 200px;
  height: 200px;
  background: rgba(42, 117, 117, 0.15);
  top: 40%;
  left: 35%;
  animation-delay: -7s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -24px) scale(1.05); }
  66% { transform: translate(-16px, 16px) scale(0.95); }
}

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--saving);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  margin: 0 0 1.25rem;
  letter-spacing: -0.03em;
}

.hero h1 em {
  font-style: italic;
  background: linear-gradient(135deg, var(--teal-mid), var(--teal-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lead {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin: 0 0 2rem;
  max-width: 34rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.25s;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  background: linear-gradient(135deg, #d4b06a, var(--gold), #b8924a);
  color: #1a1a1a;
  box-shadow: 0 8px 28px var(--gold-glow);
}

.btn-primary:hover {
  box-shadow: 0 12px 36px var(--gold-glow);
  color: #1a1a1a;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.9);
  color: var(--teal-dark);
  border: 1.5px solid var(--border);
  backdrop-filter: blur(8px);
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
}

.hero-stat strong {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  color: var(--teal-dark);
  line-height: 1.2;
}

.hero-stat span {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* —— Phone mock —— */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  perspective: 1000px;
}

.phone-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, var(--teal-glow), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.phone-device {
  position: relative;
  width: 290px;
  background: linear-gradient(145deg, #2a3535, #1a2222);
  border-radius: 40px;
  padding: 12px;
  box-shadow:
    var(--shadow-lg),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 0 1px rgba(0, 0, 0, 0.2);
  transform: rotateY(-8deg) rotateX(4deg);
  animation: phoneTilt 8s ease-in-out infinite;
}

@keyframes phoneTilt {
  0%, 100% { transform: rotateY(-8deg) rotateX(4deg); }
  50% { transform: rotateY(-4deg) rotateX(2deg); }
}

.phone-notch {
  width: 100px;
  height: 26px;
  background: #1a2222;
  border-radius: 0 0 16px 16px;
  margin: 0 auto 0;
  position: relative;
  z-index: 2;
}

.phone-screen {
  background: var(--bg);
  border-radius: 30px;
  overflow: hidden;
  min-height: 520px;
  position: relative;
}

.mock-app-header {
  background: linear-gradient(145deg, var(--teal-dark), var(--teal-light));
  padding: 1.5rem 1.25rem 1.75rem;
  color: #fff;
}

.mock-app-header small {
  opacity: 0.8;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mock-budget-num {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 700;
  margin: 0.2rem 0 0.75rem;
}

.mock-progress {
  height: 6px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 99px;
  overflow: hidden;
}

.mock-progress-fill {
  height: 100%;
  width: 62%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 99px;
}

.mock-body {
  padding: 1rem 1rem 4.5rem;
}

.mock-day-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}

.mock-tx {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.75rem;
  margin-bottom: 0.5rem;
  box-shadow: var(--shadow-sm);
}

.mock-tx-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.mock-tx-icon.food { background: #f5ebe0; }
.mock-tx-icon.travel { background: #e0edf5; }
.mock-tx-icon.save { background: #e5f0e8; }

.mock-tx-info {
  flex: 1;
  min-width: 0;
}

.mock-tx-info strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
}

.mock-tx-info small {
  color: var(--text-muted);
  font-size: 0.72rem;
}

.mock-tx-amt {
  font-weight: 700;
  font-size: 0.9rem;
}

.mock-tx-amt.expense { color: var(--danger); }
.mock-tx-amt.income { color: var(--saving); }

.mock-fab {
  position: absolute;
  bottom: 3.5rem;
  right: 1.25rem;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #d4b06a, var(--gold));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #1a1a1a;
  box-shadow: 0 6px 20px var(--gold-glow);
  font-weight: 300;
}

.mock-nav {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-around;
  padding: 0.65rem 0 1rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  font-size: 0.65rem;
  color: var(--text-muted);
}

.mock-nav span.active {
  color: var(--teal);
  font-weight: 700;
}

.float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.65rem 1rem;
  box-shadow: var(--shadow);
  font-size: 0.82rem;
  font-weight: 600;
  animation: floatCard 6s ease-in-out infinite;
}

.float-card-1 {
  top: 8%;
  right: -12%;
  color: var(--saving);
}

.float-card-2 {
  bottom: 18%;
  left: -18%;
  animation-delay: -3s;
  color: var(--teal);
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* —— Logo strip —— */
.logo-strip {
  padding: 1.5rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.5);
  position: relative;
  z-index: 1;
}

.logo-strip-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem 2.5rem;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
}

.logo-strip-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.logo-strip-item svg {
  color: var(--teal);
  opacity: 0.8;
}

/* —— Sections —— */
.section {
  padding: 5rem 1.5rem;
  position: relative;
  z-index: 1;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255,255,255,0.6) 0%, rgba(243,237,228,0.8) 100%);
}

.section-dark {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal-mid) 50%, #1a4848 100%);
  color: #fff;
}

.section-dark h2,
.section-dark .section-label {
  color: #fff;
}

.section-dark .section-intro {
  color: rgba(255, 255, 255, 0.75);
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-label {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-dark);
  margin-bottom: 0.65rem;
  padding: 0.3rem 0.85rem;
  background: rgba(197, 160, 89, 0.15);
  border-radius: 999px;
}

.section h2 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin: 0 0 0.85rem;
}

.section-intro {
  color: var(--text-muted);
  font-size: 1.08rem;
  margin: 0;
  line-height: 1.7;
}

/* —— Feature pill tags —— */
.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
  margin: 0 0 2rem;
}

.feature-pill {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--teal-dark);
  background: rgba(31, 92, 92, 0.08);
  border: 1px solid rgba(31, 92, 92, 0.14);
}

/* —— Bento feature grid —— */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
}

.bento-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  overflow: hidden;
  position: relative;
}

.bento-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  opacity: 0;
  transition: opacity 0.3s;
}

.bento-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(31, 92, 92, 0.2);
}

.bento-card:hover::before {
  opacity: 1;
}

.bento-card.span-4 { grid-column: span 4; }
.bento-card.span-6 { grid-column: span 6; }
.bento-card.span-8 { grid-column: span 8; }
.bento-card.span-12 { grid-column: span 12; }

.bento-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  font-size: 1.5rem;
}

.bento-icon.teal { background: linear-gradient(135deg, #e0eded, #c8e0e0); }
.bento-icon.gold { background: linear-gradient(135deg, #f5ebe0, #edd9c0); }
.bento-icon.green { background: linear-gradient(135deg, #e5f0e8, #cce0d4); }
.bento-icon.blue { background: linear-gradient(135deg, #e0edf5, #c5dced); }
.bento-icon.pink { background: linear-gradient(135deg, #f5e0e8, #edd0dc); }

.bento-card h3 {
  font-family: "DM Sans", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.bento-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.bento-highlight {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal-light));
  color: #fff;
  border: none;
}

.bento-highlight::before { display: none; }

.bento-highlight h3,
.bento-highlight p {
  color: rgba(255, 255, 255, 0.95);
}

.bento-highlight p {
  opacity: 0.8;
}

.bento-highlight .bento-icon {
  background: rgba(255, 255, 255, 0.15);
}

/* —— Steps —— */
.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}

.steps-row::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 16%;
  right: 16%;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--gold), var(--teal));
  opacity: 0.25;
  z-index: 0;
}

.step-item {
  text-align: center;
  padding: 0 1.25rem;
  position: relative;
  z-index: 1;
}

.step-circle {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, var(--teal-dark), var(--teal-light));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Playfair Display", serif;
  font-size: 1.35rem;
  font-weight: 700;
  box-shadow: 0 8px 24px var(--teal-glow);
  border: 4px solid var(--bg);
}

.section-alt .step-circle {
  border-color: #f7f2eb;
}

.step-item h3 {
  font-family: "DM Sans", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.step-item p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* —— FAQ —— */
.faq-grid {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  background: var(--surface);
  overflow: hidden;
  transition: box-shadow 0.25s, border-color 0.25s;
}

.faq-item.open {
  box-shadow: var(--shadow-sm);
  border-color: rgba(31, 92, 92, 0.25);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.5rem;
  background: none;
  border: none;
  text-align: left;
  font-family: "DM Sans", sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
}

.faq-chevron {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s, background 0.3s;
  color: var(--teal);
  font-size: 1.1rem;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  background: var(--teal);
  color: #fff;
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.15rem;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

.faq-item.open .faq-answer {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* —— CTA —— */
.cta-section {
  padding: 5rem 1.5rem;
  position: relative;
  z-index: 1;
}

.cta-card {
  max-width: var(--max);
  margin: 0 auto;
  background: linear-gradient(135deg, var(--teal-dark) 0%, #1a5050 40%, var(--teal-light) 100%);
  border-radius: 28px;
  padding: 3.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(197, 160, 89, 0.25), transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08), transparent 40%);
  pointer-events: none;
}

.cta-card > * {
  position: relative;
  z-index: 1;
}

.cta-card h2 {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin: 0 0 0.75rem;
}

.cta-card p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 32rem;
  margin: 0 auto 1.75rem;
  font-size: 1.05rem;
}

.cta-card .btn-primary {
  font-size: 1.05rem;
  padding: 1rem 2rem;
}

/* —— Legal pages —— */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, var(--teal-dark), var(--teal-light));
  color: #fff;
  padding: 4rem 1.5rem;
  text-align: center;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(197, 160, 89, 0.2), transparent 50%);
}

.page-hero h1 {
  color: #fff;
  margin: 0 0 0.5rem;
  font-size: clamp(2rem, 4vw, 2.75rem);
  position: relative;
}

.page-hero p {
  margin: 0;
  opacity: 0.9;
  position: relative;
  font-size: 1.05rem;
}

.doc-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
  position: relative;
  z-index: 1;
}

.doc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.25rem;
  box-shadow: var(--shadow);
}

.doc-card h2 {
  font-size: 1.2rem;
  margin: 1.75rem 0 0.6rem;
}

.doc-card h2:first-child { margin-top: 0; }

.doc-card .muted {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* —— Footer —— */
.site-footer {
  background: linear-gradient(180deg, #0f2e2e, var(--teal-dark));
  color: rgba(255, 255, 255, 0.8);
  padding: 3.5rem 1.5rem 2rem;
  position: relative;
  z-index: 1;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 2.5rem;
}

.footer-brand img {
  width: 52px;
  border-radius: 14px;
  margin-bottom: 1rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.footer-brand p {
  font-size: 0.92rem;
  opacity: 0.75;
  margin: 0;
  max-width: 280px;
  line-height: 1.6;
}

.footer-col h4 {
  color: #fff;
  font-family: "DM Sans", sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 1rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li { margin-bottom: 0.55rem; }

.footer-col a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--gold-light); }

.footer-bottom {
  max-width: var(--max);
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
  opacity: 0.5;
  text-align: center;
}

.guide-banner {
  background: linear-gradient(135deg, #f5ebe0, #edd9c0);
  border: 1px solid #e8d4b8;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  color: var(--gold-dark);
  margin-bottom: 1.5rem;
}

.url-box {
  display: block;
  font-family: Consolas, monospace;
  font-size: 0.85rem;
  background: var(--surface-muted);
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  border: 1px dashed var(--border);
  word-break: break-all;
  margin: 0.35rem 0 0.75rem;
}

/* —— Responsive —— */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { order: -1; margin-bottom: 1rem; }

  .float-card-1 { right: 0; }
  .float-card-2 { left: 0; }

  .bento-card.span-4,
  .bento-card.span-6,
  .bento-card.span-8 {
    grid-column: span 12;
  }

  .steps-row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .steps-row::before { display: none; }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand p { margin: 0 auto; }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(250, 247, 242, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem 1.5rem;
    box-shadow: var(--shadow);
  }

  .nav-links.open { display: flex; }
  .nav-links .nav-cta { text-align: center; margin-top: 0.5rem; }

  .phone-device {
    transform: none;
    animation: none;
  }

  .hero { min-height: auto; padding-bottom: 3rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
