/* =========================================================
   AI Help AZ
   Desert palette · Zilla Slab display · Nunito Sans body
   ========================================================= */

:root {
  /* Paper & ink */
  --paper:        #F3EAD5;   /* warm cream — page base */
  --paper-soft:   #FBF3DF;   /* lighter cream — cards */
  --paper-deep:   #EBDFC2;   /* darker cream — section break */
  --ink:          #221912;   /* warm dark brown — body text */
  --ink-soft:     #4A3A2C;   /* muted body */
  --ink-faint:    #87745A;   /* tertiary text */

  /* Accents */
  --clay:         #A8462E;   /* deep terracotta — primary accent */
  --clay-deep:    #823520;   /* hover state */
  --clay-soft:    #C5694F;   /* lighter terracotta */
  --sage:         #6F7956;   /* desert sage — secondary accent */
  --sun:          #C99B4A;   /* sun gold — sparing highlight */
  --sand:         #D9C8A6;   /* warm sand — soft fills */

  /* Hairlines & shadows */
  --rule:         #C6B79A;
  --rule-soft:    #E1D4B5;
  --shadow-sm:    0 1px 0 rgba(34,25,18,.06), 0 1px 3px rgba(34,25,18,.08);
  --shadow-md:    0 1px 0 rgba(34,25,18,.06), 0 8px 24px -8px rgba(34,25,18,.18);
  --shadow-lg:    0 1px 0 rgba(34,25,18,.06), 0 24px 48px -16px rgba(34,25,18,.22);

  /* Type */
  --display: "Zilla Slab", "Rockwell", Georgia, serif;
  --sans:    "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --col:          min(72rem, 92vw);
  --col-narrow:   min(56rem, 92vw);
  --col-text:     min(40rem, 92vw);
  --gutter:       clamp(1rem, 3vw, 2rem);
  --section-pad:  clamp(4rem, 9vw, 7.5rem);

  /* Motion */
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:  cubic-bezier(0.65, 0, 0.35, 1);
}

/* =========================================================
   Reset & base
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
}

/* Subtle paper grain — purely decorative, additive layer */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.13   0 0 0 0 0.10   0 0 0 0 0.07   0 0 0 0.06 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

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

a {
  color: var(--clay);
  text-decoration-color: rgba(168, 70, 46, 0.35);
  text-underline-offset: 3px;
  transition: color 180ms var(--ease-out), text-decoration-color 180ms var(--ease-out);
}
a:hover { color: var(--clay-deep); text-decoration-color: currentColor; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}

p { text-wrap: pretty; margin: 0; }

/* =========================================================
   Utilities
   ========================================================= */

.container       { width: var(--col);        margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow{ width: var(--col-narrow); margin-inline: auto; padding-inline: var(--gutter); }
.container-text  { width: var(--col-text);   margin-inline: auto; padding-inline: var(--gutter); }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 1.5rem;
  height: 1px;
  background: var(--clay);
}

.section-label {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--clay);
  letter-spacing: 0.02em;
}

.rule {
  height: 1px;
  background: var(--rule);
  border: 0;
  margin: 0;
}

