/* ========================================================================
   MSOFT CLAIMS — Design System
   ======================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500;9..144,600;9..144,700&family=Inter+Tight:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
    --ink: #557A95;
    --ink-2: #456380;
    --ink-3: #3A5670;
    --ink-deep: #2C3E50;
    --paper: #ECF0F5;
    --paper-2: #DCE3EC;
    --rule: #6B8AA8;
    --cyan: #00D4FF;
    --cyan-soft: #F7B97D;
    --amber:;
    --coral: #E76F51;
    --green: #7DB39A;
    --text: #2C3E50;
    --text-soft: #557A95;
    --text-mute: #8AA3BA;
    --text-on-dark: #ECF0F5;
    --text-on-dark-soft: #B8C8D8;
    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Inter Tight', -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --max: 1240px;
    --gutter: clamp(20px, 4vw, 48px);
    --radius: 18px;
    --radius-sm: 10px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--text);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* Typography */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-soft);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
}
.eyebrow.no-line::before { display: none; }
.eyebrow.on-dark { color: var(--cyan); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.2; }
h4 { font-size: 1.15rem; font-weight: 500; }
.italic-accent { font-style: italic; font-weight: 300; color: var(--text-soft); }

p { color: var(--text); max-width: 62ch; }
p.lead { font-size: 1.18rem; color: var(--text); }

/* Containers */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: clamp(70px, 10vw, 130px) 0; position: relative; }
.section-dark { background: var(--ink); color: var(--text-on-dark); }
.section-dark p { color: var(--text-on-dark-soft); }
.section-paper-2 { background: var(--paper-2); }
.section-tight { padding: clamp(50px, 7vw, 90px) 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 100px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary { background: var(--ink-deep); color: var(--paper); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -12px var(--ink-deep); }
.btn-cyan { background: var(--cyan); color: var(--ink); }
.btn-cyan:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -10px var(--cyan); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--ink-deep); }
.btn-ghost:hover { background: var(--ink-deep); color: var(--paper); }
.btn-ghost-light { background: transparent; color: var(--text-on-dark); border-color: rgba(255,255,255,0.25); }
.btn-ghost-light:hover { border-color: var(--cyan); color: var(--cyan); }
.btn .arrow { transition: transform 0.2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 245, 240, 0.85);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.site-header.scrolled { border-bottom-color: rgba(85, 122, 149, 0.08); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
  gap: 28px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  width: 42px; height: 42px;
  border-radius: 9px;
  object-fit: cover;
  background: white;
  padding: 3px;
  border: 1px solid rgba(85, 122, 149, 0.15);
}
.brand-text {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink-deep);
  line-height: 1;
}
.brand-text small {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  color: var(--text-mute);
  text-transform: uppercase;
  display: block;
  margin-top: 4px;
  font-weight: 400;
}
.nav-links { display: flex; gap: 4px; list-style: none; }
.nav-links a {
  display: inline-block;
  padding: 8px 14px;
  font-size: 14.5px;
  color: var(--text);
  border-radius: 100px;
  transition: background 0.15s ease;
  font-weight: 500;
}
.nav-links a:hover { background: rgba(85, 122, 149, 0.06); }
.nav-links a.active { background: rgba(85, 122, 149, 0.08); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.menu-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--paper);
  align-items: center;
  justify-content: center;
}
@media (max-width: 920px) {
  .nav-links, .nav-cta .btn:first-child { display: none; }
  .menu-toggle { display: flex; }
  .mobile-open .nav-links {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: var(--paper);
    padding: 12px var(--gutter) 20px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    gap: 4px;
  }
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(60px, 9vw, 110px) 0 clamp(60px, 9vw, 100px);
  overflow: hidden;
  isolation: isolate;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 8px;
  background: rgba(85, 122, 149, 0.06);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 28px;
}
.hero-tag .pulse {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--cyan);
  display: grid;
  place-items: center;
  position: relative;
}
.hero-tag .pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--cyan);
  animation: ping 2.2s cubic-bezier(0,0,0.2,1) infinite;
  opacity: 0.5;
}
@keyframes ping { 75%, 100% { transform: scale(1.8); opacity: 0; } }
.hero-tag .pulse svg { width: 11px; height: 11px; color: var(--ink); position: relative; z-index: 1; }
.hero h1 .accent { font-style: italic; font-weight: 300; color: var(--text-soft); }
.hero h1 .underline-accent { position: relative; display: inline-block; }
.hero h1 .underline-accent::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 4px;
  height: 8px;
  background: var(--cyan);
  z-index: -1;
  opacity: 0.7;
}
.hero-lead {
  font-size: 1.15rem;
  margin: 28px 0 36px;
  max-width: 56ch;
  color: var(--text);
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-meta {
  display: flex;
  gap: clamp(20px, 4vw, 48px);
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(85, 122, 149, 0.1);
  flex-wrap: wrap;
}
.hero-meta div { font-size: 14px; }
.hero-meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 2px;
}
.hero-meta span { color: var(--text-mute); font-size: 13px; }

