/* Northflow Automation
   Apple-style system: system type, alternating light and navy bands,
   one blue for actions, smooth ease-out motion with no overshoot. */

@view-transition { navigation: auto; }

:root {
  color-scheme: light;

  --ink:     #13202F;   /* primary text */
  --gray:    #5F6B7A;   /* secondary text, passes AA on white and paper */
  --line:    #E1E6EC;   /* hairlines */
  --paper:   #F4F6F8;   /* alternate light band */
  --white:   #FFFFFF;
  --night:   #0B1624;   /* dark bands, brand navy */
  --night-2: #142438;   /* raised surfaces on night */
  --on-night:   #F3F6FA;
  --on-night-2: #A3B3C6;
  --brand:   #2F8FF0;   /* logo blue, decorative use only */
  --action:  #1368D1;   /* buttons and links, white text passes AA */
  --flag:    #F2854A;   /* High priority only */

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

  --ease: cubic-bezier(.16, 1, .3, 1);
  --bar: 56px;
  --gutter: clamp(1.25rem, 4vw, 2.75rem);
  --r: 22px;
  --r-sm: 14px;
  --pill: 999px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0; font-weight: 600; color: inherit; text-wrap: balance; }
.lead, .bb-slide p, .tile p { text-wrap: pretty; }
p { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font-family: inherit; }

:focus-visible { outline: 3px solid var(--action); outline-offset: 3px; border-radius: 6px; }

/* ================= type ================= */

