/* =========================================================
   TruScriptRx — style.css
   Editorial medical-tech aesthetic
   --------------------------------------------------------
   - Warm off-white "prescription paper" canvas
   - Deep teal primary, soft blue secondary, coral accent
   - Fraunces display + Instrument Serif italic + Geist UI
   - Hand-built SVG dashboard mockups
   - Mobile-first, responsive at 1100 / 900 / 720 / 480
========================================================= */

/* ------ 1. Tokens ----------------------------------------*/
:root {
  /* Surfaces */
  --bg:           #F7F4EE;     /* warm off-white canvas */
  --bg-soft:      #EFEAE0;
  --bg-card:      #FFFFFF;
  --bg-dark:      #0E1E22;     /* near-black with teal undertone */
  --bg-darker:    #081316;

  /* Ink */
  --ink:          #0F1B1F;
  --ink-soft:     #3F4A50;
  --ink-mute:     #7A848B;
  --ink-faint:    #B5BCC1;

  /* Brand */
  --teal-deep:    #0E4D52;
  --teal:         #14857A;
  --teal-bright:  #2DD4BF;
  --blue:         #2557A7;
  --blue-soft:    #DDE9F4;
  --accent:       #FF7448;     /* warm coral — surprise pop */
  --accent-deep:  #E45F38;

  /* Lines */
  --line:         #E6DFD0;
  --line-soft:    #EFE9DB;
  --line-strong:  #D7CFB8;

  /* Effects */
  --shadow-sm:    0 1px 2px rgba(15,27,31,0.04), 0 1px 1px rgba(15,27,31,0.03);
  --shadow-md:    0 6px 16px -8px rgba(15,27,31,0.10), 0 12px 32px -12px rgba(15,27,31,0.08);
  --shadow-lg:    0 24px 64px -28px rgba(15,27,31,0.22), 0 8px 24px -12px rgba(15,27,31,0.10);
  --shadow-card:  0 1px 0 rgba(255,255,255,0.6) inset, 0 1px 2px rgba(15,27,31,0.04), 0 18px 40px -22px rgba(14,77,82,0.18);

  /* Type */
  --f-display: 'Fraunces', 'Times New Roman', serif;
  --f-italic:  'Instrument Serif', 'Times New Roman', serif;
  --f-body:    'Geist', system-ui, -apple-system, sans-serif;

  /* Sizing */
  --container: 1240px;
  --radius:    18px;
  --radius-sm: 10px;
  --radius-lg: 28px;
}

/* ------ 2. Reset -----------------------------------------*/
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
ul { list-style: none; }
::selection { background: var(--teal-deep); color: var(--bg); }

/* ------ 3. Layout helpers --------------------------------*/
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* Subtle film-grain overlay sitewide */
.grain {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 1;
  opacity: 0.04;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/></svg>");
}

/* ------ 4. Buttons ---------------------------------------*/
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14.5px;
  letter-spacing: -0.005em;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn-lg { padding: 15px 26px; font-size: 15.5px; }
.btn-primary {
  background: var(--ink);
  color: var(--bg);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset, 0 6px 16px -8px rgba(15,27,31,0.4);
}
.btn-primary:hover {
  background: var(--teal-deep);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -12px rgba(14,77,82,0.5);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  background: var(--bg-card);
  border-color: var(--ink);
  transform: translateY(-1px);
}
.btn-light {
  background: var(--bg);
  color: var(--ink);
  box-shadow: 0 12px 32px -16px rgba(0,0,0,0.4);
}
.btn-light:hover {
  background: #fff;
  transform: translateY(-1px);
  box-shadow: 0 18px 40px -16px rgba(0,0,0,0.5);
}
.play-bubble {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--teal-deep);
  color: var(--bg);
  display: inline-flex;
  align-items: center; justify-content: center;
  margin-right: 2px;
}