.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 400px at 80% -10%, rgba(244, 162, 97, 0.25), transparent 60%),
    radial-gradient(600px 300px at 0% 110%, rgba(125, 179, 154, 0.18), transparent 60%),
    linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%);
}
.dashboard-mock {
  position: absolute;
  inset: 28px;
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 13px;
  color: var(--text-on-dark);
}
.dashboard-mock .mock-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.dashboard-mock .mock-head strong { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--cyan); }
.dashboard-mock .mock-head .live { font-family: var(--font-mono); font-size: 10px; color: var(--green); display: flex; align-items: center; gap: 6px; }
.dashboard-mock .mock-head .live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: pulse 1.4s ease-in-out infinite; }
.dashboard-mock .mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dashboard-mock .stat {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 12px;
}
.dashboard-mock .stat .num {
  font-family: var(--font-display);
  font-size: 24px;
  color: white;
  line-height: 1;
}
.dashboard-mock .stat .lbl { font-size: 10px; color: var(--text-on-dark-soft); margin-top: 6px; }
.dashboard-mock .stat .delta { color: var(--green); font-size: 10px; font-family: var(--font-mono); margin-top: 4px; }
.dashboard-mock .chart {
  flex: 1;
  background: rgba(255,255,255,0.02);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.06);
  padding: 14px;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  min-height: 80px;
}
.dashboard-mock .chart .bar {
  flex: 1;
  background: linear-gradient(180deg, var(--cyan), rgba(244, 162, 97,0.3));
  border-radius: 3px 3px 0 0;
  animation: bar-grow 1s ease-out backwards;
}
@keyframes bar-grow { from { transform: scaleY(0); transform-origin: bottom; } }
.dashboard-mock .rows { display: flex; flex-direction: column; gap: 6px; }
.dashboard-mock .row {
  display: grid;
  grid-template-columns: 80px 1fr 60px;
  gap: 10px;
  align-items: center;
  padding: 7px 9px;
  background: rgba(255,255,255,0.02);
  border-radius: 6px;
  font-size: 11px;
}
.dashboard-mock .row .id { color: var(--cyan); font-family: var(--font-mono); }
.dashboard-mock .row .pill {
  font-size: 9px;
  padding: 3px 8px;
  border-radius: 100px;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  justify-self: end;
}
.dashboard-mock .row .pill.open { background: rgba(244, 162, 97, 0.15); color: var(--cyan); }
.dashboard-mock .row .pill.review { background: rgba(232, 181, 71, 0.15); color: var(--amber); }
.dashboard-mock .row .pill.paid { background: rgba(125, 179, 154, 0.15); color: var(--green); }

