/* vibe&code — shared stylesheet.
   Tokens mirror the FeelScape site (src/styles/global.css) so the studio site
   and the app sites read as one family: warm off-white ground, Fraunces for
   display type, Inter for everything else, soft pastel accents. */

:root {
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-display: "Fraunces", ui-serif, Georgia, "Times New Roman", serif;

  --bg: #FBF9F7;
  --surface: #FFFFFF;
  --elevated: #F3EFF9;
  --border: #E8E2EC;
  --text: #101A2E;
  --muted: #5B6474;
  --soft: #8A91A0;

  --teal: #2FB1AF;
  --teal-deep: #1C8E8C;
  --teal-soft: #D9F3F2;
  --coral: #FF6B8A;
  --orange: #F5A05A;
  --peach: #FFD7C2;
  --lavender: #B794F6;
  --lavender-soft: #ECE3FF;
  --mint: #BDEEF2;
  --gold: #F4C95D;
  --night: #101A2E;

  /* SealDocs accents, from the app's own theme. */
  --sd-pink: #FF6B9D;
  --sd-pink-deep: #E84D7F;
  --sd-pink-soft: #FFE4EC;
  --sd-blue: #7BB5D3;
  --sd-blue-soft: #C8E6F5;

  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 40px;

  --shadow-soft: 0 1px 2px rgba(16, 26, 46, 0.04), 0 12px 40px -12px rgba(16, 26, 46, 0.12);
  --shadow-lift: 0 2px 6px rgba(16, 26, 46, 0.06), 0 30px 60px -20px rgba(16, 26, 46, 0.22);

  --nav-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: light; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: color-mix(in srgb, var(--teal) 25%, transparent); }
:focus-visible { outline: 2px solid var(--teal-deep); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 8px 14px; background: var(--night); color: #fff; border-radius: 8px; font-weight: 600; font-size: 14px; }
.skip:focus { left: 16px; }

/* ---- Layout ----------------------------------------------------------- */
.container { width: 100%; max-width: 1152px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 760px; }
.section { padding: 72px 0; }
@media (min-width: 768px) { .section { padding: 104px 0; } }
.section-tight { padding-top: 40px; }
.section-head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 640px) and (max-width: 899px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }

