/* MEWS — "Sharp" theme · editorial / precision direction (Pangram-inspired)
   Warm cream retained · crisp grotesque type · hairline borders · soft shadows
   · restrained motion · mascots used sparingly.
*/

:root {
  /* paper */
  --bg:        #FAF4E8;
  --bg-2:      #F3EAD7;
  --surface:   #FFFFFF;
  --surface-2: #FFFDF8;
  --paper:     #FFFFFF;

  /* ink */
  --ink:    #181410;
  --ink-2:  #574C42;
  --muted:  #978878;
  --line:        rgba(24,20,16,0.11);
  --line-2:      rgba(24,20,16,0.18);
  --line-strong: rgba(24,20,16,0.30);

  /* brand (unchanged hues, used with more restraint) */
  --orange:      #FF8A3D;
  --orange-deep: #D9610F;
  --orange-soft: #FCE7D2;
  --orange-glow: rgba(255,138,61,0.18);

  --sun:      #F2B643;
  --sun-soft: #FBF3DF;
  --coral:      #E0492E;
  --coral-soft: #FAEDE7;
  --mint:      #5FA585;
  --mint-soft: #EDF4EE;
  --plum:      #B05389;
  --plum-soft: #F6EDF2;

  /* shadows — soft, not hard offset */
  --shadow-sm: 0 1px 2px rgba(24,20,16,0.05);
  --shadow:    0 2px 6px rgba(24,20,16,0.06), 0 1px 2px rgba(24,20,16,0.04);
  --shadow-lg: 0 22px 50px -24px rgba(24,20,16,0.30), 0 2px 8px rgba(24,20,16,0.05);

  /* type */
  --display: "Schibsted Grotesk", system-ui, -apple-system, sans-serif;
  --sans:    "Schibsted Grotesk", system-ui, -apple-system, sans-serif;
  --mono:    "JetBrains Mono", "SF Mono", ui-monospace, monospace;

  --max:  1180px;
  --r-sm: 8px;
  --r:    12px;
  --r-lg: 16px;
}

/* ============ RESET / BASE ============ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv01";
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
main, section, nav, footer { position: relative; z-index: 1; }

/* faint precision grid wash */
body::before {
  content: "";
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(24,20,16,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24,20,16,0.022) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 120% 80% at 50% 0%, #000 30%, transparent 85%);
  pointer-events: none;
  z-index: 0;
}

/* ============ REVEAL ON SCROLL (restrained) ============ */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s cubic-bezier(.22,1,.36,1),
              transform .6s cubic-bezier(.22,1,.36,1);
  will-change: opacity, transform;
}
.js .reveal.in { opacity: 1; transform: none; }

.js .reveal[data-delay="1"] { transition-delay: .06s; }
.js .reveal[data-delay="2"] { transition-delay: .12s; }
.js .reveal[data-delay="3"] { transition-delay: .18s; }
.js .reveal[data-delay="4"] { transition-delay: .24s; }
.js .reveal[data-delay="5"] { transition-delay: .30s; }
.js .reveal[data-delay="6"] { transition-delay: .36s; }
.js .reveal[data-delay="7"] { transition-delay: .42s; }
.js .reveal[data-delay="8"] { transition-delay: .48s; }

/* variants — kept by name, redefined as clean/precise motion */
.js .reveal.anim-pop      { transform: translateY(14px) scale(.97); }
.js .reveal.anim-pop.in   { transform: none; }
.js .reveal.anim-stamp    { transform: translateY(14px); }
.js .reveal.anim-stamp.in { transform: none; }
.js .reveal.anim-slide-l    { transform: translateX(-40px); }
.js .reveal.anim-slide-l.in { transform: none; }
.js .reveal.anim-slide-r    { transform: translateX(40px); }
.js .reveal.anim-slide-r.in { transform: none; }
.js .reveal.anim-drop       { transform: translateY(-22px); }
.js .reveal.anim-drop.in    { transform: none; }
.js .reveal.anim-drop-r     { transform: translateY(-22px); }
.js .reveal.anim-drop-r.in  { transform: none; }
.js .reveal.anim-tilt-l     { transform: translateY(18px); }
.js .reveal.anim-tilt-l.in  { transform: none; }
.js .reveal.anim-tilt-r     { transform: translateY(18px); }
.js .reveal.anim-tilt-r.in  { transform: none; }
.js .reveal.anim-unfold     { transform: translateY(22px) scale(.985); }
.js .reveal.anim-unfold.in  { transform: none; }
.js .reveal.anim-stagger    { transform: translateY(18px); }
.js .reveal.anim-stagger.in { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .wiggle, .float, .wag, .bob, .wiggle-hover { animation: none !important; }
}

/* ============ TYPE ============ */
h1, h2, h3, h4, h5 {
  font-family: var(--display);
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
h1 { font-size: clamp(44px, 6.4vw, 92px); line-height: 0.98; letter-spacing: -0.04em; }
h2 { font-size: clamp(32px, 4.4vw, 58px); line-height: 1.02; letter-spacing: -0.034em; }
h3 { font-size: clamp(21px, 2.3vw, 28px); line-height: 1.16; letter-spacing: -0.02em; font-weight: 700; }
h4 { font-size: 19px; line-height: 1.3; letter-spacing: -0.012em; font-weight: 700; }
h5 { font-size: 13px; font-weight: 700; }

em {
  font-style: normal;
  color: var(--orange-deep);
  font-weight: 800;
}

p { margin: 0; }
.lede { font-size: 20px; line-height: 1.5; color: var(--ink-2); max-width: 640px; font-weight: 500; letter-spacing: -0.01em; }
.sub  { font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.small { font-size: 13px; color: var(--muted); }
.mono { font-family: var(--mono); }

/* scribble underline retained but thinner / sharper */
.scribble { position: relative; white-space: nowrap; display: inline-block; }
.scribble::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -3px; height: 2px;
  background: var(--orange);
}

/* eyebrow — flat editorial mono label */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-deep);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  background: none;
}
.eyebrow::before {
  content: "";
  width: 20px; height: 1px;
  background: var(--orange);
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: var(--r-sm);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn .arrow { transition: transform .2s ease; display: inline-block; }
.btn:hover .arrow { transform: translateX(3px); }

.btn-primary {
  background: var(--ink);
  color: var(--bg);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn-secondary:hover { background: var(--surface); border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-ghost { background: transparent; color: var(--ink); padding: 12px 16px; }
.btn-ghost:hover { background: var(--orange-soft); }

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250,244,232,0.78);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid var(--line);
  transition: background .3s ease, border-color .3s ease;
}
.nav.scrolled {
  background: rgba(250,244,232,0.94);
  border-bottom-color: var(--line-2);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 13px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1;
}
.nav-logo .logo-mark { width: 30px; height: 30px; display: inline-block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.nav-links a:not(.nav-cta) {
  color: var(--ink-2);
  padding: 8px 14px;
  border-radius: var(--r-sm);
  transition: color .15s, background .15s;
  white-space: nowrap;
}
.nav-links a:not(.nav-cta):hover { color: var(--ink); background: rgba(24,20,16,0.05); }
.nav-links a.active { color: var(--orange-deep); }

.nav-cta {
  background: var(--orange);
  color: #1A120B;
  padding: 10px 18px;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.nav-cta:hover { background: var(--orange-deep); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }

/* hamburger toggle (hidden on desktop) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  padding: 0 10px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
  flex: none;
}
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile: collapse links into a dropdown panel */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-inner { position: relative; }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 16px; right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--surface);
    border: 1px solid var(--line-2);
    border-radius: var(--r);
    padding: 12px;
    box-shadow: var(--shadow-lg);
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a:not(.nav-cta) { padding: 13px 14px; font-size: 16px; border-radius: 8px; }
  .nav-links a.active { background: var(--orange-soft); color: var(--orange-deep); }
  .nav-cta { justify-content: center; margin-top: 6px; padding: 13px 18px; font-size: 15px; }
}

/* ============ LAYOUT ============ */
section { padding: 92px 24px; position: relative; }
.container { max-width: var(--max); margin: 0 auto; position: relative; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

/* hairline rule + index label helper */
.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}
.section-index {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}
.section-index .idx { color: var(--orange-deep); font-weight: 600; }

/* ============ CARDS ============ */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .28s cubic-bezier(.22,1,.36,1), box-shadow .28s, border-color .28s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-2);
}
.card.soft { box-shadow: var(--shadow-sm); }