.hero-bg-decor { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.7; }
.hero-bg-decor .blob { position: absolute; border-radius: 50%; filter: blur(80px); }
.hero-bg-decor .b1 { width: 400px; height: 400px; background: rgba(244, 162, 97, 0.18); top: -100px; right: -100px; }
.hero-bg-decor .b2 { width: 300px; height: 300px; background: rgba(232, 181, 71, 0.12); bottom: -100px; left: 20%; }

/* Logo strip */
.logo-strip {
  padding: 36px 0;
  border-top: 1px solid rgba(85, 122, 149, 0.08);
  border-bottom: 1px solid rgba(85, 122, 149, 0.08);
}
.logo-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.logo-strip-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.logo-strip-items {
  display: flex;
  gap: clamp(28px, 5vw, 56px);
  flex-wrap: wrap;
  align-items: center;
  flex: 1;
  justify-content: space-around;
}
.logo-strip-items span {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 18px;
  color: var(--text-mute);
  letter-spacing: -0.01em;
}

/* Section heading */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(40px, 6vw, 70px);
}
@media (max-width: 760px) { .section-head { grid-template-columns: 1fr; align-items: start; } }
.section-head h2 .italic-accent { display: block; }

/* IntelliReview spotlight */
.intelli-spotlight {
  background: var(--ink);
  color: var(--text-on-dark);
  border-radius: 28px;
  padding: clamp(40px, 5vw, 70px);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.intelli-spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 500px at 110% -20%, rgba(244, 162, 97,0.22), transparent 55%),
    radial-gradient(600px 400px at -10% 120%, rgba(231, 111, 81,0.15), transparent 55%);
}
.intelli-spotlight::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  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: 50px 50px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}
.intelli-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: center;
}
@media (max-width: 880px) { .intelli-grid { grid-template-columns: 1fr; } }
.new-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cyan);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
  font-weight: 500;
}
.new-badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ink);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.4); opacity: 0.5; } }
.intelli-spotlight h2 { color: white; margin-bottom: 22px; }
.intelli-spotlight p { color: var(--text-on-dark-soft); font-size: 1.1rem; max-width: 50ch; margin-bottom: 28px; }
.intelli-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 36px 0;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.intelli-stats .num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--cyan);
  line-height: 1;
}
.intelli-stats .lbl { font-size: 12px; color: var(--text-on-dark-soft); margin-top: 6px; }
.intelli-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.intelli-visual { position: relative; aspect-ratio: 1/1; min-height: 420px; }
.invoice-card {
  position: absolute;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 20px;
  backdrop-filter: blur(20px);
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--text-on-dark);
}
.invoice-card .row {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.08);
}
.invoice-card .row:last-child { border-bottom: none; padding-top: 12px; font-weight: 500; }
.invoice-card .label { color: var(--text-on-dark-soft); }
.invoice-card .strike { text-decoration: line-through; color: var(--coral); opacity: 0.7; }
.invoice-card .updated { color: var(--green); }
.invoice-card.card-1 { top: 0; left: 0; width: 78%; transform: rotate(-3deg); z-index: 2; }
.invoice-card.card-2 {
  bottom: 8%; right: 0;
  width: 72%;
  transform: rotate(2.5deg);
  z-index: 1;
  background: rgba(244, 162, 97,0.06);
  border-color: rgba(244, 162, 97,0.3);
}
.invoice-card .head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.invoice-card .head .title { font-family: var(--font-display); font-size: 16px; color: white; }
.invoice-card .head .pill {
  font-size: 9px;
  padding: 3px 8px;
  border-radius: 100px;
  background: rgba(125, 179, 154,0.15);
  color: var(--green);
  letter-spacing: 0.06em;
}
.invoice-card.card-1 .head .pill { background: rgba(232, 181, 71,0.15); color: var(--amber); }
.savings-badge {
  position: absolute;
  bottom: 0; left: 12%;
  background: var(--cyan);
  color: var(--ink);
  padding: 14px 20px;
  border-radius: 14px;
  font-family: var(--font-display);
  font-weight: 500;
  z-index: 3;
  transform: rotate(-4deg);
  box-shadow: 0 12px 30px -10px rgba(244, 162, 97,0.5);
}
.savings-badge .big { font-size: 28px; line-height: 1; }
.savings-badge .small {
  font-size: 10px;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 4px;
  opacity: 0.7;
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 880px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-card {
  background: linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%);
  border: 1px solid rgba(244, 162, 97, 0.15);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  color: var(--text-on-dark);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
  isolation: isolate;
}
.feature-card::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 200px; height: 200px;
  background: radial-gradient(circle at top right, rgba(244, 162, 97, 0.18), transparent 70%);
  z-index: -1;
  pointer-events: none;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -20px rgba(44, 62, 80, 0.4);
  border-color: rgba(244, 162, 97, 0.35);
}
.feature-card .num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cyan);
  letter-spacing: 0.1em;
}
.feature-card h3 { font-size: 1.3rem; color: white; }
.feature-card p { font-size: 14.5px; line-height: 1.5; color: var(--text-on-dark-soft); }
.feature-card .ico {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(244, 162, 97, 0.15);
  border: 1px solid rgba(244, 162, 97, 0.3);
  color: var(--cyan);
  display: grid;
  place-items: center;
  margin-bottom: 4px;
}
.feature-card .ico svg { width: 22px; height: 22px; }