/* ------ 5. Header ----------------------------------------*/
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(247,244,238,0.65);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.site-header.scrolled {
  background: rgba(247,244,238,0.85);
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 60px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: var(--f-body);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 19px;
}
.logo-mark {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--teal-deep);
}
.logo-text em {
  font-family: var(--f-italic);
  font-style: italic;
  font-weight: 400;
  color: var(--teal);
  font-size: 1.05em;
  margin-left: 1px;
}
.nav-desktop {
  margin-left: auto;
}
.nav-desktop ul {
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav-link {
  position: relative;
  padding: 8px 14px;
  font-size: 14.5px;
  color: var(--ink-soft);
  border-radius: 999px;
  transition: color .2s ease, background .2s ease;
}
.nav-link:hover { color: var(--ink); }
.nav-link.active {
  color: var(--ink);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
}
.header-cta { display: inline-flex; }

/* Hamburger */
.hamburger {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 18px; height: 1.6px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform .3s ease, opacity .3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 60px 0 auto 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  transform: translateY(-110%);
  transition: transform .35s cubic-bezier(.22,.9,.3,1);
  z-index: 70;
  padding: 14px 24px 28px;
}
.mobile-nav.open { transform: translateY(0); }
.mobile-nav ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a {
  display: block;
  padding: 14px 8px;
  font-size: 18px;
  font-family: var(--f-display);
  font-weight: 400;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink);
}
.mobile-nav a.btn { border-bottom: 0; margin-top: 14px; }

