/* =========================================================
   SIGNET — design tokens & global styles (Midnight + Gold)
   ========================================================= */
:root {
  /* midnight palette */
  --bg: #08112a;
  --bg-deep: #050b1f;
  --surface: #0d1738;
  --surface-2: #131e44;
  --surface-3: #1a2754;
  --edge: rgba(212, 168, 90, 0.14);
  --edge-strong: rgba(212, 168, 90, 0.28);
  --edge-faint: rgba(240, 230, 210, 0.08);

  /* gold accents */
  --gold: #d4a85a;
  --gold-bright: #e9c578;
  --gold-deep: #9c7530;
  --gold-glow: rgba(212, 168, 90, 0.18);

  /* ivory text on dark */
  --ivory: #f0e6d2;
  --ivory-soft: #c9bea3;
  --ivory-mute: #8a8170;

  /* signal */
  --positive: #6cb286;
  --warn: #d99068;

  /* type */
  --serif: 'Newsreader', 'Source Serif 4', Georgia, serif;
  --sans: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;

  /* shape */
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 14px;

  /* layout */
  --maxw: 1240px;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body {
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent 0 18px,
      rgba(212, 168, 90, 0.035) 18px 19px
    ),
    radial-gradient(ellipse 1200px 600px at 70% -10%, rgba(212, 168, 90, 0.04), transparent 60%),
    radial-gradient(ellipse 800px 400px at 0% 100%, rgba(212, 168, 90, 0.03), transparent 60%);
  background-attachment: fixed;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.018em;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
  color: var(--ivory);
}
h1 { font-size: clamp(48px, 6.4vw, 88px); letter-spacing: -0.03em; font-weight: 400; }
h2 { font-size: clamp(34px, 4.2vw, 54px); letter-spacing: -0.022em; }
h3 { font-size: clamp(22px, 2.2vw, 28px); }
h4 { font-size: 18px; font-family: var(--sans); font-weight: 500; letter-spacing: 0; }

em, .italic { font-style: italic; color: var(--gold-bright); font-weight: 400; }

p { margin: 0; text-wrap: pretty; color: var(--ivory-soft); }
a { color: inherit; text-decoration: none; }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
}
.eyebrow.ink { color: var(--ivory-soft); }

.muted { color: var(--ivory-soft); }
.dim { color: var(--ivory-mute); }
.hairline { height: 1px; background: var(--edge); border: none; margin: 0; }

/* ====================== LAYOUT ====================== */
.shell {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}
section { padding: 110px 0; }
section.tight { padding: 64px 0; }

/* gold flourish under section eyebrows */
.flourish {
  display: inline-block;
  width: 64px; height: 8px; margin-left: 12px;
  vertical-align: middle;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 8'><path d='M1 4 Q 10 -2, 20 4 T 40 4 T 63 4' stroke='%23d4a85a' fill='none' stroke-width='1' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: left center;
  opacity: 0.7;
}

/* ====================== NAV ====================== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 17, 42, 0.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--edge);
}
.nav.transparent {
  background: transparent;
  border-bottom-color: transparent;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.nav-links {
  display: flex; gap: 32px; align-items: center;
}
.nav-link {
  font-size: 14px; color: var(--ivory-soft);
  cursor: pointer; transition: color 0.15s ease;
  padding: 4px 0; position: relative; letter-spacing: 0.01em;
}
.nav-link:hover { color: var(--ivory); }
.nav-link.active { color: var(--gold-bright); }
.nav-link.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -26px;
  height: 1px; background: var(--gold);
}
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px;
  background: var(--gold); color: var(--bg);
  font-size: 14px; font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
  border: none; font-family: inherit;
}
.nav-cta:hover { background: var(--gold-bright); }

/* ====================== LOGO ====================== */
.logo {
  display: inline-flex; align-items: center; gap: 12px;
  cursor: pointer;
}
.logo-mark {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}
.logo-mark svg { width: 100%; height: 100%; display: block; }
.logo-mark.lg { width: 52px; height: 52px; }
.logo-mark.xl { width: 88px; height: 88px; }

.logo-word {
  font-family: var(--serif);
  font-size: 24px; font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ivory);
  font-style: italic;
}

