/* Essential Technology — shared stylesheet (multi-page site) */
:root {
  color-scheme: light dark;
  --bg: #f4f7f8;
  --paper: #ffffff;
  --ink: #071722;
  --muted: #506370;
  --line: #cfdae0;
  --line-strong: #a8bac4;
  --cyan: #007f8b;
  --cyan-bright: #00a9b6;
  --cyan-soft: #def6f6;
  --navy: #0b2433;
  --navy-soft: #173b4b;
  --orange: #e7672d;
  --on-dark: #f6fbfc;
  --on-dark-muted: #b7c8d0;
  --shadow: 0 24px 70px rgba(12, 35, 47, .13);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #061018;
    --paper: #0b1821;
    --ink: #f3f8fa;
    --muted: #a8bac4;
    --line: #223746;
    --line-strong: #375366;
    --cyan: #23d5df;
    --cyan-bright: #62edf2;
    --cyan-soft: #0c3037;
    --navy: #02090e;
    --navy-soft: #0c2532;
    --orange: #ff8550;
    --on-dark: #f6fbfc;
    --on-dark-muted: #b8c8cf;
    --shadow: 0 28px 80px rgba(0, 0, 0, .35);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.65 "DM Sans", sans-serif;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: .18;
  mask-image: linear-gradient(to bottom, #000, transparent 70%);
}
a { color: inherit; }
img { display: block; max-width: 100%; }
svg { display: block; }
button, a { -webkit-tap-highlight-color: transparent; }
.wrap { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.skip { position: fixed; left: 16px; top: -100px; z-index: 100; padding: 10px 14px; background: var(--cyan); color: #00191c; font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- navigation ---------- */
.utility-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(16px);
}
.nav-inner { min-height: 72px; display: grid; grid-template-columns: minmax(210px, 1fr) auto minmax(210px, 1fr); align-items: center; gap: 22px; }
.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  justify-self: start;
  color: var(--ink);
  text-decoration: none;
}
.brand picture { display: block; width: 196px; }
.brand img { width: 100%; height: auto; }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2vw, 26px); }
.nav-links > a { text-decoration: none; font-size: .86rem; font-weight: 700; }
.nav-links > a:hover { color: var(--cyan); }
.nav-links > a[aria-current="page"] { color: var(--cyan); }
.nav-dropdown { position: relative; }
.nav-drop-toggle {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font: 700 .86rem/1.65 "DM Sans", sans-serif;
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-drop-toggle:hover { color: var(--cyan); }
.nav-drop-toggle svg { transition: transform .2s ease; }
.nav-dropdown:hover .nav-drop-toggle svg,
.nav-dropdown:focus-within .nav-drop-toggle svg,
.nav-dropdown.open .nav-drop-toggle svg { transform: rotate(180deg); }
.nav-drop-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: -16px;
  min-width: 240px;
  display: none;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.nav-dropdown:hover .nav-drop-menu,
.nav-dropdown:focus-within .nav-drop-menu,
.nav-dropdown.open .nav-drop-menu { display: block; }
.nav-drop-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: .86rem;
  font-weight: 700;
  text-decoration: none;
}
.nav-drop-menu a:hover { background: var(--cyan-soft); color: var(--cyan); }
.nav-call {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  gap: 9px;
  padding: 9px 15px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  font-weight: 700;
  font-size: .84rem;
}

/* ---------- heroes ---------- */
.hero { padding: clamp(54px, 8vw, 106px) 0 72px; }
.hero-slim { padding: clamp(46px, 7vw, 88px) 0 6px; }
.hero-slim h1 { font-size: clamp(2.8rem, 6vw, 5.2rem); max-width: 900px; }
.hero-slim .hero-lead { margin-bottom: 0; }
.hero-slim .hero-actions { margin-top: 30px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(350px, .8fr); gap: clamp(42px, 7vw, 96px); align-items: center; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  color: var(--cyan);
  font: 600 .74rem/1.2 "IBM Plex Mono", monospace;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }
h1, h2, h3 { margin-top: 0; letter-spacing: -.045em; }
h1 { max-width: 820px; margin-bottom: 26px; font-size: clamp(3.4rem, 7.4vw, 7rem); line-height: .92; }
h1 em { color: var(--cyan); font-style: normal; }
.hero-lead { max-width: 680px; margin: 0 0 30px; color: var(--muted); font-size: clamp(1.05rem, 1.7vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.crumbs { margin: 0 0 26px; font: 600 .74rem/1.4 "IBM Plex Mono", monospace; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--cyan); }
.crumbs span[aria-hidden="true"] { margin: 0 8px; }
.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.button.primary { border-color: var(--cyan); background: var(--cyan); color: #00191c; }
.button.secondary { background: var(--paper); }
.button:hover { transform: translateY(-2px); }
.button.secondary:hover { border-color: var(--cyan); }

.hero-panel {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border-radius: 6px 54px 6px 6px;
  background: var(--navy);
  color: var(--on-dark);
  box-shadow: var(--shadow);
  isolation: isolate;
}
.hero-panel::before {
  content: "";
  position: absolute;
  width: 330px;
  height: 330px;
  right: -145px;
  top: -140px;
  border: 1px solid rgba(98, 237, 242, .4);
  border-radius: 50%;
  box-shadow: 0 0 0 56px rgba(98, 237, 242, .05), 0 0 0 112px rgba(98, 237, 242, .025);
  animation: orbit 9s ease-in-out infinite alternate;
  z-index: -1;
}
.panel-top { padding: 24px 30px 18px; }
.panel-brand { width: min(100%, 300px); margin-bottom: 18px; }
.panel-brand img { width: 100%; height: auto; }
.availability { display: flex; align-items: center; gap: 10px; font: 600 .73rem/1.3 "IBM Plex Mono", monospace; color: var(--on-dark-muted); }
.availability i { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan-bright); box-shadow: 0 0 0 6px rgba(98, 237, 242, .12); animation: pulse 2.2s ease-in-out infinite; }
.rate-stack { padding: 54px 30px 34px; }
.rate-row { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; padding: 21px 0; border-top: 1px solid rgba(255,255,255,.14); }
.rate-row span { color: var(--on-dark-muted); font-size: .9rem; }
.rate-row b { display: block; margin-top: 5px; font-size: 1.15rem; }
.rate { font: 600 clamp(2rem, 4vw, 3.35rem)/1 "IBM Plex Mono", monospace; color: var(--cyan-bright); letter-spacing: -.06em; }
.minimum { padding: 18px 30px; background: var(--cyan-bright); color: #001518; font-weight: 700; font-size: .9rem; }

/* ---------- signal strip ---------- */
.signal-strip { border-block: 1px solid var(--line); background: var(--paper); }
.signal-grid { min-height: 110px; display: grid; grid-template-columns: repeat(3, 1fr); }
.signal { padding: 24px 30px; display: flex; align-items: center; gap: 16px; border-left: 1px solid var(--line); }
.signal:first-child { border-left: 0; padding-left: 0; }
.signal:last-child { padding-right: 0; }
.signal svg { flex: 0 0 auto; width: 30px; height: 30px; color: var(--cyan); }
.signal b { display: block; margin-bottom: 2px; font-size: .94rem; }
.signal span { color: var(--muted); font-size: .82rem; }

/* ---------- sections ---------- */
section { padding: clamp(80px, 10vw, 126px) 0; }
.section-head { display: grid; grid-template-columns: 1.15fr .7fr; gap: 60px; align-items: end; margin-bottom: 50px; }
h2 { margin-bottom: 0; max-width: 800px; font-size: clamp(2.65rem, 5.6vw, 5.2rem); line-height: .96; }
.section-head > p { max-width: 500px; margin: 0; color: var(--muted); }

/* ---------- service list ---------- */
.service-list { border-top: 1px solid var(--line-strong); }
.service {
  display: grid;
  grid-template-columns: 70px minmax(210px, .7fr) 1.3fr;
  gap: 34px;
  align-items: start;
  padding: 35px 0;
  border-bottom: 1px solid var(--line);
  transition: padding .25s ease, background .25s ease;
}
.service:hover { padding-inline: 18px; background: var(--paper); }
.service-index { color: var(--cyan); font: 600 .75rem/1.2 "IBM Plex Mono", monospace; }
.service h3 { margin-bottom: 0; font-size: clamp(1.45rem, 2.4vw, 2.25rem); line-height: 1.08; }
.service h3 a { text-decoration: none; }
.service h3 a:hover { color: var(--cyan); }
.service p { max-width: 600px; margin: 0; color: var(--muted); }

/* ---------- related links ---------- */
.related { border-top: 1px solid var(--line-strong); margin-top: 64px; padding-top: 30px; }
.related p { font: 600 .74rem/1.2 "IBM Plex Mono", monospace; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin: 0 0 16px; }
.related ul { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.related a {
  display: inline-flex;
  padding: 10px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: .86rem;
}
.related a:hover { border-color: var(--cyan); color: var(--cyan); }

/* ---------- pricing ---------- */
.pricing { position: relative; overflow: hidden; background: var(--navy); color: var(--on-dark); }
.pricing .kicker { color: var(--cyan-bright); }
.pricing .section-head > p { color: var(--on-dark-muted); }
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.price-card { position: relative; padding: clamp(28px, 4.5vw, 54px); background: var(--navy-soft); border-top: 3px solid var(--cyan-bright); }
.price-card:nth-child(2) { border-top-color: var(--orange); }
.price-label { color: var(--on-dark-muted); font: 600 .74rem/1.2 "IBM Plex Mono", monospace; text-transform: uppercase; letter-spacing: .08em; }
.price-card h3 { margin: 28px 0 20px; font-size: clamp(2rem, 4vw, 3.5rem); }
.big-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 22px; }
.big-price strong { font: 600 clamp(3.6rem, 7vw, 6.5rem)/.9 "IBM Plex Mono", monospace; letter-spacing: -.08em; }
.big-price span { color: var(--on-dark-muted); }
.price-card p { max-width: 500px; margin: 0 0 28px; color: var(--on-dark-muted); }
.price-card ul { max-width: 500px; margin: 0 0 28px; padding: 0; list-style: none; color: var(--on-dark-muted); }
.price-card ul li { position: relative; padding: 8px 0 8px 26px; border-bottom: 1px solid rgba(255,255,255,.12); }
.price-card ul li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 11px; height: 6px; border-left: 2px solid var(--cyan-bright); border-bottom: 2px solid var(--cyan-bright); transform: rotate(-45deg); }
.price-card .button { color: var(--on-dark); border-color: rgba(255,255,255,.3); }
.price-card .button:hover { border-color: var(--cyan-bright); }
.price-note { margin: 24px 0 0; color: var(--on-dark-muted); font-size: .86rem; }

/* ---------- fit columns ---------- */
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.fit-column h3 { margin-bottom: 12px; font-size: 2rem; }
.fit-column > p { margin: 0 0 28px; color: var(--muted); }
.fit-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.fit-list li { position: relative; padding: 16px 0 16px 34px; border-bottom: 1px solid var(--line); }
.fit-list li::before { content: ""; position: absolute; left: 2px; top: 24px; width: 13px; height: 7px; border-left: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: rotate(-45deg); }

/* ---------- founder ---------- */
.founder { padding-top: 28px; }
.founder-card { display: grid; grid-template-columns: .9fr 1.1fr; min-height: 560px; background: var(--paper); box-shadow: var(--shadow); }
.founder-photo { position: relative; min-height: 480px; overflow: hidden; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.founder-photo::after { content: ""; position: absolute; inset: auto 0 0; height: 24%; background: linear-gradient(transparent, rgba(4,15,22,.36)); }
.founder-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(34px, 7vw, 86px); }
.founder-copy h2 { font-size: clamp(2.5rem, 4.8vw, 4.8rem); }
.founder-copy .intro { margin: 28px 0 18px; color: var(--cyan); font-weight: 700; font-size: 1.05rem; }
.founder-copy p { max-width: 610px; margin: 0 0 18px; color: var(--muted); }
.founder-copy .button { align-self: flex-start; margin-top: 14px; }
.signature { margin-top: 18px; padding-top: 22px; border-top: 1px solid var(--line); font: 600 .8rem/1.5 "IBM Plex Mono", monospace; }

/* ---------- process ---------- */
.process-band { background: var(--cyan-soft); }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.step { position: relative; padding: 34px 34px 12px; border-top: 1px solid var(--line-strong); }
.step + .step { border-left: 1px solid var(--line); }
.step::before { content: ""; position: absolute; top: -6px; left: 34px; width: 11px; height: 11px; border-radius: 50%; background: var(--cyan); }
.step b { display: block; margin-bottom: 50px; color: var(--cyan); font: 600 .72rem/1 "IBM Plex Mono", monospace; }
.step h3 { margin-bottom: 12px; font-size: 1.5rem; }
.step p { margin: 0; color: var(--muted); }

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 76px; align-items: start; }
.faq-intro { position: sticky; top: 98px; }
.faq-intro h2 { font-size: clamp(2.7rem, 5vw, 4.7rem); }
.faq-intro p { margin-top: 24px; color: var(--muted); }
details { border-top: 1px solid var(--line-strong); }
details:last-child { border-bottom: 1px solid var(--line-strong); }
summary { position: relative; overflow: visible; cursor: pointer; list-style: none; padding: 27px 54px 36px 0; font-weight: 700; font-size: 1.08rem; line-height: 1.5; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 23px; color: var(--cyan); font: 500 1.5rem/1 "IBM Plex Mono", monospace; transition: transform .2s ease; }
details[open] summary::after { transform: rotate(45deg); }
details p { max-width: 690px; margin: -5px 54px 26px 0; color: var(--muted); }
.faq-more { margin-top: 30px; }