/* ------ 6. Hero ------------------------------------------*/
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;
}
.grid-pattern {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(14,77,82,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(14,77,82,0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 70% at 70% 30%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 30%, black 30%, transparent 75%);
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  animation: orbFloat 14s ease-in-out infinite;
}
.orb-1 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(45,212,191,0.55), rgba(45,212,191,0));
  top: -120px; right: -80px;
}
.orb-2 {
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(37,87,167,0.35), rgba(37,87,167,0));
  bottom: -120px; left: -60px;
  animation-delay: -4s;
}
.orb-3 {
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(255,116,72,0.18), rgba(255,116,72,0));
  top: 40%; left: 38%;
  animation-delay: -8s;
}
@keyframes orbFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  33%     { transform: translate(20px,-30px) scale(1.06); }
  66%     { transform: translate(-15px,15px) scale(0.96); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-text { max-width: 600px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--line);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 26px;
  font-weight: 500;
}
.eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal);
  position: relative;
}
.eyebrow .dot.pulse::after {
  content: '';
  position: absolute; inset: -4px;
  border-radius: 50%;
  background: var(--teal);
  opacity: 0.4;
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse {
  0%   { transform: scale(0.6); opacity: 0.5; }
  100% { transform: scale(2.5); opacity: 0; }
}

.hero-headline {
  font-family: var(--f-display);
  font-weight: 400;
  font-variation-settings: "opsz" 144;
  font-size: clamp(40px, 6.5vw, 80px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 22px;
}
.hero-headline em {
  font-family: var(--f-italic);
  font-style: italic;
  font-weight: 400;
  color: var(--teal);
  letter-spacing: -0.02em;
}
.underline-accent {
  position: relative;
  white-space: nowrap;
}
.underline-accent::after {
  content: '';
  position: absolute;
  left: 2%; right: 2%;
  bottom: -2px;
  height: 8px;
  background: var(--accent);
  border-radius: 999px;
  z-index: -1;
  opacity: 0.85;
}

.hero-sub {
  font-size: 17.5px;
  color: var(--ink-soft);
  max-width: 540px;
  margin-bottom: 32px;
  line-height: 1.55;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 44px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.meta-live {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-soft);
}
.meta-live .live-dot {
  position: relative;
  top: -1px;
  width: 8px; height: 8px;
  background: #22C55E;
  border-radius: 50%;
  display: inline-block;
}
.meta-live .live-dot::after {
  content: '';
  position: absolute; inset: -3px;
  border-radius: 50%;
  background: #22C55E;
  opacity: 0.45;
  animation: pulse 1.8s ease-out infinite;
}
.meta-num {
  font-family: var(--f-display);
  font-variation-settings: "opsz" 144;
  font-weight: 500;
  color: var(--ink);
  font-size: 19px;
  letter-spacing: -0.02em;
  font-feature-settings: "tnum" on;
}
.meta-trust {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.meta-trust strong { color: var(--ink); font-weight: 600; }

.avatar-stack { display: inline-flex; }
.avi {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  color: #fff;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center; justify-content: center;
  border: 2px solid var(--bg);
  margin-left: -8px;
}
.avi:first-child { margin-left: 0; }

/* ------ 7. Hero dashboard mockup -------------------------*/
.hero-visual {
  position: relative;
  perspective: 1800px;
}
.dashboard-card {
  background: var(--bg-card);
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotateY(-4deg) rotateX(2deg);
  transform-origin: center center;
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.hero-visual:hover .dashboard-card {
  transform: rotateY(-1deg) rotateX(0.5deg) translateY(-4px);
}
.db-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.db-tabs { display: inline-flex; gap: 6px; }
.db-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--line-strong);
}
.db-dot:nth-child(1) { background: #FF7448; }
.db-dot:nth-child(2) { background: #F1C40F; }
.db-dot:nth-child(3) { background: #22C55E; }
.db-url {
  flex: 1;
  text-align: center;
  font-size: 11.5px;
  color: var(--ink-mute);
  font-family: ui-monospace, monospace;
  letter-spacing: -0.01em;
}
.db-spacer { width: 36px; }

.db-body {
  display: grid;
  grid-template-columns: 130px 1fr;
  min-height: 380px;
}
.db-side {
  background: linear-gradient(180deg, var(--bg-soft), var(--bg));
  border-right: 1px solid var(--line);
  padding: 14px;
}
.db-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 12.5px;
  margin-bottom: 18px;
  color: var(--ink);
}
.db-rx {
  width: 22px; height: 22px;
  background: var(--teal-deep);
  color: var(--bg);
  border-radius: 6px;
  display: inline-flex;
  align-items: center; justify-content: center;
  font-family: var(--f-italic);
  font-style: italic;
  font-size: 14px;
}
.db-menu {
  display: flex; flex-direction: column; gap: 2px;
}
.db-menu li {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px;
  font-size: 11.5px;
  color: var(--ink-soft);
  border-radius: 8px;
  transition: background .2s ease;
}
.db-menu li.active {
  background: var(--bg-card);
  color: var(--teal-deep);
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(15,27,31,0.04);
}
.db-menu li svg { color: currentColor; }

.db-main { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.db-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.db-stat {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
}
.db-stat-label { font-size: 10.5px; color: var(--ink-mute); text-transform: uppercase; letter-spacing: 0.05em; }
.db-stat-num {
  display: block;
  font-family: var(--f-display);
  font-variation-settings: "opsz" 144;
  font-weight: 500;
  font-size: 26px;
  color: var(--ink);
  line-height: 1;
  margin: 4px 0 6px;
  letter-spacing: -0.02em;
  font-feature-settings: "tnum" on;
}
.db-stat-trend { font-size: 11px; color: var(--ink-mute); }
.db-stat-trend.up { color: var(--teal); font-weight: 600; }

.db-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
}
.db-card-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 8px;
}
.db-title { font-size: 11.5px; font-weight: 600; color: var(--ink); }
.db-pill {
  font-size: 10px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 2px 8px;
  border-radius: 999px;
  color: var(--ink-mute);
  display: inline-flex; align-items: center; gap: 5px;
}
.db-pill.live { color: #22C55E; }
.db-pill .live-dot {
  width: 6px; height: 6px;
  background: #22C55E;
  border-radius: 50%;
  animation: blink 1.4s infinite;
}
@keyframes blink { 0%,40% { opacity: 1; } 60%,100% { opacity: 0.35; } }
.db-chart { width: 100%; height: 70px; }
.chart-line { stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: drawLine 2s 0.4s ease-out forwards; }
.chart-area  { opacity: 0; animation: fadeIn 1s 0.8s ease-out forwards; }
.chart-dot   { opacity: 0; animation: fadeIn 0.4s 1.6s ease-out forwards; }
.chart-dot-pulse {
  opacity: 0.6;
  transform-origin: 280px 10px;
  animation: chartPulse 2s 1.6s ease-out infinite;
}
@keyframes drawLine { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes chartPulse {
  0%   { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(4.5); opacity: 0; }
}

.db-row-item {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid var(--line-soft);
}
.db-row-item:first-of-type { border-top: 0; padding-top: 4px; }
.db-rx-icon {
  width: 28px; height: 28px;
  background: var(--blue-soft);
  color: var(--blue);
  border-radius: 7px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--f-italic);
  font-style: italic;
  font-size: 14px;
}
.db-row-name { font-size: 12px; font-weight: 600; }
.db-row-sub  { font-size: 10.5px; color: var(--ink-mute); margin-top: 1px; }
.db-row-tag {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.tag-ready  { background: rgba(34,197,94,0.12);  color: #15803D; }
.tag-verify { background: rgba(255,116,72,0.12); color: var(--accent-deep); }
.tag-fill   { background: rgba(37,87,167,0.10);  color: var(--blue); }

/* Floating helper cards */
.float-card {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  z-index: 3;
}
.float-notif {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  bottom: -18px;
  left: -28px;
  animation: floatY 4s ease-in-out infinite;
}
.notif-icon {
  width: 32px; height: 32px;
  background: rgba(45,212,191,0.18);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
}
.notif-title { font-size: 13px; font-weight: 600; }
.notif-sub { font-size: 11.5px; color: var(--ink-mute); }
.float-label {
  width: 168px;
  padding: 12px;
  top: 32px;
  right: -28px;
  animation: floatY 5s 1s ease-in-out infinite;
}
.label-stripe {
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--teal-deep), var(--teal-bright));
  margin-bottom: 10px;
}
.label-row {
  display: flex; justify-content: space-between;
  font-size: 11.5px;
  margin-bottom: 6px;
}
.label-row span { color: var(--ink-mute); }
.label-row strong {
  font-family: var(--f-display);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.label-bar {
  margin-top: 4px;
  height: 6px;
  border-radius: 3px;
  background: var(--bg-soft);
  overflow: hidden;
}
.label-bar > span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--teal-bright));
  border-radius: 3px;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* ------ 8. Trusted by ------------------------------------*/
.trusted {
  padding: 56px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.5), transparent);
}
.trusted-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 32px;
  font-weight: 500;
}
.trusted-label .line {
  height: 1px; flex: 0 1 80px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}