/* ====================== BUTTONS ====================== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px;
  font-size: 15px; font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
  font-family: inherit;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: var(--gold); color: var(--bg-deep);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-bright); border-color: var(--gold-bright);
}
.btn-ghost {
  background: transparent;
  color: var(--ivory);
  border-color: var(--edge-strong);
}
.btn-ghost:hover {
  background: rgba(212, 168, 90, 0.08);
  border-color: var(--gold);
  color: var(--gold-bright);
}
.btn-quiet {
  background: transparent;
  color: var(--gold-bright);
  padding: 14px 4px;
  border-radius: 0;
}
.btn-quiet .arrow { transition: transform 0.2s ease; }
.btn-quiet:hover { color: var(--gold-bright); }
.btn-quiet:hover .arrow { transform: translateX(4px); }

/* ====================== CARDS ====================== */
.card {
  background: var(--surface);
  border: 1px solid var(--edge);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card.linked { cursor: pointer; }
.card.linked:hover { border-color: var(--edge-strong); transform: translateY(-2px); }

/* ====================== BADGES ====================== */
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(212, 168, 90, 0.08);
  color: var(--gold);
  border: 1px solid var(--edge);
}
.badge.dot::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); display: inline-block;
  box-shadow: 0 0 8px var(--gold);
}

/* ====================== HERO ====================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: -76px; /* pull under transparent nav */
  padding: 140px 0 100px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("img/hero-quill.jpg");
  background-size: cover;
  background-position: 90% center;
  background-repeat: no-repeat;
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 17, 42, 0.97) 0%, rgba(8, 17, 42, 0.95) 28%, rgba(8, 17, 42, 0.55) 45%, rgba(8, 17, 42, 0.08) 70%, transparent 100%),
    linear-gradient(180deg, rgba(8, 17, 42, 0.4) 0%, transparent 30%, transparent 70%, rgba(8, 17, 42, 0.65) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 640px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  margin-bottom: 32px;
}
.hero-eyebrow .line {
  width: 48px; height: 1px; background: var(--gold);
}
.hero-eyebrow span {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero h1 {
  font-size: clamp(56px, 7vw, 96px);
  line-height: 1.0;
  letter-spacing: -0.035em;
  font-weight: 400;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-bright);
  display: inline-block;
  margin-right: 0.18em;
}
.hero-sub {
  font-size: 20px;
  color: var(--ivory-soft);
  margin-top: 32px;
  max-width: 520px;
  line-height: 1.55;
}
.hero-actions {
  margin-top: 44px;
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.hero-trust {
  margin-top: 80px;
  display: flex;
  gap: 56px;
  align-items: flex-end;
  padding-top: 32px;
  border-top: 1px solid var(--edge);
}
.hero-trust .stat .num {
  font-family: var(--serif);
  font-size: 36px;
  color: var(--gold-bright);
  letter-spacing: -0.02em;
  line-height: 1;
}
.hero-trust .stat .label {
  margin-top: 8px;
  font-size: 12px;
  color: var(--ivory-mute);
  font-family: var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ====================== TICKER ====================== */
.ticker-wrap {
  background: var(--bg-deep);
  border-top: 1px solid var(--edge);
  border-bottom: 1px solid var(--edge);
}
.ticker {
  padding: 32px 0;
  display: flex; align-items: center; gap: 48px;
  flex-wrap: wrap; justify-content: space-around;
}
.ticker-item {
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ivory-mute);
}
.ticker-item.lead { color: var(--gold); }

/* ====================== SECTION HEADER ====================== */
.section-header {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: end; margin-bottom: 72px;
}
.section-header h2 { max-width: 540px; }
.section-header .lead {
  color: var(--ivory-soft); font-size: 18px; max-width: 460px;
}

/* ====================== SERVICES GRID ====================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--edge);
  border: 1px solid var(--edge);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.service-cell {
  background: var(--surface);
  padding: 36px;
  display: flex; flex-direction: column; gap: 16px;
  min-height: 240px;
  cursor: pointer;
  transition: background 0.2s ease;
  position: relative;
}
.service-cell:hover { background: var(--surface-2); }
.service-cell:hover .service-arrow { color: var(--gold-bright); transform: translateX(3px); }
.service-cell:hover h3 { color: var(--gold-bright); }
.service-num {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gold); text-transform: uppercase;
}
.service-cell h3 { font-size: 22px; line-height: 1.18; transition: color 0.15s ease; }
.service-cell p {
  font-size: 14px; color: var(--ivory-soft); line-height: 1.55;
  margin-top: auto;
}
.service-arrow {
  position: absolute; top: 36px; right: 36px;
  color: var(--ivory-mute); transition: all 0.2s ease;
  font-size: 18px;
}

/* ====================== PROMISE / SIGNATURE BLOCK ====================== */
.promise {
  background: var(--bg-deep);
  border: 1px solid var(--edge);
  border-radius: 20px;
  padding: 96px 72px;
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.promise::before {
  content: '';
  position: absolute; top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--gold-glow), transparent 70%);
  pointer-events: none;
}
.promise > * { position: relative; z-index: 1; }
.promise h2 { color: var(--ivory); }
.promise p { color: var(--ivory-soft); font-size: 18px; max-width: 480px; }
.promise-list { display: flex; flex-direction: column; gap: 0; }
.promise-item {
  display: flex; gap: 24px; align-items: flex-start;
  padding: 22px 0; border-top: 1px solid var(--edge);
}
.promise-item:first-child { border-top: none; padding-top: 0; }
.promise-item .num {
  font-family: var(--mono); font-size: 13px; color: var(--gold);
  letter-spacing: 0.14em; min-width: 36px;
}
.promise-item .body { font-size: 16px; color: var(--ivory-soft); line-height: 1.55; }
.promise-item .body strong { color: var(--ivory); font-weight: 500; }

