/* ===================== TOKENS ===================== */
:root {
  --teal-900: #134e4a;
  --teal-700: #0f766e;
  --teal-600: #0d9488;
  --teal-500: #14b8a6;
  --teal-50:  #f0fdfa;

  --ink:      #0b1220;
  --ink-700:  #2b3648;
  --ink-500:  #55617a;
  --line:     #e6e9ef;
  --bg:       #ffffff;
  --bg-soft:  #f7f9fb;
  --amber:    #f59e0b;

  --radius:   16px;
  --radius-sm:10px;
  --shadow:   0 1px 2px rgba(16,24,40,.04), 0 12px 32px -12px rgba(16,24,40,.18);
  --shadow-sm:0 1px 2px rgba(16,24,40,.06), 0 4px 12px -6px rgba(16,24,40,.12);
  --maxw:     1120px;
}

/* ===================== RESET ===================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.grad {
  background: linear-gradient(90deg, var(--teal-600), var(--teal-500));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--teal-700); color: #fff; font-weight: 600; font-size: 1rem;
  border: 0; border-radius: var(--radius-sm); padding: 14px 22px; cursor: pointer;
  box-shadow: 0 1px 2px rgba(16,24,40,.1), 0 8px 20px -8px rgba(15,118,110,.6);
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:hover { background: var(--teal-600); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--small { padding: 9px 16px; font-size: .92rem; }

/* ===================== NAV ===================== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.02em; }
.brand__mark {
  display: inline-grid; place-items: center; width: 34px; height: 34px; color: #fff;
  background: linear-gradient(135deg, var(--teal-600), var(--teal-700)); border-radius: 9px;
}
.brand__name { font-size: 1.05rem; }
.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links a { color: var(--ink-700); font-weight: 500; font-size: .95rem; transition: color .15s; }
.nav__links a:hover { color: var(--teal-700); }
.nav__links a.btn { color: #fff; }
@media (max-width: 720px) {
  .nav__links a:not(.btn) { display: none; }
}

/* ===================== HERO ===================== */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 480px at 80% -10%, rgba(20,184,166,.14), transparent 60%),
    radial-gradient(900px 420px at 0% 0%, rgba(15,118,110,.08), transparent 55%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.hero__inner { padding: 84px 24px 88px; text-align: center; max-width: 860px; }
.badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--teal-50); color: var(--teal-700); border: 1px solid #cdeee8;
  font-weight: 600; font-size: .85rem; padding: 7px 14px; border-radius: 999px; margin-bottom: 26px;
}
.badge__dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--teal-500);
  box-shadow: 0 0 0 0 rgba(20,184,166,.6); animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(20,184,166,.55); }
  70%  { box-shadow: 0 0 0 8px rgba(20,184,166,0); }
  100% { box-shadow: 0 0 0 0 rgba(20,184,166,0); }
}
.hero__title { font-size: clamp(2.3rem, 6vw, 3.9rem); font-weight: 800; }
.hero__sub {
  margin: 22px auto 0; max-width: 640px; font-size: clamp(1.05rem, 2.2vw, 1.22rem);
  color: var(--ink-500);
}
.hero__trust {
  display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center;
  margin-top: 22px; color: var(--ink-500); font-size: .9rem; font-weight: 500;
}