.logo-marquee {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
}
.logo-track {
  display: flex;
  gap: 60px;
  width: max-content;
  animation: marquee 35s linear infinite;
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 18px;
  color: var(--ink-soft);
  letter-spacing: -0.01em;
  white-space: nowrap;
  opacity: 0.65;
  transition: opacity .25s ease, color .25s ease;
}
.brand-logo:hover { opacity: 1; color: var(--ink); }
.brand-logo svg { width: 22px; height: 22px; color: currentColor; }
.brand-serif {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 22px;
}
.brand-serif em {
  font-family: var(--f-italic);
  font-style: italic;
  color: var(--teal);
}
.brand-mono {
  font-family: ui-monospace, 'Courier New', monospace;
  font-size: 14.5px;
  letter-spacing: 0.12em;
}

/* ------ 9. Section heads --------------------------------*/
.section-head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 999px;
  margin-bottom: 22px;
  font-weight: 500;
}
.section-label .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
}
.section-label.light {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.85);
}
.section-label.light .dot { background: var(--teal-bright); }

.section-title {
  font-family: var(--f-display);
  font-variation-settings: "opsz" 144;
  font-weight: 400;
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.section-title em {
  font-family: var(--f-italic);
  font-style: italic;
  color: var(--teal);
}
.section-title.light { color: var(--bg); }
.section-title.light em { color: var(--teal-bright); }
.section-lede {
  margin-top: 20px;
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ------ 10. Solutions -----------------------------------*/
.solutions { padding: 110px 0 100px; position: relative; }
.solution-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.solution-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px 28px;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  box-shadow: var(--shadow-sm);
  transition: transform .35s cubic-bezier(.22,.9,.3,1), box-shadow .35s ease, border-color .35s ease;
  overflow: hidden;
}
.solution-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, transparent 60%, rgba(20,133,122,0.12) 100%);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
  z-index: 0;
}
.solution-card:hover {
  transform: translateY(-4px);
  border-color: rgba(14,77,82,0.25);
  box-shadow: var(--shadow-card);
}
.solution-card:hover::before { opacity: 1; }
.solution-num {
  font-family: var(--f-italic);
  font-style: italic;
  color: var(--teal);
  font-size: 14px;
  margin-bottom: 18px;
  position: relative; z-index: 1;
}
.solution-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--bg), var(--bg-soft));
  border: 1px solid var(--line);
  color: var(--teal-deep);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  position: relative; z-index: 1;
  transition: background .35s ease, color .35s ease, transform .35s ease;
}
.solution-icon svg { width: 28px; height: 28px; }
.solution-card:hover .solution-icon {
  background: var(--teal-deep);
  color: var(--bg);
  transform: rotate(-4deg);
}
.solution-card h3 {
  font-family: var(--f-display);
  font-variation-settings: "opsz" 36;
  font-weight: 500;
  font-size: 21px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 10px;
  position: relative; z-index: 1;
}
.solution-card p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.55;
  position: relative; z-index: 1;
}
.solution-arrow {
  position: absolute;
  bottom: 22px; right: 22px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink-soft);
  transition: transform .35s ease, background .35s ease, color .35s ease, border-color .35s ease;
  z-index: 1;
}
.solution-card:hover .solution-arrow {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
  transform: rotate(-45deg);
}