/* signature mark image */
.signature-mark {
  display: inline-block;
  width: 180px; height: 40px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 40' fill='none'><path d='M5 32 Q 15 28, 25 30 T 40 30 Q 50 28, 60 22 Q 72 12, 88 18 Q 100 22, 115 25 Q 130 27, 145 22 Q 160 17, 175 22' stroke='%23d4a85a' stroke-width='1.4' stroke-linecap='round'/><path d='M88 18 Q 92 20, 95 22 Q 98 24, 102 23' stroke='%23d4a85a' stroke-width='1.4' stroke-linecap='round' fill='none'/></svg>");
  background-repeat: no-repeat;
  opacity: 0.85;
}

/* ====================== TESTIMONIAL ====================== */
.testimonial {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px;
  align-items: center;
}
.testimonial-quote {
  font-family: var(--serif); font-size: 38px; line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--ivory);
  font-weight: 400;
}
.testimonial-quote::before {
  content: '\201C';
  color: var(--gold);
  font-size: 56px;
  line-height: 0;
  margin-right: 4px;
  vertical-align: -10px;
}
.testimonial-attr {
  margin-top: 36px;
  display: flex; gap: 16px; align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--edge);
}
.testimonial-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--edge);
  overflow: hidden;
}
.testimonial-name { font-weight: 500; color: var(--ivory); }
.testimonial-role { font-size: 13px; color: var(--ivory-mute); margin-top: 2px; }

/* ====================== PLACEHOLDER IMAGES ====================== */
.placeholder-img {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(
      45deg,
      transparent 0 14px,
      rgba(212, 168, 90, 0.05) 14px 15px
    ),
    radial-gradient(circle at 70% 30%, rgba(212, 168, 90, 0.08), transparent 60%);
  display: flex; align-items: center; justify-content: center;
}
.placeholder-label {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ivory-mute);
  background: var(--surface);
  padding: 6px 10px; border-radius: 4px;
  border: 1px solid var(--edge);
}
.media-frame {
  background: var(--surface);
  border-radius: 14px;
  border: 1px solid var(--edge);
  position: relative;
  overflow: hidden;
}

/* ====================== FOOTER ====================== */
.footer {
  background: var(--bg-deep);
  color: var(--ivory);
  padding: 100px 0 40px;
  border-top: 1px solid var(--edge);
}
.footer h5 {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 22px;
  font-family: var(--mono); font-weight: 400;
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 56px;
}
.footer-link {
  display: block;
  color: var(--ivory-soft); font-size: 14px;
  padding: 5px 0; cursor: pointer; transition: color 0.15s ease;
}
.footer-link:hover { color: var(--gold-bright); }
.footer-bottom {
  margin-top: 80px; padding-top: 32px;
  border-top: 1px solid var(--edge);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--ivory-mute);
  font-family: var(--mono); letter-spacing: 0.12em;
}
.footer-bottom .signature-mark { width: 140px; height: 30px; background-size: contain; }

/* ====================== PAGE HEADER ====================== */
.page-head {
  padding: 120px 0 80px;
  border-bottom: 1px solid var(--edge);
  position: relative;
  overflow: hidden;
}
.page-head::before {
  content: '';
  position: absolute;
  top: 0; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--gold-glow), transparent 60%);
  pointer-events: none;
}
.page-head > .shell { position: relative; z-index: 1; }
.page-head .eyebrow { margin-bottom: 28px; display: inline-block; }
.page-head h1 { font-size: clamp(48px, 6vw, 76px); }
.page-head p {
  margin-top: 28px; max-width: 640px;
  font-size: 20px; color: var(--ivory-soft);
}