/* tints — desaturated for restraint */
.card-orange { background: #FDF3E9; border-color: rgba(217,97,15,0.18); }
.card-sun    { background: #FBF5E6; border-color: rgba(218,167,40,0.20); }
.card-mint   { background: #F0F5F1; border-color: rgba(95,165,133,0.22); }
.card-coral  { background: #FBF0EB; border-color: rgba(224,73,46,0.16); }
.card-plum   { background: #F7F0F4; border-color: rgba(176,83,137,0.16); }
.card-paper  { background: var(--paper); }

/* dotted divider → thin hairline */
.dotted-hr { border: 0; border-top: 1px solid var(--line); margin: 26px 0; }

/* ============ HERO ============ */
.hero { padding: 72px 24px 80px; position: relative; overflow: hidden; }
.hero-inner { max-width: var(--max); margin: 0 auto; text-align: center; position: relative; }
.hero h1 {
  margin: 26px auto 0;
  max-width: 18ch;
  font-size: clamp(46px, 7vw, 96px);
  line-height: 1.0;
  letter-spacing: -0.042em;
  padding-bottom: 6px;
}
.hero .lede { margin: 26px auto 0 !important; max-width: 600px; text-align: center; }
.hero-actions { margin-top: 34px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* subtle sun glow, much fainter than before */
.sun-disc {
  position: absolute;
  width: 620px; height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--orange-glow) 0%, transparent 68%);
  top: -180px; left: 50%;
  transform: translateX(-50%);
  z-index: -1;
  opacity: 0.7;
  pointer-events: none;
}

/* trust strip */
.trust-row { margin-top: 48px; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink-2);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}
.trust-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }
.trust-pill.alt .dot { background: var(--orange); }

/* hero mascots */
.hero-mascot { position: absolute; z-index: 2; pointer-events: none; }
.hero-mascot.left  { left: 1%;  bottom: -6px; transform: rotate(-5deg); width: 150px; height: 150px; }
.hero-mascot.right { right: 1%; bottom: 6px;  transform: rotate(6deg);  width: 150px; height: 150px; }

/* ============ STATS BAND ============ */
.stats-band {
  position: relative;
  background:
    radial-gradient(620px 320px at 16% -30%, rgba(255,138,61,0.16), transparent 70%),
    radial-gradient(560px 360px at 96% 130%, rgba(95,191,149,0.10), transparent 72%),
    var(--ink);
  color: #FAF4E8;
  border: 1px solid rgba(255,138,61,0.18);
  border-radius: var(--r-lg);
  margin: 0 auto;
  max-width: var(--max);
  overflow: hidden;
}
.stats-band::before {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(130% 130% at 50% 0%, #000 45%, transparent 100%);
  mask-image: radial-gradient(130% 130% at 50% 0%, #000 45%, transparent 100%);
}
.stats-head {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 30px;
  border-bottom: 1px solid rgba(250,244,232,0.12);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.stats-head .sh-l { color: var(--orange); font-weight: 600; }
.stats-head .sh-r { color: rgba(250,244,232,0.5); }
.stats-band .grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stats-band .cell {
  padding: 28px 30px 30px;
  border-right: 1px solid rgba(250,244,232,0.12);
  transition: background .25s ease;
}
.stats-band .cell:last-child { border-right: 0; }
.stats-band .cell:hover { background: rgba(255,255,255,0.025); }
.stats-band .cell-top {
  display: flex; align-items: center; gap: 9px;
  margin-bottom: 16px;
}
.stats-band .cidx {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  color: rgba(250,244,232,0.42);
}
.stats-band .cdot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent);
  animation: cellPulse 2.6s ease-in-out infinite;
}
.stats-band .cell:nth-child(2) .cdot { animation-delay: .3s; }
.stats-band .cell:nth-child(3) .cdot { animation-delay: .6s; }
.stats-band .cell:nth-child(4) .cdot { animation-delay: .9s; }
@keyframes cellPulse {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 55%, transparent); }
  50% { box-shadow: 0 0 0 5px transparent; }
}
.stats-band .cell .num {
  font-family: var(--display);
  font-size: clamp(40px, 4.4vw, 58px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--accent);
}
.stats-band .cell .num .unit {
  font-size: 0.32em;
  color: rgba(250,244,232,0.5);
  margin-left: 6px;
  font-weight: 600;
  letter-spacing: 0;
}
.stats-band .spark {
  display: flex; align-items: flex-end; gap: 3px;
  height: 22px; margin: 16px 0 0;
}
.stats-band .spark i {
  width: 5px; border-radius: 2px;
  background: var(--accent);
  opacity: 0.55;
  transform-origin: bottom;
  animation: sparkRise 2.4s ease-in-out infinite;
}
.stats-band .spark i:nth-child(1) { height: 35%; animation-delay: 0s; }
.stats-band .spark i:nth-child(2) { height: 55%; animation-delay: .1s; }
.stats-band .spark i:nth-child(3) { height: 45%; animation-delay: .2s; }
.stats-band .spark i:nth-child(4) { height: 72%; animation-delay: .3s; }
.stats-band .spark i:nth-child(5) { height: 60%; animation-delay: .4s; }
.stats-band .spark i:nth-child(6) { height: 88%; animation-delay: .5s; }
.stats-band .spark i:nth-child(7) { height: 100%; opacity: 0.9; animation-delay: .6s; }
@keyframes sparkRise {
  0%, 100% { transform: scaleY(0.82); opacity: 0.5; }
  50% { transform: scaleY(1); opacity: 0.85; }
}
.stats-band .cell .desc {
  margin-top: 16px;
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(250,244,232,0.66);
}
@media (prefers-reduced-motion: reduce) {
  .stats-band .cdot, .stats-band .spark i { animation: none !important; }
}

/* ============ BIG NUMBERS ============ */
.bignum {
  font-family: var(--display);
  font-size: clamp(48px, 6vw, 76px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.95;
  color: var(--ink);
}
.bignum em { color: var(--orange-deep); font-weight: 800; }

/* ============ TAGS ============ */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-2);
  background: var(--surface);
  white-space: nowrap;
}
.tag-orange { background: var(--orange-soft); border-color: rgba(217,97,15,0.3); color: var(--orange-deep); }
.tag-mint   { background: var(--mint-soft); border-color: rgba(95,165,133,0.4); color: #2F6B52; }
.tag-coral  { background: var(--coral-soft); border-color: rgba(224,73,46,0.3); color: #9C2A1E; }
.tag-sun    { background: var(--sun-soft); border-color: rgba(218,167,40,0.4); color: #7A5418; }

/* ============ SECTION VARIANTS ============ */
.section-paper { background: var(--paper); }
.section-cream { background: var(--bg-2); }
.section-dark { background: var(--ink); color: #FAF4E8; }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #FAF4E8; }
.section-dark em { color: var(--orange); }
.section-dark .lede { color: rgba(250,244,232,0.74); }
.section-dark .small { color: rgba(250,244,232,0.58); }

/* paw divider → refined hairline marker */
.paws {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 8px 0;
}
.paws svg { width: 18px; height: 18px; opacity: 0.5; }

/* ============ FEATURE GRID ============ */
.feat-card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform .28s cubic-bezier(.22,1,.36,1), box-shadow .28s, border-color .28s;
}
.feat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.feat-card .icon-blob {
  width: 46px; height: 46px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
  border: 1px solid var(--line-2);
  background: var(--surface-2);
}
.feat-card h4 { margin-bottom: 8px; }
.feat-card p { color: var(--ink-2); font-size: 15px; line-height: 1.5; }

/* numbered step */
.step-row {
  display: grid;
  grid-template-columns: 96px 1fr 320px;
  gap: 32px;
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
  align-items: start;
}
.step-row .step-num {
  font-family: var(--display);
  font-size: 64px;
  font-weight: 800;
  line-height: 0.85;
  color: var(--orange);
  letter-spacing: -0.05em;
}
.step-row .step-aside { background: var(--bg-2); border-radius: var(--r-sm); padding: 18px 20px; }

/* sticky note → flat callout */
.sticky-note {
  background: var(--sun-soft);
  border: 1px solid rgba(218,167,40,0.4);
  border-radius: var(--r-sm);
  padding: 18px 20px;
  box-shadow: none;
  transform: none;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
}

/* ============ MASCOTS ============ */
.mascot { display: inline-block; width: 120px; height: 120px; }
.mascot.lg { width: 180px; height: 180px; }
.mascot.xl { width: 300px; height: 300px; }
.mascot.sm { width: 54px; height: 54px; }
.mascot.xs { width: 34px; height: 34px; }

@keyframes wiggle { 0%,100%{transform:rotate(0)} 25%{transform:rotate(-5deg)} 75%{transform:rotate(5deg)} }
@keyframes float  { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
@keyframes bob    { 0%,100%{transform:translateY(0) rotate(-2deg)} 50%{transform:translateY(-5px) rotate(2deg)} }
@keyframes wag    { 0%,100%{transform:rotate(-3deg)} 50%{transform:rotate(3deg)} }
.float { animation: float 4.5s ease-in-out infinite; }
.bob   { animation: bob 3.4s ease-in-out infinite; }
.wiggle-hover:hover { animation: wiggle .6s ease; }

/* ============ PRODUCT MOCK ============ */
.product-frame {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.product-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 18px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}
.product-bar .dot { width: 11px; height: 11px; border-radius: 50%; border: 1px solid var(--line-2); }
.product-bar .dot.red { background: #FF6B6B; }
.product-bar .dot.yellow { background: var(--sun); }
.product-bar .dot.green { background: var(--mint); }
.product-bar .url {
  margin-left: 10px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.03em;
}

/* phone mock */
.phone {
  width: 270px;
  aspect-ratio: 9/19;
  background: var(--ink);
  border-radius: 38px;
  padding: 9px;
  box-shadow: var(--shadow-lg);
}
.phone-screen {
  background: var(--bg);
  border-radius: 30px;
  height: 100%;
  overflow: hidden;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13px;
}

/* ============ FOOTER ============ */
.site-footer { background: var(--ink); color: #FAF4E8; padding: 72px 24px 30px; margin-top: 0; }
.site-footer .container { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 44px; }
.site-footer .footer-logo {
  font-family: var(--display);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.04em;
  color: #FAF4E8;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.site-footer h5 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250,244,232,0.5);
  margin: 0 0 14px;
  font-weight: 500;
}
.site-footer a { display: block; color: rgba(250,244,232,0.78); padding: 4px 0; font-size: 15px; transition: color .15s; }
.site-footer a:hover { color: var(--orange); }
.site-footer .footer-meta {
  margin-top: 52px;
  padding-top: 22px;
  border-top: 1px solid rgba(250,244,232,0.13);
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(250,244,232,0.42);
  grid-column: 1 / -1;
  flex-wrap: wrap;
  gap: 16px;
}

/* ============ FORM ============ */
label { display: block; font-family: var(--sans); font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 8px; letter-spacing: -0.01em; }
input, select, textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  font-family: var(--sans);
  font-size: 16px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: none;
  transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus {
  outline: 0;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-glow);
}
textarea { resize: vertical; min-height: 110px; }

/* ============ AI SCRIBE: hero diagram background ============ */
/* ============ HOME: time-returned visual ============ */
.time-head { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.time-total {
  background: var(--ink); color: #FAF4E8; border: 1px solid var(--line-2);
  border-radius: var(--r); padding: 30px 32px; box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.time-total::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(360px 200px at 88% -20%, rgba(255,138,61,0.18), transparent 70%);
}
.time-total .tt-cap { position: relative; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sun); font-weight: 600; }
.time-total .tt-num { position: relative; font-family: var(--display); font-weight: 800; font-size: clamp(52px, 6vw, 72px); line-height: 1; letter-spacing: -0.04em; margin-top: 8px; }
.time-total .tt-num span { font-family: var(--mono); font-size: 16px; font-weight: 500; color: rgba(250,244,232,0.6); letter-spacing: 0.04em; margin-left: 8px; }
.time-total .tt-sub { position: relative; font-size: 13.5px; color: rgba(250,244,232,0.7); margin-top: 6px; }
.time-bar {
  position: relative; display: flex; height: 26px; margin-top: 22px;
  border-radius: 8px; overflow: hidden; border: 1px solid rgba(250,244,232,0.14);
}
.time-bar .seg { height: 100%; }
.time-bar .seg.v { width: 21.3%; background: var(--orange); }
.time-bar .seg.t { width: 42.8%; background: var(--mint); }
.time-bar .seg.c { width: 35.9%; background: var(--sun); }
.time-legend { position: relative; display: flex; gap: 18px; flex-wrap: wrap; margin-top: 16px; }
.time-legend span { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: rgba(250,244,232,0.82); }
.time-legend i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
@media (max-width: 860px) {
  .time-head { grid-template-columns: 1fr; gap: 28px; }
}

/* ============ HOME: 'software from 1995' legacy backdrop ============ */
.problem-section { position: relative; overflow: hidden; }
.problem-section .container { position: relative; z-index: 1; }
.problem-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.problem-bg::before {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(0deg, rgba(42,31,24,0.035) 0 1px, transparent 1px 4px);
  -webkit-mask-image: radial-gradient(100% 90% at 60% 30%, #000 0%, transparent 80%);
  mask-image: radial-gradient(100% 90% at 60% 30%, #000 0%, transparent 80%);
}
.legacy-win {
  position: absolute; width: 168px;
  background: var(--paper); border: 1px solid var(--line-2); border-radius: 8px;
  box-shadow: 0 8px 22px -14px rgba(42,31,24,0.4);
  opacity: 0.5; filter: grayscale(0.25);
}
.legacy-win .lw-bar {
  display: flex; align-items: center; gap: 5px;
  padding: 6px 9px; border-bottom: 1px solid var(--line-2);
  background: var(--bg-2); border-radius: 8px 8px 0 0;
}
.legacy-win .lw-bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); flex: none; }
.legacy-win .lw-bar b {
  margin-left: 4px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.04em;
  color: var(--muted); font-weight: 500; white-space: nowrap;
}
.legacy-win .lw-body { padding: 10px 9px; display: flex; flex-direction: column; gap: 5px; }
.legacy-win .lw-body span { height: 5px; border-radius: 3px; background: var(--line); }
.legacy-win .lw-body span:nth-child(1) { width: 88%; }
.legacy-win .lw-body span:nth-child(2) { width: 64%; }
.legacy-win .lw-body span:nth-child(3) { width: 76%; }
.legacy-win.w1 { top: 4%;  left: 60%;  transform: rotate(-5deg); }
.legacy-win.w2 { top: 2%;  right: 3%;  transform: rotate(4deg); }
.legacy-win.w3 { top: 30%; right: 8%;  transform: rotate(-3deg); }
.legacy-win.w4 { top: 6%;  left: 76%;  transform: rotate(6deg); opacity: 0.38; }
.legacy-win.w5 { top: 34%; left: 64%;  transform: rotate(2deg); opacity: 0.4; }
@media (max-width: 1024px) { .legacy-win { display: none; } }

/* ============ HOME: owner-app showcase ============ */
.owner-app { position: relative; }
.owner-app .oa-glow {
  position: absolute; width: 460px; height: 460px; border-radius: 50%;
  left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 0;
  background: radial-gradient(circle, var(--sun-soft) 0%, var(--orange-soft) 42%, transparent 68%);
  opacity: 0.8; filter: blur(6px);
}
.owner-app .phone { position: relative; z-index: 2; animation: oaFloat 5s ease-in-out infinite; }
@keyframes oaFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.owner-app .oa-card {
  position: absolute; z-index: 3;
  background: var(--paper); border: 1px solid var(--line-2); border-radius: 14px;
  padding: 11px 14px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 10px;
  animation: oaFloat 5s ease-in-out infinite;
}
.owner-app .oa-card .oa-ic {
  width: 30px; height: 30px; border-radius: 9px; flex: none;
  display: flex; align-items: center; justify-content: center; font-size: 15px;
  border: 1px solid var(--line-2);
}
.owner-app .oa-card .oa-t { font-family: var(--display); font-weight: 700; font-size: 12.5px; line-height: 1.2; white-space: nowrap; }
.owner-app .oa-card .oa-s { font-size: 11px; color: var(--muted); margin-top: 2px; white-space: nowrap; }
.owner-app .oa-1 { top: 2%; left: -4%; animation-delay: .4s; }
.owner-app .oa-2 { top: 46%; right: -8%; animation-delay: 1.1s; }
.owner-app .oa-3 { bottom: 4%; left: -4%; animation-delay: 1.8s; }
.owner-app .oa-mascot { position: absolute; z-index: 1; right: 2%; bottom: -14px; width: 96px; height: 96px; transform: rotate(8deg); }
@media (prefers-reduced-motion: reduce) { .owner-app .phone, .owner-app .oa-card { animation: none !important; } }
@media (max-width: 920px) {
  .owner-app .oa-1 { left: 0; }
  .owner-app .oa-2 { right: 0; }
  .owner-app .oa-3 { left: 0; }
  .owner-app .oa-mascot { display: none; }
}
@media (max-width: 560px) {
  .owner-app .oa-card { display: none; }
}

/* ============ HOME: manifest backdrop graphic ============ */
.manifest-sec { position: relative; overflow: hidden; }
.manifest-sec .container { position: relative; z-index: 1; }
.manifest-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.manifest-bg::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(90% 80% at 84% 8%, #000 0%, transparent 70%);
  mask-image: radial-gradient(90% 80% at 84% 8%, #000 0%, transparent 70%);
}
.manifest-bg .horizon {
  position: absolute; top: -180px; right: -140px; width: 620px; height: 620px;
}
.manifest-bg .horizon svg { width: 100%; height: 100%; overflow: visible; }
.manifest-bg .h-ring { fill: none; stroke: rgba(255,138,61,0.30); stroke-width: 1.4; }
.manifest-bg .h-ring.r2 { stroke: rgba(255,138,61,0.18); }
.manifest-bg .h-ring.r3 { stroke: rgba(255,194,59,0.12); }
.manifest-bg .h-core { fill: var(--orange); filter: drop-shadow(0 0 16px rgba(255,138,61,0.6)); }
.manifest-bg .h-orbit { transform-origin: 310px 310px; animation: manifestSpin 28s linear infinite; }
.manifest-bg .h-orbit.slow { animation-duration: 46s; animation-direction: reverse; }
.manifest-bg .h-dot { fill: var(--sun); filter: drop-shadow(0 0 8px rgba(255,194,59,0.7)); }
@keyframes manifestSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .manifest-bg .h-orbit { animation: none !important; } }
@media (max-width: 760px) { .manifest-bg .horizon { width: 420px; height: 420px; top: -120px; right: -160px; opacity: 0.8; } }

/* ============ HOME: features clinic-blueprint backdrop ============ */
.features-section { position: relative; overflow: hidden; }
.features-section .container { position: relative; z-index: 1; }
.clinic-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  color: var(--ink);
}
.clinic-bg .iso {
  position: absolute; inset: -10% -5%;
  background-image:
    repeating-linear-gradient(30deg, transparent 0 43px, rgba(42,31,24,0.04) 43px 44px),
    repeating-linear-gradient(-30deg, transparent 0 43px, rgba(42,31,24,0.04) 43px 44px);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 46%, #000 0%, rgba(0,0,0,0.3) 46%, transparent 82%);
  mask-image: radial-gradient(120% 90% at 50% 46%, #000 0%, rgba(0,0,0,0.3) 46%, transparent 82%);
}
.clinic-bg .floor {
  position: absolute; inset: 0; width: 100%; height: 100%;
  -webkit-mask-image: radial-gradient(115% 86% at 50% 46%, transparent 12%, rgba(0,0,0,0.55) 40%, #000 70%, transparent 96%);
  mask-image: radial-gradient(115% 86% at 50% 46%, transparent 12%, rgba(0,0,0,0.55) 40%, #000 70%, transparent 96%);
}
.clinic-bg .room-pin {
  position: absolute; display: inline-flex; align-items: center; gap: 9px;
  opacity: 0.62;
}
.clinic-bg .room-pin .rp-dot {
  width: 16px; height: 16px; border-radius: 50%; flex: none;
  background: var(--sun); border: 4px solid var(--orange);
  box-shadow: 0 0 0 4px rgba(255,138,61,0.14);
}
.clinic-bg .room-pin .rp-label {
  background: var(--paper); border: 1px solid var(--line-2);
  border-radius: 999px; padding: 6px 13px;
  font-family: var(--display); font-weight: 700; font-size: 13px; color: var(--ink);
  box-shadow: var(--shadow-sm); white-space: nowrap;
}
.clinic-bg .rp-1 { top: 8%;  left: 3%; }
.clinic-bg .rp-2 { top: 5%;  right: 4%; flex-direction: row-reverse; }
.clinic-bg .rp-3 { top: 40%; left: 1%; }
.clinic-bg .rp-4 { top: 37%; right: 2%; flex-direction: row-reverse; }
.clinic-bg .rp-5 { bottom: 12%; left: 4%; }
.clinic-bg .rp-6 { bottom: 9%; right: 5%; flex-direction: row-reverse; }
@media (max-width: 1100px) { .clinic-bg .room-pin { display: none; } }

/* ============ ABOUT: hero backdrop ============ */
.about-hero { padding-top: 80px; padding-bottom: 56px; }
.about-hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.about-hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(42,31,24,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42,31,24,0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(90% 80% at 50% 32%, #000 30%, transparent 78%);
  mask-image: radial-gradient(90% 80% at 50% 32%, #000 30%, transparent 78%);
}
.about-hero .ah-blob {
  position: absolute; border-radius: 50%; filter: blur(50px); opacity: 0.5;
}
.about-hero .ah-blob-1 { width: 460px; height: 460px; top: -160px; left: 50%; transform: translateX(-50%);
  background: radial-gradient(circle, var(--sun) 0%, transparent 68%); opacity: 0.55; }
.about-hero .ah-blob-2 { width: 360px; height: 360px; top: 40px; left: -80px;
  background: radial-gradient(circle, var(--orange-soft) 0%, transparent 70%); }
.about-hero .ah-blob-3 { width: 360px; height: 360px; bottom: -120px; right: -60px;
  background: radial-gradient(circle, var(--mint-soft) 0%, transparent 70%); }
.about-hero .ah-paws {
  position: absolute; inset: 0; width: 100%; height: 100%;
  color: var(--orange); opacity: 0.10;
}
@media (max-width: 760px) {
  .about-hero .ah-blob-2, .about-hero .ah-blob-3 { display: none; }
  .about-hero .ah-paws { opacity: 0.07; }
}

/* ============ PRICING: consolidation convergence ============ */
.merge {
  display: grid;
  grid-template-columns: 1fr 64px 1fr;
  gap: 0;
  align-items: center;
  margin-top: 44px;
}
.merge-side .merge-hd {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em;
  text-transform: uppercase; font-weight: 600; margin-bottom: 14px;
}
.merge-tools { display: flex; flex-direction: column; gap: 10px; }
.merge-tool {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  background: var(--paper); border: 1px dashed var(--line-2); border-radius: 12px;
  padding: 12px 16px; color: var(--ink-2);
}
.merge-tool b { font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--ink); }
.merge-tool .mt-v { font-family: var(--mono); font-size: 12px; color: var(--muted); white-space: nowrap; }
.merge-tool .mt-x { flex: none; color: var(--coral); font-size: 13px; font-weight: 800; }

.merge-arrows { display: flex; align-items: center; justify-content: center; position: relative; height: 100%; }
.merge-arrows svg { width: 64px; height: 100%; overflow: visible; }
.merge-arrows path { stroke: var(--orange); stroke-width: 1.5; fill: none; opacity: 0.5; stroke-dasharray: 4 7; animation: mergeFlow 1.4s linear infinite; }

@keyframes mergeFlow { to { stroke-dashoffset: -22; } }

.merge-one {
  background:
    radial-gradient(360px 220px at 70% -10%, rgba(255,138,61,0.18), transparent 70%),
    var(--ink);
  border: 1px solid var(--line-2); border-radius: var(--r);
  box-shadow: var(--shadow-lg); padding: 30px 26px; color: #FAF4E8;
  position: relative; overflow: hidden;
}
.merge-one::before {
  content:""; position:absolute; inset:0; pointer-events:none;
  background-image: linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(120% 100% at 50% 0%, #000 50%, transparent 100%);
  mask-image: radial-gradient(120% 100% at 50% 0%, #000 50%, transparent 100%);
}
.merge-one > * { position: relative; }
.merge-one .mo-logo { display: flex; align-items: center; gap: 9px; }
.merge-one .mo-logo b { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.merge-one .mo-logo .mo-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255,138,61,0.2); }
.merge-one .mo-sub { font-size: 13.5px; color: rgba(250,244,232,0.72); margin-top: 10px; line-height: 1.5; }
.merge-one .mo-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.merge-one .mo-pill {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px; padding: 5px 10px; color: rgba(250,244,232,0.85);
}

.merge-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  margin-top: 36px; border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; background: var(--paper);
}
.merge-stats .ms { padding: 22px 18px; text-align: center; border-right: 1px solid var(--line-2); }
.merge-stats .ms:last-child { border-right: 0; }
.merge-stats .ms-n { font-family: var(--display); font-weight: 800; font-size: 30px; color: var(--orange-deep); line-height: 1; }
.merge-stats .ms-n .mute { color: var(--muted); font-weight: 700; }
.merge-stats .ms-t { font-size: 13px; color: var(--ink-2); margin-top: 8px; }

@media (max-width: 760px) {
  .merge { grid-template-columns: 1fr; gap: 16px; }
  .merge-arrows { height: 44px; transform: rotate(90deg); }
  .merge-arrows svg { height: 44px; }
  .merge-stats { grid-template-columns: 1fr 1fr; }
  .merge-stats .ms:nth-child(2) { border-right: 0; }
  .merge-stats .ms:nth-child(-n+2) { border-bottom: 1px solid var(--line-2); }
}

/* ============ PRICING: payments offset visual ============ */
.pay-visual {
  position: relative;
  background:
    radial-gradient(420px 260px at 82% -10%, rgba(255,138,61,0.16), transparent 70%),
    var(--ink);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  padding: 32px;
  overflow: hidden;
  color: #FAF4E8;
}
.pay-visual::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(120% 100% at 50% 0%, #000 50%, transparent 100%);
  mask-image: radial-gradient(120% 100% at 50% 0%, #000 50%, transparent 100%);
}
.pay-visual > * { position: relative; }
.pay-cap {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--sun); font-weight: 600;
}
/* flow chips */
.pay-flow { display: flex; align-items: center; gap: 10px; margin-top: 18px; }
.pay-chip {
  flex: 1; text-align: center;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px; padding: 14px 8px;
}
.pay-chip .pc-ico { font-size: 20px; line-height: 1; }
.pay-chip .pc-t { font-size: 11.5px; margin-top: 7px; color: rgba(250,244,232,0.82); font-weight: 600; line-height: 1.3; }
.pay-arrow { flex: none; color: var(--orange); font-size: 16px; }
.pay-arrow i {
  display: block; width: 14px; height: 2px; border-radius: 2px; background: var(--orange);
  position: relative; opacity: 0.5; animation: payPulse 1.6s ease-in-out infinite;
}
.pay-arrow:nth-of-type(4) i { animation-delay: .25s; }
.pay-arrow i::after {
  content: ""; position: absolute; right: -1px; top: -2px;
  border-left: 6px solid var(--orange); border-top: 3px solid transparent; border-bottom: 3px solid transparent;
}
@keyframes payPulse { 0%,100% { opacity: .35; transform: translateX(-2px); } 50% { opacity: 1; transform: translateX(2px); } }

/* offset meter */
.pay-meter { margin-top: 26px; }
.pay-meter-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; color: rgba(250,244,232,0.72); }
.pay-bar {
  position: relative; height: 52px; margin-top: 10px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px; overflow: hidden;
}
.pay-bar-fill {
  position: absolute; inset: 0 30% 0 0;
  background: linear-gradient(90deg, rgba(127,214,168,0.32), rgba(127,214,168,0.16));
  border-right: 2px solid #7FD6A8;
  animation: payFill 2.4s cubic-bezier(.2,.7,.3,1) forwards;
}
@keyframes payFill { from { right: 100%; } to { right: 30%; } }
.pay-bar-label {
  position: absolute; top: 50%; transform: translateY(-50%);
  font-family: var(--mono); font-size: 10.5px; font-weight: 500; line-height: 1.2;
  max-width: 46%;
}
.pay-bar-label.credited { left: 14px; color: #9FE6C0; }
.pay-bar-label.remain { right: 12px; color: rgba(250,244,232,0.7); text-align: right; }
.pay-net {
  margin-top: 20px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
}
.pay-net .pn-num { font-family: var(--display); font-weight: 800; font-size: 34px; letter-spacing: -0.03em; color: #FAF4E8; }
.pay-net .pn-sub { font-size: 13px; color: rgba(250,244,232,0.6); }
.pay-checks { margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(250,244,232,0.12); display: flex; flex-direction: column; gap: 12px; }
.pay-checks li { list-style: none; display: flex; gap: 11px; align-items: flex-start; font-size: 14px; color: rgba(250,244,232,0.84); line-height: 1.45; }
.pay-checks li::before {
  content: ""; flex: none; width: 17px; height: 17px; margin-top: 1px; border-radius: 50%;
  background: rgba(127,214,168,0.18); border: 1px solid rgba(127,214,168,0.5);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4 8.5l2.5 2.5L12 5.5' stroke='%237FD6A8' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}
@media (prefers-reduced-motion: reduce) {
  .pay-arrow i { animation: none !important; }
  .pay-bar-fill { animation: none !important; right: 28%; }
}

/* ============ PRICING: plan tiers ============ */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
  margin-top: 56px;
}
.plan {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
}
.plan.featured {
  border: 1.5px solid var(--orange);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.plan-flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  white-space: nowrap;
  background: var(--orange); color: #FFFCF5;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase; font-weight: 600;
  padding: 5px 14px; border-radius: 999px; border: 1px solid var(--ink);
}
.plan-name { font-family: var(--display); font-weight: 800; font-size: 22px; }
.plan-tag { font-size: 13.5px; color: var(--ink-2); margin-top: 6px; min-height: 38px; line-height: 1.4; }
.plan-price {
  margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line-2);
  font-family: var(--display); font-weight: 800; font-size: 40px; line-height: 1;
  color: var(--ink);
}
.plan-price .per { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: 0.04em; }
.plan-price .seat { display: block; font-family: var(--sans); font-size: 12px; font-weight: 600; color: var(--muted); margin-top: 4px; letter-spacing: 0; }
.plan ul {
  list-style: none; margin: 22px 0 0; padding: 22px 0 0;
  border-top: 1px solid var(--line-2);
  display: flex; flex-direction: column; gap: 12px; flex: 1;
}
.plan li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.plan li::before {
  content: ""; flex: none; width: 16px; height: 16px; margin-top: 2px;
  border-radius: 50%; background: var(--mint-soft);
  border: 1px solid var(--line-2);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4 8.5l2.5 2.5L12 5.5' stroke='%232F6B52' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}
.plan li.muted { color: var(--muted); }
.plan li.muted::before {
  background: transparent; border-color: var(--line-2);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M5 8h6' stroke='%239C8B7D' stroke-width='2' fill='none' stroke-linecap='round'/></svg>");
}
.plan .btn { margin-top: 24px; justify-content: center; width: 100%; }
@media (max-width: 860px) {
  .plans { grid-template-columns: 1fr; gap: 18px; max-width: 440px; margin-left: auto; margin-right: auto; }
  .plan-tag { min-height: 0; }
}

/* ============ PRICING: ROI calculator ============ */
.roi {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--paper);
}
.roi-inputs { padding: 40px; border-right: 1px solid var(--line-2); }
.roi-field { margin-bottom: 26px; }
.roi-field:last-child { margin-bottom: 0; }
.roi-field-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 12px; gap: 12px;
}
.roi-field-head label { font-family: var(--display); font-weight: 700; font-size: 16px; margin: 0; }
.roi-val {
  font-family: var(--display); font-weight: 800; font-size: 20px;
  color: var(--orange-deep); white-space: nowrap;
}
.roi-slider {
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  width: 100%; height: 7px; border-radius: 999px; margin: 0;
  background-color: var(--line-2); cursor: pointer;
  --fill: 0%;
  background-image: linear-gradient(var(--orange), var(--orange));
  background-size: var(--fill) 100%;
  background-repeat: no-repeat;
}
.roi-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--orange); border: 2px solid var(--ink);
  box-shadow: var(--shadow-sm); cursor: pointer;
}
.roi-slider::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--orange); border: 2px solid var(--ink);
  box-shadow: var(--shadow-sm); cursor: pointer;
}
.roi-ticks { display: flex; justify-content: space-between; margin-top: 7px; }
.roi-ticks span { font-size: 11px; color: var(--muted); font-family: var(--mono); }

.roi-output {
  padding: 40px;
  background:
    radial-gradient(520px 300px at 80% -10%, rgba(255,138,61,0.14), transparent 70%),
    var(--ink);
  color: #FAF4E8;
  display: flex; flex-direction: column;
}
.roi-output .roi-cap {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--sun); font-weight: 600;
}
.roi-hero-num {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(46px, 6vw, 68px); line-height: 1;
  letter-spacing: -0.04em; color: #FAF4E8; margin-top: 12px;
}
.roi-sub { font-size: 14px; color: rgba(250,244,232,0.7); margin-top: 10px; }
.roi-return {
  display: inline-flex; align-items: baseline; gap: 8px;
  margin-top: 18px; padding: 10px 16px;
  background: rgba(255,138,61,0.16); border: 1px solid rgba(255,138,61,0.35);
  border-radius: 999px; align-self: flex-start;
}
.roi-return b { font-family: var(--display); font-size: 19px; color: #FFB37A; }
.roi-return span { font-size: 13px; color: rgba(250,244,232,0.8); }
.roi-rows {
  margin-top: auto; padding-top: 26px;
  display: flex; flex-direction: column; gap: 0;
}
.roi-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0; border-top: 1px solid rgba(250,244,232,0.12);
  font-size: 15px;
}
.roi-row span { color: rgba(250,244,232,0.78); }
.roi-row b { font-family: var(--mono); font-weight: 500; white-space: nowrap; }
.roi-row.pos b { color: #7FD6A8; }
.roi-row.neg b { color: #FFB37A; }
.roi-note { margin-top: 18px; font-size: 12px; color: rgba(250,244,232,0.5); line-height: 1.5; }
@media (max-width: 820px) {
  .roi { grid-template-columns: 1fr; }
  .roi-inputs { border-right: 0; border-bottom: 1px solid var(--line-2); padding: 30px; }
  .roi-output { padding: 30px; }
}

/* ============ AI SCRIBE: section visual enhancements ============ */
/* comparison VS badge */
.cmp { position: relative; }
.cmp .vs {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  z-index: 3; width: 58px; height: 58px; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--ink);
  box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 800; font-size: 16px; color: var(--ink); letter-spacing: 0.02em;
}
@media (max-width: 920px) { .cmp .vs { display: none; } }

/* how-it-works connected flow */
.hiw-grid { position: relative; }
.hiw-grid::before {
  content: ""; position: absolute; top: 56px; left: 16%; right: 16%; height: 2px;
  background-image: linear-gradient(90deg, var(--line-2) 0 8px, transparent 8px 16px);
  background-size: 16px 2px; z-index: 0;
}
@media (max-width: 920px) { .hiw-grid::before { display: none; } }
.hiw-grid .feat-card { position: relative; z-index: 1; }
.hiw-grid .hiw-n {
  position: absolute; top: -18px; left: 28px; z-index: 2;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--orange); color: #FFFCF5; border: 1px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 800; font-size: 16px; box-shadow: var(--shadow-sm);
}

/* ambient 'the room listens' — dark glowing showcase */
.ambient-sec {
  position: relative; overflow: hidden;
  background:
    radial-gradient(700px 420px at 50% -8%, rgba(255,138,61,0.22), transparent 70%),
    radial-gradient(560px 420px at 12% 110%, rgba(95,191,149,0.10), transparent 72%),
    #14100B;
  border-top: 1px solid rgba(255,255,255,0.07); border-bottom: 1px solid rgba(255,255,255,0.07);
}
.ambient-sec .container { position: relative; z-index: 1; }
.ambient-sec .eyebrow { background: rgba(255,138,61,0.14); color: #FFB37A; }
.ambient-sec h2 { color: #F8F1E5; }
.ambient-sec h2 em { color: #FF9A4D; font-style: italic; }
.ambient-sec .lede { color: rgba(248,241,229,0.78); }
.ambient-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.ambient-bg::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(80% 70% at 50% 6%, #000 0%, transparent 72%);
  mask-image: radial-gradient(80% 70% at 50% 6%, #000 0%, transparent 72%);
}
.ambient-bg .waves {
  position: absolute; top: -360px; left: 50%; transform: translateX(-50%);
  width: 960px; height: 960px;
}
.ambient-bg .waves span {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  border-radius: 50%; border: 1.5px solid rgba(255,138,61,0.30);
  animation: ambientPulse 4s ease-in-out infinite;
}
.ambient-bg .waves span:nth-child(1) { width: 220px; height: 220px; }
.ambient-bg .waves span:nth-child(2) { width: 440px; height: 440px; border-color: rgba(255,138,61,0.22); animation-delay: .5s; }
.ambient-bg .waves span:nth-child(3) { width: 660px; height: 660px; border-color: rgba(255,194,59,0.16); animation-delay: 1s; }
.ambient-bg .waves span:nth-child(4) { width: 880px; height: 880px; border-color: rgba(255,138,61,0.10); animation-delay: 1.5s; }
@keyframes ambientPulse { 0%,100% { opacity: 0.85; } 50% { opacity: 0.4; } }
.ambient-bg .waves .core {
  width: 16px; height: 16px; border: 0; background: var(--orange);
  box-shadow: 0 0 26px 4px rgba(255,138,61,0.7); animation: none;
}
@media (prefers-reduced-motion: reduce) { .ambient-bg .waves span { animation: none !important; } }
/* dark-glass capability cards */
.ambient-sec .feat-card {
  background: rgba(255,252,245,0.04); border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 18px 40px -28px rgba(0,0,0,0.7);
}
.ambient-sec .feat-card:hover { border-color: rgba(255,138,61,0.4); box-shadow: 0 22px 50px -26px rgba(0,0,0,0.8); }
.ambient-sec .feat-card h4 { color: #F8F1E5; }
.ambient-sec .feat-card p { color: rgba(248,241,229,0.66); }
.ambient-sec .feat-card .icon-blob { border-color: rgba(255,255,255,0.18); }

/* ============ AI SCRIBE: exam-workflow card visuals ============ */
.exam-visual {
  height: 130px;
  border-radius: 14px;
  background: var(--orange-soft);
  border: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  overflow: hidden;
}
.exam-visual svg { width: 72%; height: auto; display: block; }

/* ============ HOME: ONE SCHEMA schematic card ============ */.schema-card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(440px 340px at 50% 4%, rgba(255,138,61,0.16), transparent 70%),
    radial-gradient(360px 300px at 86% 96%, rgba(95,191,149,0.10), transparent 72%),
    #14100B;
  border: 1px solid rgba(255,138,61,0.20);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  padding: 22px 24px 16px;
}
.schema-card::before {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 38px 38px;
  -webkit-mask-image: radial-gradient(120% 104% at 50% 42%, #000 52%, transparent 100%);
  mask-image: radial-gradient(120% 104% at 50% 42%, #000 52%, transparent 100%);
}
.schema-card .mono, .schema-card svg { position: relative; }
.schema-card svg { width: 100%; height: auto; display: block; }

/* ============ AI SCRIBE: hero schematic (dark / hi-tech) ============ */
.scribe-hero--dark {
  background:
    radial-gradient(900px 540px at 50% 8%, rgba(255,138,61,0.18), transparent 68%),
    radial-gradient(680px 560px at 84% 92%, rgba(95,191,149,0.10), transparent 70%),
    radial-gradient(620px 520px at 12% 88%, rgba(255,194,59,0.08), transparent 70%),
    #14100B;
  color: #F7EFE1;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.scribe-hero--dark .scribe-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(120% 104% at 50% 40%, #000 50%, transparent 100%);
  mask-image: radial-gradient(120% 104% at 50% 40%, #000 50%, transparent 100%);
}

.scribe-hero .scribe-bg {
  position: absolute; inset: 0; z-index: 0;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.scribe-hero--dark .scribe-bg {
  position: static;
  order: 2;
  width: 100%;
  max-width: 940px;
  margin: 44px auto 0;
  padding: 16px 20px 8px;
  border: 1px solid rgba(255,138,61,0.16);
  border-radius: 20px;
  background: radial-gradient(120% 130% at 50% 0%, rgba(255,138,61,0.07), rgba(255,138,61,0) 58%);
  box-shadow: 0 30px 70px -36px rgba(0,0,0,0.7);
}
.scribe-hero .scribe-bg svg { width: 100%; height: auto; display: block; }

.scribe-hero--dark .container { order: 1; z-index: 1; }

/* hero text colours on dark */
.scribe-hero--dark .eyebrow { background: rgba(255,138,61,0.14); color: #FFB37A; }
.scribe-hero--dark h1 { color: #F8F1E5; }
.scribe-hero--dark h1 em { color: #FF9A4D; font-style: italic; }
.scribe-hero--dark .lede { color: rgba(248,241,229,0.82); }

/* connector flow + pulses + core */
@keyframes scribeFlow { to { stroke-dashoffset: -36; } }
.scribe-flow path { stroke-dasharray: 5 11; animation: scribeFlow 1.5s linear infinite; }
.scribe-flow path:nth-child(2) { animation-delay: .15s; }
.scribe-flow path:nth-child(3) { animation-delay: .3s; }
.scribe-flow path:nth-child(4) { animation-delay: .45s; }

.scribe-wave rect { transform-box: fill-box; transform-origin: center; }
.scribe-wave rect:nth-child(1) { animation: scribeWaveBar 1s ease-in-out infinite; }
.scribe-wave rect:nth-child(2) { animation: scribeWaveBar 1s ease-in-out infinite .12s; }
.scribe-wave rect:nth-child(3) { animation: scribeWaveBar 1s ease-in-out infinite .24s; }
.scribe-wave rect:nth-child(4) { animation: scribeWaveBar 1s ease-in-out infinite .36s; }
.scribe-wave rect:nth-child(5) { animation: scribeWaveBar 1s ease-in-out infinite .48s; }
@keyframes scribeWaveBar { 0%,100% { transform: scaleY(0.4); } 50% { transform: scaleY(1); } }

.scribe-ping { transform-box: fill-box; transform-origin: center; animation: scribePing 2.6s ease-out infinite; }
@keyframes scribePing {
  0% { transform: scale(0.82); opacity: 0.55; }
  100% { transform: scale(1.5); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .scribe-flow path, .scribe-wave rect, .scribe-ping { animation: none !important; }
  .scribe-pulses { display: none; }
}
@media (max-width: 760px) {
  .scribe-hero--dark .scribe-bg { margin-top: 32px; padding: 12px 12px 4px; }
}

/* ============ ENTERPRISE: hero background photo ============ */
.ent-hero { position: relative; overflow: hidden; background: var(--bg); }
.ent-hero .hero-photo {
  position: absolute; inset: 0; z-index: 0;
  background: url("images/clinic-front-desk.png") center/cover no-repeat;
  opacity: 0.16;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
}
.ent-hero .sun-disc { opacity: 0.5; }
.ent-hero .hero-inner { position: relative; z-index: 1; }

/* ============ ENTERPRISE: logo band ============ */
.logo-band {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 18px 44px; margin-top: 34px;
}
.logo-band .lw {
  font-family: var(--display); font-weight: 800; font-size: clamp(17px, 2vw, 22px);
  letter-spacing: -0.03em; color: var(--ink-2); opacity: 0.72;
  display: inline-flex; align-items: center; gap: 9px;
  transition: opacity .2s ease, color .2s ease;
}
.logo-band .lw:hover { opacity: 1; color: var(--ink); }
.logo-band .lw::before {
  content: ""; width: 18px; height: 18px; border-radius: 5px;
  background: var(--orange); opacity: 0.85; flex: none;
}
.logo-band .lw.b2::before { background: var(--mint); border-radius: 50%; }
.logo-band .lw.b3::before { background: var(--sun); transform: rotate(45deg); }
.logo-band .lw.b4::before { background: var(--plum); border-radius: 50% 50% 50% 0; }
.logo-band .lw.b5::before { background: var(--coral); border-radius: 4px; }

/* ============ ENTERPRISE: capability rows ============ */
.cap-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
  padding: 56px 0; border-top: 1px solid var(--line);
}
.cap-row:first-child { border-top: 0; }
.cap-row.flip .cap-text { order: 2; }
.cap-text .eyebrow { margin-bottom: 18px; }
.cap-text h3 { font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -0.025em; margin: 0 0 14px; }
.cap-text p { color: var(--ink-2); font-size: 16px; line-height: 1.62; max-width: 52ch; }
.cap-list { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.cap-list li { display: flex; gap: 11px; font-size: 15px; font-weight: 500; color: var(--ink); }
.cap-list li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 6px;
  background: var(--mint-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.2 2.2 4.8-4.8' fill='none' stroke='%232F6B52' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
  border: 1px solid rgba(95,165,133,0.4);
}
.cap-visual {
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r);
  box-shadow: var(--shadow); padding: 22px; min-height: 220px;
}
@media (max-width: 860px) {
  .cap-row { grid-template-columns: 1fr; gap: 28px; padding: 40px 0; }
  .cap-row.flip .cap-text { order: 0; }
  .ai-banner { grid-template-columns: 1fr !important; gap: 28px !important; padding: 32px !important; }
  .testi-grid { grid-template-columns: 1fr !important; gap: 28px !important; }
}

/* ============ STORY TIMELINE ============ */
.timeline { margin-top: 48px; }
.tl-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 44px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
}
.tl-item:last-child { border-bottom: 1px solid var(--line); }
.tl-time {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(26px, 2.8vw, 36px);
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--orange-deep);
}
.tl-time .tl-tag {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-top: 10px;
}
.tl-body h3 { margin: 0 0 10px; }
.tl-body p { color: var(--ink-2); font-size: 16px; line-height: 1.62; max-width: 60ch; }
.tl-body .tl-win {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 14px; padding: 6px 12px;
  background: var(--mint-soft); border: 1px solid rgba(95,165,133,0.4); border-radius: 999px;
  font-size: 13px; font-weight: 600; color: #2F6B52;
}
.admin-band image-slot { display: block; width: 100%; }

@media (max-width: 760px) {
  .tl-item { grid-template-columns: 1fr; gap: 14px; padding: 26px 0; }
  .admin-band { grid-template-columns: 1fr !important; }
  .admin-band image-slot { height: 240px !important; }
}

/* ============ CAREERS: role rows ============ */
.roles { max-width: 920px; margin: 40px auto 0; border-top: 1px solid var(--line); }
.role-row {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 6px; border-bottom: 1px solid var(--line);
  color: var(--ink);
  transition: padding .2s ease, background .2s ease;
}
.role-row:hover { padding-left: 16px; padding-right: 16px; background: linear-gradient(90deg, var(--orange-soft), transparent); }
.role-row .r-title { font-family: var(--display); font-weight: 700; font-size: clamp(18px, 2vw, 22px); letter-spacing: -0.02em; }
.role-row .r-meta { font-size: 14px; color: var(--muted); margin-top: 3px; }
.role-row .r-arrow { color: var(--orange-deep); font-weight: 700; font-size: 18px; flex: none; transition: transform .2s ease; }
.role-row:hover .r-arrow { transform: translateX(4px); }
@media (max-width: 600px) {
  .role-row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .role-row .r-arrow { align-self: flex-end; margin-top: -28px; }
}

/* ============ ENTERPRISE: control hierarchy ============ */
.lvl-row {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.lvl-row:last-child { border-bottom: 1px solid var(--line); }
.lvl-head { display: flex; gap: 16px; align-items: flex-start; }
.lvl-num { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--orange-deep); padding-top: 7px; }
.lvl-head h3 { margin: 0 0 8px; }
.lvl-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px 32px;
}
.lvl-list li { display: flex; gap: 10px; font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.lvl-list li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); margin-top: 8px; }
@media (max-width: 860px) {
  .lvl-row { grid-template-columns: 1fr; gap: 16px; padding: 26px 0; }
  .lvl-list { grid-template-columns: 1fr; }
}

/* feature chips */
.ent-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 34px; }
.ent-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border: 1px solid var(--line-2); border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--ink); background: var(--surface);
}
.ent-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }

/* ============ FAQ ============ */
.faq {
  max-width: 820px;
  margin: 48px auto 0;
  border-top: 1px solid var(--line);
}
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 4px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-num {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--orange-deep);
  flex: none;
  width: 32px;
}
.faq-q {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(18px, 2vw, 22px);
  letter-spacing: -0.02em;
  color: var(--ink);
  flex: 1;
  transition: color .15s;
}
.faq-item summary:hover .faq-q { color: var(--orange-deep); }
.faq-icon { position: relative; width: 16px; height: 16px; flex: none; }
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--ink-2);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease, background .15s;
}
.faq-icon::before { left: 0; top: 7px; width: 16px; height: 2px; }
.faq-icon::after  { left: 7px; top: 0; width: 2px; height: 16px; }
.faq-item[open] .faq-icon::after { transform: rotate(90deg); opacity: 0; }
.faq-item summary:hover .faq-icon::before,
.faq-item summary:hover .faq-icon::after { background: var(--orange-deep); }
.faq-a {
  padding: 0 4px 26px 56px;
  max-width: 68ch;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.62;
}
.faq-a a { color: var(--orange-deep); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 600px) {
  .faq-a { padding-left: 4px; }
  .faq-num { width: 26px; }
}

/* ============ MOBILE ============ */
@media (max-width: 920px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 18px; }
  .stats-band .grid { grid-template-columns: repeat(2, 1fr); }
  .stats-band .cell:nth-child(2) { border-right: 0; }
  .stats-band .cell { border-bottom: 1px solid rgba(250,244,232,0.12); }
  .site-footer .container { grid-template-columns: 1fr 1fr; }
  section { padding: 68px 20px; }
  .step-row { grid-template-columns: 1fr; gap: 16px; }
  .step-row .step-num { font-size: 52px; }
  .hero-mascot { display: none !important; }
}

/* collapse inline-grid layouts that media queries can't reach without !important */
@media (max-width: 860px) {
  .pm-cols    { grid-template-columns: 1fr !important; padding: 18px !important; }
  .step4-cols { grid-template-columns: 1fr !important; padding: 24px !important; }
  .cred-cols  { grid-template-columns: 1fr !important; gap: 24px !important; text-align: left; }
  .media-grid-4 { grid-template-columns: repeat(2, 1fr) !important; }
  .mascot.float { display: none !important; }   /* decorative corner mascots */
}

@media (max-width: 600px) {
  .stats-band .grid { grid-template-columns: 1fr; }
  .stats-band .cell { border-right: 0; }
  .site-footer .container { grid-template-columns: 1fr; gap: 22px; }
  .hero { padding: 56px 20px 64px; }
  .hero h1 { font-size: clamp(38px, 11vw, 60px); }
  .nav-logo span { font-size: 19px; }
  .btn { font-size: 14px; padding: 12px 18px; }
  /* dense product/dashboard mocks: tighter padding + smaller type on phones */
  .product-frame .pm-cols { padding: 16px !important; gap: 12px !important; }
  .product-frame [style*="padding:28px"] { padding: 16px !important; }
}

@media (max-width: 480px) {
  .media-grid-4 { grid-template-columns: 1fr !important; }
  .cred-stats   { grid-template-columns: 1fr !important; gap: 16px !important; }
  /* let the hero CTA pair go full-width and stack cleanly */
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
}