/* ------ 11. Features panel ------------------------------*/
.features {
  padding: 110px 0 100px;
  position: relative;
  background:
    radial-gradient(ellipse 60% 40% at 0% 30%, rgba(45,212,191,0.10), transparent 70%),
    radial-gradient(ellipse 50% 40% at 100% 70%, rgba(37,87,167,0.10), transparent 70%);
}
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.features-visual {
  position: relative;
}
.panel-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-card);
  padding: 24px;
}
.panel-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 18px;
}
.panel-eyebrow {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}
.panel-status {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px;
  color: var(--teal);
  font-weight: 500;
}
.panel-status .live-dot {
  width: 7px; height: 7px;
  background: #22C55E;
  border-radius: 50%;
  animation: blink 1.4s infinite;
}

.panel-meter {
  display: flex;
  align-items: end;
  gap: 18px;
  padding: 14px 4px 0;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 18px;
  margin-bottom: 18px;
}
.meter-svg { width: 200px; height: 100px; flex-shrink: 0; }
.meter-arc {
  stroke-dashoffset: 251;
  animation: meterFill 2.4s 0.4s cubic-bezier(.22,.9,.3,1) forwards;
}
@keyframes meterFill { to { stroke-dashoffset: 38; } }
.meter-value strong {
  display: block;
  font-family: var(--f-display);
  font-variation-settings: "opsz" 144;
  font-weight: 500;
  font-size: 44px;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.03em;
  font-feature-settings: "tnum" on;
}
.meter-value strong span {
  font-family: var(--f-italic);
  font-style: italic;
  color: var(--teal);
  font-size: 0.55em;
  margin-left: 2px;
}
.meter-value > span {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--ink-mute);
}
.panel-list { display: flex; flex-direction: column; gap: 12px; }
.panel-row {
  display: grid;
  grid-template-columns: 110px 1fr 50px;
  gap: 12px;
  align-items: center;
}
.panel-name { font-size: 13px; color: var(--ink); }
.panel-bar {
  height: 6px;
  background: var(--bg-soft);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}
.panel-bar > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--teal-deep), var(--teal-bright));
  border-radius: 3px;
  width: 0;
  animation: barFill 1.6s 0.4s cubic-bezier(.22,.9,.3,1) forwards;
}
@keyframes barFill { to { width: var(--target, 100%); } }
.panel-row:nth-child(1) .panel-bar > span { --target: 96%; }
.panel-row:nth-child(2) .panel-bar > span { --target: 88%; }
.panel-row:nth-child(3) .panel-bar > span { --target: 99%; }
.panel-row:nth-child(4) .panel-bar > span { --target: 92%; }
.panel-pct {
  text-align: right;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 13px;
  color: var(--ink);
  font-feature-settings: "tnum" on;
}

.panel-floater {
  position: absolute;
  bottom: -20px;
  right: -16px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  box-shadow: var(--shadow-md);
}
.floater-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.floater-tile {
  font-family: ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 8px;
  color: var(--ink-soft);
  text-align: center;
}

.features-text { max-width: 540px; }
.features-text .section-label { margin-bottom: 18px; }
.features-text .section-title { text-align: left; font-size: clamp(30px, 3.4vw, 44px); }
.features-text .section-lede { font-size: 16px; max-width: 480px; }