/* Workflow / process */
.workflow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.1);
  margin-top: 60px;
}
@media (max-width: 880px) { .workflow { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .workflow { grid-template-columns: 1fr; } }
.workflow-step { background: var(--ink); padding: 36px 28px; position: relative; }
.workflow-step .step-num {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 300;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 18px;
  font-style: italic;
}
.workflow-step h4 { color: white; font-size: 1.05rem; margin-bottom: 10px; }
.workflow-step p { color: var(--text-on-dark-soft); font-size: 14px; }

/* Stats band */
.stats-band {
  background: var(--paper-2);
  border-top: 1px solid rgba(85, 122, 149,0.08);
  border-bottom: 1px solid rgba(85, 122, 149,0.08);
  padding: 60px 0;
}
.stats-band-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
@media (max-width: 760px) { .stats-band-grid { grid-template-columns: repeat(2, 1fr); } }
.stats-band .num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  line-height: 1;
  color: var(--ink);
}
.stats-band .num .accent { color: var(--coral); font-style: italic; font-weight: 300; }
.stats-band .lbl { color: var(--text-soft); font-size: 14px; margin-top: 12px; }

/* Testimonial */
.testimonial { max-width: 900px; margin: 0 auto; text-align: center; }
.testimonial .quote-mark {
  font-family: var(--font-display);
  font-size: 6rem;
  line-height: 0.5;
  color: var(--cyan);
  display: block;
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial blockquote {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 36px;
  color: var(--text);
}
.testimonial blockquote em { color: var(--text-soft); }
.testimonial cite { font-style: normal; display: block; font-size: 14px; font-weight: 500; }
.testimonial cite span { display: block; color: var(--text-mute); font-weight: 400; font-size: 13px; margin-top: 2px; }

/* CTA strip */
.cta-strip {
  background: var(--ink);
  color: var(--text-on-dark);
  border-radius: 28px;
  padding: clamp(48px, 6vw, 80px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 500px at 50% 0%, rgba(244, 162, 97,0.18), transparent 60%);
  pointer-events: none;
}
.cta-strip h2 { color: white; max-width: 16ch; margin: 0 auto 18px; position: relative; }
.cta-strip p { color: var(--text-on-dark-soft); margin: 0 auto 36px; max-width: 50ch; position: relative; }
.cta-strip-actions { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; position: relative; }

/* Footer */
.site-footer { background: var(--ink); color: var(--text-on-dark); padding: 80px 0 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand h4 { font-family: var(--font-display); font-size: 1.6rem; color: white; margin-bottom: 14px; font-weight: 500; }
.footer-brand p { color: var(--text-on-dark-soft); font-size: 14.5px; max-width: 36ch; }
.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
  font-weight: 500;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--text-on-dark-soft); font-size: 14.5px; transition: color 0.15s ease; }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-size: 13px;
  color: var(--text-on-dark-soft);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom .made { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; }