/* ===================== SIGNUP FORM ===================== */
.signup {
  display: flex; gap: 10px; margin: 32px auto 0; max-width: 480px; flex-wrap: wrap;
  justify-content: center;
}
.signup__input {
  flex: 1 1 220px; min-width: 0; font-size: 1rem; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff;
  color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.signup__input::placeholder { color: #9aa4b8; }
.signup__input:focus {
  outline: none; border-color: var(--teal-500); box-shadow: 0 0 0 4px rgba(20,184,166,.16);
}
.signup .btn { flex: 0 0 auto; }
.signup__msg {
  flex-basis: 100%; min-height: 1.2em; margin-top: 6px; font-size: .9rem; font-weight: 500;
  text-align: center;
}
.signup__msg.is-ok { color: var(--teal-700); }
.signup__msg.is-err { color: #c2410c; }
.signup--center { margin-inline: auto; }

/* ===================== STRIP ===================== */
.strip { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.strip__inner {
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
  justify-content: center; padding: 22px 24px;
}
.strip__label { font-weight: 600; color: var(--ink-700); font-size: .92rem; }
.strip__list {
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: center;
  color: var(--ink-500); font-weight: 500; font-size: .92rem;
}
.strip__list li { position: relative; }
.strip__list li:not(:last-child)::after {
  content: ""; position: absolute; right: -13px; top: 50%; width: 4px; height: 4px;
  background: #cbd2e0; border-radius: 50%; transform: translateY(-50%);
}

/* ===================== SECTIONS ===================== */
.section { padding: 84px 0; }
.section--alt { background: var(--bg-soft); }
.section__head { max-width: 640px; margin: 0 auto 52px; text-align: center; }
.eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: .12em;
  font-size: .78rem; font-weight: 700; color: var(--teal-600); margin-bottom: 12px;
}
.section__title { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; }
.section__lede { margin-top: 16px; font-size: 1.1rem; color: var(--ink-500); }

/* ===================== CARDS ===================== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cards--trust { gap: 22px; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card--plain { background: #fff; }
.card__icon {
  width: 50px; height: 50px; display: grid; place-items: center; font-size: 1.5rem;
  background: var(--teal-50); border-radius: 12px; margin-bottom: 18px;
}
.card__title { font-size: 1.18rem; font-weight: 700; margin-bottom: 10px; }
.card__body { color: var(--ink-500); font-size: 1rem; }

/* ===================== STEPS ===================== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow-sm);
}
.step__num {
  display: inline-grid; place-items: center; width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--teal-600), var(--teal-700)); color: #fff;
  font-weight: 800; font-size: 1.1rem; border-radius: 12px; margin-bottom: 18px;
}
.step__title { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.step__body { color: var(--ink-500); }

/* ===================== VERSUS ===================== */
.vs__grid { display: grid; gap: 18px; max-width: 760px; margin-inline: auto; }

/* column legend above the rows */
.vs__legend {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 2px;
  font-weight: 700; font-size: .92rem; letter-spacing: .01em;
}
.vs__legend span { text-align: center; }
.vs__legend-old { color: var(--ink-500); }
.vs__legend-new { color: var(--teal-700); }

.vs__row {
  position: relative; display: grid; grid-template-columns: 1fr 1fr;
  border-radius: 20px; overflow: hidden; border: 1px solid var(--line);
  background: #fff; box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.vs__row:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(16,24,40,.05), 0 22px 48px -18px rgba(16,24,40,.28); }

.vs__side {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  padding: 34px 22px; min-height: 148px; text-align: center;
}
.vs__side--old { background: linear-gradient(180deg, #fbfcfe, #f1f4f8); }
.vs__side--new {
  position: relative; color: #fff;
  background:
    radial-gradient(130% 150% at 100% 0%, var(--teal-500) 0%, var(--teal-600) 42%, var(--teal-900) 100%);
}

.vs__name {
  font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: var(--ink-500);
}
.vs__side--new .vs__name { color: rgba(255,255,255,.82); }

.vs__value {
  font-size: clamp(2rem, 6.5vw, 3rem); font-weight: 800; letter-spacing: -.03em; line-height: 1;
  color: var(--ink);
}
.vs__side--old .vs__value {
  color: #aab4c4; text-decoration: line-through;
  text-decoration-color: #ec7385; text-decoration-thickness: 3px;
}
.vs__side--new .vs__value { color: #fff; }

.vs__check {
  position: absolute; top: 14px; right: 14px; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255,255,255,.2); color: #fff; display: grid; place-items: center;
  font-size: .8rem; font-weight: 800;
}

/* center VS badge straddling the seam */
.vs__badge {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 2;
  width: 50px; height: 50px; border-radius: 50%; background: #fff; color: var(--ink);
  display: grid; place-items: center; font-size: .78rem; font-weight: 800; letter-spacing: .04em;
  border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(16,24,40,.18);
}

.vs__kicker {
  text-align: center; margin-top: 36px; font-size: clamp(1.2rem, 3.4vw, 1.6rem);
  font-weight: 600; letter-spacing: -.01em; color: var(--ink-500);
}
.vs__kicker strong { color: var(--teal-700); font-weight: 800; }

@media (max-width: 540px) {
  .vs__legend { display: none; }
  .vs__row { grid-template-columns: 1fr; }
  .vs__side { min-height: 116px; padding: 26px 18px; }
  .vs__badge { width: 44px; height: 44px; }
}

/* scroll reveal (only active when JS is on, so no-JS still shows content) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ===================== TRUST BAR ===================== */
.trustbar { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.trustbar li {
  display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 12px 22px; font-weight: 600; color: var(--ink-700);
  box-shadow: var(--shadow-sm);
}
.trustbar__ico { font-size: 1.2rem; }

/* ===================== CTA ===================== */
.cta {
  background:
    radial-gradient(900px 400px at 50% 120%, rgba(20,184,166,.22), transparent 60%),
    linear-gradient(160deg, var(--teal-900), var(--teal-700));
  color: #fff;
}
.cta__inner { text-align: center; padding: 84px 24px; max-width: 720px; }
.cta__title { font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 800; }
.cta__sub { margin: 18px auto 0; max-width: 560px; color: rgba(255,255,255,.82); font-size: 1.12rem; }
.cta .signup { margin-top: 30px; }
.cta .signup__input { border-color: transparent; }
.cta .btn { background: #fff; color: var(--teal-800, #115e56); }
.cta .btn:hover { background: #eafffb; }
.cta__fine { margin-top: 18px; font-size: .86rem; color: rgba(255,255,255,.7); }
.cta .signup__msg.is-ok { color: #d7fff7; }
.cta .signup__msg.is-err { color: #ffd9c2; }

/* ===================== FOOTER ===================== */
.footer { background: var(--ink); color: #fff; padding: 40px 0; }
.footer__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
}
.footer .brand__name { font-weight: 800; }
.footer__tag { color: rgba(255,255,255,.6); font-size: .9rem; margin-top: 4px; }
.footer__copy { color: rgba(255,255,255,.55); font-size: .88rem; }

/* ===================== LANDING (per-appliance) ===================== */
.lp-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal-50); color: var(--teal-700); border: 1px solid #cdeee8;
  font-weight: 600; font-size: .85rem; padding: 7px 14px; border-radius: 999px; margin-bottom: 24px;
}

.chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 760px; margin-inline: auto; }
.chip {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 12px 20px; font-weight: 600; color: var(--ink-700); font-size: .98rem;
  box-shadow: var(--shadow-sm);
}
.chip__ico { font-size: 1.15rem; }

.models { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 8px; }
.models__item {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9rem; font-weight: 600;
  color: var(--ink-700); background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 8px; padding: 8px 14px;
}

/* ===================== DIRECTORY ===================== */
.dir-group { margin-bottom: 48px; }
.dir-group__head {
  display: flex; align-items: center; gap: 12px; margin-bottom: 20px;
  padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.dir-group__emoji { font-size: 1.6rem; }
.dir-group__title { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; }
.dir-group__count { margin-left: auto; font-size: .85rem; font-weight: 600; color: var(--ink-500); }

.dir-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .dir-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .dir-grid { grid-template-columns: 1fr; } }

.dir-card {
  display: flex; align-items: center; gap: 16px; text-decoration: none;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.dir-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #bfeae3; }
.dir-card__logo {
  flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--teal-50); font-size: 1.4rem;
}
.dir-card__brand { font-size: 1.08rem; font-weight: 700; color: var(--ink); }
.dir-card__meta { font-size: .88rem; color: var(--ink-500); margin-top: 2px; }
.dir-card__arrow { margin-left: auto; color: var(--teal-600); font-weight: 800; font-size: 1.2rem; }

/* ===================== MODEL GRID ===================== */
.model-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; max-width: 920px; margin-inline: auto; }
.model-card {
  display: flex; flex-direction: column; gap: 3px; text-decoration: none;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 15px 18px;
  box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.model-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: #bfeae3; }
.model-card__id { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 700; color: var(--ink); font-size: .98rem; }
.model-card__type { font-size: .82rem; color: var(--ink-500); }

/* breadcrumb */
.crumbs { font-size: .9rem; color: var(--ink-500); margin-bottom: 18px; }
.crumbs a { color: var(--teal-700); font-weight: 600; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { color: #c2cad6; margin: 0 8px; }
.backlink { display: inline-block; margin-top: 24px; color: var(--teal-700); font-weight: 600; }
.backlink:hover { text-decoration: underline; }

/* ===================== HERO QUICK LINKS ===================== */
.hero__quick {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px;
  margin-top: 24px;
}
.hero__quick-label { font-size: .9rem; font-weight: 600; color: var(--ink-500); }
.quicklink {
  display: inline-flex; align-items: center; gap: 7px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; font-size: .92rem; font-weight: 600; color: var(--ink-700);
  box-shadow: var(--shadow-sm); transition: transform .12s ease, border-color .15s ease, color .15s ease;
}
.quicklink:hover { transform: translateY(-1px); border-color: #bfeae3; color: var(--teal-700); }
.quicklink--all { background: var(--teal-50); border-color: #cdeee8; color: var(--teal-700); box-shadow: none; }

/* ===================== HOME BROWSE NAVIGATOR ===================== */
.nav-tree { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 920px; margin-inline: auto; }
@media (max-width: 720px) { .nav-tree { grid-template-columns: 1fr; } }

.nav-appliance { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.nav-appliance__title {
  display: inline-flex; align-items: center; gap: 9px; font-size: 1.2rem; font-weight: 800;
  letter-spacing: -.01em; color: var(--ink); margin-bottom: 14px;
}
.nav-appliance__title:hover { color: var(--teal-700); }

.nav-brand { border-top: 1px solid var(--line); }
.nav-brand > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px;
  padding: 13px 2px; font-weight: 700; color: var(--ink-700);
}
.nav-brand > summary::-webkit-details-marker { display: none; }
.nav-brand > summary::after {
  content: "›"; margin-left: auto; font-size: 1.3rem; color: #9aa4b8; transform: rotate(90deg);
  transition: transform .18s ease;
}
.nav-brand[open] > summary::after { transform: rotate(270deg); }
.nav-brand > summary:hover { color: var(--teal-700); }
.nav-brand__count { font-size: .8rem; font-weight: 600; color: var(--ink-500); }

.nav-models { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; padding: 4px 2px 16px; }
@media (max-width: 460px) { .nav-models { grid-template-columns: 1fr; } }
.nav-models a {
  font-size: .9rem; color: var(--ink-700); padding: 5px 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.nav-models a:hover { color: var(--teal-700); text-decoration: underline; }
.nav-models a.nav-models__all { font-family: inherit; font-weight: 700; color: var(--teal-700); grid-column: 1 / -1; }

/* ===================== RESPONSIVE / SMALL SCREENS ===================== */
/* Tablet & below: trim the generous desktop spacing */
@media (max-width: 768px) {
  .hero__inner { padding: 60px 24px 64px; }
  .section { padding: 60px 0; }
  .cta__inner { padding: 60px 24px; }
  .section__head { margin-bottom: 40px; }
  .nav__inner { height: 60px; }
}

/* Phones */
@media (max-width: 600px) {
  .container { padding-inline: 18px; }
  .hero__inner { padding: 48px 18px 52px; }
  .section { padding: 48px 0; }
  .cta__inner { padding: 52px 18px; }

  /* Stack the signup so the button is full width and never wraps oddly */
  .signup { flex-wrap: nowrap; flex-direction: column; gap: 12px; }
  .signup__input { flex: 1 1 auto; width: 100%; }
  .signup .btn { width: 100%; }

  /* Looser tap targets */
  .btn { padding: 15px 22px; }

  /* Strip reads better as a tighter centered list */
  .strip__inner { gap: 14px; padding: 18px; }
  .strip__list { gap: 8px 18px; }
  .strip__list li:not(:last-child)::after { right: -10px; }

  .vs__kicker { margin-top: 28px; }
  .footer__inner { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* Small phones */
@media (max-width: 380px) {
  .container { padding-inline: 14px; }
  .brand__name { font-size: .98rem; }
  .btn--small { padding: 9px 13px; }
  .hero__inner { padding: 40px 14px 44px; }
  .strip__list { font-size: .86rem; }
  .vs__side { padding: 22px 14px; min-height: 104px; }
}

/* ===================== MOTION PREFS ===================== */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
}
