/* OurJamJar marketing site. Tokens match the app's minimal look: warm off-white, ink, one orange highlight. */
:root {
  color-scheme: light;
  --bg: #f7f6f2; --surface: #ffffff; --surface-2: #f1efe9; --border: #e6e2d9; --track: #ebe7df;
  --text: #151412; --text-2: #55524b; --text-3: #6f6a61;
  --accent: #d9480f;      /* the one highlight: decoration, large type, focus */
  --accent-ink: #b33c0c;  /* orange for small text on light (AA contrast) */
  --accent-soft: #fbe9e0;
  --good: #2f6f4f; --good-soft: #e5efe8;
  --radius: 20px; --radius-sm: 14px;
  --display: "Iowan Old Style", "Charter", "New York", "Georgia", serif;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Inter, system-ui, sans-serif;
  --wrap: 1160px;
  --gutter: 16px;
}
@media (min-width: 720px) { :root { --gutter: 28px; } }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #121110; --surface: #1b1a18; --surface-2: #24221f; --border: #33302b; --track: #2e2c27;
    --text: #f1ede4; --text-2: #bdb7aa; --text-3: #9a9487;
    --accent: #ff7a3d; --accent-ink: #ff8f5a; --accent-soft: #3a2116; --good: #7cc39c; --good-soft: #1b2c22;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #121110; --surface: #1b1a18; --surface-2: #24221f; --border: #33302b; --track: #2e2c27;
  --text: #f1ede4; --text-2: #bdb7aa; --text-3: #9a9487;
  --accent: #ff7a3d; --accent-ink: #ff8f5a; --accent-soft: #3a2116; --good: #7cc39c; --good-soft: #1b2c22;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