/* Page hero (interior) */
.page-hero { padding: clamp(60px, 8vw, 110px) 0 clamp(40px, 6vw, 80px); position: relative; }
.page-hero h1 { max-width: 18ch; margin-bottom: 24px; }
.page-hero .lead { max-width: 60ch; }
.page-hero-meta { display: flex; gap: clamp(20px, 4vw, 40px); margin-top: 48px; flex-wrap: wrap; }
.page-hero-meta div { padding-left: 18px; border-left: 2px solid var(--cyan); }
.page-hero-meta strong { display: block; font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 4px; }
.page-hero-meta span { color: var(--text-mute); font-size: 12px; font-family: var(--font-mono); letter-spacing: 0.05em; text-transform: uppercase; }

/* Forms / Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { position: sticky; top: 100px; }
.contact-info h2 { margin-bottom: 24px; }
.contact-info > p { margin-bottom: 36px; }
.info-block {
  padding: 24px 0;
  border-top: 1px solid rgba(85, 122, 149, 0.1);
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 20px;
  align-items: flex-start;
}
.info-block:last-of-type { border-bottom: 1px solid rgba(85, 122, 149, 0.1); }
.info-block .ico {
  width: 44px; height: 44px;
  border-radius: 11px;
  background: var(--ink);
  color: var(--cyan);
  display: grid;
  place-items: center;
}
.info-block .ico svg { width: 20px; height: 20px; }
.info-block h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 6px;
  font-weight: 500;
}
.info-block p { font-size: 16px; color: var(--text); margin-bottom: 4px; }
.info-block a:hover { color: var(--ink); text-decoration: underline; }
.info-block small { color: var(--text-mute); font-size: 13px; }

.contact-form {
  background: white;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius);
  border: 1px solid rgba(85, 122, 149, 0.08);
  box-shadow: 0 30px 60px -30px rgba(85, 122, 149, 0.15);
}
.contact-form h3 { margin-bottom: 8px; }
.contact-form > p { margin-bottom: 28px; font-size: 14.5px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 16px; position: relative; }
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 8px;
  font-weight: 500;
}
.field label .req { color: var(--coral); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(85, 122, 149, 0.15);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  background: var(--paper);
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: white;
  box-shadow: 0 0 0 4px rgba(244, 162, 97, 0.15);
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%232C3E50' d='M6 8L0 0h12z'/></svg>"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }

.checkbox-row { display: flex; align-items: flex-start; gap: 10px; margin: 8px 0 24px; font-size: 13.5px; color: var(--text-soft); }
.checkbox-row input { width: 16px; height: 16px; margin-top: 3px; accent-color: var(--ink); }

.form-submit { width: 100%; justify-content: center; padding: 16px; font-size: 15px; }

.form-success {
  display: none;
  padding: 18px;
  background: rgba(125, 179, 154, 0.12);
  border: 1px solid rgba(125, 179, 154, 0.35);
  border-radius: 10px;
  margin-top: 16px;
  font-size: 14px;
  color: var(--text);
}
.form-success.show { display: block; }
.form-success strong { color: var(--text); }

.form-error {
  padding: 14px 18px;
  background: rgba(231, 111, 81, 0.1);
  border: 1px solid rgba(231, 111, 81, 0.35);
  border-radius: 10px;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--text);
}
.form-error strong { color: var(--coral); display: block; margin-bottom: 4px; }
.form-error ul { margin: 0; padding-left: 20px; font-size: 13.5px; }
.form-error li { margin-top: 4px; }

.field-error {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--coral);
}
.field input.input-validation-error,
.field select.input-validation-error,
.field textarea.input-validation-error {
  border-color: var(--coral);
}

/* Schedule card */
.schedule-card {
  background: var(--ink);
  color: var(--text-on-dark);
  border-radius: var(--radius);
  padding: 28px;
  margin-top: 32px;
  position: relative;
  overflow: hidden;
}
.schedule-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px 200px at 100% 0%, rgba(244, 162, 97,0.2), transparent 60%);
  pointer-events: none;
}
.schedule-card .icon-row { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; position: relative; }
.schedule-card .icon-row .ic {
  width: 40px; height: 40px;
  background: var(--cyan);
  color: var(--ink);
  border-radius: 10px;
  display: grid;
  place-items: center;
}
.schedule-card .icon-row .ic svg { width: 18px; height: 18px; }
.schedule-card h4 { color: white; font-family: var(--font-display); font-weight: 500; font-size: 1.2rem; }
.schedule-card p { color: var(--text-on-dark-soft); font-size: 14.5px; margin-bottom: 20px; position: relative; }
.schedule-card .btn { position: relative; }

