/* Obsydra — visual language modelled on Apple's product pages:
   system type, generous whitespace, light/dark bands, rounded tiles, pill buttons. */

:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --ink: #1d1d1f;
  --gray: #6e6e73;
  --gray-2: #86868b;
  --line: #d2d2d7;
  --black: #000000;
  --dark-2: #1d1d1f;
  --on-dark: #f5f5f7;

  --accent: #127A52;
  --accent-hover: #0F6A47;
  --accent-dark: #0E5E3F;
  --accent-on-dark: #2DB37C;
  --slate: #3a3a3f;
  --slate-light: #86868b;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --container: 1068px;
  --gutter: max(22px, 4vw);
  --radius: 28px;
  --radius-sm: 18px;
  --ease: cubic-bezier(.28, .11, .32, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 64px; }

body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

main { flex: 1; display: flex; flex-direction: column; }

a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
img, svg { display: block; }
button { font: inherit; letter-spacing: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

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

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- GLOBAL NAV ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 52px;
  background: rgba(251, 251, 253, .8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
  view-transition-name: site-nav;
}

.nav.scrolled { border-color: rgba(0, 0, 0, .08); }

.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }

.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a { font-size: 13px; color: rgba(0, 0, 0, .8); transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"] { font-weight: 600; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  transition: background .2s;
}

.nav-cta:hover { background: var(--accent-hover); }

/* dark nav over the home page's black hero */
.home .nav { background: rgba(22, 22, 23, .8); }
.home .nav.scrolled { border-color: rgba(255, 255, 255, .08); }
.home .logo { color: var(--on-dark); }
.home .nav-links a { color: rgba(255, 255, 255, .8); }
.home .nav-links a:hover { color: #fff; }
.home .nav-toggle span { background: var(--on-dark); }

.nav-toggle { display: none; position: relative; width: 44px; height: 44px; margin-right: -12px; background: none; border: 0; cursor: pointer; }
.nav-toggle span { position: absolute; left: 14px; right: 14px; height: 1.5px; border-radius: 1px; background: var(--ink); transition: transform .35s var(--ease), top .35s var(--ease); }
.nav-toggle span:nth-child(1) { top: 18px; }
.nav-toggle span:nth-child(2) { top: 25px; }
.nav-toggle.open span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

.nav-mobile {
  position: fixed;
  inset: 52px 0 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 28px var(--gutter);
  background: var(--bg);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
}

.nav-mobile.open { opacity: 1; visibility: visible; }
.nav-mobile a { font-size: 28px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.5; color: var(--ink); opacity: 0; transform: translateY(-6px); transition: opacity .4s var(--ease), transform .4s var(--ease), color .2s; }
.nav-mobile a[aria-current="page"] { color: var(--accent); }
.nav-mobile.open a { opacity: 1; transform: none; }
.nav-mobile.open a:nth-child(2) { transition-delay: .03s; }
.nav-mobile.open a:nth-child(3) { transition-delay: .06s; }
.nav-mobile.open a:nth-child(4) { transition-delay: .09s; }
.nav-mobile.open a:nth-child(5) { transition-delay: .12s; }
.nav-mobile .mobile-meta { margin-top: 24px; font-size: 14px; color: var(--gray); }
.home .nav-mobile { background: var(--black); }
.home .nav-mobile a { color: var(--on-dark); }
.home .nav-mobile a[aria-current="page"] { color: var(--accent-on-dark); }

/* ---------- BUTTONS & LINKS ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 17px;
  font-weight: 400;
  white-space: nowrap;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { border-color: var(--accent); color: var(--accent); background: transparent; }
.btn-secondary:hover { background: var(--accent); color: #fff; }
.on-dark .btn-secondary { border-color: var(--accent-on-dark); color: var(--accent-on-dark); }
.on-dark .btn-secondary:hover { background: var(--accent-on-dark); color: var(--black); }

.link-more { display: inline-flex; align-items: center; gap: 2px; color: var(--accent); font-size: 17px; }
.link-more::after { content: "›"; font-size: 1.15em; line-height: 1; transition: transform .25s var(--ease); }
.link-more:hover { text-decoration: underline; }
.link-more:hover::after { transform: translateX(3px); }
.on-dark .link-more { color: var(--accent-on-dark); }

/* ---------- HOME HERO (black, product-style) ---------- */

.home { background: var(--black); color: var(--on-dark); }

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 56px var(--gutter) 28px;
  background: var(--black);
  overflow: hidden;
}