/* ====================== SERVICES OVERVIEW LIST ====================== */
.services-list { display: flex; flex-direction: column; }
.service-row {
  display: grid; grid-template-columns: 80px 1fr 240px;
  gap: 40px; padding: 44px 0;
  border-bottom: 1px solid var(--edge);
  cursor: pointer;
  transition: background 0.2s ease, padding 0.2s ease;
  align-items: start;
}
.service-row:first-child { border-top: 1px solid var(--edge); }
.service-row:hover {
  background: linear-gradient(90deg, var(--surface), transparent);
  padding-left: 24px; padding-right: 24px;
}
.service-row:hover h3 { color: var(--gold-bright); }
.service-row .num {
  font-family: var(--mono); font-size: 13px; color: var(--gold);
  letter-spacing: 0.14em; padding-top: 6px;
}
.service-row h3 { font-size: 30px; transition: color 0.2s ease; line-height: 1.1; }
.service-row p {
  margin-top: 12px; color: var(--ivory-soft); max-width: 560px;
  font-size: 16px;
}
.service-row .tags {
  display: flex; flex-wrap: wrap; gap: 6px; padding-top: 16px;
}
.service-tag {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ivory-soft);
  padding: 5px 12px;
  background: rgba(212, 168, 90, 0.06);
  border: 1px solid var(--edge);
  border-radius: 999px;
}

/* ====================== SERVICE DETAIL ====================== */
.detail-body {
  display: grid; grid-template-columns: 220px 1fr; gap: 80px;
  padding: 80px 0;
}
.detail-toc {
  position: sticky; top: 110px; align-self: start;
  display: flex; flex-direction: column; gap: 4px;
}
.detail-toc a {
  font-size: 13px; color: var(--ivory-mute);
  padding: 8px 14px; border-left: 1px solid var(--edge);
  cursor: pointer; transition: all 0.15s ease;
}
.detail-toc a:hover { color: var(--ivory); border-color: var(--gold); }
.detail-toc a.active { color: var(--gold-bright); border-color: var(--gold); font-weight: 500; }

.detail-section { margin-bottom: 72px; }
.detail-section h2 { margin-bottom: 28px; font-size: 36px; }
.detail-section p {
  font-size: 18px; color: var(--ivory-soft);
  margin-bottom: 16px; max-width: 660px; line-height: 1.6;
}

.feature-list {
  display: grid; grid-template-columns: 1fr 1fr; gap: 36px;
  margin-top: 40px;
}
.feature {
  display: flex; flex-direction: column; gap: 10px;
  padding: 28px 0; border-top: 1px solid var(--edge);
}
.feature-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(212, 168, 90, 0.12);
  border: 1px solid var(--edge);
  color: var(--gold-bright);
  display: inline-flex;
  align-items: center; justify-content: center;
  font-size: 14px; margin-bottom: 10px;
}
.feature h4 { font-size: 17px; color: var(--ivory); }
.feature p { font-size: 14px; color: var(--ivory-soft); margin: 0; }

/* ====================== PRICING ====================== */
/* ====================== SOFTWARE & LICENSING ====================== */
.software-section {
  margin-top: 36px;
  background: var(--surface);
  border: 1px solid var(--edge);
  border-radius: var(--radius-lg);
  padding: 48px;
}
.software-head {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: end;
  margin-bottom: 40px;
}
.software-head h2 {
  margin-top: 16px;
  font-family: var(--serif);
  font-size: 36px; font-weight: 400;
  letter-spacing: -0.02em;
}
.software-head p {
  color: var(--ivory-soft);
  font-size: 15px; line-height: 1.55;
  max-width: 440px;
}

.software-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--edge);
}
.software-row {
  display: grid;
  grid-template-columns: 48px 1fr 180px 140px;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--edge);
  align-items: center;
  cursor: pointer;
  transition: background 0.15s ease, opacity 0.15s ease;
  opacity: 0.55;
}
.software-row.on { opacity: 1; }
.software-row:hover {
  background: linear-gradient(90deg, transparent, var(--surface-2) 50%, transparent);
}