svg[aria-hidden] { width: 1.1em; height: 1.1em; flex: none; vertical-align: -0.18em; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
p a, li a, dd a { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); }
p a:hover, li a:hover { color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -.01em; line-height: 1.12; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(40px, 7.4vw, 76px); letter-spacing: -.02em; line-height: 1.02; }
h2 { font-size: clamp(30px, 4.4vw, 46px); }
h3, .h3 { font-size: 23px; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(18px, 2.1vw, 21px); color: var(--text-2); max-width: 38em; }
.muted { color: var(--text-2); } .small { font-size: 15px; } .tiny { font-size: 13px; }
.center { text-align: center; } .center .lede { margin-left: auto; margin-right: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 99px; background: var(--accent); }
.hl { color: var(--accent); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 99px; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 780px; }
.section { padding: clamp(56px, 9vw, 112px) 0; }
.section.tight { padding: clamp(36px, 6vw, 64px) 0; }
.section.alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head.center { margin-left: auto; margin-right: auto; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font: 600 16px/1.2 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .15s ease, background .15s ease, border-color .15s ease; }
.btn:hover { border-color: var(--text-3); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn.primary:hover { opacity: .9; }
.btn.small { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.btn svg { width: 18px; height: 18px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.center .btns { justify-content: center; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--border); }
.site-header .wrap { display: flex; align-items: center; gap: 16px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: -.01em; text-decoration: none; color: var(--text); white-space: nowrap; }
.logo .mark, .logo .mark img { width: 34px; height: 34px; flex: none; display: block; }
.logo .jam { color: var(--accent); }
.nav { display: none; margin-left: auto; align-items: center; gap: 4px; }
.nav a { padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--text-2); font-weight: 550; font-size: 15.5px; }
.nav a:hover { color: var(--text); background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.head-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.login { padding: 8px 12px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 15.5px; color: var(--text-2); }
.login:hover { color: var(--text); }
.menu-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; }
.menu-btn svg { width: 20px; height: 20px; }
.head-actions .btn { display: none; }
@media (min-width: 360px) { .head-actions .btn { display: inline-flex; } }
.login { white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; }
/* Phones: logo + compact "Get started" + menu only; Log in lives in the menu */
@media (max-width: 639px) {
  .head-actions .login { display: none; }
  .head-actions { gap: 8px; }
  .head-actions .btn.small { padding: 8px 14px; font-size: 14.5px; }
  .site-header .wrap { gap: 10px; height: 64px; }
  .logo { font-size: 21px; gap: 8px; }
  .logo .mark, .logo .mark img { width: 30px; height: 30px; }
}
@media (min-width: 980px) {
  .nav { display: flex; }
  .head-actions { margin-left: 8px; }
  .menu-btn { display: none; }
}
.mobile-nav { display: none; border-top: 1px solid var(--border); background: var(--bg); padding: 12px var(--gutter) 22px; }
.mobile-nav.open { display: block; }
.mobile-nav > a { display: block; padding: 13px 4px; font-size: 18px; font-weight: 550; text-decoration: none; border-bottom: 1px solid var(--border); }
.mobile-nav > a[aria-current="page"] { color: var(--accent-ink); }
.mobile-nav .btns { margin-top: 18px; }
.mobile-nav .btns .btn { flex: 1; }
@media (min-width: 980px) { .mobile-nav, .mobile-nav.open { display: none; } }

/* ---------- hero ---------- */
.hero { padding: clamp(36px, 7vw, 84px) 0 clamp(48px, 7vw, 88px); overflow: hidden; }
.hero-grid { display: grid; gap: clamp(36px, 5vw, 56px); align-items: center; }
@media (min-width: 1020px) { .hero-grid { grid-template-columns: 1fr 1.12fr; } .hero h1 { font-size: clamp(52px, 5.4vw, 72px); } }
.hero h1 { max-width: 11em; }
.hero .lede { margin-bottom: 28px; }
.hero-note { margin-top: 16px; font-size: 14.5px; color: var(--text-2); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note svg { width: 16px; height: 16px; color: var(--good); }
.pill { display: inline-flex; white-space: nowrap; min-height: 44px; max-width: 100%; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: 14px; font-weight: 600; color: var(--text-2); text-decoration: none; margin-bottom: 22px; }
.pill b { background: var(--accent-soft); color: var(--accent-ink); padding: 2px 10px; border-radius: 99px; font-size: 12.5px; letter-spacing: .02em; }

.shots { position: relative; }
.frame { border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); overflow: hidden; box-shadow: 0 1px 2px rgba(20,18,15,.04), 0 24px 60px -24px rgba(20,18,15,.18); }
.frame img { width: 100%; }
.frame.browser::before { content: ""; display: block; height: 26px; border-bottom: 1px solid var(--border); background: radial-gradient(circle at 16px 13px, #e2ddd3 4px, transparent 5px), radial-gradient(circle at 32px 13px, #e2ddd3 4px, transparent 5px), radial-gradient(circle at 48px 13px, #e2ddd3 4px, transparent 5px), var(--surface-2); }
.phone { border-radius: 34px; border: 8px solid var(--text); background: var(--text); overflow: hidden; box-shadow: 0 30px 60px -20px rgba(20,18,15,.35); }
.phone img { border-radius: 26px; }
.hero .shots .browser { width: 100%; }
.hero .shots .phone { position: absolute; width: 30%; max-width: 230px; right: -2%; bottom: -12%; }
@media (max-width: 719px) {
  .hero .shots { padding-bottom: 10%; }
  .hero .shots .browser { width: 118%; max-width: none; }
  .hero .shots .phone { width: 38%; right: 0; bottom: -4%; border-width: 6px; border-radius: 26px; }
  .hero .shots .phone img { border-radius: 20px; }
}
.demo-tag { position: absolute; left: 14px; bottom: 14px; z-index: 2; font-size: 12px; font-weight: 600; background: color-mix(in srgb, var(--surface) 92%, transparent); border: 1px solid var(--border); padding: 4px 10px; border-radius: 99px; color: var(--text-2); }

/* ---------- banks strip ---------- */
.banks { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 10px; }
.banks .label { font-size: 14px; color: var(--text-2); margin-right: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: 14.5px; font-weight: 600; }

/* ---------- cards & grids ---------- */
.grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .grid.c2 { grid-template-columns: repeat(2, 1fr); } .grid.c3 { grid-template-columns: repeat(3, 1fr); } .grid.c4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .grid.c4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(22px, 3vw, 30px); }
.section.alt .card { background: var(--bg); }
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.card .ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--surface-2); color: var(--text); margin-bottom: 18px; }
.section.alt .card .ico { background: var(--surface); border: 1px solid var(--border); }
.card .ico svg { width: 22px; height: 22px; }
.card .ico.hot { background: var(--accent-soft); color: var(--accent-ink); border: 0; }
.card.link { text-decoration: none; display: block; transition: border-color .15s, transform .15s; }
.card.link:hover { border-color: var(--text-3); }

