/* ============================================================
   Halothane landing page styles
   Palette (from brand sheet):
     Deep Charcoal #0F1114 · Silver Gray #A6ABB3
     Soft Aqua #59D6E0 · Mist Aqua #E6FAFC
   ============================================================ */

:root {
  --charcoal: #0F1114;
  --ink:      #1A1E22;
  --slate:    #5C636B;
  --slate-2:  #8B929A;
  --line:     rgba(37, 98, 107, .12);

  --aqua:      #59D6E0;
  --aqua-deep: #1FA9BA;   /* accessible accent for text/links */
  --aqua-dark: #0E7C8A;
  --mist:      #E6FAFC;

  --bg:      #FFFFFF;
  --bg-soft: #F5FCFD;
  --bg-tint: #EDF9FA;

  --warn:  #E8932B;
  --red:   #E5484D;
  --green: #2FA968;
  --blue:  #3B82C4;

  --radius:   24px;
  --radius-s: 14px;
  --shadow-sm: 0 1px 2px rgba(15,17,20,.04), 0 10px 30px rgba(31, 169, 186, .06);
  --shadow-md: 0 20px 60px rgba(20,90,100,.11), 0 4px 16px rgba(20,40,44,.05);
  --shadow-lg: 0 40px 100px rgba(16,90,100,.16), 0 12px 30px rgba(16,60,68,.08);

  --maxw: 1120px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1000px 600px at 50% -200px, rgba(89,214,224,.20), transparent 70%),
    var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
code {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: .88em;
  background: var(--bg-tint);
  color: var(--aqua-dark);
  padding: .1em .4em;
  border-radius: 6px;
}

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }

/* ───────────── Buttons ───────────── */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-weight: 600; font-size: 15px; line-height: 1;
  padding: 13px 22px; border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  color: #062F35;
  background: linear-gradient(135deg, rgba(230,250,252,.96), rgba(89,214,224,.92));
  border-color: rgba(14,124,138,.18);
  box-shadow: 0 12px 32px rgba(45,182,198,.26), inset 0 1px 0 rgba(255,255,255,.78);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 38px rgba(45,182,198,.34), inset 0 1px 0 rgba(255,255,255,.8); }