/* Add-on (slider) row that appears under a parent row */
.software-addon {
  padding: 20px 24px 28px;
  margin: -1px 0 0 72px;
  border-left: 1px solid var(--gold);
  background: linear-gradient(90deg, rgba(212, 168, 90, 0.04), transparent 80%);
  border-bottom: 1px solid var(--edge);
  cursor: default;
}
.addon-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
}
.addon-val {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--gold-bright);
  letter-spacing: -0.01em;
}
.addon-slider {
  width: 100%;
  height: 4px;
}
.addon-ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ivory-mute);
}
.addon-breakdown {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--edge);
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ivory-soft);
  flex-wrap: wrap;
  gap: 12px;
}
.sw-toggle {
  display: flex; align-items: center; justify-content: center;
}
.sw-check {
  width: 22px; height: 22px; border-radius: 6px;
  border: 1.5px solid var(--ivory-mute);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  color: var(--bg);
  transition: all 0.15s ease;
}
.sw-check.on {
  background: var(--gold);
  border-color: var(--gold);
}
.sw-name {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--ivory);
  letter-spacing: -0.01em;
}
.sw-desc {
  margin-top: 4px;
  font-size: 13px;
  color: var(--ivory-soft);
}
.sw-rate {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ivory);
  letter-spacing: -0.01em;
}
.sw-unit {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ivory-mute);
}
.sw-line-total {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--gold-bright);
  text-align: right;
  letter-spacing: -0.015em;
}

.software-totals {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--edge);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sw-tot-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 15px;
  color: var(--ivory-soft);
}
.sw-tot-row .amt {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ivory);
  letter-spacing: -0.01em;
}
.sw-tot-row.grand {
  margin-top: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--edge);
  font-size: 18px;
  color: var(--ivory);
}
.sw-tot-row.grand .amt {
  font-size: 36px;
  color: var(--gold-bright);
}

@media (max-width: 960px) {
  .software-section { padding: 32px; }
  .software-head { grid-template-columns: 1fr; gap: 20px; }
  .software-row { grid-template-columns: 32px 1fr; gap: 12px; padding: 18px 0; }
  .software-row .sw-rate,
  .software-row .sw-line-total {
    grid-column: 2 / -1;
    text-align: left;
    font-size: 16px;
  }
}
.estimator {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  margin-top: 64px;
}
.est-left {
  background: var(--surface);
  border: 1px solid var(--edge);
  border-radius: var(--radius-lg);
  padding: 48px;
}
.est-header h2 {
  margin-top: 12px;
  font-family: var(--serif);
  font-size: 72px;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--gold-bright);
  line-height: 1;
}
.est-header p {
  margin-top: 14px;
  color: var(--ivory-soft);
  font-size: 15px;
}

.slider-wrap {
  margin: 48px 0 8px;
}
.slider {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  transition: background 0.1s ease;
}
.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold);
  border: 4px solid var(--bg);
  cursor: grab;
  box-shadow: 0 0 0 1px var(--gold-bright), 0 0 16px rgba(212, 168, 90, 0.4);
  transition: transform 0.1s ease, box-shadow 0.15s ease;
}
.slider::-webkit-slider-thumb:hover {
  transform: scale(1.1);
}
.slider::-webkit-slider-thumb:active {
  cursor: grabbing;
  transform: scale(1.15);
}
.slider::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold);
  border: 4px solid var(--bg);
  cursor: grab;
  box-shadow: 0 0 0 1px var(--gold-bright), 0 0 16px rgba(212, 168, 90, 0.4);
}
.slider-ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ivory-mute);
}

.brackets {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--edge);
}
.brackets-head {
  margin-bottom: 20px;
}
.bracket-rows {
  display: flex;
  flex-direction: column;
}
.bracket-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 0.9fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--edge);
  align-items: center;
  font-size: 15px;
  opacity: 0.4;
  transition: opacity 0.2s ease, color 0.2s ease;
}
.bracket-row:first-child { border-top: none; padding-top: 0; }
.bracket-row.on { opacity: 1; }
.bracket-row .b-range {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.bracket-row .b-rate {
  color: var(--ivory);
}
.bracket-row .b-people {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ivory-soft);
}
.bracket-row .b-sub {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ivory);
  text-align: right;
  letter-spacing: -0.01em;
}
.bracket-row.on .b-sub {
  color: var(--gold-bright);
}