.hero h1 { font-size: clamp(40px, 5.6vw, 72px); font-weight: 600; line-height: 1.05; letter-spacing: -0.015em; }

.hero .tagline { margin-top: 8px; font-size: clamp(21px, 2.4vw, 28px); line-height: 1.14; letter-spacing: 0.007em; }
.hero .tagline span { color: var(--gray-2); }

.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 24px; }

.shard-wrap { flex: 1; min-height: 0; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; margin: 20px 0 0; perspective: 1000px; }

#shard {
  width: 100%;
  max-width: min(440px, 46vh);
  height: auto;
  touch-action: pan-y;
  transition: transform .6s var(--ease);
  filter: drop-shadow(0 30px 60px rgba(45, 179, 124, .10));
}

#shard polygon { stroke: rgba(255, 255, 255, .05); stroke-width: .6; stroke-linejoin: round; }
.shard-wrap figcaption { font-size: 12px; color: var(--gray); letter-spacing: -0.01em; }
.hint-touch { display: none; }
@media (hover: none) { .hint-fine { display: none; } .hint-touch { display: inline; } }

.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; margin: 24px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--gray-2); }
.facts li { display: flex; align-items: center; gap: 8px; }
.facts li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent-on-dark); }

/* ---------- PAGE HEAD (inner pages) ---------- */

.page-head { padding: clamp(56px, 8vw, 104px) var(--gutter) clamp(40px, 6vw, 72px); text-align: center; }
.eyebrow { font-size: clamp(19px, 1.8vw, 24px); font-weight: 600; letter-spacing: 0.009em; margin-bottom: 10px; color: var(--accent); }

.headline { font-size: clamp(40px, 6vw, 80px); font-weight: 600; line-height: 1.05; letter-spacing: -0.015em; max-width: 16ch; margin: 0 auto; }
.headline .muted { color: var(--gray-2); }

.subhead { max-width: 640px; margin: 20px auto 0; font-size: clamp(19px, 1.7vw, 21px); line-height: 1.38; color: var(--gray); letter-spacing: 0.011em; }

/* ---------- BANDS & SECTION TITLES ---------- */

.band { padding: clamp(64px, 9vw, 120px) 0; }
.band-alt { background: var(--bg-alt); }

.section-title { font-size: clamp(32px, 4vw, 48px); font-weight: 600; line-height: 1.08; letter-spacing: -0.003em; max-width: 18ch; }
.section-title .muted { color: var(--gray-2); }

.section-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }

/* ---------- SERVICES: feature cards + detail sheets ---------- */

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 480px;
  padding: 32px 30px 88px;
  border-radius: var(--radius);
  background: var(--bg);
  overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}

.feature-card:hover { transform: scale(1.015); box-shadow: 0 10px 40px rgba(0, 0, 0, .08); }
.feature-card.dark { background: var(--black); color: var(--on-dark); }
.feature-card .kicker { font-size: 14px; font-weight: 600; color: var(--accent); }
.feature-card.dark .kicker { color: var(--accent-on-dark); }
.feature-card h3 { font-size: clamp(24px, 2.4vw, 28px); font-weight: 600; line-height: 1.14; letter-spacing: 0.007em; }
.feature-card p { color: var(--gray); }
.feature-card.dark p { color: var(--gray-2); }

.feature-art { margin-top: auto; align-self: center; width: 132px; height: 132px; }
.feature-art { color: var(--accent); }
.feature-card.dark .feature-art { color: var(--accent-on-dark); }

.plus-btn {
  position: absolute;
  right: 22px;
  bottom: 22px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  transition: transform .4s var(--ease), background .2s;
}

.plus-btn svg { width: 16px; height: 16px; }
.plus-btn:hover { transform: scale(1.08); background: var(--accent); }
.feature-card.dark .plus-btn { background: #fff; color: var(--black); }
.feature-card.dark .plus-btn:hover { background: var(--accent-on-dark); }

dialog.sheet {
  width: min(760px, calc(100vw - 32px));
  max-height: calc(100svh - 64px);
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .25);
  overflow: auto;
}

