/* ==========================================================================
   Main Street Sites — styles
   Tokens live on :root. Change brand colors/fonts here and everything follows.
   ========================================================================== */

:root {
  --ink: #111827;
  --ink-2: #4b5563;
  --ink-3: #9ca3af;
  --paper: #fbfaf7;
  --paper-2: #f3f1ea;
  --line: #e6e2d8;
  --white: #ffffff;
  --accent: #e4572e;
  --accent-ink: #b8401c;
  --accent-soft: #fdeee8;

  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Instrument Serif", Georgia, serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(17,24,39,.04), 0 12px 32px -12px rgba(17,24,39,.14);
  --shadow-lg: 0 2px 4px rgba(17,24,39,.05), 0 30px 60px -20px rgba(17,24,39,.25);
  --max: 1160px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.1; letter-spacing: -.02em; font-weight: 800; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); letter-spacing: -.035em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); letter-spacing: -.03em; }
h3 { font-size: 1.25rem; }
h1 em, h2 em { font-family: var(--font-display); font-style: italic; font-weight: 400; color: var(--accent); letter-spacing: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: min(var(--max), 100% - 40px); margin-inline: auto; }
@media (max-width: 640px) { .container { width: calc(100% - 32px); } }

.skip-link { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: .95rem;
  border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), background .2s, border-color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px -8px rgba(228,87,46,.6); }