.est-right {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 80px rgba(212, 168, 90, 0.1);
}
.est-right::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, var(--gold-glow), transparent 70%);
  pointer-events: none;
}
.est-right > * { position: relative; z-index: 1; }
.est-total {
  margin-top: 16px;
  font-family: var(--serif);
  font-size: 88px;
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--gold-bright);
}
.est-unit {
  margin-top: 12px;
  font-size: 14px;
  color: var(--ivory-soft);
  font-family: var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.est-meta {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--edge);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.est-meta .lbl {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.est-meta .val {
  display: block;
  margin-top: 6px;
  font-family: var(--serif);
  font-size: 24px;
  color: var(--ivory);
  letter-spacing: -0.01em;
}
.est-actions {
  margin-top: auto;
  padding-top: 32px;
}
.est-actions .btn { width: 100%; justify-content: center; }
.est-note {
  margin-top: 18px;
  font-size: 12px;
  color: var(--ivory-mute);
  line-height: 1.5;
}

.includes-card {
  margin-top: 36px;
  background: var(--surface);
  border: 1px solid var(--edge);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: start;
}
.includes-head h3 {
  margin-top: 16px;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
}
.includes-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 36px;
}
.includes-list li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  color: var(--ivory-soft);
  line-height: 1.5;
}
.includes-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 14px; height: 1px;
  background: var(--gold);
}

@media (max-width: 960px) {
  .estimator { grid-template-columns: 1fr; }
  .est-left, .est-right, .includes-card { padding: 32px; }
  .est-header h2 { font-size: 56px; }
  .est-total { font-size: 64px; }
  .bracket-row {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .bracket-row .b-sub { text-align: left; }
  .includes-card { grid-template-columns: 1fr; gap: 28px; }
  .includes-list { grid-template-columns: 1fr; }
}
.plan {
  background: var(--surface);
  border: 1px solid var(--edge);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex; flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.plan:hover { border-color: var(--edge-strong); transform: translateY(-2px); }
.plan.featured {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--gold);
  box-shadow: 0 0 80px rgba(212, 168, 90, 0.12);
  position: relative;
}
.plan.featured .featured-flag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--bg);
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; padding: 5px 14px; border-radius: 999px;
  font-weight: 500;
}
.plan-name {
  font-family: var(--serif); font-size: 26px; font-weight: 400;
  letter-spacing: -0.01em; color: var(--ivory);
}
.plan-desc { font-size: 14px; color: var(--ivory-soft); margin-top: 10px; min-height: 44px; }
.plan-price {
  margin-top: 24px;
  font-family: var(--serif); font-size: 48px; font-weight: 400;
  letter-spacing: -0.025em; line-height: 1;
  color: var(--ivory);
}
.plan.featured .plan-price { color: var(--gold-bright); }
.plan-price-unit {
  font-family: var(--sans); font-size: 14px; color: var(--ivory-mute);
  font-weight: 400; letter-spacing: 0;
}
.plan-features {
  list-style: none; padding: 0; margin: 32px 0 0;
  display: flex; flex-direction: column; gap: 14px;
}
.plan-features li {
  font-size: 14px; color: var(--ivory-soft); position: relative;
  padding-left: 24px;
}
.plan-features li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 14px; height: 1px; background: var(--gold);
}
.plan-cta { margin-top: 36px; }
.plan .btn { width: 100%; justify-content: center; }

.pricing-faq {
  margin-top: 96px;
  display: grid; grid-template-columns: 340px 1fr; gap: 60px;
}
.faq-item {
  border-bottom: 1px solid var(--edge);
  padding: 24px 0;
  cursor: pointer;
}
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--serif); font-size: 22px; color: var(--ivory);
  font-weight: 400;
}
.faq-a {
  font-size: 15px; color: var(--ivory-soft);
  max-width: 600px;
  max-height: 0; overflow: hidden; opacity: 0;
  transition: all 0.3s ease;
}
.faq-item.open .faq-a {
  max-height: 240px; opacity: 1; padding-top: 16px;
}
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-toggle {
  color: var(--gold); transition: transform 0.25s ease;
  font-size: 24px; line-height: 1;
}

/* ====================== TEAM ====================== */
.team-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 32px; margin-top: 64px;
}
.team-card { display: flex; flex-direction: column; gap: 18px; }
.team-photo {
  aspect-ratio: 4 / 5;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--edge);
  overflow: hidden; position: relative;
}
.team-photo .placeholder-img { position: absolute; inset: 0; }
.team-name { font-family: var(--serif); font-size: 22px; color: var(--ivory); }
.team-role { font-size: 13px; color: var(--gold); margin-top: 4px;
  font-family: var(--mono); letter-spacing: 0.1em; text-transform: uppercase;
}