/* Map placeholder */
.map-card {
  margin-top: 60px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(85, 122, 149, 0.1);
  background: var(--paper-2);
  position: relative;
  aspect-ratio: 16/6;
  display: grid;
  place-items: center;
  background-image:
    linear-gradient(rgba(85, 122, 149,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(85, 122, 149,0.08) 1px, transparent 1px);
  background-size: 40px 40px;
}
.map-card .pin {
  position: relative;
  display: grid;
  place-items: center;
}
.map-card .pin .dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--cyan);
  border: 4px solid white;
  box-shadow: 0 0 0 1px var(--ink);
  position: relative;
  z-index: 2;
}
.map-card .pin::before, .map-card .pin::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0.3;
  animation: ping 2.4s cubic-bezier(0,0,0.2,1) infinite;
}
.map-card .pin::before { width: 60px; height: 60px; }
.map-card .pin::after { width: 100px; height: 100px; animation-delay: 0.4s; }
.map-card .label {
  position: absolute;
  bottom: 24px; left: 24px;
  background: white;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 13px;
  border: 1px solid rgba(85, 122, 149,0.1);
  box-shadow: 0 8px 20px -8px rgba(85, 122, 149,0.15);
}
.map-card .label strong { display: block; font-family: var(--font-display); font-size: 16px; }

/* About page */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
}
@media (max-width: 880px) { .values-grid { grid-template-columns: 1fr; } }
.value-card {
  padding: 36px 32px;
  border-radius: var(--radius);
  border: 1px solid rgba(244, 162, 97, 0.15);
  background: linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%);
  color: var(--text-on-dark);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.value-card::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 220px; height: 220px;
  background: radial-gradient(circle at top right, rgba(244, 162, 97, 0.18), transparent 70%);
  z-index: -1;
  pointer-events: none;
}
.value-card:hover { transform: translateY(-4px); border-color: rgba(244, 162, 97, 0.35); }
.value-card .num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 2.4rem;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 20px;
}
.value-card h3 { font-size: 1.3rem; margin-bottom: 12px; color: white; }
.value-card p { color: var(--text-on-dark-soft); }

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 880px) { .about-split { grid-template-columns: 1fr; } }
.about-split-visual {
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.about-split-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 400px at 70% 30%, rgba(244, 162, 97,0.2), transparent 60%),
    radial-gradient(400px 300px at 0% 100%, rgba(232, 181, 71,0.15), transparent 60%);
}
.about-split-visual .deco-text {
  position: absolute;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(3rem, 8vw, 6rem);
  color: rgba(255,255,255,0.06);
  line-height: 0.9;
  padding: 40px;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.tech-stack .chip {
  padding: 8px 14px;
  background: var(--paper-2);
  border: 1px solid rgba(85, 122, 149,0.08);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 880px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .team-grid { grid-template-columns: 1fr; } }
.team-card {
  background: linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%);
  border: 1px solid rgba(244, 162, 97, 0.15);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  color: var(--text-on-dark);
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -20px rgba(44, 62, 80, 0.4);
  border-color: rgba(244, 162, 97, 0.35);
}
.team-photo {
  aspect-ratio: 1/1;
  background: var(--ink-3);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(244, 162, 97, 0.15);
}
.team-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 35%, rgba(244, 162, 97, 0.25), transparent 60%),
    linear-gradient(160deg, var(--ink-3), var(--ink-deep));
}
.team-photo .initial {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 5rem;
  color: var(--cyan);
}
.team-info { padding: 22px; }
.team-info .name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; margin-bottom: 4px; color: white; }
.team-info .role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 500;
}