.btn-primary:hover { background: var(--accent-ink); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-lg { padding: 16px 26px; font-size: 1.02rem; }
.btn-sm { padding: 9px 16px; font-size: .88rem; }
.btn-block { width: 100%; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; }
.brand-mark { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, var(--accent), #ffb08a); padding: 3px; flex: none; }
.brand-dot { color: var(--accent); }
.site-nav { display: flex; align-items: center; gap: 28px; font-weight: 600; font-size: .95rem; }
.site-nav a:not(.btn) { color: var(--ink-2); transition: color .2s; }
.site-nav a:not(.btn):hover { color: var(--ink); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 72px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px 20px 20px; display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav-cta { margin-top: 16px; }
}

/* ---------- Hero ---------- */
.hero { padding: 72px 0 40px; overflow: hidden; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  background: radial-gradient(closest-side, rgba(228,87,46,.12), transparent 70%); pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .82rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 22px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(228,87,46,.5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(228,87,46,0); } 100% { box-shadow: 0 0 0 0 rgba(228,87,46,0); } }
.lede { font-size: 1.2rem; color: var(--ink-2); max-width: 54ch; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.hero-proof li { display: flex; align-items: center; gap: 8px; }
.hero-proof li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--accent-soft); flex: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23e4572e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* Hero visual: CSS-drawn browser + phone mockups */
.hero-visual { position: relative; min-height: 460px; }
.mock-browser { background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; }
.mock-main { position: absolute; left: 0; top: 10px; width: 88%; transform: rotate(-1.5deg); }
.mock-chrome { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: #fafafa; }
.mock-chrome span { width: 9px; height: 9px; border-radius: 50%; background: #e5e7eb; }
.mock-chrome i { font-style: normal; font-size: 10px; color: var(--ink-3); margin-left: 10px; background: #f3f4f6; padding: 3px 10px; border-radius: 6px; flex: 1; }
.mock-body { padding: 14px; display: grid; gap: 12px; --m-ink: #1f2937; --m-accent: #e4572e; --m-soft: #fdeee8; --m-img: linear-gradient(135deg, #f7d9c4, #e4b7a0); }
.theme-warm { --m-accent: #c2410c; --m-soft: #fdeee8; --m-img: linear-gradient(135deg, #fde7d0, #d9a583); }
.theme-slate { --m-accent: #0f766e; --m-soft: #e0f2f1; --m-img: linear-gradient(135deg, #cfd8dc, #78909c); }
.theme-blush { --m-accent: #be185d; --m-soft: #fce7f3; --m-img: linear-gradient(135deg, #fbe0ec, #e7a4c2); }
.mock-nav { display: flex; align-items: center; gap: 8px; }
.mock-nav b { width: 42px; height: 8px; border-radius: 4px; background: var(--m-ink); }
.mock-nav u { display: flex; gap: 8px; margin-left: auto; text-decoration: none; }
.mock-nav s { width: 22px; height: 5px; border-radius: 3px; background: #d1d5db; text-decoration: none; }
.mock-nav em { width: 40px; height: 12px; border-radius: 6px; background: var(--m-accent); margin-left: 8px; }
.mock-hero { display: grid; gap: 7px; padding-top: 6px; }
.mock-h1 { height: 14px; width: 78%; border-radius: 5px; background: var(--m-ink); }
.mock-h1.short { width: 52%; }
.mock-p { height: 6px; width: 62%; border-radius: 3px; background: #d1d5db; margin-top: 3px; }
.mock-btns { display: flex; gap: 8px; margin-top: 6px; }
.mock-btns em { width: 56px; height: 16px; border-radius: 8px; background: var(--m-accent); }
.mock-btns em.full { width: 100%; }
.mock-btns span { width: 56px; height: 16px; border-radius: 8px; border: 1.5px solid #d1d5db; }
.mock-img { height: 88px; border-radius: 8px; background: var(--m-img); }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mock-cards div { height: 34px; border-radius: 6px; background: var(--m-soft); }

.mock-phone {
  position: absolute; right: 0; bottom: 0; width: 170px; background: #fff; border-radius: 22px;
  border: 6px solid var(--ink); box-shadow: var(--shadow-lg); overflow: hidden; transform: rotate(3deg);
}
.mock-phone .mock-body { padding: 12px 10px; gap: 8px; }
.mock-phone .mock-img { height: 70px; }

.float-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow);
  font-size: .82rem; font-weight: 700; animation: floaty 6s ease-in-out infinite;
}
.float-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.chip-a { left: -6%; top: 46%; animation-delay: -1s; }
.chip-b { right: 4%; top: 6%; animation-delay: -3s; }
.chip-c { left: 30%; bottom: -4%; animation-delay: -5s; }
@keyframes floaty { 50% { transform: translateY(-8px); } }

@media (max-width: 960px) {
  .hero { padding-top: 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { min-height: 380px; max-width: 520px; margin-inline: auto; width: 100%; }
}
@media (max-width: 520px) {
  .hero-visual { min-height: 300px; }
  .mock-phone { width: 120px; }
  .mock-phone .mock-img { height: 46px; }
  .chip-a { left: 0; } .chip-c { display: none; }
}

/* ---------- Industries marquee ---------- */
.industries { padding: 36px 0 12px; }
.industries-label { text-align: center; font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 18px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 40s linear infinite; }
.marquee-track span { padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-weight: 600; font-size: .92rem; color: var(--ink-2); white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track, .float-chip, .pulse { animation: none; } html { scroll-behavior: auto; } }

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
@media (max-width: 720px) { .section { padding: 72px 0; } }
.section-head { max-width: 720px; margin-bottom: 52px; }
.kicker { font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.sub { font-size: 1.15rem; color: var(--ink-2); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; transition: transform .3s var(--ease), box-shadow .3s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 20px; }
.card-icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 1.2rem; }
.card p { color: var(--ink-2); margin: 0; }

/* ---------- Work ---------- */
.work { background: var(--paper-2); }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 960px) { .work-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .work-grid { grid-template-columns: 1fr; } }
.work-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.work-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.work-preview { padding: 26px 26px 0; background: linear-gradient(180deg, var(--m-soft), #fff); }
.work-preview .mock-browser { border-radius: 10px 10px 0 0; box-shadow: 0 -2px 30px -10px rgba(17,24,39,.2); border-bottom: 0; }
.work-preview .mock-body { padding: 12px; gap: 9px; }
.work-preview .mock-img { height: 64px; }
.work-preview .mock-cards div { height: 26px; }
.work-meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 20px 24px 24px; border-top: 1px solid var(--line); }
.work-meta h3 { font-size: 1.1rem; margin-bottom: 4px; }
.work-meta p { margin: 0; font-size: .9rem; color: var(--ink-2); }
.tag { font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); flex: none; }
.work-note { margin: 36px 0 0; text-align: center; color: var(--ink-2); }
.work-note a { color: var(--accent); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
@media (max-width: 960px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }
.service { padding: 34px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .3s; }
.service:hover { background: #fff; }
.service-num { font-family: var(--font-display); font-size: 1.5rem; color: var(--accent); display: block; margin-bottom: 18px; }
.service h3 { font-size: 1.15rem; }
.service p { color: var(--ink-2); margin: 0; font-size: .98rem; }

/* ---------- Process ---------- */
.process { background: var(--ink); color: #fff; }
.process .kicker { color: #ffb08a; }
.process h2 em { color: #ffb08a; }
.process .sub { color: #cbd5e1; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
@media (max-width: 960px) { .timeline { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .timeline { grid-template-columns: 1fr; } }
.timeline li { position: relative; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.18); }
.timeline li::before { content: ""; position: absolute; top: -1px; left: 0; width: 48px; height: 2px; background: var(--accent); }
.step { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #ffb08a; margin-bottom: 12px; }
.timeline h3 { font-size: 1.2rem; }
.timeline p { color: #cbd5e1; margin: 0; font-size: .97rem; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
@media (max-width: 960px) { .pricing-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 30px; }
.plan-featured { border-color: var(--ink); box-shadow: var(--shadow-lg); }
@media (min-width: 961px) { .plan-featured { transform: translateY(-14px); } }
.plan-badge { position: absolute; top: -13px; left: 30px; background: var(--accent); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.plan h3 { font-size: 1.35rem; }
.plan-for { color: var(--ink-2); font-size: .95rem; min-height: 3em; }
.price { font-size: 2.8rem; font-weight: 800; letter-spacing: -.03em; margin: 8px 0 22px; line-height: 1; }
.price span { font-size: 1rem; font-weight: 600; color: var(--ink-2); letter-spacing: 0; vertical-align: top; margin-right: 2px; }
.plan ul { display: grid; gap: 10px; margin-bottom: 28px; }
.plan li { padding-left: 26px; position: relative; font-size: .97rem; }
.plan li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23e4572e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.care { margin-top: 28px; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 30px; border: 1px dashed var(--line); border-radius: var(--radius-lg); background: var(--paper-2); }
.care h3 { font-size: 1.15rem; margin-bottom: 6px; }
.care h3 span { color: var(--accent); }
.care p { margin: 0; color: var(--ink-2); font-size: .97rem; }
@media (max-width: 720px) { .care { flex-direction: column; align-items: flex-start; } }

/* ---------- Why ---------- */
.why { background: var(--paper-2); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
@media (max-width: 860px) { .why-grid { grid-template-columns: 1fr; gap: 36px; } }
.why-copy p:last-child { color: var(--ink-2); font-size: 1.1rem; margin: 0; }
.why-list { display: grid; gap: 18px; }
.why-list li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; color: var(--ink-2); }
.why-list strong { color: var(--ink); display: block; margin-bottom: 4px; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 60px; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; gap: 20px; } }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; list-style: none; padding: 22px 44px 22px 0; font-weight: 700; font-size: 1.08rem; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-weight: 500; color: var(--ink-2); transition: transform .25s, background .25s; }
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.faq-list details p { color: var(--ink-2); padding-bottom: 22px; margin: 0; max-width: 62ch; }

/* ---------- Contact ---------- */
.contact { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; left: -10%; bottom: -30%; width: 50vw; height: 50vw; max-width: 600px; max-height: 600px; background: radial-gradient(closest-side, rgba(228,87,46,.25), transparent 70%); pointer-events: none; }
.contact .kicker { color: #ffb08a; }
.contact h2 em { color: #ffb08a; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start; position: relative; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 36px; } }
.contact-copy > p { color: #cbd5e1; font-size: 1.1rem; }
.contact-details { display: grid; gap: 10px; margin-top: 30px; color: #cbd5e1; }
.contact-details a { color: #fff; font-weight: 700; }
.contact-details a:hover { color: #ffb08a; }

.lead-form { background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-lg); display: grid; gap: 18px; }
@media (max-width: 520px) { .lead-form { padding: 24px 20px; } }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field label { font-size: .88rem; font-weight: 700; }
.field label span { color: var(--ink-3); font-weight: 500; }
.field input, .field textarea {
  font: inherit; font-size: 1rem; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--paper);
  transition: border-color .2s, box-shadow .2s; width: 100%;
}
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); background: #fff; }
.field textarea { resize: vertical; min-height: 110px; }
.hp { position: absolute; left: -9999px; }
.form-note { margin: -6px 0 0; text-align: center; font-size: .85rem; color: var(--ink-3); }

/* ---------- Footer ---------- */
.site-footer { padding: 56px 0 28px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.footer-brand p { color: var(--ink-2); margin: 14px 0 0; max-width: 34ch; font-size: .95rem; }
.footer-links, .footer-contact { display: grid; gap: 10px; align-content: start; font-size: .95rem; color: var(--ink-2); }
.footer-links a:hover, .footer-contact a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--ink-3); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Thanks page ---------- */
.thanks { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.thanks p { color: var(--ink-2); font-size: 1.15rem; max-width: 48ch; margin-inline: auto; }