.values-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  margin-top: 64px;
  background: var(--edge);
  border: 1px solid var(--edge);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.values-grid .value {
  padding: 40px;
  background: var(--surface);
  display: flex; flex-direction: column; gap: 16px;
  min-height: 280px;
}
.values-grid .value .num {
  font-family: var(--serif); font-style: italic;
  font-size: 36px; color: var(--gold);
}
.values-grid .value h3 { font-size: 22px; color: var(--ivory); }
.values-grid .value p { margin-top: auto; font-size: 14px; color: var(--ivory-soft); }

/* ====================== CASE STUDIES ====================== */
.case-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 32px; margin-top: 56px;
}
.case-card {
  background: var(--surface);
  border: 1px solid var(--edge);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.case-card:hover { border-color: var(--edge-strong); transform: translateY(-3px); }
.case-card:hover .case-arrow { color: var(--gold-bright); }
.case-card:hover h3 { color: var(--gold-bright); }
.case-img {
  aspect-ratio: 16 / 10;
  background: var(--surface-2);
  border-bottom: 1px solid var(--edge);
  position: relative; overflow: hidden;
}
.case-img .placeholder-img { position: absolute; inset: 0; }
.case-body { padding: 32px 36px 36px; }
.case-meta {
  display: flex; gap: 14px; font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 18px;
}
.case-card h3 { font-size: 26px; transition: color 0.15s ease; }
.case-card p { font-size: 14px; color: var(--ivory-soft); margin-top: 14px; }
.case-card .results {
  display: flex; gap: 28px; margin-top: 28px;
  padding-top: 22px; border-top: 1px solid var(--edge);
}
.case-card .result .n {
  font-family: var(--serif); font-size: 32px; color: var(--gold-bright);
  letter-spacing: -0.02em;
}
.case-card .result .l { font-size: 12px; color: var(--ivory-mute); margin-top: 4px; }
.case-arrow {
  margin-top: 24px; color: var(--ivory-mute);
  font-size: 12px; transition: color 0.2s ease;
  font-family: var(--mono); letter-spacing: 0.14em; text-transform: uppercase;
}

/* ====================== CONTACT ====================== */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px;
  padding: 80px 0 110px;
}
.contact-info p { color: var(--ivory-soft); font-size: 18px; max-width: 400px; margin-top: 28px; }
.contact-channels { margin-top: 48px; display: flex; flex-direction: column; gap: 0; }
.channel {
  display: flex; gap: 24px; align-items: flex-start;
  padding: 22px 0; border-top: 1px solid var(--edge);
}
.channel:last-child { border-bottom: 1px solid var(--edge); }
.channel .label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold); min-width: 80px;
  padding-top: 4px;
}
.channel .value { font-size: 18px; color: var(--ivory); }
.channel .value .sub { display: block; font-size: 13px; color: var(--ivory-mute); margin-top: 2px; }

.form {
  background: var(--surface);
  border: 1px solid var(--edge);
  border-radius: var(--radius-lg);
  padding: 44px;
  position: relative;
  overflow: hidden;
}
.form::before {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 240px; height: 240px;
  background: radial-gradient(circle, var(--gold-glow), transparent 70%);
  pointer-events: none;
}
.form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-bottom: 20px;
}
.form-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; position: relative; z-index: 1; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold);
}
.form-field input,
.form-field select,
.form-field textarea {
  background: var(--bg-deep);
  border: 1px solid var(--edge);
  border-radius: var(--radius-sm);
  padding: 14px 16px; font-size: 15px;
  font-family: inherit; color: var(--ivory);
  transition: border-color 0.15s ease;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--ivory-mute); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none; border-color: var(--gold);
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-field .err {
  font-size: 12px; color: var(--warn); margin-top: 2px;
}
.form-field input.invalid,
.form-field textarea.invalid { border-color: var(--warn); }

.form-success {
  text-align: center; padding: 32px 0;
  position: relative; z-index: 1;
}
.form-success .logo-mark { margin: 0 auto 24px; }
.form-success h3 { font-size: 28px; margin-bottom: 14px; }
.form-success p { color: var(--ivory-soft); }

/* checkbox chips */
.chip-group { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px; border-radius: 999px;
  background: var(--bg-deep);
  border: 1px solid var(--edge);
  font-size: 13px; color: var(--ivory-soft);
  cursor: pointer; user-select: none;
  transition: all 0.15s ease;
  font-family: inherit;
}
.chip:hover { border-color: var(--edge-strong); color: var(--ivory); }
.chip.on {
  background: var(--gold); color: var(--bg); border-color: var(--gold);
}
.chip.on::before {
  content: '✓'; font-size: 11px; color: var(--bg);
}