/* =========================================================
   Buttons
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 1.4rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-radius: 0;
  cursor: pointer;
  transition: transform 200ms var(--ease-out), background 200ms var(--ease-out), color 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn:active {
  transform: scale(0.97);
  transition-duration: 100ms;
}

.btn-primary {
  background: var(--clay);
  color: var(--paper);
  box-shadow: 0 1px 0 var(--clay-deep), 0 2px 0 rgba(34,25,18,.15);
}
.btn-primary:hover {
  background: var(--clay-deep);
  color: var(--paper);
  transform: translateY(-1px);
  box-shadow: 0 2px 0 var(--clay-deep), 0 6px 12px -2px rgba(130, 53, 32, 0.35);
}
.btn-primary:active {
  transform: scale(0.97);
  box-shadow: 0 1px 0 var(--clay-deep);
  color: var(--paper);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-secondary:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  padding: 0.5rem 0;
  border: none;
  position: relative;
}
.btn-ghost::after {
  content: "→";
  display: inline-block;
  transition: transform 200ms var(--ease-out);
  font-family: var(--display);
}
.btn-ghost:hover::after { transform: translateX(4px); }
.btn-ghost:hover { color: var(--clay); }

.btn .arr {
  display: inline-block;
  font-family: var(--display);
  transition: transform 200ms var(--ease-out);
}
.btn:hover .arr { transform: translateX(3px); }

/* =========================================================
   Header
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 234, 213, 0.88);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 250ms var(--ease-out), background 250ms var(--ease-out);
}
.site-header.is-scrolled {
  border-bottom-color: var(--rule);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.1rem;
  gap: 1.5rem;
}

.brand {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  letter-spacing: -0.01em;
}
.brand .brand-mark {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--sun) 0%, var(--clay) 75%);
  transform: translateY(0.1rem);
  box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--clay);
}
.brand-az {
  color: var(--clay);
  font-style: italic;
  font-weight: 600;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.site-nav a {
  font-family: var(--sans);
  font-size: 0.92rem;
  color: var(--ink-soft);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.site-nav a:hover { color: var(--clay); }
.site-nav .btn-primary { color: var(--paper); padding: 0.6rem 1rem; font-size: 0.88rem; }
.site-nav .btn-primary:hover { color: var(--paper); }

@media (max-width: 760px) {
  .site-nav .nav-link { display: none; }
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
  position: relative;
  padding-block: clamp(4rem, 10vw, 7.5rem) clamp(5rem, 12vw, 9rem);
  overflow: hidden;
}

.hero-sun {
  position: absolute;
  top: 3rem;
  right: -4rem;
  width: clamp(18rem, 32vw, 28rem);
  height: clamp(18rem, 32vw, 28rem);
  pointer-events: none;
  opacity: 0.85;
}

.hero-horizon {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--rule) 15%, var(--rule) 85%, transparent);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.75rem;
  max-width: 48rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 6.5vw, 4.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.02;
}
.hero h1 em {
  font-style: italic;
  color: var(--clay);
  font-weight: 600;
}

.hero-sub {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 36rem;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.75rem;
  align-items: center;
}

.hero-meta {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  align-items: center;
  font-size: 0.85rem;
  color: var(--ink-faint);
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule-soft);
}
.hero-meta strong { color: var(--ink); font-weight: 600; }
.hero-meta-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--clay);
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.45rem;
}

/* Page-load reveal */
.hero-reveal > * {
  opacity: 0;
  transform: translateY(8px);
  animation: hero-up 700ms var(--ease-out) forwards;
}
.hero-reveal > *:nth-child(1) { animation-delay: 60ms; }
.hero-reveal > *:nth-child(2) { animation-delay: 180ms; }
.hero-reveal > *:nth-child(3) { animation-delay: 320ms; }
.hero-reveal > *:nth-child(4) { animation-delay: 440ms; }
.hero-reveal > *:nth-child(5) { animation-delay: 560ms; }

@keyframes hero-up {
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-reveal > * { animation: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Section primitives
   ========================================================= */

section {
  padding-block: var(--section-pad);
  position: relative;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin-bottom: 3rem;
  max-width: 42rem;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.015em;
}

.section-head h2 em {
  font-style: italic;
  color: var(--clay);
}

.section-head p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 36rem;
}

/* =========================================================
   How it works
   ========================================================= */

.how {
  border-top: 1px solid var(--rule);
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 2.5rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--display);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--clay);
  display: block;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
  line-height: 1;
}

.step h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  line-height: 1.2;
}

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

/* =========================================================
   Pricing
   ========================================================= */

.pricing {
  background: var(--paper-deep);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  position: relative;
}

.pricing::before,
.pricing::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--rule);
}
.pricing::before { top: 6px; }
.pricing::after  { bottom: 6px; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 1.25rem;
}