dialog.sheet::backdrop { background: rgba(0, 0, 0, .45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
dialog.sheet[open] { animation: sheet-in .5s var(--ease); }
dialog.sheet[open]::backdrop { animation: fade-in .4s ease; }
dialog.sheet.closing { animation: sheet-out .3s var(--ease) forwards; }
dialog.sheet.closing::backdrop { animation: fade-out .3s ease forwards; }
@keyframes sheet-in { from { opacity: 0; transform: translateY(24px) scale(.98); } }
@keyframes sheet-out { to { opacity: 0; transform: translateY(16px) scale(.98); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }

.sheet-inner { position: relative; padding: clamp(36px, 6vw, 64px); display: flex; flex-direction: column; gap: 18px; }
.sheet .kicker { font-size: 17px; font-weight: 600; color: var(--accent); }
.sheet h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 600; line-height: 1.08; letter-spacing: -0.003em; max-width: 16ch; }
.sheet p { color: var(--gray); font-size: 19px; line-height: 1.42; }
.sheet ul { list-style: none; margin: 8px 0 0; padding: 20px 24px; display: grid; gap: 12px; background: var(--bg-alt); border-radius: var(--radius-sm); }
.sheet li { display: flex; gap: 12px; align-items: baseline; }
.sheet li::before { content: "✓"; color: var(--accent); font-weight: 600; }
.sheet-actions { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; margin-top: 12px; }

.sheet-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--bg-alt);
  cursor: pointer;
  transition: background .2s;
}

.sheet-close:hover { background: var(--line); }
.sheet-close svg { width: 14px; height: 14px; }

/* every project includes */
.mini-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.mini-card { display: flex; flex-direction: column; gap: 14px; padding: 28px 26px 30px; border-radius: var(--radius-sm); background: var(--bg-alt); }
.band-alt .mini-card { background: var(--bg); }
.mini-card .icon { width: 36px; height: 36px; color: var(--accent); }
.mini-card h3 { font-size: 19px; font-weight: 600; line-height: 1.26; letter-spacing: 0.012em; }
.mini-card p { font-size: 14px; color: var(--gray); line-height: 1.43; letter-spacing: -0.016em; }

/* which one fits */
.fit-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }

.fit-opt {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
  font-size: 17px;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s;
}

.fit-opt:hover { border-color: var(--gray-2); }
.fit-opt[aria-checked="true"] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.fit-opt .radio { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--gray-2); transition: border .2s; }
.fit-opt[aria-checked="true"] .radio { border: 6px solid var(--accent); }

.fit-result { margin-top: 20px; min-height: 150px; display: grid; place-items: center; padding: 32px; border-radius: var(--radius); background: var(--bg); text-align: center; }
.fit-empty { color: var(--gray-2); }
.fit-card { display: flex; flex-direction: column; align-items: center; gap: 10px; animation: rise .5s var(--ease); }
.fit-card .kicker { font-size: 14px; font-weight: 600; color: var(--accent); }
.fit-card h3 { font-size: clamp(26px, 3vw, 32px); font-weight: 600; letter-spacing: 0.004em; }
.fit-card p { color: var(--gray); max-width: 50ch; }
.fit-card .btn { margin-top: 10px; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }

/* ---------- PROCESS: step scroller ---------- */

.scroller-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 4px max(var(--gutter), calc((100vw - var(--container)) / 2)) 24px;
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2));
}

.scroller-track::-webkit-scrollbar { display: none; }

.step-card {
  flex: 0 0 min(372px, 82vw);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 460px;
  padding: 32px 30px;
  border-radius: var(--radius);
  background: var(--bg);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}

.step-card:hover { transform: scale(1.015); box-shadow: 0 10px 40px rgba(0, 0, 0, .08); }
.step-card .kicker { font-size: 14px; font-weight: 600; color: var(--accent); }
.step-card h3 { font-size: 32px; font-weight: 600; line-height: 1.1; letter-spacing: 0.004em; }
.step-card p { color: var(--gray); font-size: 19px; line-height: 1.42; }

.step-num {
  margin-top: auto;
  font-size: 128px;
  font-weight: 700;
  line-height: .8;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, var(--accent) 0%, rgba(18, 122, 82, .1) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.step-out { padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--gray); }