.display {
  font-size: clamp(2.2rem, 6.4vw, 4.75rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 700;
  max-width: 18ch;
  margin-inline: auto;
}
.display.split { max-width: none; }
.headline {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.07;
  letter-spacing: -0.03em;
  font-weight: 700;
  max-width: 22ch;
}
.center .headline, .center .display { margin-inline: auto; }
.lead {
  margin-top: 1.1rem;
  font-size: clamp(1.1rem, 1.9vw, 1.4rem);
  line-height: 1.4;
  color: var(--gray);
  max-width: 40ch;
  font-weight: 400;
}
.center { text-align: center; }
.center .lead { margin-inline: auto; }

.dark .lead { color: var(--on-night-2); }

/* ================= layout ================= */

.page { min-height: 60vh; }

.band { padding-block: clamp(4.5rem, 10vw, 8rem); }
.band.paper { background: var(--paper); }
.band.dark  { background: var(--night); color: var(--on-night); }
.band.tight { padding-block: clamp(3rem, 7vw, 5rem); }

.wrap { max-width: 1120px; margin-inline: auto; padding-inline: var(--gutter); }
.wrap.narrow { max-width: 820px; }

.gap-s { height: 1.75rem; }
.gap   { height: clamp(2.5rem, 5vw, 3.75rem); }

/* ================= buttons and links ================= */

.cta-row { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.9rem 1.6rem; align-items: center; }
.center .cta-row { justify-content: center; }

.btn {
  display: inline-block;
  font-size: 1.02rem; font-weight: 600;
  color: #fff; background: var(--action);
  text-decoration: none;
  padding: 0.8rem 1.5rem;
  border-radius: var(--pill);
  border: 0; cursor: pointer;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.btn:hover { background: #0F58B4; }
.btn:active { transform: scale(.98); }
.dark .btn { background: #fff; color: var(--night); }
.dark .btn:hover { background: #E4EAF1; }

.more {
  font-size: 1.02rem; font-weight: 500;
  color: var(--action); text-decoration: none;
}
.more::after { content: " \203A"; }
.more:hover { text-decoration: underline; text-underline-offset: 3px; }
.dark .more { color: #7FB9F7; }

/* ================= topbar ================= */

.topbar {
  position: sticky; top: 0; z-index: 50;
  height: var(--bar);
  background: rgba(255,255,255,.78);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease), background .4s var(--ease);
}
.topbar.scrolled { border-bottom-color: rgba(19,32,47,.08); }

.topbar-inner {
  max-width: 1120px; height: 100%;
  margin-inline: auto; padding-inline: var(--gutter);
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 1.5rem;
}

.brand { display: flex; align-items: center; gap: 0.55rem; text-decoration: none; color: var(--ink); justify-self: start; }
.brand svg { width: 28px; height: 28px; flex: none; }
.brand b { display: block; font-size: 0.98rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; }
.brand span { display: block; font-size: 0.55rem; font-weight: 600; letter-spacing: 0.16em; color: var(--gray); }

/* the star keeps spinning, the one piece of ambient motion on every page */
.orbit { transform-origin: 40px 36px; animation: orbit 9s linear infinite; }
@keyframes orbit { to { transform: rotate(360deg); } }

.navlinks { position: relative; display: flex; align-items: center; gap: 1.9rem; justify-self: center; }
.navlinks a {
  font-size: 0.86rem; font-weight: 500;
  color: rgba(19,32,47,.8); text-decoration: none;
  padding-block: 0.3rem;
  transition: color .25s var(--ease);
}
.navlinks a:hover, .navlinks a[aria-current="page"] { color: var(--ink); }
.navlinks::before {
  content: ""; position: absolute; top: 100%;
  left: var(--x, 0px); width: var(--w, 0px); height: 2px; margin-top: 3px;
  border-radius: var(--pill); background: var(--ink);
  opacity: var(--ind, 0);
  transition: left .45s var(--ease), width .45s var(--ease), opacity .3s var(--ease);
}
.navlinks.no-anim::before { transition: none; }

.topbar-actions { display: flex; align-items: center; gap: 0.6rem; justify-self: end; }
.topbar-cta {
  font-size: 0.82rem; font-weight: 600; white-space: nowrap;
  color: #fff; background: var(--action); text-decoration: none;
  padding: 0.42rem 0.95rem; border-radius: var(--pill);
  transition: background .3s var(--ease);
}
.topbar-cta:hover { background: #0F58B4; }

.menu-btn {
  width: 38px; height: 38px; padding: 0;
  border: 0; background: transparent; cursor: pointer;
  position: relative; color: var(--ink);
}
.menu-btn span {
  position: absolute; left: 10px; right: 10px; height: 1.5px;
  background: currentColor; border-radius: 2px;
  transition: transform .45s var(--ease), top .45s var(--ease);
}
.menu-btn span:first-child { top: 15px; }
.menu-btn span:last-child  { top: 22px; }

body.menu-open .topbar { z-index: 60; background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
body.menu-open .brand, body.menu-open .menu-btn { color: #fff; }
body.menu-open .brand span { color: rgba(255,255,255,.6); }
body.menu-open .navlinks, body.menu-open .topbar-cta { visibility: hidden; }
body.menu-open .menu-btn span:first-child { transform: rotate(45deg); top: 18.5px; }
body.menu-open .menu-btn span:last-child  { transform: rotate(-45deg); top: 18.5px; }

.menu-overlay {
  position: fixed; inset: 0; z-index: 55;
  background: rgba(8,16,27,.97);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2.2rem;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .45s var(--ease), visibility 0s linear .45s;
}
body.menu-open .menu-overlay { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .45s var(--ease), visibility 0s; }
.menu-overlay nav { display: flex; flex-direction: column; align-items: center; gap: 1.2rem; }
.menu-overlay nav a {
  font-size: clamp(1.7rem, 4vw, 2.3rem); font-weight: 600; letter-spacing: -0.02em;
  color: rgba(255,255,255,.7); text-decoration: none;
  opacity: 0; transform: translateY(10px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), color .2s ease;
}
body.menu-open .menu-overlay nav a { opacity: 1; transform: none; }
.menu-overlay nav a:nth-child(2) { transition-delay: .04s; }
.menu-overlay nav a:nth-child(3) { transition-delay: .08s; }
.menu-overlay nav a:nth-child(4) { transition-delay: .12s; }
.menu-overlay nav a:nth-child(5) { transition-delay: .16s; }
.menu-overlay nav a:nth-child(6) { transition-delay: .20s; }
.menu-overlay nav a:hover, .menu-overlay nav a[aria-current="page"] { color: #fff; }
.menu-cta {
  background: #fff; color: var(--night); text-decoration: none;
  font-weight: 600; padding: 0.8rem 1.6rem; border-radius: var(--pill);
  opacity: 0; transition: opacity .5s var(--ease) .24s;
}
body.menu-open .menu-cta { opacity: 1; }

/* ================= hero ================= */

.hero { padding-top: clamp(3.5rem, 9vw, 6.5rem); padding-bottom: clamp(3rem, 7vw, 5rem); overflow: hidden; }

/* one orchestrated entrance, top to bottom */
.enter { animation: enter 1s var(--ease) both; }
.enter.e2 { animation-delay: .08s; }
.enter.e3 { animation-delay: .16s; }
.enter.e4 { animation-delay: .3s; animation-duration: 1.3s; }
@keyframes enter {
  from { opacity: 0; transform: translateY(24px); filter: blur(6px); }
  to   { opacity: 1; transform: none; filter: none; }
}

.stage-frame {
  margin-top: clamp(3rem, 7vw, 4.5rem);
  transform: scale(calc(.9 + .1 * var(--p, 1)));
  transform-origin: 50% 0;
  will-change: transform;
}

/* ================= billboard (hero showcase) ================= */

.billboard {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 140% at 50% 0%, #17304C 0%, var(--night) 62%);
  border-radius: 28px;
  color: var(--on-night);
  text-align: left;
}
.bb-inner { padding: clamp(1.8rem, 4.5vw, 3.4rem); display: grid; gap: 2rem; }
.bb-stage { display: grid; }
.bb-slide {
  grid-area: 1 / 1;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
  opacity: 0; transform: translateY(12px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  visibility: hidden;
}
.bb-slide.is-on { opacity: 1; transform: none; visibility: visible; }
.bb-copy { display: grid; align-content: center; }
.bb-tag { font-size: 0.9rem; font-weight: 600; color: #7FB9F7; margin-bottom: 0.7rem; }
.bb-slide h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.1; letter-spacing: -0.025em; font-weight: 700; max-width: 16ch; }
.bb-slide p { margin-top: 0.9rem; color: var(--on-night-2); font-size: 1.05rem; max-width: 40ch; }

.bb-art { display: grid; gap: 0.6rem; align-content: center; }
.bb-art small { color: var(--on-night-2); font-size: 0.8rem; }
.bubble {
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px 20px 20px 6px;
  padding: 1rem 1.15rem; color: #EAF1F8;
  font-size: 1rem; line-height: 1.5; max-width: 36ch;
}
.bb-slide.is-on .bubble { animation: bubble .9s var(--ease) .2s both; }
@keyframes bubble { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.stars { color: var(--flag); letter-spacing: 3px; font-size: 1.05rem; }

.mini { display: grid; gap: 0.45rem; }
.mini div {
  display: flex; align-items: center; gap: 0.6rem;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px; padding: 0.6rem 0.8rem; font-size: 0.92rem; color: #DCE6F1;
}
.mini b {
  flex: none; font-size: 0.74rem; font-weight: 700;
  padding: 0.14rem 0.55rem; border-radius: var(--pill);
  background: rgba(127,185,247,.2); color: #BFDBFB;
}
.mini div[data-hot] b { background: var(--flag); color: #3A1B06; }
.bb-slide.is-on .mini div { animation: bubble .8s var(--ease) both; }
.bb-slide.is-on .mini div:nth-child(2) { animation-delay: .08s; }
.bb-slide.is-on .mini div:nth-child(3) { animation-delay: .16s; }

/* five dots, centered; the current slide's dot glows */
.bb-bars { display: flex; justify-content: center; gap: 0.7rem; }
.bb-bars button {
  width: 8px; height: 8px; padding: 0; border: 0; cursor: pointer;
  border-radius: 50%; background: rgba(255,255,255,.28);
  transition: background .5s var(--ease), box-shadow .5s var(--ease), transform .5s var(--ease);
}
.bb-bars button i { display: none; }
.bb-bars button:hover { background: rgba(255,255,255,.55); }
.bb-bars button[aria-current="true"] {
  background: #fff;
  transform: scale(1.2);
  box-shadow: 0 0 5px 1px rgba(127,185,247,.45);
}

/* ================= bento ================= */

.bento {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.tile {
  background: var(--night-2);
  border-radius: var(--r);
  padding: clamp(1.4rem, 2.6vw, 2rem);
  display: flex; flex-direction: column; gap: 0.6rem;
}
/* on the feature tile the message sits bottom right, styled as a sent text */
.t-4 .bubble { align-self: flex-end; border-radius: 20px 20px 6px 20px; background: var(--action); border-color: transparent; color: #fff; max-width: 32ch; }
.t-4 { min-height: 300px; }
.tile h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); letter-spacing: -0.02em; font-weight: 700; }
.tile p  { color: var(--on-night-2); font-size: 1rem; max-width: 40ch; }
.tile .bubble, .tile .mini { margin-top: auto; }
.t-4 { grid-column: span 4; }
.t-2 { grid-column: span 2; }
.t-3 { grid-column: span 3; }

/* the lighter supporting row: no boxes, just hairline columns */
.strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.strip div { border-top: 1px solid rgba(255,255,255,.14); padding-top: 1rem; }
.strip b { display: block; font-size: 1.02rem; font-weight: 600; }
.strip span { display: block; color: var(--on-night-2); font-size: 0.95rem; margin-top: 0.3rem; }

/* ================= surfaces ================= */

.panel, .result, .card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(1.4rem, 2.8vw, 2rem);
}
.paper .panel, .paper .result, .paper .card { border-color: transparent; }

.card h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.015em; margin-bottom: 0.5rem; }
.card p { color: var(--gray); }

.grid { display: grid; gap: 1rem; }
.grid.two   { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ================= demo ================= */

.sorter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 1rem; text-align: left; }
.panel > h2, .result > h2 { font-size: 0.88rem; font-weight: 600; color: var(--gray); margin-bottom: 0.85rem; }

textarea, input.fld, select.fld {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1px solid transparent;
  border-radius: var(--r-sm); padding: 0.85rem 1rem;
  transition: border-color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}
textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
textarea::placeholder, input.fld::placeholder { color: #8893A0; }
textarea:focus, input.fld:focus, select.fld:focus { outline: none; background: #fff; border-color: var(--action); box-shadow: 0 0 0 4px rgba(19,104,209,.14); }

.examples { margin-top: 0.9rem; display: flex; flex-wrap: wrap; gap: 0.45rem; align-items: center; }
.examples span { font-size: 0.9rem; color: var(--gray); margin-right: 0.2rem; }
.chip {
  font-size: 0.88rem; font-weight: 500; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--pill); padding: 0.32rem 0.85rem; cursor: pointer;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.chip:hover { border-color: var(--action); background: #fff; }

.go { margin-top: 1.2rem; width: 100%; }
.go[disabled] { background: var(--gray); cursor: progress; }

.empty, .notice { color: var(--gray); }
.empty { max-width: 30ch; }

.tags { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 1.1rem; }
.tag {
  font-size: 0.85rem; font-weight: 600;
  padding: 0.3rem 0.8rem; border-radius: var(--pill);
  background: var(--paper); color: var(--ink);
  animation: fade .6s var(--ease) both;
}
.tag:nth-child(2) { animation-delay: .08s; }
.tag[data-level="High"]   { background: var(--flag); color: #3A1B06; }
.tag[data-level="Medium"] { background: #E3EEFB; color: #0D4A93; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.field { border-top: 1px solid var(--line); padding-top: 0.95rem; margin-top: 0.95rem; }
.field:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.field h3 { font-size: 0.85rem; font-weight: 600; color: var(--gray); margin-bottom: 0.35rem; }
.reply { background: var(--paper); border-radius: var(--r-sm); padding: 1rem 1.1rem; }
.copy {
  margin-top: 0.75rem; font-size: 0.9rem; font-weight: 600;
  color: var(--action); background: transparent; border: 0; padding: 0; cursor: pointer;
}
.copy:hover { text-decoration: underline; text-underline-offset: 3px; }
.arrive { animation: fade .6s var(--ease) both; }

.pulse { display: inline-flex; gap: 5px; margin-left: 8px; vertical-align: middle; }
.pulse i { width: 6px; height: 6px; border-radius: 50%; background: var(--action); animation: breathe 1.2s ease-in-out infinite; }
.pulse i:nth-child(2) { animation-delay: .15s; }
.pulse i:nth-child(3) { animation-delay: .3s; }
@keyframes breathe { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }

.quote { color: var(--gray); font-style: italic; margin-bottom: 1rem; }
.out { border-top: 1px solid var(--line); padding-top: 1rem; }

/* ================= steps ================= */

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); text-align: left; }
.steps.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.step .n { display: block; font-size: 0.95rem; font-weight: 600; color: var(--action); margin-bottom: 0.7rem; }
.step h3 { font-size: 1.3rem; letter-spacing: -0.02em; font-weight: 700; margin-bottom: 0.5rem; }
.step p { color: var(--gray); }
.dark .step p { color: var(--on-night-2); }
.dark .step .n { color: #7FB9F7; }

/* ================= works with ================= */

.works { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin-top: 2rem; }
.works span {
  font-size: 0.98rem; font-weight: 500;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--pill); padding: 0.55rem 1.1rem;
}

/* ================= lists ================= */

.list { display: grid; gap: 0.85rem; margin: 1.6rem 0 0; padding: 0; list-style: none; text-align: left; }
.list li { position: relative; padding-left: 1.5rem; color: var(--gray); max-width: 62ch; }
.list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--action); }
.dark .list li { color: var(--on-night-2); }

/* ================= services ================= */

.svc-group + .svc-group { margin-top: clamp(3rem, 6vw, 4.5rem); }
.svc-group > h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); letter-spacing: -0.025em; font-weight: 700; margin-bottom: 1rem; }
.svc {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  padding-block: 1.6rem; border-top: 1px solid var(--line);
}
.svc h3 { font-size: 1.25rem; letter-spacing: -0.02em; font-weight: 700; }
.svc .tagline { color: var(--gray); margin-top: 0.3rem; }
.svc p { color: var(--gray); }
.svc .eg { margin-top: 0.9rem; font-size: 0.95rem; color: var(--ink); background: var(--paper); border-radius: var(--r-sm); padding: 0.85rem 1rem; }
.svc .eg b { display: block; font-size: 0.8rem; font-weight: 600; color: var(--gray); margin-bottom: 0.2rem; }

/* ================= picker ================= */

.picker { display: grid; gap: 1.4rem; margin-top: 1.6rem; }
.opts { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.opt {
  font-size: 0.95rem; font-weight: 500; color: var(--ink);
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--pill); padding: 0.55rem 1.05rem; cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.opt:hover { border-color: var(--action); }
.opt[aria-pressed="true"] { background: var(--action); border-color: var(--action); color: #fff; }
.picked { display: grid; gap: 0.7rem; text-align: left; max-width: 640px; margin-inline: auto; width: 100%; }
.picked .empty { margin-inline: auto; text-align: center; }
.match { background: var(--white); border-radius: var(--r-sm); padding: 1rem 1.2rem; animation: fade .6s var(--ease) both; }
.match:nth-child(2) { animation-delay: .07s; }
.match:nth-child(3) { animation-delay: .14s; }
.match b { display: block; font-weight: 700; margin-bottom: 0.2rem; }
.match span { color: var(--gray); font-size: 0.97rem; }

/* ================= calculator ================= */

.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 1rem; text-align: left; }
.calc .panel { background: var(--night-2); border-color: transparent; color: var(--on-night); }
.dials { display: grid; gap: 1.6rem; }
.dial label { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.95rem; color: var(--on-night-2); margin-bottom: 0.6rem; }
.dial label b { color: var(--on-night); font-size: 1.1rem; font-weight: 700; font-variant-numeric: tabular-nums; }
input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 4px; border-radius: var(--pill); cursor: pointer;
  background: linear-gradient(to right, #7FB9F7 var(--pct, 40%), rgba(255,255,255,.16) var(--pct, 40%));
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 24px; height: 24px; border-radius: 50%;
  background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.35);
}
input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 0; }

.readout { background: var(--white); color: var(--ink); border-radius: var(--r); padding: clamp(1.6rem, 3vw, 2.2rem); display: flex; flex-direction: column; justify-content: center; }
.big-num { font-size: clamp(3.2rem, 7vw, 4.8rem); font-weight: 700; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.unit { color: var(--gray); margin-top: 0.4rem; }
.readout hr { border: 0; border-top: 1px solid var(--line); margin: 1.4rem 0; }
.readout .sub { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.readout .sub + .sub { color: var(--action); margin-top: 0.2rem; }
.readout .fine { color: var(--gray); font-size: 0.85rem; margin-top: 1.2rem; }

/* ================= faq ================= */

.qa { border-top: 1px solid var(--line); text-align: left; }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa button {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem); font-weight: 600; color: var(--ink);
  background: transparent; border: 0; padding: 1.35rem 0; cursor: pointer; text-align: left;
}
.qa button::after {
  content: ""; flex: none; width: 10px; height: 10px;
  border-right: 2px solid var(--gray); border-bottom: 2px solid var(--gray);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .5s var(--ease);
}
.qa button[aria-expanded="true"]::after { transform: rotate(225deg) translate(-2px, -2px); }
.qa .ans { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.qa button[aria-expanded="true"] + .ans { grid-template-rows: 1fr; }
.qa .ans > div { overflow: hidden; }
.qa .ans p { color: var(--gray); max-width: 64ch; padding-bottom: 1.4rem; }

/* ================= contact ================= */

label.fld { display: block; font-size: 0.9rem; font-weight: 600; color: var(--gray); margin-bottom: 0.4rem; }
.stack { display: grid; gap: 1rem; }
.info h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.3rem; }
.info p { color: var(--gray); }
.info > div + div { margin-top: 1.6rem; }

/* ================= scroll reveal (used sparingly) ================= */

.reveal { opacity: 0; transform: translateY(28px); }
.reveal.seen { animation: enter 1s var(--ease) both; }
.reveal.d1.seen { animation-delay: .08s; }
.reveal.d2.seen { animation-delay: .16s; }
.reveal.d3.seen { animation-delay: .24s; }

/* ================= footer ================= */

.site-foot { background: var(--paper); color: var(--gray); font-size: 0.88rem; padding-block: 3rem 2.4rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; }
.foot-grid h4 { margin: 0 0 0.7rem; font-size: 0.88rem; font-weight: 600; color: var(--ink); }
.foot-grid a { display: block; text-decoration: none; margin-bottom: 0.45rem; }
.foot-grid a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.foot-grid .brand { display: flex; margin-bottom: 0.8rem; }
.foot-base { margin-top: 2.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem; }

/* ================= responsive ================= */

@media (max-width: 1080px) {
  .topbar-inner { grid-template-columns: 1fr auto; }
  .navlinks, .topbar-cta { display: none; }
}

@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t-4, .t-3 { grid-column: span 2; }
  .t-2 { grid-column: span 1; }
  .strip, .steps.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sorter, .calc, .grid.two, .grid.three, .steps, .svc { grid-template-columns: minmax(0, 1fr); }
  .bb-slide { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .bento { grid-template-columns: minmax(0, 1fr); }
  .t-4, .t-3, .t-2 { grid-column: span 1; }
  .strip, .steps.four { grid-template-columns: minmax(0, 1fr); }
  .bubble { max-width: none; }
  .foot-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .stage-frame { transform: none; }
}