.tier {
  background: var(--paper-soft);
  border: 1px solid var(--rule);
  padding: 2.25rem 2rem 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 280ms var(--ease-out), box-shadow 280ms var(--ease-out), border-color 280ms var(--ease-out);
}
.tier:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--ink-faint);
}

.tier-featured {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.tier-featured h3,
.tier-featured .tier-price,
.tier-featured .tier-price-unit { color: var(--paper); }
.tier-featured .tier-desc,
.tier-featured .tier-items li { color: rgba(243, 234, 213, 0.72); }
.tier-featured .tier-items li::before { background: var(--sun); }
.tier-featured .tier-tag {
  position: absolute;
  top: -1px;
  right: 1.5rem;
  background: var(--clay);
  color: var(--paper);
  padding: 0.35rem 0.7rem;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  font-family: var(--sans);
}
.tier-featured .btn-tier {
  background: var(--paper);
  color: var(--ink);
}
.tier-featured .btn-tier:hover {
  background: var(--clay);
  color: var(--paper);
}

.tier-name {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay);
  font-weight: 600;
  margin-bottom: 1rem;
}
.tier-featured .tier-name { color: var(--sun); }

.tier h3 {
  font-size: 1.65rem;
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.15;
}

.tier-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}
.tier-price {
  font-family: var(--display);
  font-size: 2.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}
.tier-price-unit {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--ink-faint);
  font-weight: 400;
}

.tier-desc {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-bottom: 1.4rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px dashed var(--rule);
}

.tier-items {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: grid;
  gap: 0.75rem;
  flex: 1;
}
.tier-items li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.93rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.tier-items li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 0.7rem;
  height: 1px;
  background: var(--clay);
}

.btn-tier {
  width: 100%;
  justify-content: center;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 0.85rem 1.2rem;
  font-size: 0.92rem;
}
.btn-tier:hover {
  background: var(--ink);
  color: var(--paper);
}

.pricing-note {
  margin-top: 2.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--ink-faint);
  font-style: italic;
  font-family: var(--display);
}

/* =========================================================
   Who it's for
   ========================================================= */

.who-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}

.who-card {
  padding: 1.75rem 1.6rem;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  transition: background 240ms var(--ease-out);
}
.who-card:hover { background: var(--paper-soft); }

.who-card-icon {
  width: 1.75rem;
  height: 1.75rem;
  margin-bottom: 1rem;
  color: var(--clay);
}

.who-card h3 {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  line-height: 1.2;
}

.who-card p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* =========================================================
   "What I won't do" — anti-pitch
   ========================================================= */

.wont {
  background: var(--ink);
  color: var(--paper);
  border-top: 1px solid var(--ink);
}
.wont .section-head h2 { color: var(--paper); }
.wont .section-head h2 em { color: var(--sun); }
.wont .section-head p { color: rgba(243, 234, 213, 0.7); }

.wont-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 0;
  border-top: 1px solid rgba(243, 234, 213, 0.18);
  border-left: 1px solid rgba(243, 234, 213, 0.18);
}
.wont-list li {
  padding: 1.75rem 1.6rem;
  border-right: 1px solid rgba(243, 234, 213, 0.18);
  border-bottom: 1px solid rgba(243, 234, 213, 0.18);
  font-size: 1rem;
  line-height: 1.45;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  color: rgba(243, 234, 213, 0.92);
}
.wont-list li::before {
  content: "×";
  font-family: var(--display);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--clay-soft);
  flex-shrink: 0;
  margin-top: 0.05rem;
}

/* =========================================================
   About
   ========================================================= */

.about {
  border-bottom: 1px solid var(--rule);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 12rem) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 640px) {
  .about-grid { grid-template-columns: minmax(0, 1fr); }
}

.about-avatar {
  width: 11rem;
  height: 11rem;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--sun) 0%, var(--clay) 70%);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 4rem;
  font-weight: 600;
  color: var(--paper);
  position: relative;
  box-shadow:
    0 0 0 6px var(--paper),
    0 0 0 7px var(--rule),
    var(--shadow-md);
}
.about-avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.4), transparent 55%);
  pointer-events: none;
}