.step-out strong { display: block; color: var(--ink); font-size: 17px; font-weight: 600; margin-top: 2px; }

.paddles { display: flex; justify-content: flex-end; gap: 14px; margin-top: 8px; }

.paddle {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(210, 210, 215, .64);
  color: rgba(0, 0, 0, .56);
  cursor: pointer;
  transition: background .2s, color .2s, opacity .2s;
}

.paddle svg { width: 14px; height: 14px; }
.paddle:hover:not(:disabled) { background: rgba(223, 223, 227, .95); color: rgba(0, 0, 0, .7); }
.paddle:disabled { opacity: .42; cursor: default; }

/* FAQ */
.faq { max-width: 820px; }
.faq-list { margin-top: 32px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); interpolate-size: allow-keywords; }

.faq summary { position: relative; list-style: none; padding: 24px 52px 24px 0; font-size: clamp(19px, 1.8vw, 21px); font-weight: 600; letter-spacing: 0.011em; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 1.75px solid var(--gray);
  border-bottom: 1.75px solid var(--gray);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .4s var(--ease);
}

.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }

.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .45s var(--ease), content-visibility .45s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.faq details p { padding: 0 52px 26px 0; color: var(--gray); font-size: 17px; line-height: 1.53; max-width: 64ch; }

/* ---------- STUDIO: bento tiles ---------- */

.bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

.tile { display: flex; flex-direction: column; gap: 12px; min-height: 320px; padding: 40px 36px; border-radius: var(--radius); background: var(--bg); }
.tile .icon { width: 40px; height: 40px; color: var(--accent); margin-bottom: auto; }
.tile h3 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 600; line-height: 1.12; letter-spacing: 0.004em; max-width: 16ch; }
.tile p { color: var(--gray); max-width: 42ch; }
.tile.dark { background: var(--black); color: var(--on-dark); }
.tile.dark .icon { color: var(--accent-on-dark); }
.tile.dark p { color: var(--gray-2); }

.tz-tile { grid-column: 1 / -1; min-height: 0; align-items: center; text-align: center; gap: 28px; padding: clamp(40px, 6vw, 64px) clamp(24px, 4vw, 48px); background: var(--black); color: var(--on-dark); }
.tz-tile .kicker { font-size: 17px; font-weight: 600; color: var(--accent-on-dark); }
.tz-tile h3 { margin: -16px auto 0; max-width: none; }
.tz-clocks { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 24px; }
.tz-clock { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.tz-clock span { font-size: 14px; color: var(--gray-2); }
.tz-time { font-size: clamp(56px, 8vw, 96px); font-weight: 600; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.tz-gap { padding: 6px 14px; border-radius: 999px; background: var(--dark-2); color: var(--accent-on-dark); font-size: 14px; font-weight: 600; white-space: nowrap; }
.tz-note { color: var(--gray-2); max-width: 52ch; }

/* ---------- CONTACT: brief builder ---------- */

.brief { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px; align-items: start; }

.brief-form { display: flex; flex-direction: column; gap: 36px; padding: 40px 36px; border-radius: var(--radius); background: var(--bg); }

fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }

legend, .field-label { display: block; width: 100%; padding: 0; margin-bottom: 14px; font-size: 21px; font-weight: 600; letter-spacing: 0.011em; }
legend span, .field-label span { font-size: 14px; font-weight: 400; color: var(--gray); margin-left: 6px; letter-spacing: -0.016em; }

.options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

.option { position: relative; cursor: pointer; }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option span { display: flex; align-items: center; min-height: 56px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px; transition: border-color .2s, box-shadow .2s; user-select: none; }
.option:hover span { border-color: var(--gray-2); }
.option input:checked + span { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.option input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

textarea {
  width: 100%;
  min-height: 110px;
  resize: vertical;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.47 var(--font);
  letter-spacing: -0.022em;
  transition: border-color .2s, box-shadow .2s;
}

textarea::placeholder { color: var(--gray-2); }
textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }

.note { position: sticky; top: 76px; display: flex; flex-direction: column; border-radius: var(--radius); background: var(--bg); overflow: hidden; }
.note-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 28px; border-bottom: 1px solid var(--bg-alt); font-size: 14px; font-weight: 600; }
.meter { display: flex; gap: 4px; }
.meter i { width: 22px; height: 4px; border-radius: 2px; background: var(--bg-alt); transition: background .3s; }
.meter i.on { background: var(--accent); }
.note-meta { margin: 0; padding: 16px 28px; border-bottom: 1px solid var(--bg-alt); display: grid; gap: 6px; font-size: 14px; }
.note-meta div { display: flex; gap: 12px; }
.note-meta dt { width: 58px; flex: none; color: var(--gray); }
.note-meta dd { margin: 0; overflow-wrap: anywhere; }
.note-body { margin: 0; padding: 24px 28px; min-height: 220px; font: 17px/1.53 var(--font); letter-spacing: -0.022em; white-space: pre-wrap; overflow-wrap: anywhere; }
.note-body .ph { color: var(--gray-2); }
.note-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; padding: 0 28px 28px; }
.copy-btn { background: none; border: 0; padding: 0; color: var(--accent); font-size: 17px; cursor: pointer; }
.copy-btn:hover { text-decoration: underline; }