.feature-list {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 28px;
}
.feature-list li {
  display: flex;
  gap: 12px;
}
.feature-list .check {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 8px;
  background: var(--teal-deep);
  color: var(--bg);
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.feature-list strong {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 3px;
}
.feature-list p {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* ------ 12. Stats (dark section) ------------------------*/
.stats {
  position: relative;
  padding: 110px 0 110px;
  background: var(--bg-dark);
  color: var(--bg);
  overflow: hidden;
}
.stats::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 40% at 20% 0%, rgba(45,212,191,0.18), transparent 70%),
    radial-gradient(ellipse 60% 40% at 90% 100%, rgba(37,87,167,0.16), transparent 70%);
  pointer-events: none;
}
.stats::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 30%, transparent 80%);
  pointer-events: none;
}
.stats .container { position: relative; z-index: 1; }
.stats-head {
  text-align: center;
  margin-bottom: 64px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.stat-tile {
  padding: 36px 24px 32px;
  border-right: 1px solid rgba(255,255,255,0.08);
  position: relative;
}
.stat-tile:last-child { border-right: 0; }
.stat-num {
  font-family: var(--f-display);
  font-variation-settings: "opsz" 144;
  font-weight: 400;
  font-size: clamp(56px, 7vw, 96px);
  line-height: 1;
  letter-spacing: -0.045em;
  color: var(--bg);
  margin-bottom: 16px;
  font-feature-settings: "tnum" on;
}
.stat-bar {
  width: 32px; height: 2px;
  background: var(--teal-bright);
  margin-bottom: 18px;
}
.stat-label {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 17px;
  color: rgba(255,255,255,0.92);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.stat-label em {
  font-family: var(--f-italic);
  font-style: italic;
  color: var(--teal-bright);
}
.stat-note {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.45;
}

/* ------ 13. Testimonials --------------------------------*/
.testimonials { padding: 110px 0 100px; }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.testimonial-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 28px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  display: flex;
  flex-direction: column;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: rgba(14,77,82,0.25);
}
.testimonial-card.featured {
  background: linear-gradient(155deg, var(--teal-deep) 0%, #0A3A40 100%);
  color: var(--bg);
  border-color: transparent;
}
.testimonial-card.featured .quote { color: rgba(255,255,255,0.95); }
.testimonial-card.featured .who strong { color: var(--bg); }
.testimonial-card.featured .who span { color: rgba(255,255,255,0.6); }
.testimonial-card.featured .stars svg { color: var(--teal-bright); }
.ribbon {
  position: absolute;
  top: 18px; right: 18px;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--bg-darker);
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
}
.stars {
  display: flex; gap: 3px;
  color: var(--accent);
  margin-bottom: 18px;
}
.stars svg { width: 14px; height: 14px; }
.quote {
  font-family: var(--f-display);
  font-variation-settings: "opsz" 36;
  font-weight: 400;
  font-size: 18.5px;
  line-height: 1.4;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin-bottom: 28px;
  flex: 1;
}
.who {
  display: flex; gap: 12px; align-items: center;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.testimonial-card.featured .who { border-top-color: rgba(255,255,255,0.12); }
.who .avi { width: 38px; height: 38px; font-size: 12px; margin: 0; border: 0; }
.who strong {
  display: block;
  font-size: 14px;
  color: var(--ink);
  font-weight: 600;
}
.who span {
  font-size: 12.5px;
  color: var(--ink-mute);
}

/* ------ 14. CTA -----------------------------------------*/
.cta { padding: 0 0 110px; }
.cta-inner {
  position: relative;
  background: var(--bg-darker);
  color: var(--bg);
  border-radius: 36px;
  padding: 80px 64px 80px;
  overflow: hidden;
  text-align: center;
}
.cta-bg {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0.85;
}
.cta-bg svg { width: 100%; height: 100%; }
.cta-content { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.cta-content .section-label { margin-bottom: 24px; }
.cta-title {
  font-family: var(--f-display);
  font-variation-settings: "opsz" 144;
  font-weight: 400;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--bg);
  margin-bottom: 18px;
}
.cta-title em {
  font-family: var(--f-italic);
  font-style: italic;
  color: var(--teal-bright);
}
.cta-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  line-height: 1.55;
}
.cta-actions {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 32px;
}
.cta-phone {
  display: inline-flex;
  align-items: center; gap: 10px;
  color: rgba(255,255,255,0.85);
  font-size: 14.5px;
}
.cta-phone svg { color: var(--teal-bright); }
.cta-phone small {
  display: block;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1px;
}
.cta-bullets {
  display: inline-flex; gap: 28px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.65);
  flex-wrap: wrap; justify-content: center;
}
.cta-bullets li { display: inline-flex; align-items: center; gap: 6px; }
.check-mini {
  width: 18px; height: 18px;
  background: rgba(45,212,191,0.18);
  color: var(--teal-bright);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10px;
  font-weight: 700;
}

/* ------ 15. Footer --------------------------------------*/
.site-footer {
  background: var(--bg-darker);
  color: rgba(255,255,255,0.75);
  padding: 80px 0 0;
  position: relative;
}
.site-footer .logo { color: var(--bg); }
.site-footer .logo-mark { color: var(--teal-bright); }
.site-footer .logo-text em { color: var(--teal-bright); }

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.foot-brand .logo { margin-bottom: 18px; }
.foot-tag {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,0.6);
  max-width: 320px;
  margin-bottom: 24px;
}
.socials { display: flex; gap: 8px; }
.socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.75);
  display: inline-flex; align-items: center; justify-content: center;
  transition: border-color .25s ease, color .25s ease, background .25s ease, transform .25s ease;
}
.socials a:hover {
  border-color: var(--teal-bright);
  color: var(--teal-bright);
  background: rgba(45,212,191,0.08);
  transform: translateY(-2px);
}