/* ---- Type ------------------------------------------------------------- */
.display {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144;
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.h1 { font-size: clamp(2.6rem, 6.5vw, 4.6rem); }
.h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
.h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; }
.eyebrow { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: 12px; }
.eyebrow.pink { color: var(--sd-pink-deep); }
.lead { font-size: 1.125rem; color: var(--muted); line-height: 1.65; text-wrap: pretty; }
@media (min-width: 768px) { .lead { font-size: 1.25rem; } }
.muted { color: var(--muted); }
.soft { color: var(--soft); }
.small { font-size: 0.9rem; }
.gradient-text {
  background: linear-gradient(120deg, var(--teal-deep) 0%, var(--teal) 40%, var(--orange) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.gradient-text-pink {
  background: linear-gradient(120deg, var(--sd-pink-deep) 0%, var(--sd-pink) 50%, var(--sd-blue) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}

/* ---- Backgrounds ------------------------------------------------------ */
.bg-sky {
  background:
    radial-gradient(60% 50% at 15% 10%, color-mix(in srgb, var(--lavender) 38%, transparent) 0%, transparent 70%),
    radial-gradient(55% 45% at 85% 15%, color-mix(in srgb, var(--peach) 70%, transparent) 0%, transparent 70%),
    radial-gradient(60% 50% at 50% 95%, color-mix(in srgb, var(--mint) 75%, transparent) 0%, transparent 70%),
    var(--bg);
}
.bg-blush {
  background:
    radial-gradient(60% 50% at 12% 12%, color-mix(in srgb, var(--sd-pink) 22%, transparent) 0%, transparent 70%),
    radial-gradient(55% 45% at 88% 20%, color-mix(in srgb, var(--sd-blue) 30%, transparent) 0%, transparent 70%),
    radial-gradient(60% 50% at 50% 100%, color-mix(in srgb, var(--mint) 60%, transparent) 0%, transparent 70%),
    var(--bg);
}
.bg-dawn { background: linear-gradient(160deg, #FBE7F1 0%, #FFE9D6 45%, #DDF4F3 100%); }
.bg-elevated { background: var(--elevated); }
.bg-white { background: var(--surface); }

/* ---- Nav -------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 249, 247, 0.78);
  backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 60%, transparent);
}
.nav-inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.wordmark { font-family: var(--font-display); font-variation-settings: "opsz" 72; font-size: 1.45rem; font-weight: 600; letter-spacing: -0.02em; color: var(--text); display: inline-flex; align-items: baseline; gap: 1px; }
.wordmark em { font-style: italic; font-weight: 500; color: var(--teal-deep); padding: 0 1px; }
.nav-links { display: none; align-items: center; gap: 4px; }
.nav-links a { padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--muted); transition: color .18s, background-color .18s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); background: #fff; }
.nav-right { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px; border: 0; background: transparent; color: var(--text); cursor: pointer; }
.nav-toggle:hover { background: #fff; }
.nav-mobile { display: none; border-top: 1px solid color-mix(in srgb, var(--border) 60%, transparent); background: var(--bg); }
.nav-mobile.open { display: block; }
.nav-mobile nav { padding: 12px 20px 18px; display: flex; flex-direction: column; gap: 4px; }
.nav-mobile a { padding: 12px 16px; border-radius: 14px; font-weight: 500; color: var(--muted); }
.nav-mobile a:hover { color: var(--text); background: #fff; }
@media (min-width: 900px) { .nav-links { display: flex; } .nav-toggle, .nav-mobile { display: none !important; } }

/* ---- Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; border: 0; cursor: pointer;
  font: inherit; font-weight: 600; font-size: 15px; white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-primary { background: var(--night); color: #fff; box-shadow: 0 10px 30px -10px rgba(16, 26, 46, 0.45); }
.btn-primary:hover { background: #1B2740; transform: translateY(-1px); }
.btn-brand { background: linear-gradient(135deg, #37C3C0 0%, #2FB1AF 45%, #F5A05A 100%); color: #fff; box-shadow: 0 12px 30px -10px rgba(47, 177, 175, 0.55); }
.btn-brand:hover { box-shadow: 0 16px 36px -10px rgba(47, 177, 175, 0.7); transform: translateY(-1px); }
.btn-pink { background: linear-gradient(135deg, var(--sd-pink) 0%, var(--sd-pink-deep) 100%); color: #fff; box-shadow: 0 12px 30px -10px rgba(232, 77, 127, 0.5); }
.btn-pink:hover { box-shadow: 0 16px 36px -10px rgba(232, 77, 127, 0.65); transform: translateY(-1px); }
.btn-ghost { background: rgba(255, 255, 255, 0.7); color: var(--text); border: 1px solid var(--border); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: #fff; border-color: #D8D0DE; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-row.center { justify-content: center; }
.text-link { font-weight: 600; color: var(--teal-deep); }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.text-link.pink { color: var(--sd-pink-deep); }

/* Store badge, the same dark pill FeelScape uses. `.soon` is the no-link variant. */
.store { display: inline-flex; align-items: center; gap: 12px; padding: 12px 22px; border-radius: 16px; background: var(--night); color: #fff; box-shadow: 0 12px 30px -12px rgba(16, 26, 46, 0.5); transition: background-color .18s; }
.store:hover { background: #1B2740; }
.store svg { width: 26px; height: 26px; flex: none; }
.store span { display: block; line-height: 1.15; text-align: left; }
.store .top { font-size: 11px; opacity: .75; }
.store .name { font-size: 17px; font-weight: 600; margin-top: -1px; }
.store.soon { background: #fff; color: var(--text); border: 1px solid var(--border); box-shadow: none; cursor: default; }
.store.soon:hover { background: #fff; }
.store.soon .top { opacity: 1; color: var(--sd-pink-deep); font-weight: 600; }

/* ---- Surfaces --------------------------------------------------------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-soft); }
.card-pad { padding: 28px; }
@media (min-width: 768px) { .card-pad { padding: 36px; } }
.card-hover { transition: transform .22s cubic-bezier(.2,.8,.2,1), box-shadow .22s; }
.card-hover:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.glass { background: rgba(255, 255, 255, 0.72); border: 1px solid rgba(255, 255, 255, 0.9); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--muted); }
.pill .dot { width: 8px; height: 8px; border-radius: 999px; background: var(--teal); }
.pill .dot.pink { background: var(--sd-pink); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 5px 12px; border-radius: 999px; background: var(--elevated); color: var(--muted); font-size: 12.5px; font-weight: 600; }
.tag.teal { background: var(--teal-soft); color: var(--teal-deep); }
.tag.pink { background: var(--sd-pink-soft); color: var(--sd-pink-deep); }
.checks { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--muted); }
.checks li { display: inline-flex; align-items: center; gap: 6px; }
.checks svg { width: 16px; height: 16px; color: var(--teal-deep); }
.checks.pink svg { color: var(--sd-pink-deep); }
.divider { height: 1px; background: var(--border); }

/* App icon frame */
.app-icon { width: 64px; height: 64px; border-radius: 18px; box-shadow: 0 8px 20px -8px rgba(16, 26, 46, 0.35), inset 0 0 0 1px rgba(16, 26, 46, 0.06); }
.app-icon.lg { width: 96px; height: 96px; border-radius: 26px; }

/* Phone frame for screenshots */
.phone { position: relative; border-radius: 44px; padding: 10px; background: linear-gradient(180deg, #fff 0%, #F1ECF5 100%); box-shadow: var(--shadow-lift), inset 0 0 0 1px rgba(16, 26, 46, 0.06); }
.phone > img { border-radius: 36px; width: 100%; height: auto; }

/* ---- Hero ------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; }
/* Vertical padding only: `.hero-inner` shares an element with `.container`, whose side padding must survive. */
.hero-inner { position: relative; padding-top: 48px; padding-bottom: 56px; display: grid; gap: 44px; align-items: center; }
@media (min-width: 1000px) { .hero-inner { grid-template-columns: 1.15fr 1fr; padding-top: 84px; padding-bottom: 96px; gap: 32px; } }
.hero-copy { max-width: 620px; }
.hero-copy .h1 { margin-top: 22px; }
.hero-copy .lead { margin-top: 22px; max-width: 540px; }
.hero-copy .btn-row { margin-top: 32px; }
.hero-copy .checks { margin-top: 24px; }
.drift { position: absolute; border-radius: 999px; filter: blur(64px); pointer-events: none; animation: drift 22s ease-in-out infinite alternate; }
.hero-visual { position: relative; margin: 0 auto; width: 100%; max-width: 380px; }
@media (min-width: 1000px) { .hero-visual { max-width: 420px; } }
.float-card { position: absolute; width: 224px; padding: 14px; border-radius: 18px; box-shadow: var(--shadow-soft); display: none; }
@media (min-width: 640px) { .float-card { display: block; } }
/* Corner positions. The float keyframe owns `transform`, so no rotation here. */
.float-card.tl { left: -40px; top: 18%; }
.float-card.tr { right: -30px; top: 4%; }
.float-card.bl { left: -30px; bottom: 6%; }
.float-card.br { right: -36px; bottom: 16%; }
/* Below the widest layout the visual sits at the container edge, so the overhang would be clipped. */
@media (max-width: 1199px) { .float-card.tl, .float-card.bl { left: 0; } .float-card.tr, .float-card.br { right: 0; } }
.float-card .meta { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; color: var(--muted); }
.float-card .meta i { width: 20px; height: 20px; border-radius: 999px; flex: none; }
.float-card .meta img { width: 20px; height: 20px; border-radius: 6px; }
.float-card p { margin-top: 8px; font-family: var(--font-display); font-variation-settings: "opsz" 72, "SOFT" 60; font-weight: 500; font-size: .95rem; line-height: 1.3; letter-spacing: -0.01em; }
.float-card .bar { margin-top: 10px; height: 6px; border-radius: 999px; background: var(--elevated); overflow: hidden; }
.float-card .bar i { display: block; height: 100%; width: 68%; border-radius: 999px; background: linear-gradient(90deg, var(--sd-pink), var(--orange)); }

/* ---- App showcase cards (home) ---------------------------------------- */
.app-card { display: grid; overflow: hidden; }
@media (min-width: 900px) { .app-card { grid-template-columns: 1.1fr 0.9fr; } .app-card.flip { grid-template-columns: 0.9fr 1.1fr; } .app-card.flip .app-card-body { order: 2; } }
.app-card-body { padding: 32px; display: flex; flex-direction: column; gap: 18px; }
@media (min-width: 768px) { .app-card-body { padding: 44px; } }
.app-card-body .h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.app-card-body .lead { font-size: 1.05rem; }
.app-card-media { position: relative; display: flex; align-items: center; justify-content: center; padding: 32px 28px 0; min-height: 300px; overflow: hidden; }
.app-card-media.fs { background: linear-gradient(160deg, #F3EDFF 0%, #FFE9D6 55%, #DDF4F3 100%); }
.app-card-media.sd { background: linear-gradient(160deg, #FFE4EC 0%, #FDF1F4 50%, #DCEFF8 100%); padding-bottom: 32px; }
.app-card-media .phone { width: 78%; max-width: 250px; margin-bottom: -60px; }
.app-card-media .sealy { width: 62%; max-width: 250px; filter: drop-shadow(0 20px 30px rgba(16, 26, 46, .16)); animation: float 7s ease-in-out infinite; }
.app-head { display: flex; align-items: center; gap: 16px; }
.app-head .sub { color: var(--muted); font-size: 14px; }

/* ---- Feature / step cards -------------------------------------------- */
.feature { display: flex; flex-direction: column; gap: 12px; }
.feature .icon { width: 48px; height: 48px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: var(--teal-soft); color: var(--teal-deep); }
.feature .icon.pink { background: var(--sd-pink-soft); color: var(--sd-pink-deep); }
.feature .icon.lav { background: var(--lavender-soft); color: #7A4FCF; }
.feature .icon.gold { background: #FFF3D1; color: #A97A11; }
.feature .icon.blue { background: var(--sd-blue-soft); color: #3C7FA8; }
.feature .icon svg { width: 22px; height: 22px; }
.feature p { color: var(--muted); font-size: 15px; }
.step-num { font-family: var(--font-display); font-variation-settings: "opsz" 144; font-size: 2.6rem; font-weight: 500; line-height: 1; letter-spacing: -0.03em; color: var(--sd-pink); }
.checklist { display: flex; flex-direction: column; gap: 12px; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; color: var(--text); }
.checklist svg { width: 22px; height: 22px; flex: none; padding: 4px; border-radius: 999px; background: var(--sd-pink-soft); color: var(--sd-pink-deep); }
.chip-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .chip-grid { grid-template-columns: repeat(4, 1fr); } }
.chip { padding: 18px 16px; border-radius: var(--r-md); display: flex; flex-direction: column; gap: 4px; }
.chip .name { font-weight: 600; }
.chip .count { font-size: 13px; color: var(--soft); }
.chip .sw { width: 28px; height: 28px; border-radius: 9px; margin-bottom: 6px; }
.quote { font-family: var(--font-display); font-variation-settings: "opsz" 96, "SOFT" 40; font-weight: 500; font-size: clamp(1.35rem, 2.6vw, 1.9rem); line-height: 1.32; letter-spacing: -0.015em; text-wrap: balance; }
.quote-by { margin-top: 18px; font-size: 14px; color: var(--muted); }
.principle { display: flex; flex-direction: column; gap: 10px; }
.principle .n { font-family: var(--font-display); font-variation-settings: "opsz" 144; font-size: 1.1rem; font-style: italic; color: var(--teal-deep); }
.principle p { color: var(--muted); font-size: 15px; }

/* ---- FAQ -------------------------------------------------------------- */
.faq { padding: 0 8px; }
@media (min-width: 640px) { .faq { padding: 0 16px; } }
.faq details { border-bottom: 1px solid var(--border); }
.faq details:last-child { border-bottom: 0; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 12px; font-weight: 600; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; width: 32px; height: 32px; border-radius: 999px; background: var(--elevated); display: inline-flex; align-items: center; justify-content: center; transition: transform .2s; }
.faq details[open] summary .plus { transform: rotate(45deg); }
.faq .answer { padding: 0 12px 20px; margin-top: -4px; color: var(--muted); line-height: 1.65; text-wrap: pretty; }

/* ---- CTA card --------------------------------------------------------- */
.cta-card { position: relative; overflow: hidden; border-radius: var(--r-xl); border: 1px solid #fff; padding: 36px 24px; box-shadow: var(--shadow-soft); text-align: center; }
@media (min-width: 768px) { .cta-card { padding: 64px; } }
.cta-card .inner { position: relative; max-width: 620px; margin: 0 auto; }
.cta-card .lead { margin-top: 16px; }
.cta-card .btn-row { margin-top: 30px; }
.cta-card .note { margin-top: 20px; font-size: 14px; color: var(--muted); }

/* ---- Forms ------------------------------------------------------------ */
.field { display: block; font-size: 14px; font-weight: 500; }
/* Vertical rhythm between top-level form blocks only; fields inside a `.row` sit side by side. */
.form > .field + .field, .form > .row + .field, .form > .field + .row { margin-top: 16px; }
.form .row { display: grid; gap: 16px; }
@media (min-width: 640px) { .form .row { grid-template-columns: 1fr 1fr; } }
.form input, .form select, .form textarea {
  margin-top: 6px; width: 100%; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--border); background: #fff;
  font: inherit; font-size: 15px; color: var(--text); transition: border-color .18s, box-shadow .18s;
}
.form textarea { resize: vertical; min-height: 140px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-color: var(--teal); box-shadow: 0 0 0 4px color-mix(in srgb, var(--teal) 18%, transparent); }
.form .btn { margin-top: 20px; width: 100%; }
.form .status { margin-top: 12px; font-size: 14px; color: var(--muted); min-height: 1.4em; }
.contact-line { display: flex; align-items: center; gap: 14px; }
.contact-line .icon { width: 44px; height: 44px; border-radius: 14px; background: var(--teal-soft); color: var(--teal-deep); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.contact-line .icon svg { width: 20px; height: 20px; }
.contact-line b { display: block; font-size: 14px; }
.contact-line span { color: var(--muted); font-size: 14px; }

/* ---- Legal ------------------------------------------------------------ */
.legal { padding: 56px 0 96px; }
.legal h1 { font-family: var(--font-display); font-variation-settings: "opsz" 144; font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -0.025em; line-height: 1.05; }
.legal .last-updated { margin: 12px 0 36px; color: var(--soft); font-size: 14px; }
.legal .legal-section { margin-top: 32px; }
.legal h2 { font-family: var(--font-display); font-variation-settings: "opsz" 96; font-size: 1.45rem; letter-spacing: -0.015em; margin-bottom: 10px; }
.legal h3 { font-size: 1.05rem; margin: 18px 0 6px; }
.legal p { color: var(--muted); margin-bottom: 10px; }
.legal ul { list-style: disc; padding-left: 22px; color: var(--muted); margin: 8px 0 12px; }
.legal li { margin: 4px 0; }
.legal a { color: var(--teal-deep); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.legal strong { color: var(--text); }

/* ---- Footer ----------------------------------------------------------- */
.footer { border-top: 1px solid var(--border); background: #fff; }
.footer-grid { padding: 56px 0 40px; display: grid; gap: 32px; grid-template-columns: 1fr 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 768px) { .footer-brand { grid-column: auto; } }
.footer-brand p { margin-top: 12px; max-width: 300px; font-size: 14px; color: var(--muted); }
.footer h4 { font-size: 14px; margin-bottom: 12px; }
.footer li + li { margin-top: 8px; }
.footer li a { font-size: 14px; color: var(--muted); transition: color .18s; }
.footer li a:hover { color: var(--teal-deep); }
.footer-bottom { padding: 22px 0; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; color: var(--soft); }
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; } }

/* ---- Motion ----------------------------------------------------------- */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes drift { 0% { transform: translate3d(0, 0, 0) scale(1); } 100% { transform: translate3d(4%, -3%, 0) scale(1.08); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fade-up .7s cubic-bezier(.2,.7,.2,1) both; }
.float { animation: float 7s ease-in-out infinite; }
.reveal { opacity: 1; }
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