.next-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.next-steps li { display: flex; flex-direction: column; gap: 10px; padding: 28px 26px 30px; border-radius: var(--radius-sm); background: var(--bg-alt); }
.next-steps .kicker { font-size: 14px; font-weight: 600; color: var(--accent); }
.next-steps h3 { font-size: 19px; font-weight: 600; line-height: 1.26; letter-spacing: 0.012em; }
.next-steps p { color: var(--gray); font-size: 14px; line-height: 1.43; }
.fallback { margin-top: 32px; text-align: center; color: var(--gray); }
.fallback a { color: var(--accent); }
.fallback a:hover { text-decoration: underline; }

/* ---------- CLOSING CTA ---------- */

.cta-band { padding: clamp(72px, 10vw, 128px) var(--gutter); text-align: center; }
.cta-band h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 600; line-height: 1.08; letter-spacing: -0.003em; }
.cta-band p { margin-top: 12px; color: var(--gray); font-size: 19px; }
.cta-band .cta-row { display: flex; justify-content: center; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 28px; }

/* ---------- FOOTER ---------- */

.footer { background: var(--bg-alt); color: var(--gray); font-size: 12px; line-height: 1.33; letter-spacing: -0.01em; }
.footer-inner { padding-top: 28px; padding-bottom: 22px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.footer h4 { margin: 0 0 10px; font-size: 12px; font-weight: 600; color: var(--ink); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer a:hover { color: var(--ink); text-decoration: underline; }
.footer-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-top: 16px; }

.home .footer { background: var(--black); }
.home .footer-inner { padding-top: 0; padding-bottom: 16px; }
.home .footer-legal { border-top: 1px solid #2a2a2c; }
.home .footer a:hover { color: var(--on-dark); }

/* ---------- PAGE TRANSITIONS ---------- */

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: .3s cubic-bezier(.4, 0, 1, 1) both page-out; }
::view-transition-new(root) { animation: .5s var(--ease) .06s both page-in; }
::view-transition-group(site-nav) { animation-duration: 0s; }
@keyframes page-out { to { opacity: 0; } }
@keyframes page-in { from { opacity: 0; transform: translateY(8px); } }

html.js body { transition: opacity .3s var(--ease); }
html.arriving body, html.leaving body { opacity: 0; }

/* ---------- REVEAL ---------- */

.js [data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal].instant { transition: none; }

/* ---------- RESPONSIVE ---------- */

@media (min-width: 834px) and (min-height: 640px) {
  body.home { height: 100svh; overflow: hidden; }
}

@media (max-width: 1068px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid .feature-card:last-child { grid-column: 1 / -1; min-height: 380px; }
  .mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 833px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .brief { grid-template-columns: 1fr; }
  .note { position: static; }
  .next-steps { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .tz-clocks { grid-template-columns: 1fr; gap: 16px; }
  .tz-gap { justify-self: center; }
}

@media (max-width: 734px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid .feature-card:last-child { grid-column: auto; min-height: 440px; }
  .feature-card { min-height: 420px; }
  .mini-grid, .fit-options, .options { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .brief-form { padding: 28px 22px; }
  .section-row { flex-direction: column; align-items: flex-start; }
  .hero { padding-top: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