.about-body p {
  font-size: 1.08rem;
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 38rem;
}
.about-body p + p { margin-top: 1.25rem; }
.about-body p strong { color: var(--ink); font-weight: 600; }

.about-sig {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}
.about-sig-name {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--clay);
}
.about-sig-meta {
  font-size: 0.85rem;
  color: var(--ink-faint);
}

/* =========================================================
   FAQ
   ========================================================= */

.faq {
  background: var(--paper-deep);
  border-bottom: 1px solid var(--rule);
}

.faq-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--rule);
}

.faq-item {
  border-bottom: 1px solid var(--rule);
  background: transparent;
}
.faq-item[open] { background: var(--paper-soft); }

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.4rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  font-family: var(--display);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
  transition: color 200ms var(--ease-out), padding 200ms var(--ease-out);
}
.faq-item[open] summary { color: var(--clay); padding-left: 1.5rem; padding-right: 1.5rem; }
.faq-item summary:hover { color: var(--clay); }
.faq-item summary::-webkit-details-marker { display: none; }

.faq-toggle {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  display: grid;
  place-items: center;
  position: relative;
  color: var(--clay);
}
.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform 280ms var(--ease-out);
}
.faq-toggle::before { width: 14px; height: 1.5px; }
.faq-toggle::after  { width: 1.5px; height: 14px; }
.faq-item[open] .faq-toggle::after { transform: scaleY(0); }

.faq-body {
  padding: 0 1.5rem 1.75rem;
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 50rem;
}
.faq-body p + p { margin-top: 0.8rem; }

/* =========================================================
   Final CTA
   ========================================================= */

.final-cta {
  position: relative;
  padding-block: clamp(5rem, 11vw, 8rem);
  text-align: center;
  overflow: hidden;
}

.final-cta-sun {
  position: absolute;
  left: 50%;
  bottom: -8rem;
  transform: translateX(-50%);
  width: 30rem;
  height: 30rem;
  opacity: 0.5;
  pointer-events: none;
}

.final-cta-inner {
  position: relative;
  display: grid;
  gap: 1.5rem;
  justify-items: center;
}

.final-cta h2 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  max-width: 28rem;
  line-height: 1.05;
}
.final-cta h2 em {
  font-style: italic;
  color: var(--clay);
}

.final-cta p {
  color: var(--ink-soft);
  font-size: 1.1rem;
  max-width: 32rem;
}

.final-cta .btn { padding: 1.1rem 1.6rem; font-size: 1rem; }

.final-cta-email {
  margin-top: 0.5rem;
  font-size: 0.92rem;
  color: var(--ink-faint);
}
.final-cta-email a {
  color: var(--ink);
  font-size: 0.92rem;
  text-decoration-color: var(--rule);
}
.final-cta-email a:hover { color: var(--clay); text-decoration-color: currentColor; }

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  border-top: 1px solid var(--rule);
  padding-block: 3rem 4rem;
  font-size: 0.85rem;
  color: var(--ink-faint);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  max-width: 22rem;
}
.footer-brand strong {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
}
.footer-brand-tag {
  font-style: italic;
  font-family: var(--display);
  font-weight: 400;
  color: var(--clay);
}

.footer-cols {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-col h4 {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.5rem;
}
.footer-col a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.9rem;
}
.footer-col a:hover { color: var(--clay); }

.footer-base {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule-soft);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
}
.footer-base-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-base-mark .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clay);
}

/* =========================================================
   Responsive tuning
   ========================================================= */

@media (max-width: 640px) {
  .hero-sun {
    top: -4rem;
    right: -8rem;
    width: 22rem;
    height: 22rem;
    opacity: 0.5;
  }
  .step::before { font-size: 2rem; }
  .tier { padding: 1.75rem 1.5rem 1.5rem; }
  .footer-cols { gap: 2rem; }
  .footer-inner { flex-direction: column; }
}

@media (max-width: 420px) {
  body { font-size: 16px; }
  .hero h1 { font-size: 2.25rem; }
}