.foot-col h4 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 15.5px;
  color: var(--bg);
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.foot-col ul { display: flex; flex-direction: column; gap: 10px; }
.foot-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: color .2s ease;
}
.foot-col a:hover { color: var(--teal-bright); }

.foot-contact ul li {
  display: flex; flex-direction: column; gap: 2px;
  font-size: 14px;
}
.foot-contact ul li > span {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 2px;
}
.foot-contact a, .foot-contact p {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  line-height: 1.5;
}

.foot-bottom {
  padding: 22px 0;
}
.foot-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
.legal { display: flex; gap: 22px; }
.legal a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  transition: color .2s ease;
}
.legal a:hover { color: var(--teal-bright); }

/* ------ 16. Reveal animations ---------------------------*/
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.22,.9,.3,1), transform .8s cubic-bezier(.22,.9,.3,1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ------ 17. Responsive ----------------------------------*/
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; gap: 64px; }
  .hero-text { max-width: 720px; }
  .features-grid { grid-template-columns: 1fr; gap: 56px; }
  .features-text .section-title { font-size: clamp(30px, 5vw, 42px); }
  .solution-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr 1fr; }
  .testimonial-card.featured { grid-column: 1 / -1; }
  .footer-inner { grid-template-columns: 1.2fr 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .nav-desktop, .header-cta { display: none; }
  .hamburger { display: inline-flex; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-tile:nth-child(2) { border-right: 0; }
  .stat-tile:nth-child(1),
  .stat-tile:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.08); }
  .feature-list { grid-template-columns: 1fr; }
  .cta-inner { padding: 64px 32px; border-radius: 24px; }
  .float-label { right: -10px; }
  .float-notif { left: -10px; }
}

@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .hero { padding: 56px 0 80px; }
  .solutions, .features, .testimonials { padding: 80px 0 70px; }
  .stats { padding: 80px 0; }
  .solution-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .testimonial-card.featured { grid-column: auto; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
  .foot-brand { grid-column: 1 / -1; }
  .hero-meta { flex-direction: column; align-items: flex-start; gap: 18px; }
  .panel-meter { flex-direction: column; align-items: center; text-align: center; }
  .panel-row { grid-template-columns: 100px 1fr 50px; }
  .foot-bottom-inner { flex-direction: column; gap: 14px; text-align: center; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: clamp(36px, 9vw, 48px); }
  .section-title { font-size: clamp(28px, 8vw, 38px); }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-tile { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .stat-tile:last-child { border-bottom: 0; }
  .dashboard-card { transform: none; }
  .float-label, .float-notif { display: none; }
  .btn-lg { padding: 13px 22px; font-size: 14.5px; }
  .cta-inner { padding: 48px 22px; }
  .cta-actions { flex-direction: column; }
  .cta-phone { justify-content: center; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   18. Careers page
========================================================= */

/* Hero */
.careers-hero {
  position: relative;
  padding: 80px 0 90px;
  overflow: hidden;
}
.careers-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.careers-hero-text { max-width: 600px; }

.careers-hero-meta {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 32px;
  box-shadow: var(--shadow-card);
}
.meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}
.meta-item {
  border-left: 2px solid var(--line);
  padding-left: 16px;
}
.meta-item .meta-num {
  display: block;
  font-family: var(--f-display);
  font-variation-settings: "opsz" 144;
  font-weight: 400;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-feature-settings: "tnum" on;
}
.meta-item .meta-num em {
  font-family: var(--f-italic);
  font-style: italic;
  color: var(--teal);
  font-size: 0.55em;
  margin-left: 2px;
}
.meta-item .meta-label {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--ink-mute);
}

.team-collage {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}
.team-collage .avi {
  width: 36px; height: 36px;
  font-size: 12px;
  border: 2px solid var(--bg-card);
  margin-left: -10px;
}
.team-collage .avi:first-child { margin-left: 0; }
.avi-more {
  background: var(--bg-soft) !important;
  color: var(--ink-soft) !important;
  font-weight: 600;
  font-size: 11px !important;
}
.team-caption {
  font-size: 12.5px;
  color: var(--ink-mute);
  font-style: italic;
}

/* Values */
.values { padding: 100px 0 80px; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.value-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.value-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
  border-color: rgba(14,77,82,0.2);
}
.value-num {
  font-family: var(--f-italic);
  font-style: italic;
  color: var(--teal);
  font-size: 18px;
  margin-bottom: 16px;
  display: block;
}
.value-card h3 {
  font-family: var(--f-display);
  font-variation-settings: "opsz" 36;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 12px;
}
.value-card h3 em {
  font-family: var(--f-italic);
  font-style: italic;
  color: var(--teal);
}
.value-card p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* Benefits */
.benefits {
  padding: 90px 0 100px;
  background:
    radial-gradient(ellipse 50% 40% at 100% 30%, rgba(45,212,191,0.10), transparent 70%),
    radial-gradient(ellipse 50% 40% at 0% 70%, rgba(37,87,167,0.10), transparent 70%);
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.benefit-tile {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 22px;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.benefit-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(14,77,82,0.2);
  box-shadow: var(--shadow-md);
}
.benefit-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--bg), var(--bg-soft));
  border: 1px solid var(--line);
  color: var(--teal-deep);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.benefit-icon svg { width: 22px; height: 22px; }