.btn--ghost { color: var(--ink); background: #fff; border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { border-color: var(--aqua); color: var(--aqua-dark); }
.btn--small { padding: 9px 16px; font-size: 14px; color:#06343A;
  background: linear-gradient(135deg, rgba(230,250,252,.96), rgba(89,214,224,.9));
  border-color: rgba(14,124,138,.14); box-shadow: 0 6px 18px rgba(45,182,198,.2); }
.btn--small:hover { transform: translateY(-1px); }
.btn--lg { padding: 16px 30px; font-size: 17px; }
.btn--hero { padding: 17px 28px; font-size: 16px; }

/* ───────────── Nav ───────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.58);
  backdrop-filter: saturate(160%) blur(22px);
  -webkit-backdrop-filter: saturate(160%) blur(22px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.nav.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 1px 0 rgba(15,17,20,.02); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand__mark { border-radius: 8px; }
.brand__name { font-weight: 700; font-size: 19px; letter-spacing: -.01em; }
.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links a { font-size: 15px; font-weight: 500; color: var(--slate); transition: color .15s; }
.nav__links a:hover { color: var(--ink); }
.nav__links .btn { color: #06343A; }

/* ───────────── Hero ───────────── */
.hero { position: relative; overflow: hidden; padding: 64px 0 96px; isolation: isolate; }
.hero__glow {
  position: absolute; inset: -18% -10% auto -10%; height: 850px; z-index: -3;
  background:
    radial-gradient(680px 440px at 76% 20%, rgba(89,214,224,.34), transparent 64%),
    radial-gradient(620px 420px at 20% 8%, rgba(230,250,252,.95), transparent 68%),
    radial-gradient(1000px 600px at 50% -10%, rgba(89,214,224,.16), transparent 72%);
  pointer-events: none;
}
.hero__orb { position: absolute; border-radius: 50%; filter: blur(1px); pointer-events: none; z-index: -2; }
.hero__orb--one { width: 340px; height: 340px; right: -150px; top: 210px; background: rgba(89,214,224,.13); }
.hero__orb--two { width: 240px; height: 240px; left: -120px; top: 470px; background: rgba(230,250,252,.9); }
.hero__inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 76px;
}
.hero__copy { max-width: 850px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero__icon { width: 104px; height: 104px; margin-bottom: 22px; border-radius: 27px; box-shadow: 0 24px 60px rgba(38, 125, 136, .18); }
.eyebrow {
  display: inline-block; margin: 0 0 20px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--aqua-deep);
  background: rgba(230,250,252,.68); border: 1px solid rgba(89,214,224,.22);
  backdrop-filter: blur(12px); padding: 7px 14px; border-radius: 999px;
}
.hero__title {
  margin: 0 0 22px; font-weight: 700; letter-spacing: -.045em; line-height: 1.01;
  font-size: clamp(46px, 7vw, 78px); text-wrap: balance;
}
.grad {
  background: linear-gradient(100deg, #118A99 0%, #35BCC9 48%, #76DDE5 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub { margin: 0 0 30px; font-size: clamp(18px, 2vw, 21px); color: var(--slate); max-width: 37em; line-height: 1.55; text-wrap: balance; }
.hero__sub em { color: var(--ink); font-style: italic; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero__cta--center { justify-content: center; }
.hero__meta { margin: 17px 0 0; font-size: 13.5px; color: var(--slate-2); }
.hero__learn { display: inline-flex; align-items: center; gap: 7px; margin-top: 28px; color: var(--slate); font-size: 14px; font-weight: 500; transition: color .2s ease; }
.hero__learn:hover { color: var(--aqua-dark); }

/* Hero art: menubar + panel mock */
.hero__art {
  position: relative; width: min(820px, 100%); min-height: 470px; display: grid; place-items: center;
  padding: 66px 40px 44px; border-radius: 44px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.78), rgba(230,250,252,.48)),
    radial-gradient(circle at 75% 10%, rgba(89,214,224,.32), transparent 48%);
  border: 1px solid rgba(255,255,255,.92);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(89,214,224,.10);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
}
.hero__art::before, .hero__art::after { content: ""; position: absolute; border-radius: 50%; filter: blur(18px); z-index: -1; }
.hero__art::before { width: 260px; height: 260px; background: rgba(89,214,224,.24); right: -55px; top: -65px; }
.hero__art::after { width: 220px; height: 220px; background: rgba(230,250,252,.95); left: -50px; bottom: -80px; }
.menubar {
  position: absolute; top: 38px; right: 72px; z-index: 3;
  display: flex; align-items: center; gap: 14px;
  padding: 6px 14px; border-radius: 10px;
  background: rgba(28,32,36,.76); backdrop-filter: blur(14px);
  box-shadow: var(--shadow-md);
}
.menubar__dot { width: 13px; height: 13px; border-radius: 50%; background: rgba(255,255,255,.18); }
.menubar__icon { display: flex; }
.menubar__icon img { border-radius: 4px; background:#fff; padding:1px; }

/* ───────────── Menu panel mock ───────────── */
.panel {
  width: 420px; max-width: 100%;
  background: rgba(252,253,254,.78);
  border: 1px solid rgba(255,255,255,.94);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 14px;
  font-size: 13.5px;
}
.panel__head { display: flex; align-items: center; gap: 10px; }
.panel__logo { border-radius: 6px; }
.panel__title { display: flex; flex-direction: column; line-height: 1.25; }
.panel__title strong { font-size: 15px; }
.panel__divider { height: 1px; background: var(--line); margin: 11px -2px; }
.panel__label { font-size: 11.5px; color: var(--slate-2); margin-bottom: 5px; font-weight: 500; }
.tag { font-size: 11px; }
.tag--ok { color: var(--green); }
.badge { margin-left: auto; font-size: 11px; padding: 3px 8px; border-radius: 999px; font-weight: 600; }
.badge--warn { color: var(--warn); background: rgba(232,147,43,.14); }

.row { display: flex; align-items: center; gap: 8px; padding: 5px 4px; border-radius: 8px; }
.row--paused { background: rgba(229,72,77,.07); }
.row__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row__val { font-variant-numeric: tabular-nums; font-weight: 600; }
.row__val--red { color: var(--red); }
.row__val--orange { color: var(--warn); }
.row__val--blue { color: var(--blue); }
.row__actions { display: flex; gap: 6px; padding: 4px 2px 2px; }
.row__actions button, .hud__actions button {
  font: inherit; font-size: 11.5px; font-weight: 500;
  padding: 4px 10px; border-radius: 7px; cursor: default;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
}
.pill { font-size: 10.5px; font-weight: 600; padding: 2px 7px; border-radius: 999px; }
.pill--red { color: var(--red); background: rgba(229,72,77,.16); }
.pill--orange { color: var(--warn); background: rgba(232,147,43,.16); }
.exempt { font-size: 10px; color: var(--green); background: rgba(47,169,104,.16); padding: 1px 6px; border-radius: 999px; }
.arrow { color: var(--warn); font-weight: 700; }
.panel__foot { display: flex; justify-content: space-between; align-items: center; color: var(--slate); font-size: 12.5px; }
.foot__right { display: flex; gap: 14px; }
.link { color: var(--slate); }

/* ───────────── Trust strip ───────────── */
.strip { border-block: 1px solid var(--line); background: rgba(245,252,253,.72); backdrop-filter: blur(18px); }
.strip__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding: 30px 0; }
.strip__item { display: flex; flex-direction: column; gap: 3px; }
.strip__item strong { font-size: 15px; color: var(--ink); }
.strip__item span { font-size: 13px; color: var(--slate); }

/* ───────────── Sections ───────────── */
.section { padding: 104px 0; }
.section--soft { background: linear-gradient(180deg, rgba(245,252,253,.88), rgba(230,250,252,.42)); }
.section__narrow { max-width: 760px; }
.section__head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.kicker { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--aqua-deep); }
.section__title { margin: 0 0 18px; font-weight: 800; letter-spacing: -.025em; line-height: 1.1; font-size: clamp(28px, 3.6vw, 42px); }
.section__lead { margin: 0; font-size: 18px; color: var(--slate); }
.section__head .section__lead { margin-inline: auto; max-width: 34em; }
.prose { font-size: 18px; color: var(--slate); margin: 0 0 18px; }
.prose strong { color: var(--ink); }
.prose em { color: var(--aqua-dark); font-style: normal; font-weight: 600; }