/* ---------- contact ---------- */
.contact { padding-top: 30px; }
.contact-box { position: relative; overflow: hidden; padding: clamp(38px, 7vw, 84px); background: var(--cyan); color: #00191c; }
.contact-box::after { content: ""; position: absolute; width: 380px; height: 380px; right: -210px; bottom: -240px; border: 62px solid rgba(0,25,28,.1); border-radius: 50%; }
.contact-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .8fr; gap: 50px; align-items: end; }
.contact-box h2 { max-width: 760px; }
.contact-box p { max-width: 630px; margin: 24px 0 0; color: rgba(0,25,28,.72); font-weight: 600; }
.contact-actions { display: grid; gap: 12px; }
.contact-actions a { min-height: 58px; display: flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; font-weight: 700; border: 2px solid #00191c; }
.contact-actions .call-primary { background: #00191c; color: #f6fbfc; }
.contact-actions .text-secondary { background: transparent; color: #00191c; }

/* ---------- footer ---------- */
footer { padding: 40px 0 100px; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.footer-brand { display: inline-flex; align-items: center; }
.footer-brand picture { display: block; width: min(260px, 100%); }
.footer-brand img { width: 100%; height: auto; }
.footer-meta { margin-top: 10px; color: var(--muted); font-size: .84rem; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: end; gap: 8px 18px; max-width: 560px; }
.footer-nav a { color: var(--muted); font-size: .83rem; text-decoration: none; }
.footer-nav a:hover { color: var(--cyan); }

.mobile-contact { display: none; }

/* ---------- animations ---------- */
@keyframes enter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 50% { transform: scale(.72); opacity: .7; } }
@keyframes orbit { to { transform: translate(-22px, 18px) rotate(8deg); } }
.hero-copy > * { animation: enter .6s both; }
.hero-copy > *:nth-child(2) { animation-delay: .06s; }
.hero-copy > *:nth-child(3) { animation-delay: .12s; }
.hero-copy > *:nth-child(4) { animation-delay: .18s; }
.hero-panel { animation: enter .75s .16s both; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .nav-inner { grid-template-columns: minmax(190px, 1fr) auto; }
  .nav-links { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-panel { min-height: 0; }
  .section-head, .faq-grid { grid-template-columns: 1fr; gap: 24px; }
  .faq-intro { position: static; }
  .founder-card { grid-template-columns: 1fr; }
  .founder-photo { min-height: 620px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-actions { max-width: 480px; }
}

@media (max-width: 680px) {
  .wrap { width: min(100% - 28px, 1180px); }
  .utility-nav { position: relative; }
  .nav-inner { min-height: 64px; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
  .brand picture { width: 148px; }
  .brand img { width: 100%; height: auto; }
  .nav-call { min-height: 40px; padding-inline: 12px; }
  .hero { padding-top: 50px; }
  h1 { font-size: clamp(3.1rem, 15vw, 4.5rem); }
  .hero-slim h1 { font-size: clamp(2.6rem, 12vw, 3.6rem); }
  .hero-actions .button { width: 100%; }
  .hero-panel { border-radius: 5px 32px 5px 5px; }
  .panel-top, .rate-stack, .minimum { padding-inline: 22px; }
  .rate-stack { padding-top: 34px; }
  .rate-row { grid-template-columns: 1fr; gap: 10px; }
  .rate { font-size: 2.5rem; }
  .signal-grid { grid-template-columns: 1fr; padding-block: 8px; }
  .signal, .signal:first-child, .signal:last-child { padding: 18px 0; border-left: 0; border-top: 1px solid var(--line); }
  .signal:first-child { border-top: 0; }
  .service { grid-template-columns: 40px 1fr; gap: 14px 18px; padding: 28px 0; }
  .service p { grid-column: 2; }
  .service:hover { padding-inline: 0; background: transparent; }
  .pricing-grid, .fit-grid { grid-template-columns: 1fr; }
  .fit-grid { gap: 48px; }
  .founder-photo { min-height: 430px; }
  .founder-copy { padding: 34px 24px; }
  .process-grid { grid-template-columns: 1fr; gap: 28px; }
  .step { padding: 6px 0 0 30px; border-top: 0; border-left: 1px solid var(--line-strong); }
  .step + .step { border-left: 1px solid var(--line-strong); }
  .step::before { top: 7px; left: -6px; }
  .step b { margin-bottom: 18px; }
  .contact-box { padding-inline: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-nav { justify-content: start; max-width: none; }
  footer { padding-bottom: 102px; }
  .mobile-contact {
    position: fixed;
    z-index: 30;
    left: 12px;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    border: 1px solid var(--line-strong);
    background: var(--paper);
    box-shadow: 0 12px 34px rgba(0,0,0,.22);
  }
  .mobile-contact a { min-height: 54px; display: flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 700; }
  .mobile-contact a:first-child { background: var(--cyan); color: #00191c; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