.benefit-tile h4 {
  font-family: var(--f-display);
  font-variation-settings: "opsz" 36;
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.25;
}
.benefit-tile p {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* Roles */
.roles { padding: 100px 0; }
.role-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 32px;
}
.role-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  font-size: 13.5px;
  color: var(--ink-soft);
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.role-chip span {
  font-size: 11.5px;
  background: var(--bg);
  border-radius: 999px;
  padding: 2px 8px;
  color: var(--ink-mute);
  font-feature-settings: "tnum" on;
}
.role-chip:hover { border-color: var(--ink); color: var(--ink); }
.role-chip.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}
.role-chip.active span { background: rgba(255,255,255,0.15); color: var(--bg); }

.role-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.role-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  align-items: center;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
  transition: background .25s ease, padding .25s ease;
}
.role-row:hover { background: var(--bg-card); padding-left: 12px; padding-right: 12px; }
.role-row.is-hidden { display: none; }
.role-main h3 {
  font-family: var(--f-display);
  font-variation-settings: "opsz" 36;
  font-weight: 500;
  font-size: 18.5px;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 4px;
}
.role-main p {
  font-size: 13.5px;
  color: var(--ink-mute);
  max-width: 520px;
}
.role-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  white-space: nowrap;
}
.role-tag {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-deep);
  font-weight: 600;
}
.role-loc { font-size: 12.5px; color: var(--ink-mute); }
.role-apply {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  font-size: 13.5px;
  color: var(--ink);
  font-weight: 500;
  transition: background .25s ease, color .25s ease, transform .25s ease, border-color .25s ease;
}
.role-apply:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
  transform: translateX(2px);
}

/* Process */
.process {
  padding: 100px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: step;
}
.process-step {
  position: relative;
  padding: 24px 24px 24px 0;
  border-right: 1px dashed var(--line-strong);
}
.process-step:last-child { border-right: 0; }
.process-num {
  font-family: var(--f-italic);
  font-style: italic;
  color: var(--teal);
  font-size: 18px;
  margin-bottom: 14px;
  display: block;
}
.process-step h4 {
  font-family: var(--f-display);
  font-variation-settings: "opsz" 36;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 8px;
}
.process-step p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 240px;
}

/* Careers responsive */
@media (max-width: 1100px) {
  .careers-hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .careers-hero-text { max-width: 720px; }
  .values-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-step:nth-child(2) { border-right: 0; }
  .process-step:nth-child(1),
  .process-step:nth-child(2) { border-bottom: 1px dashed var(--line-strong); padding-bottom: 32px; margin-bottom: 8px; }
}

@media (max-width: 720px) {
  .careers-hero { padding: 56px 0 70px; }
  .values, .benefits, .roles, .process { padding: 70px 0; }
  .meta-grid { grid-template-columns: 1fr; gap: 18px; }
  .meta-item .meta-num { font-size: 32px; }
  .benefits-grid { grid-template-columns: 1fr; }
  .role-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 22px 4px;
  }
  .role-meta { flex-direction: row; align-items: center; gap: 12px; }
  .role-apply { justify-self: start; }
  .process-steps { grid-template-columns: 1fr; }
  .process-step { border-right: 0; border-bottom: 1px dashed var(--line-strong); }
  .process-step:last-child { border-bottom: 0; }
}