/* ───────────── Steps ───────────── */
.steps { display: flex; align-items: stretch; justify-content: center; gap: 8px; flex-wrap: wrap; }
.step {
  flex: 1 1 0; min-width: 240px; max-width: 320px;
  background: rgba(255,255,255,.76); border: 1px solid rgba(255,255,255,.92); border-radius: var(--radius);
  backdrop-filter: blur(16px);
  padding: 30px 26px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 13px; margin-bottom: 16px;
  font-weight: 800; font-size: 16px; color: var(--aqua-dark);
  background: var(--mist);
}
.step h3 { margin: 0 0 8px; font-size: 20px; letter-spacing: -.01em; }
.step p { margin: 0; color: var(--slate); font-size: 15px; }
.step__arrow { display: flex; align-items: center; color: var(--aqua); font-size: 26px; font-weight: 700; }

/* ───────────── Showcase ───────────── */
.showcase__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.checklist { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 30px; color: var(--ink); font-size: 16px; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px; font-weight: 700;
  color: #fff; background: var(--aqua-deep);
}
.showcase__art { display: grid; place-items: center; }

/* HUD card mock */
.hud {
  width: 360px; max-width: 100%;
  background: rgba(248,251,252,.97);
  border: 1px solid rgba(15,17,20,.08);
  border-radius: 14px; padding: 13px;
  box-shadow: var(--shadow-lg); font-size: 13.5px;
}
.hud__head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.hud__head strong { font-size: 15px; }
.hud__icon { color: var(--red); }
.hud__expand { color: var(--slate-2); font-size: 12px; }
.hud__x { margin-left: auto; color: var(--slate-2); }
.hud__item { padding: 9px; border-radius: 9px; margin-top: 7px; }
.hud__item--red { background: rgba(229,72,77,.09); }
.hud__item--orange { background: rgba(232,147,43,.10); }
.hud__row { display: flex; align-items: center; gap: 7px; }
.hud__name { flex: 1; font-weight: 500; min-width: 0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.hud__val { font-weight: 700; font-variant-numeric: tabular-nums; }
.hud__val--red { color: var(--red); } .hud__val--orange { color: var(--warn); }
.hud__actions { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }

/* ───────────── Features ───────────── */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feat {
  background: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.92); border-radius: var(--radius);
  backdrop-filter: blur(16px);
  padding: 26px 22px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(89,214,224,.6); }
.feat__icon {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 16px;
  display: grid; place-items: center; font-size: 22px; font-weight: 600; color: var(--aqua-dark);
  background: linear-gradient(160deg, var(--mist), #F4FDFE);
  border: 1px solid rgba(89,214,224,.3);
}
.feat h3 { margin: 0 0 8px; font-size: 17px; letter-spacing: -.01em; }
.feat p { margin: 0; font-size: 14px; color: var(--slate); }

/* ───────────── Brand essence ───────────── */
.essence { background: linear-gradient(135deg, var(--mist), rgba(89,214,224,.20)); color: var(--ink); }
.essence__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.essence__card {
  padding: 34px 28px; border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255,255,255,.72), rgba(255,255,255,.38));
  border: 1px solid rgba(255,255,255,.88); backdrop-filter: blur(18px); box-shadow: var(--shadow-sm);
}
.essence__ic {
  display: inline-grid; place-items: center; width: 52px; height: 52px;
  border-radius: 14px; font-size: 24px; font-weight: 600; color: var(--aqua-dark); margin-bottom: 18px;
  background: rgba(89,214,224,.14); border: 1px solid rgba(89,214,224,.3);
}
.essence__card h3 { margin: 0 0 10px; font-size: 21px; letter-spacing: -.01em; }
.essence__card p { margin: 0; color: var(--slate); font-size: 15px; }