.steps { counter-reset: step; }
.step { position: relative; }
.step .n { font-family: var(--display); font-size: 44px; line-height: 1; font-weight: 700; color: var(--accent); margin-bottom: 14px; display: block; }

/* feature rows */
.feature { display: grid; gap: clamp(26px, 4vw, 64px); align-items: center; padding: clamp(28px, 5vw, 56px) 0; }
@media (min-width: 900px) {
  .feature { grid-template-columns: 5fr 7fr; }
  .feature.flip { grid-template-columns: 7fr 5fr; }
  .feature.flip .copy { order: 2; }
}
.feature .copy h2, .feature .copy h3 { font-size: clamp(28px, 3.4vw, 38px); margin-bottom: 14px; }
.feature .copy p { color: var(--text-2); font-size: 18px; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 99px; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b33c0c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/13px no-repeat; }
.feature .media { position: relative; min-width: 0; }
.feature .media .frame { width: 100%; }
.feature .media.with-phone { padding-right: 14%; }
.feature .media.with-phone .phone { position: absolute; right: 0; bottom: -8%; width: 30%; }

/* split NZ / security band */
.band { border-radius: calc(var(--radius) + 8px); background: var(--text); color: var(--bg); padding: clamp(32px, 6vw, 72px); }
.band h2 { color: var(--bg); }
.band .lede, .band p { color: color-mix(in srgb, var(--bg) 78%, transparent); }
.band .card { background: color-mix(in srgb, var(--bg) 7%, var(--text)); border-color: color-mix(in srgb, var(--bg) 16%, var(--text)); color: var(--bg); }
.band .card p { color: color-mix(in srgb, var(--bg) 72%, transparent); }
.band .card .ico { background: color-mix(in srgb, var(--bg) 12%, var(--text)); color: var(--accent); border: 0; }
.band a { color: var(--bg); text-decoration-color: var(--accent); }
.band .btn { background: var(--bg); color: var(--text); border-color: var(--bg); }

/* pricing */
.plans { display: grid; gap: 16px; align-items: stretch; }
@media (min-width: 860px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { display: flex; flex-direction: column; gap: 14px; }
.plan.featured { border: 2px solid var(--text); }
.plan .price { font-family: var(--display); font-size: 44px; font-weight: 700; line-height: 1; }
.plan .price small { font-family: var(--font); font-size: 15px; font-weight: 500; color: var(--text-2); }
.plan .ticks { margin-top: 4px; flex: 1; align-content: start; }
.plan .tag { align-self: flex-start; }
.plan .btn { width: 100%; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 99px; background: var(--surface-2); color: var(--text-2); }
.tag.hot { background: var(--accent-soft); color: var(--accent-ink); }
.draft-banner { display: flex; gap: 12px; align-items: flex-start; background: var(--accent-soft); color: var(--text); border: 1px dashed var(--accent); border-radius: var(--radius-sm); padding: 14px 18px; margin-bottom: 28px; font-size: 15.5px; }
.draft-banner strong { color: var(--accent-ink); }
.todo { background: var(--accent-soft); color: var(--accent-ink); border-radius: 6px; padding: 1px 6px; font-weight: 600; font-size: .92em; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.section.alt .faq details { background: var(--bg); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 650; font-size: 17.5px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 24px; height: 24px; margin-top: -12px; border-radius: 99px; background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2355524b' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 7v10M7 12h10'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 22px 20px; color: var(--text-2); }
.faq .a p:last-child { margin-bottom: 0; }
.faq-group h2 { font-size: clamp(24px, 3vw, 30px); margin-top: 8px; }
.faq-group + .faq-group { margin-top: 48px; }

/* CTA */
.cta { text-align: center; background: var(--surface); border: 1px solid var(--border); border-radius: calc(var(--radius) + 8px); padding: clamp(36px, 7vw, 80px) var(--gutter); position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: var(--accent-soft); top: -220px; right: -120px; }
.cta > * { position: relative; }
.cta .lede { margin-left: auto; margin-right: auto; }
.cta .btns { justify-content: center; }

/* page head */
.page-head { padding: clamp(40px, 7vw, 88px) 0 clamp(20px, 4vw, 40px); }
.page-head h1 { font-size: clamp(38px, 6vw, 64px); max-width: 14em; }

/* prose (legal, about, security) */
.prose { max-width: 720px; }
.prose h2 { font-size: clamp(26px, 3.2vw, 32px); margin-top: 1.6em; }
.prose h3 { font-size: 21px; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 1em; }
.prose li { margin-bottom: .4em; }
.prose .card { margin: 1.2em 0; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; padding: 0; list-style: none; }
.toc a { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; padding: 7px 16px; border-radius: 99px; background: var(--surface); border: 1px solid var(--border); text-decoration: none; font-size: 14.5px; font-weight: 600; color: var(--text-2); }
.toc a:hover { color: var(--text); border-color: var(--text-3); }
.cando { display: grid; gap: 16px; }
@media (min-width: 720px) { .cando { grid-template-columns: 1fr 1fr; } }
.cando ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.cando li { padding-left: 30px; position: relative; }
.cando li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 99px; }
.cando .yes li::before { background: var(--good-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f6f4f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/13px no-repeat; }
.cando .no li::before { background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b33c0c' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center/12px no-repeat; }

/* forms */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-weight: 650; font-size: 15.5px; }
.field .hint { font-size: 14px; color: var(--text-2); margin-top: -2px; }
input[type=text], input[type=email], select, textarea { width: 100%; min-height: 50px; padding: 12px 16px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--surface); color: var(--text); font: 16px/1.4 var(--font); }
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--text-2); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; white-space: nowrap; padding: 8px 16px; border-radius: 99px; border: 1px solid var(--border); background: var(--surface); font-weight: 550; font-size: 15px; cursor: pointer; }
.checks label:has(input:checked) { border-color: var(--text); background: var(--surface-2); }
.checks input, .consent input { accent-color: var(--accent); width: 18px; height: 18px; margin: 0; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--text-2); }
.consent input { margin-top: 3px; flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: var(--radius-sm); padding: 14px 18px; font-weight: 550; }
.form-status:empty { display: none; }
.form-status.ok { background: var(--good-soft); color: var(--good); }
.form-status.err { background: var(--accent-soft); color: var(--accent-ink); }
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: calc(var(--radius) + 4px); padding: clamp(22px, 4vw, 40px); }
.two-col { display: grid; gap: clamp(28px, 5vw, 64px); }
@media (min-width: 900px) { .two-col { grid-template-columns: 5fr 6fr; align-items: start; } }