/* ====================== BLOG ====================== */
.blog-feature {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px;
  align-items: center; margin-top: 56px;
}
.blog-feature .case-img {
  aspect-ratio: 4 / 3; border-radius: var(--radius-lg);
  border: 1px solid var(--edge);
}
.blog-meta {
  display: flex; gap: 16px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 22px;
}
.blog-feature h2 { font-size: clamp(34px, 4vw, 48px); }
.blog-feature p { margin-top: 22px; color: var(--ivory-soft); font-size: 18px; }

.blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  margin-top: 72px;
}
.post {
  display: flex; flex-direction: column; gap: 18px;
  cursor: pointer;
}
.post .post-img {
  aspect-ratio: 4 / 3;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--edge);
  position: relative; overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.post:hover .post-img {
  transform: translateY(-3px);
  border-color: var(--edge-strong);
}
.post .post-img .placeholder-img { position: absolute; inset: 0; }
.post h3 { font-size: 22px; line-height: 1.25; transition: color 0.15s ease; }
.post:hover h3 { color: var(--gold-bright); }
.post .post-excerpt { font-size: 14px; color: var(--ivory-soft); }

.topics {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-top: 24px; margin-bottom: 24px;
}
.topic {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; padding: 9px 16px;
  border-radius: 999px; background: var(--surface);
  border: 1px solid var(--edge);
  cursor: pointer; color: var(--ivory-soft);
  transition: all 0.15s ease;
}
.topic:hover { color: var(--ivory); border-color: var(--edge-strong); }
.topic.active {
  background: var(--gold); color: var(--bg); border-color: var(--gold);
}

/* ====================== CTA STRIP ====================== */
.cta-strip {
  background: var(--bg-deep);
  border: 1px solid var(--edge);
  border-radius: 20px;
  padding: 72px;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px;
  align-items: center;
  margin: 100px 0;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute; bottom: -150px; left: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--gold-glow), transparent 70%);
  pointer-events: none;
}
.cta-strip > * { position: relative; z-index: 1; }
.cta-strip h2 { font-size: clamp(36px, 4vw, 48px); }
.cta-strip p { color: var(--ivory-soft); font-size: 17px; max-width: 400px; margin-top: 18px; }
.cta-strip .cta-actions { display: flex; gap: 12px; justify-content: flex-end; }

/* ====================== JOURNEY CARDS ====================== */
.journey {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--edge);
  border: 1px solid var(--edge);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.journey-step {
  background: var(--surface);
  padding: 36px;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 220px;
}
.journey-step .when {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold);
}
.journey-step h3 { font-family: var(--serif); font-size: 28px; font-style: italic; color: var(--ivory); }
.journey-step p { margin-top: auto; font-size: 14px; color: var(--ivory-soft); }

/* ====================== RESULTS CARDS ====================== */
.result-card {
  padding: 40px;
  background: var(--surface);
  border: 1px solid var(--edge);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.result-card .big {
  font-family: var(--serif); font-size: 76px; font-weight: 400;
  letter-spacing: -0.04em; line-height: 1;
  color: var(--gold-bright);
}
.result-card .what { margin-top: 16px; font-size: 17px; color: var(--ivory); }
.result-card .who {
  margin-top: 32px; padding-top: 22px;
  border-top: 1px solid var(--edge);
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold);
}

/* ====================== RESPONSIVE ====================== */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .testimonial,
  .blog-feature,
  .detail-hero,
  .contact-grid,
  .promise,
  .cta-strip,
  .section-header { grid-template-columns: 1fr; gap: 40px; }
  .services-grid,
  .journey,
  .values-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid,
  .pricing-grid.four,
  .blog-grid,
  .case-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .detail-body { grid-template-columns: 1fr; gap: 40px; }
  .service-row { grid-template-columns: 1fr; gap: 12px; }
  .service-row:hover { padding-left: 0; padding-right: 0; }
  section { padding: 72px 0; }
  .shell { padding: 0 20px; }
  .promise, .cta-strip { padding: 48px 28px; }
  .form { padding: 32px; }
  .hero { min-height: auto; padding: 120px 0 80px; }
  .hero-bg { opacity: 0.5; }
  .hero-trust { flex-wrap: wrap; gap: 24px; }
  h1 { font-size: 44px !important; }
}

/* ====================== FADE-IN ====================== */
.page-fade { animation: fadeIn 0.45s ease both; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

::selection { background: var(--gold); color: var(--bg); }