/* ───────────── FAQ ───────────── */
.faq {
  background:
    radial-gradient(620px 360px at 12% 18%, rgba(230,250,252,.88), transparent 72%),
    radial-gradient(580px 340px at 88% 82%, rgba(89,214,224,.16), transparent 70%),
    #fff;
}
.faq__inner { max-width: 900px; }
.faq__list { display: grid; gap: 12px; }
.faq__item {
  overflow: hidden;
  background: rgba(255,255,255,.76);
  border: 1px solid rgba(89,214,224,.24);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.faq__item summary {
  position: relative;
  padding: 20px 58px 20px 22px;
  cursor: pointer;
  list-style: none;
  color: var(--ink);
  font-size: 17px;
  font-weight: 650;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 22px;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transform: translateY(-50%);
  color: var(--aqua-dark);
  background: var(--mist);
  font-size: 19px;
  font-weight: 500;
}
.faq__item[open] summary::after { content: "−"; }
.faq__item p {
  margin: -2px 58px 22px 22px;
  color: var(--slate);
  font-size: 15.5px;
}

/* ───────────── Download ───────────── */
.download { position: relative; overflow: hidden; text-align: center; background: #fff; }
.download__glow {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(500px 300px at 50% 0%, rgba(89,214,224,.22), transparent 65%),
    radial-gradient(400px 260px at 50% 100%, rgba(230,250,252,.7), transparent 70%);
}
.download__inner { position: relative; z-index: 1; max-width: 640px; margin-inline: auto; }
.download__icon { border-radius: 26px; box-shadow: var(--shadow-lg); margin-bottom: 26px; }
.download .section__lead { margin: 0 auto 30px; max-width: 30em; }
.download__disclosure {
  margin: 0 auto 28px;
  max-width: 42rem;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(245, 252, 253, .86);
  text-align: left;
}
.download__disclosure h3 { margin: 0 0 10px; color: var(--ink); font-size: 18px; }
.download__disclosure p { margin: 8px 0 0; color: var(--slate); font-size: 14px; line-height: 1.6; }
.download__disclosure code { color: var(--ink); }

/* ───────────── Footer ───────────── */
.footer { background: #F5FCFD; color: var(--slate); padding: 50px 0; border-top: 1px solid var(--line); }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.footer__brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 18px; }
.footer__brand img { border-radius: 7px; }
.footer__tag { margin: 0; font-size: 15px; }
.footer__links { display: flex; gap: 24px; }
.footer__links a { font-size: 14px; transition: color .15s; }
.footer__links a:hover { color: var(--aqua); }
.footer__copy { margin: 6px 0 0; font-size: 13px; color: var(--slate-2); }

/* ───────────── Reveal animation ───────────── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ───────────── Responsive ───────────── */
@media (max-width: 980px) {
  .hero__inner { gap: 64px; }
  .hero__art { min-height: 450px; }
  .showcase__inner { grid-template-columns: 1fr; gap: 40px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .strip__inner { grid-template-columns: repeat(2, 1fr); }
  .essence__grid { grid-template-columns: 1fr; }
  .step__arrow { transform: rotate(90deg); }
}
@media (max-width: 720px) {
  .nav__links a:not(.btn) { display: none; }
}
@media (max-width: 560px) {
  .nav__inner { height: 64px; }
  .hero { padding: 42px 0 64px; }
  .hero__icon { width: 84px; height: 84px; border-radius: 22px; }
  .hero__title { font-size: clamp(40px, 12vw, 54px); }
  .hero__sub { font-size: 17px; }
  .btn--hero { width: 100%; justify-content: center; }
  .hero__meta { max-width: 26em; }
  .hero__art { min-height: 390px; padding: 58px 16px 28px; border-radius: 30px; }
  .section { padding: 64px 0; }
  .features { grid-template-columns: 1fr; }
  .strip__inner { grid-template-columns: 1fr; }
  .panel, .hud { width: 100%; }
  .menubar { top: 28px; right: 28px; }
  .footer__links { flex-wrap: wrap; justify-content: center; gap: 12px 20px; }
}