/* ---------- phones: pill buttons and app screenshots ---------- */
picture { display: block; }
@media (max-width: 519px) {
  .hero .btns, .cta .btns, .page-head .btns { flex-direction: column; align-items: stretch; }
  .hero .btns .btn, .cta .btns .btn, .page-head .btns .btn { width: 100%; }
  .pill { font-size: 13.5px; padding-right: 12px; }
}
@media (max-width: 640px) {
  /* show phone-sized demo screenshots in a phone frame instead of shrunken desktop shots */
  .feature .frame.browser { width: min(320px, 86vw); margin: 0 auto; border-radius: 34px; border: 7px solid var(--text); background: var(--text); }
  .feature .frame.browser::before { display: none; }
  .feature .frame.browser img { border-radius: 27px; }
  .feature .media.with-phone { padding-right: 0; }
  .feature .media.with-phone .phone { display: none; }
  .hero .shots { padding-bottom: 0; }
  .hero .shots .browser { display: none; }
  .hero .shots .phone { position: static; width: min(300px, 80vw); max-width: none; margin: 0 auto; border-width: 7px; border-radius: 34px; }
  .hero .shots .phone img { border-radius: 27px; }
  .hero .demo-tag { position: static; display: table; margin: 14px auto 0; }
}

/* footer */
.site-footer { border-top: 1px solid var(--border); padding: 56px 0 36px; margin-top: clamp(40px, 6vw, 80px); font-size: 15px; }
.foot-grid { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; }
@media (min-width: 860px) { .foot-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.foot-grid .about { grid-column: 1 / -1; }
@media (min-width: 860px) { .foot-grid .about { grid-column: auto; } }
.foot-grid h2 { font-family: var(--font); font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--text-2); font-weight: 650; margin-bottom: 12px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-grid a { text-decoration: none; color: var(--text-2); }
.foot-grid a:hover { color: var(--text); }
.fine { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: var(--text-2); font-size: 13.5px; }
.fine p { margin: 0; }

/* reveal on scroll (only when JS has run and motion is OK) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
  .js .reveal.in { opacity: 1; transform: none; }
}