/* Features page */
.feature-detailed {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(28px, 4vw, 60px);
  padding: 48px 0;
  border-bottom: 1px solid rgba(85, 122, 149,0.08);
  align-items: start;
}
.feature-detailed:last-child { border-bottom: none; }
@media (max-width: 760px) { .feature-detailed { grid-template-columns: 1fr; } }
.feature-detailed .meta { position: sticky; top: 100px; }
.feature-detailed .meta .num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-mute);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
  display: block;
}
.feature-detailed h3 { font-size: 1.7rem; margin-bottom: 12px; }
.feature-detailed .ico {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--cyan);
  display: grid;
  place-items: center;
  margin-bottom: 24px;
}
.feature-detailed .ico svg { width: 28px; height: 28px; }
.feature-detailed .body p { margin-bottom: 16px; }
.feature-detailed .bullets { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.feature-detailed .bullets li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--text-soft);
}
.feature-detailed .bullets li::before {
  content: "";
  width: 16px; height: 16px;
  margin-top: 4px;
  border-radius: 4px;
  background: var(--cyan);
  display: inline-grid;
  place-items: center;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'><path fill='none' stroke='%232C3E50' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='M2 5l2 2 4-4'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
}

.feature-toc {
  background: var(--paper-2);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 60px;
}
.feature-toc h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 20px; color: var(--text-mute); font-weight: 500; }
.toc-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
@media (max-width: 760px) { .toc-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .toc-list { grid-template-columns: 1fr; } }
.toc-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  transition: background 0.15s ease, color 0.15s ease;
}
.toc-list a:hover { background: white; color: var(--ink); }
.toc-list .toc-num { font-family: var(--font-mono); font-size: 11px; color: var(--cyan); letter-spacing: 0.06em; }

/* Privacy page */
.privacy-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 880px) { .privacy-layout { grid-template-columns: 1fr; gap: 32px; } }
.privacy-toc {
  position: sticky;
  top: 100px;
  padding-top: 8px;
}
.privacy-toc h4 {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 16px;
  font-weight: 500;
}
.privacy-toc ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.privacy-toc a {
  display: block;
  padding: 8px 12px;
  font-size: 13.5px;
  color: var(--text-soft);
  border-radius: 8px;
  border-left: 2px solid transparent;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}
.privacy-toc a:hover { color: var(--ink); background: var(--paper-2); }
@media (max-width: 880px) { .privacy-toc { position: static; } }
.privacy-content { max-width: 720px; }
.privacy-content section { padding: 0 0 48px; }
.privacy-content h2 { font-size: 1.8rem; margin-bottom: 16px; padding-top: 24px; }
.privacy-content h3 { font-size: 1.2rem; margin: 28px 0 12px; font-weight: 500; }
.privacy-content p { margin-bottom: 16px; max-width: none; color: var(--text); }
.privacy-content p.muted { color: var(--text-soft); }
.privacy-content ul { margin: 0 0 16px 22px; color: var(--text); }
.privacy-content li { margin-bottom: 8px; }
.privacy-content a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--cyan); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.privacy-content a:hover { color: var(--cyan); }
.privacy-meta {
  background: var(--paper-2);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 40px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13.5px;
}
.privacy-meta strong { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-mute); display: block; margin-bottom: 4px; font-weight: 500; }

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }

/* Utility */
.mb-0 { margin-bottom: 0 !important; }
.text-center { text-align: center; }
