/* ===================================================================
   HammerCalc — landing page
   =================================================================== */

:root {
  --cream: #f7f5f1;
  --cream-2: #efece5;
  --white: #ffffff;
  --ink: #0b0c0e;
  --ink-soft: #23252a;
  --muted: #5c616b;
  --line: rgba(11, 12, 14, 0.09);

  --blue: #0a84ff;
  --blue-dark: #0060df;
  --brand-calc: #6bc1f9;
  --cyan: #00c2d6;
  --grad: linear-gradient(100deg, #0a84ff 0%, #00c2d6 100%);

  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 3px rgba(11, 12, 14, 0.06), 0 6px 20px rgba(11, 12, 14, 0.05);
  --shadow-md: 0 10px 40px rgba(11, 12, 14, 0.10);
  --shadow-lg: 0 30px 80px rgba(11, 12, 14, 0.18);

  /* Apple-like critically damped feel (ease-out, no bounce) */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.32, 0.72, 0, 1);
  --press-duration: 100ms;

  --maxw: 1180px;
  /* System UI — matches Apple HIG preference for native feel */
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
    "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

@supports (interpolate-size: allow-keywords) {
  html { interpolate-size: allow-keywords; }
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }

body {
  font-family: var(--font);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.55;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  font-optical-sizing: auto;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 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;
}

/* ---------- Typography (size-specific tracking / leading) ---------- */
h1, h2, h3, h4 {
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
  font-optical-sizing: auto;
  text-wrap: balance;
}
h1 { letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); letter-spacing: -0.035em; line-height: 1.06; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.015em; line-height: 1.25; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.accent { color: var(--blue); }
.hc-name { font-weight: inherit; letter-spacing: inherit; }
.hc-name .accent,
.brand__word .accent,
.footer__name .accent { color: var(--brand-calc); }

.tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--blue);
  background: rgba(10, 132, 255, 0.10);
  padding: 6px 13px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.tag--red    { color: #e0483c; background: rgba(224, 72, 60, 0.10); }
.tag--green  { color: #1a9e46; background: rgba(26, 158, 70, 0.12); }
.tag--onblue { color: #bfe6ff; background: rgba(255, 255, 255, 0.12); }

/* ---------- Buttons — feedback on press, not only on release ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  padding: 12px 22px;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform var(--press-duration) ease-out,
    box-shadow 0.35s var(--ease-out),
    background 0.25s var(--ease-out),
    color 0.2s ease;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.btn:hover { transform: scale(1.02); }
.btn:active { transform: scale(0.97); transition-duration: var(--press-duration); }
.btn--lg { padding: 15px 28px; font-size: 1.02rem; }
.btn--block { display: flex; width: 100%; }

.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: #000; box-shadow: var(--shadow-md); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: rgba(11,12,14,0.04); border-color: rgba(11,12,14,0.2); }

.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { box-shadow: 0 20px 50px rgba(0,0,0,0.28); }

/* ===================================================================
   NAV — split pills with hero phone in the center gap
   =================================================================== */
.nav {
  position: relative;
  z-index: 10;
  padding: calc(20px + var(--app-banner-h, 0px)) clamp(16px, 4vw, 36px) clamp(10px, 1.5vh, 16px);
  pointer-events: none;
  background: transparent;
}
.nav--hero { padding-bottom: clamp(8px, 1.2vh, 14px); }
/* Frosted chrome on pages where nav sits over scrolling content */
.nav.is-frosted {
  position: sticky;
  top: 0;
  padding-top: calc(14px + var(--app-banner-h, 0px));
  padding-bottom: 12px;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55) inset,
    0 1px 0 rgba(11, 12, 14, 0.04);
}
.nav__split {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr minmax(140px, 320px) 1fr;
  align-items: center;
  gap: 16px;
}
.nav__brand {
  flex: 0 1 auto;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
  pointer-events: auto;
}
.nav__gap {
  justify-self: center;
  width: 100%;
  min-height: 1px;
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: center;
}
.nav__lang {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  pointer-events: auto;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.nav__lang a {
  padding: 6px 10px;
  border-radius: 8px;
  -webkit-tap-highlight-color: transparent;
  transition:
    color 0.15s var(--ease-out),
    background 0.15s var(--ease-out),
    transform var(--press-duration) ease-out;
}
.nav__lang a:hover { color: var(--ink); }
.nav__lang a:active { transform: scale(0.92); }
.nav__lang a.is-active,
.nav__lang a[aria-current="page"] {
  color: var(--ink);
  background: rgba(11, 12, 14, 0.07);
}
.nav__lang-sep {
  opacity: 0.35;
  font-weight: 500;
  user-select: none;
}
.nav__download {
  flex: 0 0 auto;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  color: var(--ink);
  transition: opacity 0.2s var(--ease-out), transform var(--press-duration) ease-out;
  justify-self: end;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
}
.nav__download:hover { opacity: 0.72; }
.nav__download:active { transform: scale(0.97); opacity: 0.85; }
.nav__download-icon {
  display: block;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}
.nav__download-word {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.brand { display: inline-flex; align-items: center; gap: 16px; }
.nav__brand .brand__mark {
  display: block;
  width: auto;
  height: 80px;
  object-fit: contain;
  box-shadow: none;
  border-radius: 0;
}
.brand__mark {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.brand__word {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

/* Smart app banner (iOS / macOS) */
.app-banner {
  position: fixed; top: 0; left: 0; right: 0; z-index: 110;
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px 8px 10px;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.app-banner.is-visible { transform: none; opacity: 1; }
.app-banner__icon-wrap {
  flex: 0 0 auto;
  padding: 3px;
  border: 1px solid rgba(11, 12, 14, 0.14);
  border-radius: 12px;
  background: #fff;
  box-shadow:
    0 1px 3px rgba(11, 12, 14, 0.08),
    0 4px 14px rgba(11, 12, 14, 0.12),
    0 10px 28px rgba(11, 12, 14, 0.08);
}
.app-banner__icon {
  display: block;
  width: 40px; height: 40px; border-radius: 9px;
  object-fit: cover;
  border: 1px solid rgba(11, 12, 14, 0.1);
}
.app-banner__text {
  flex: 1 1 auto; min-width: 0;
  display: flex; flex-direction: column; gap: 1px;
}
.app-banner__text strong {
  font-size: 0.92rem; font-weight: 700; letter-spacing: -0.02em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.app-banner__text span {
  font-size: 0.75rem; font-weight: 500; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.app-banner__btn {
  flex: 0 0 auto;
  padding: 6px 14px; border-radius: 999px;
  background: var(--ink); color: #fff;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.02em;
  text-transform: uppercase;
}
.app-banner__btn:hover { background: #23252a; }
.app-banner__close {
  flex: 0 0 auto;
  width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(11, 12, 14, 0.06); color: var(--muted);
  font-size: 1.1rem; line-height: 1; cursor: pointer;
}
.app-banner__close:hover { background: rgba(11, 12, 14, 0.1); color: var(--ink); }
body.has-app-banner { --app-banner-h: 56px; }
@media (max-width: 767px) {
  .app-banner { padding: 6px 10px 6px 8px; gap: 8px; }
  .app-banner__icon-wrap { padding: 2px; border-radius: 10px; }
  .app-banner__icon { width: 32px; height: 32px; border-radius: 7px; }
  .app-banner__text span { display: none; }
  .app-banner__text strong { font-size: 0.85rem; }
  .app-banner__btn { padding: 5px 12px; font-size: 0.72rem; }
  .app-banner__close { width: 24px; height: 24px; font-size: 1rem; }
  body.has-app-banner { --app-banner-h: 44px; }
}
body.has-app-banner .nav--hero {
  padding-top: calc(20px + var(--app-banner-h));
}

.mobile-menu {
  position: fixed; top: 74px; left: 16px; right: 16px;
  pointer-events: auto;
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 10px 18px 16px;
  background: rgba(255, 255, 255, 0.98);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 18px 44px rgba(11, 12, 14, 0.18);
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a { padding: 13px 4px; font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 12px; border-bottom: none; }

/* ===================================================================
   HERO — full-screen cinematic video
   =================================================================== */
.vhero {
  position: relative;
  min-height: 92vh;
  width: 100%;
  overflow: visible;
  background: #ffffff;
  padding: 0 clamp(20px, 4vw, 48px) clamp(56px, 8vh, 80px);
}
/* clean, bright backdrop with a barely-there warm wash */
.vhero__bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(90% 70% at 50% 24%, rgba(10,132,255,0.05) 0%, rgba(255,255,255,0) 60%),
    #ffffff;
}

/* ---- Hero carousel (auto-rotate, normal page scroll) ---- */
.vscroller {
  --vmedia-h: clamp(560px, 78vh, 860px);
  position: relative;
  z-index: 2;
  margin-top: clamp(-8px, -1vh, 0px);
  touch-action: pan-y;
}
.vsteps {
  position: relative;
  width: 100%;
  min-height: clamp(620px, 84vh, 900px);
}
.vstep {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1;
  transform: translateY(6px) scale(0.996);
  transition:
    opacity 0.55s var(--ease-out),
    transform 0.55s var(--ease-out),
    visibility 0s linear 0.55s;
}
.vstep.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 5;
  transform: none;
  transition:
    opacity 0.55s var(--ease-out),
    transform 0.55s var(--ease-out),
    visibility 0s linear 0s;
}
.vstep.is-active .vstep__copy--head,
.vstep.is-active .vstep__copy--body {
  animation: vcopy-in 0.55s var(--ease-out) both;
}
.vstep.is-active .vstep__copy--body {
  animation-delay: 0.05s;
}
.vstep.is-active .vstep__center {
  animation: vmedia-in 0.55s var(--ease-out) both;
}
@keyframes vcopy-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
@keyframes vmedia-in {
  from { opacity: 0; transform: translateY(4px) scale(0.99); }
  to { opacity: 1; transform: none; }
}

/* desktop / tablet: title left · phone center · detail copy right */
.vstep__inner {
  width: 100%; max-width: 1180px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: 1fr;
  align-items: center;
  gap: clamp(20px, 3.5vw, 52px);
}
.vstep__copy--head {
  grid-column: 1; grid-row: 1;
  justify-self: end; align-self: center;
  max-width: 340px; text-align: left;
}
.vstep__center {
  grid-column: 2; grid-row: 1;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  position: relative;
  z-index: 2;
  padding: 0;
}
.vstep__copy--body {
  grid-column: 3; grid-row: 1;
  justify-self: start; align-self: center;
  max-width: 340px; text-align: left;
}
.vstep__media { margin: 0; }

.vstep__eyebrow {
  color: var(--ink); font-weight: 700;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  margin-bottom: 10px;
}
.vstep__title {
  color: var(--ink); font-weight: 800; letter-spacing: -0.04em; line-height: 1.04;
  font-size: clamp(2.2rem, 3.6vw, 3.5rem);
  font-optical-sizing: auto;
  text-wrap: balance;
}
.vstep__lead {
  color: var(--ink); font-weight: 700; font-size: 1.08rem;
  margin: 0 0 8px;
}
.vstep__desc {
  color: var(--muted); font-weight: 500; line-height: 1.55;
  font-size: 1rem; max-width: 36ch; margin: 0;
}

/* media box: screenshot with an inline video that fades in at the same size */
.vmedia {
  position: relative; display: inline-block;
  height: var(--vmedia-h);
  margin: clamp(8px, 1.5vh, 16px) 0;
  border-radius: 32px; overflow: hidden;
  box-shadow:
    0 2px 4px rgba(11, 12, 14, 0.04),
    0 24px 60px rgba(11, 12, 14, 0.12),
    0 48px 100px rgba(11, 12, 14, 0.08);
}
.vmedia__img { display: block; height: 100%; width: auto; transition: opacity 0.45s ease; }
.vmedia__video {
  position: absolute; inset: 0; opacity: 0; pointer-events: none;
  background: #000; transition: opacity 0.45s ease;
}
.vmedia__video > div {
  width: 100%;
  height: 100%;
}
.vmedia__video iframe { width: 100% !important; height: 100% !important; border: 0; display: block; }
.vmedia.is-playing .vmedia__img { opacity: 0; }
.vmedia.is-playing .vmedia__video { opacity: 1; pointer-events: auto; }

/* watch-demo link above hero image */
.vwatch {
  position: relative;
  z-index: 6;
  margin: 0 0 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 4px;
  background: none;
  border: none;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: color 0.2s var(--ease-out), transform var(--press-duration) ease-out;
  -webkit-tap-highlight-color: transparent;
}
.vwatch:hover { color: var(--ink); }
.vwatch:active { transform: scale(0.97); }
.vwatch__play {
  display: inline-flex;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  opacity: 0.7;
}
.vwatch:hover .vwatch__play { opacity: 1; }

/* circle dot nav below image — large hit targets, clear active */
.vdots {
  display: flex; flex-direction: row; align-items: center; justify-content: center;
  gap: 6px;
  padding: 4px 0;
}
.vdots button {
  position: relative;
  width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(11, 12, 14, 0.2); cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition:
    background 0.3s var(--ease-out),
    transform var(--press-duration) ease-out,
    width 0.35s var(--ease-out),
    box-shadow 0.3s var(--ease-out);
}
/* Expand hit area to ~44px without changing visual size */
.vdots button::before {
  content: "";
  position: absolute;
  inset: -16px -12px;
}
.vdots button:hover { background: rgba(11, 12, 14, 0.4); }
.vdots button:active,
.vdots button.is-pressed {
  transform: scale(0.82);
}
.vdots button.is-active {
  background: var(--ink);
  width: 26px;
  border-radius: 100px;
  box-shadow: 0 0 0 3px rgba(11, 12, 14, 0.08);
}
.vdots button.is-active:active,
.vdots button.is-active.is-pressed {
  transform: scale(0.9);
}

@media (min-width: 768px) {
  .vstep__center {
    padding-top: 1.65rem;
  }
  .vstep__center .vwatch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
  }
}

/* large desktop polish */
@media (min-width: 1100px) {
  .vstep__inner { gap: 56px; }
  .vstep__copy--head,
  .vstep__copy--body { max-width: 380px; }
}

/* mobile only: headline above phone, dots, feature copy below */
@media (max-width: 767px) {
  .nav {
    padding: calc(6px + var(--app-banner-h, 0px)) 14px 6px;
  }
  .nav--hero { padding-bottom: 4px; }
  body.has-app-banner .nav--hero {
    padding-top: calc(6px + var(--app-banner-h));
  }
  .nav__split {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
  }
  /* Keep EN/ES off the brand — sit beside Download on the right */
  .nav__brand {
    flex: 1 1 auto;
    min-width: 0;
    gap: 8px;
  }
  .nav__gap {
    display: flex;
    width: auto;
    flex: 0 0 auto;
    order: 3;
    margin-left: 0;
    justify-self: auto;
  }
  .nav__download {
    order: 2;
    gap: 6px;
    flex-shrink: 0;
  }
  .nav__lang {
    font-size: 0.68rem;
    gap: 0;
  }
  .nav__lang a { padding: 4px 6px; }
  .nav__brand .brand__mark { height: 40px; }
  .brand__word { font-size: 0.95rem; }
  .nav__download-icon { width: 24px; height: 24px; }
  .nav__download-word { font-size: 0.9rem; }

  .vhero {
    min-height: 0;
    padding: 0 14px 8px;
    overflow: hidden; /* contain carousel while slides crossfade */
  }

  /*
   * Mobile carousel: active slide is in-flow so the section gets real height.
   * Inactive slides stay absolute overlays (no layout collapse into the page below).
   */
  .vscroller {
    --vmedia-h: clamp(420px, 78vw, 560px);
    margin-top: 0;
  }
  .vsteps {
    min-height: 0;
    height: auto;
  }
  .vstep {
    position: absolute;
    inset: auto;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    height: auto;
    align-items: flex-start;
    /* keep off-flow until active */
  }
  .vstep.is-active {
    position: relative;
    inset: auto;
    left: auto;
    right: auto;
    top: auto;
  }
  .vstep__center { padding: 4px 0; }
  .vstep__inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 10px;
    max-width: 100%;
  }
  .vstep__copy--head {
    grid-column: 1; grid-row: 1;
    text-align: center;
    max-width: 340px;
    margin: 0 auto;
    padding-top: 0;
    justify-self: center;
    align-self: start;
  }
  .vstep__center {
    grid-column: 1; grid-row: 2;
    gap: 8px;
  }
  .vstep__copy--body {
    grid-column: 1; grid-row: 3;
    text-align: center;
    max-width: 360px;
    margin: 0 auto;
    padding-top: 0;
    justify-self: center;
    align-self: start;
  }
  .vstep__eyebrow { font-size: 1rem; margin-bottom: 8px; }
  .vstep__title { font-size: clamp(1.85rem, 8vw, 2.4rem); }
  .vstep__lead { font-size: 1.02rem; margin: 0 0 6px; }
  .vstep__desc { max-width: none; margin: 0 auto; font-size: 0.96rem; }
  .vmedia {
    height: var(--vmedia-h);
    max-width: min(88vw, 520px);
    width: auto;
    margin: 0 auto;
    border-radius: 26px;
    box-shadow: 0 16px 48px rgba(11, 12, 14, 0.14);
  }
  .vmedia__img {
    margin: 0 auto;
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
  }
  .trust-strip {
    padding: 18px 0;
    position: relative;
    z-index: 1;
  }
}

@media (min-width: 768px) and (max-width: 1099px) {
  .vscroller { --vmedia-h: clamp(520px, 74vh, 740px); }
  .nav__brand .brand__mark { height: 64px; }
  .brand__word { font-size: 1.12rem; }
  .nav__download-icon { width: 32px; height: 32px; }
  .nav__download-word { font-size: 1.12rem; }
  .vstep__copy--head,
  .vstep__copy--body { max-width: 300px; }
  .vmedia { height: var(--vmedia-h); }
}

@media (max-width: 620px) {
  .vhero { padding: 0 12px 6px; }
  .vstep__title { font-size: clamp(1.7rem, 8.8vw, 2.2rem); }
  /* ~75% larger than the old ~300×340 mobile phone */
  .vscroller { --vmedia-h: clamp(480px, 85vw, 560px); }
  .vmedia {
    height: var(--vmedia-h);
    max-width: min(90vw, 520px);
  }
  .vdots button { width: 10px; height: 10px; }
  .vdots button.is-active { width: 24px; }
  .trust-strip { padding: 16px 0; }
}

.vhero__content {
  position: absolute; left: 0; right: 0; bottom: 40px; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  padding: 0 24px;
}
.vhero__text {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; max-width: 620px; margin-bottom: 88px;
}
.vhero__title {
  color: #fff;
  font-size: clamp(2.1rem, 5.4vw, 3.6rem);
  font-weight: 800; letter-spacing: -0.035em; line-height: 1.06;
}
.vhero__title .accent { color: var(--blue); }
.vhero__sub {
  color: #d6d8dc;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  font-weight: 500; max-width: 440px; margin: 20px auto 0; line-height: 1.55;
}
.vhero__btn {
  margin-top: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; color: var(--ink);
  font-weight: 700; font-size: 0.95rem;
  padding: 13px 26px; border-radius: 14px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.vhero__btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0,0,0,0.45); }
.vhero__note { margin-top: 16px; color: rgba(255,255,255,0.66); font-size: 0.85rem; font-weight: 600; }
.vhero__ribbon {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 14px 40px; opacity: 0.72;
}
.vhero__ribbon span {
  color: #fff; font-weight: 600; font-size: 0.86rem;
  letter-spacing: 0.09em; text-transform: uppercase;
}

/* ===================================================================
   HERO (legacy two-column — unused)
   =================================================================== */
.hero { padding: 104px 0 56px; }
.hero__grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
}
.hero__inner { flex: 0 1 500px; max-width: 500px; }
.hero__media { flex: 0 0 auto; }

.eyebrow { font-weight: 700; font-size: 0.95rem; color: var(--muted); margin-bottom: 14px; }
.rotator {
  color: var(--blue);
  display: inline-block;
  min-width: 3ch;
  transition: opacity 0.28s ease, transform 0.28s ease;
}
.rotator.is-out { opacity: 0; transform: translateY(-8px); }

.hero__title { font-size: clamp(2rem, 3.4vw, 3.3rem); letter-spacing: -0.03em; }
.hero__sub {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--muted);
  max-width: 500px;
  margin: 18px 0 0;
  font-weight: 500;
}
.hero__cta { display: flex; gap: 14px; justify-content: flex-start; flex-wrap: wrap; margin-top: 26px; }
.hero__note { margin-top: 16px; font-size: 0.88rem; color: var(--muted); font-weight: 600; }

/* Hero media (vertical Short) */
.hero__media {
  position: relative;
  margin: 0;
  display: flex;
  justify-content: center;
}
.hero__glow {
  position: absolute; inset: -12% -10% -6% -10%; z-index: -1;
  background: radial-gradient(55% 50% at 50% 40%, rgba(10,132,255,0.28), rgba(0,194,214,0.14) 45%, transparent 72%);
  filter: blur(24px);
}
.vframe {
  position: relative;
  width: min(290px, 66vw);
  aspect-ratio: 9 / 16;
  border-radius: 44px;
  background: linear-gradient(155deg, #3c3f47 0%, #14151a 55%);
  box-shadow:
    0 1px 1px rgba(255, 255, 255, 0.18) inset,
    0 44px 80px -24px rgba(11, 12, 14, 0.5),
    0 14px 34px rgba(11, 12, 14, 0.16);
}
.vframe__player {
  position: absolute; inset: 10px;
  width: calc(100% - 20px); height: calc(100% - 20px);
  border: 0; border-radius: 34px; background: #000;
}
.vframe__overlay {
  position: absolute; inset: 10px; background: transparent; border: 0; cursor: pointer;
  display: grid; place-items: center; border-radius: 34px;
}
/* Hero video is already playing — hide the play button until hover/focus */
.vframe__overlay .hero__play {
  opacity: 0; transform: scale(0.85);
}
.vframe__overlay:focus-visible .hero__play {
  opacity: 1; transform: scale(1); background: var(--blue);
}

.hero__play {
  width: 68px; height: 68px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: rgba(11,12,14,0.5);
  backdrop-filter: blur(6px);
  border: 1.5px solid rgba(255,255,255,0.6);
  transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
  padding-left: 4px;
  opacity: 0.92;
}
.vframe__overlay:hover .hero__play,
.showcase__media:hover .hero__play { transform: scale(1.1); background: var(--blue); opacity: 1; }

/* ===================================================================
   TRUST STRIP — stars between hero and compare
   =================================================================== */
.trust-strip {
  padding: 28px 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.trust-strip__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.trust-strip__stars {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #f4a918;
}
.trust-strip__star {
  display: block;
  width: 18px;
  height: 18px;
}
.trust-strip__text {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.01em;
}

/* ===================================================================
   TRUST BAR
   =================================================================== */
.trust { padding: 26px 0; }
.trust__inner {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 10px 34px; text-align: center;
}
.trust__item { display: flex; flex-direction: column; gap: 2px; }
.trust__item strong { font-size: 1.05rem; font-weight: 800; letter-spacing: -0.02em; }
.trust__item span { font-size: 0.82rem; color: var(--muted); font-weight: 500; }
.trust__divider { width: 1px; height: 34px; background: var(--line); }

/* ===================================================================
   FEATURE ROWS
   =================================================================== */
.feature { padding: 70px 0; }
.feature--alt { background: var(--white); }
.feature__row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.feature__row--reverse .feature__media { order: -1; }

.feature__text h2 { margin-bottom: 18px; }
.feature__text p { color: var(--muted); font-size: 1.08rem; font-weight: 500; max-width: 480px; }

.ticks { list-style: none; margin-top: 24px; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; font-weight: 600; color: var(--ink-soft); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 2px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--grad) center/70% no-repeat;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/14px no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/14px no-repeat;
}

/* Screenshot (App Store images already include the device frame) */
.feature__media { display: flex; justify-content: center; }
.shot {
  width: min(360px, 80%);
  border-radius: 26px;
  filter: drop-shadow(0 30px 60px rgba(11, 12, 14, 0.16));
  transition: transform 0.3s ease;
}
.shot:hover { transform: translateY(-6px); }

/* ===================================================================
   TOOLS
   =================================================================== */
.tools { padding: 96px 0; }
.section-head { max-width: 640px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { margin-bottom: 16px; }
.section-head p { color: var(--muted); font-size: 1.08rem; font-weight: 500; }
.section-head--left { text-align: left; margin-left: 0; }
.section-head--light h2 { color: #fff; }
.section-head--light p { color: rgba(255,255,255,0.72); }

.tools__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tool {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.tool:hover { border-color: rgba(10,132,255,0.35); box-shadow: var(--shadow-sm); }
.tool h3 { margin-bottom: 6px; }
.tool p { color: var(--muted); font-size: 0.92rem; font-weight: 500; }

/* ===================================================================
   SHOWCASE / VIDEO CTA (dark)
   =================================================================== */
.showcase { padding: 96px 0; background: var(--ink); color: #fff; }
.showcase__media {
  position: relative; width: min(320px, 78vw); margin: 0 auto; cursor: pointer;
}
.playcard {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  place-items: center;
  background: radial-gradient(120% 90% at 50% 0%, #12233b 0%, #0c0f14 55%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 40px 90px rgba(0,0,0,0.55);
}
.playcard__glow {
  position: absolute; inset: auto -20% -40% -20%; height: 60%;
  background: radial-gradient(50% 100% at 50% 100%, rgba(10,132,255,0.5), rgba(0,194,214,0.2) 45%, transparent 72%);
  filter: blur(14px);
}
.playcard__icon {
  position: absolute; top: 34px; width: 78px; height: 78px; border-radius: 20px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.5);
}
.playcard .hero__play { width: 82px; height: 82px; }
.playcard__label {
  position: absolute; bottom: 34px; font-weight: 700; font-size: 1.02rem; color: #fff;
  letter-spacing: -0.01em;
}

/* ===================================================================
   FEATURE GRID (cards)
   =================================================================== */
.grid-features { padding: 90px 0; background: var(--white); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.94rem; font-weight: 500; }

/* ===================================================================
   PRICING
   =================================================================== */
.pricing { padding: 90px 0; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); gap: 24px; justify-content: center; }
.plan {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
}
.plan--featured {
  border: 2px solid transparent;
  background:
    linear-gradient(var(--white), var(--white)) padding-box,
    var(--grad) border-box;
  box-shadow: var(--shadow-md);
}
.plan__badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #fff; font-size: 0.75rem; font-weight: 700;
  padding: 6px 15px; border-radius: 100px; white-space: nowrap;
  box-shadow: 0 6px 16px rgba(10,132,255,0.35);
}
.plan__name { font-size: 1.2rem; margin-bottom: 10px; }
.plan__price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 12px; }
.plan__amt { font-size: 2.9rem; font-weight: 800; letter-spacing: -0.04em; }
.plan__per { color: var(--muted); font-weight: 600; }
.plan__desc { color: var(--muted); font-weight: 500; min-height: 44px; }
.plan .ticks { margin: 22px 0 28px; }
.pricing__fine { max-width: 720px; margin: 30px auto 0; text-align: center; color: var(--muted); font-size: 0.82rem; font-weight: 500; line-height: 1.6; }

/* ===================================================================
   FAQ
   =================================================================== */
.faq {
  padding: 80px 0 100px;
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(10,132,255,0.04) 0%, transparent 55%),
    var(--cream);
}
.faq__inner { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 64px; align-items: start; }
.faq .section-head { margin: 0; }
.faq .section-head p { margin-top: 12px; max-width: 32ch; }
.faq__list { display: grid; gap: 14px; }
.qa {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 0 24px;
  transition:
    border-color 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease-out),
    transform var(--press-duration) ease-out;
}
.qa:hover { border-color: rgba(10,132,255,0.2); box-shadow: var(--shadow-sm); }
.qa[open],
.qa.is-open {
  border-color: rgba(10,132,255,0.35);
  box-shadow: 0 12px 40px rgba(10,132,255,0.08);
}
.qa summary {
  list-style: none; cursor: pointer; font-weight: 700; font-size: 1.06rem;
  letter-spacing: -0.02em;
  padding: 20px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  -webkit-tap-highlight-color: transparent;
  transition: transform var(--press-duration) ease-out, opacity var(--press-duration) ease-out;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:active,
.qa summary.is-pressed {
  transform: scale(0.985);
  opacity: 0.88;
}
.qa__i {
  position: relative; width: 28px; height: 28px; flex-shrink: 0;
  border-radius: 50%; background: rgba(10,132,255,0.08);
  transition: background 0.35s var(--ease-spring), transform 0.35s var(--ease-spring);
}
.qa__i::before, .qa__i::after {
  content: ""; position: absolute; background: var(--blue); border-radius: 2px;
  transition: transform 0.4s var(--ease-spring), background 0.3s var(--ease-out);
  top: 50%; left: 50%;
}
.qa__i::before { width: 12px; height: 2px; transform: translate(-50%, -50%); }
.qa__i::after { width: 2px; height: 12px; transform: translate(-50%, -50%); }
.qa[open] .qa__i,
.qa.is-open .qa__i { background: var(--blue); transform: scale(1.05); }
.qa[open] .qa__i::before, .qa[open] .qa__i::after,
.qa.is-open .qa__i::before, .qa.is-open .qa__i::after { background: #fff; }
.qa[open] .qa__i::after,
.qa.is-open .qa__i::after { transform: translate(-50%, -50%) scaleY(0); }
.qa__body { padding: 0 0 22px; border-top: 1px solid var(--line); }
.qa__body p {
  padding-top: 16px; color: var(--muted); font-weight: 500; line-height: 1.65;
  max-width: 58ch;
}
.qa__body a { color: var(--blue); font-weight: 600; }
.qa__body a:hover { text-decoration: underline; }

/* Spring-like open/close where browsers support details height animation */
@supports (interpolate-size: allow-keywords) {
  .qa::details-content {
    transition:
      height 0.45s var(--ease-spring),
      content-visibility 0.45s allow-discrete;
    overflow: hidden;
  }
  .qa:not([open])::details-content {
    height: 0;
  }
}

/* ===================================================================
   CTA BAND
   =================================================================== */
.cta-band { padding: 30px 0 80px; position: relative; z-index: 1; }
.cta-band__inner {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 72px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band__inner::before {
  content: ""; position: absolute; inset: auto -20% -60% -20%; height: 300px;
  background: radial-gradient(50% 100% at 50% 100%, rgba(10,132,255,0.55), rgba(0,194,214,0.25) 45%, transparent 72%);
  filter: blur(10px);
}
.cta-band__inner h2 { color: #fff; margin-bottom: 14px; position: relative; }
.cta-band__inner p { color: rgba(255,255,255,0.72); font-weight: 500; max-width: 520px; margin: 0 auto 30px; position: relative; }
.cta-band__inner .btn { position: relative; }

/* ===================================================================
   FOOTER
   =================================================================== */
.footer {
  --footer-logo-h: clamp(260px, 42vh, 500px);
  position: relative;
  z-index: 2;
  overflow: visible;
  background: var(--cream);
  margin-top: clamp(-56px, -7vh, -32px);
  padding: clamp(24px, 3vh, 36px) 0 0;
}
.footer__bleed {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%) translateY(clamp(-20px, -2.5vh, -32px));
  z-index: 1;
  line-height: 0;
  pointer-events: none;
}
.footer__logo-link {
  display: block;
  pointer-events: auto;
}
.footer__logo {
  width: auto;
  height: var(--footer-logo-h);
  object-fit: contain;
  object-position: bottom center;
  display: block;
  filter: drop-shadow(0 -8px 32px rgba(11, 12, 14, 0.08));
}
.footer__layout {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(16px, 3vw, 40px);
  align-items: start;
  min-height: var(--footer-logo-h);
  padding-top: calc(var(--footer-logo-h) * 0.30);
  padding-bottom: clamp(14px, 2vh, 24px);
}
.footer__brand {
  text-align: left;
  max-width: 280px;
}
.footer__title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 8px;
}
.footer__icon {
  flex: 0 0 auto;
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 22%;
  overflow: hidden;
  background: #fff;
  border: 0;
  outline: none;
  box-shadow:
    0 1px 2px rgba(11, 12, 14, 0.08),
    0 4px 10px rgba(11, 12, 14, 0.1),
    0 10px 24px rgba(11, 12, 14, 0.14),
    0 18px 40px rgba(11, 12, 14, 0.1);
}
.footer__icon img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: flex-start;
  gap: clamp(18px, 3vw, 36px);
  text-align: left;
}
.footer__name {
  margin: 0;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.footer__download {
  margin-top: 16px;
}
.footer__download h4 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 10px;
}
.footer__by {
  margin-top: 14px;
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--ink);
}
.footer__trial {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
  margin: -6px 0 10px;
}
.footer__col h4 { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 10px; }
.footer__col a:not(.btn) { display: block; padding: 4px 0; color: var(--ink-soft); font-weight: 600; font-size: 0.84rem; transition: color 0.15s; }
.footer__col a:not(.btn):hover { color: var(--blue); }
.footer__download .btn {
  display: inline-flex;
  margin-top: 2px;
  padding: 10px 16px;
  font-size: 0.84rem;
  color: #fff !important;
  white-space: normal;
  text-align: center;
  line-height: 1.3;
}
.footer__download .btn .hc-name { font-weight: 700; }
.footer__download .btn .hc-name .accent { color: #8fd4fc; }

/* ===================================================================
   VIDEO MODAL — materialize (blur + scale), symmetric dismiss
   =================================================================== */
.modal {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.32s var(--ease-out), visibility 0s linear 0.32s;
}
.modal[hidden] { display: none !important; }
.modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.32s var(--ease-out), visibility 0s linear 0s;
}
.modal.is-closing {
  opacity: 0;
  visibility: visible;
  pointer-events: none;
  transition: opacity 0.28s var(--ease-out), visibility 0s linear 0.28s;
}
.modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(6,7,9,0.78);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.32s var(--ease-out);
}
.modal.is-open .modal__backdrop { opacity: 1; }
.modal.is-closing .modal__backdrop { opacity: 0; transition-duration: 0.28s; }
.modal__body {
  position: relative; width: min(1000px, 96vw); border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: scale(0.94);
  filter: blur(10px);
  transition:
    opacity 0.34s var(--ease-out),
    transform 0.34s var(--ease-spring),
    filter 0.34s var(--ease-out);
}
.modal.is-open .modal__body {
  opacity: 1;
  transform: none;
  filter: blur(0);
}
.modal.is-closing .modal__body {
  opacity: 0;
  transform: scale(0.94);
  filter: blur(10px);
  transition-duration: 0.28s;
}
.modal__body--vert {
  width: auto; height: min(88vh, 860px); aspect-ratio: 9 / 16; max-width: 96vw;
}
.modal__player { width: 100%; height: 100%; background: #000; }
.modal__player iframe { width: 100%; height: 100%; border: 0; display: block; }
.modal__close {
  position: absolute; top: -46px; right: 0; width: 44px; height: 44px;
  border: none; background: rgba(255,255,255,0.12); color: #fff; font-size: 1.7rem; line-height: 1;
  border-radius: 50%; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s var(--ease-out), transform var(--press-duration) ease-out;
}
.modal__close:hover { background: rgba(255,255,255,0.28); }
.modal__close:active { transform: scale(0.9); background: rgba(255,255,255,0.22); }

/* ===================================================================
   REVEAL ANIMATION — fade-first, short travel
   =================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.45s var(--ease-out),
    transform 0.5s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: none; } }

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 980px) {
  .nav__links, .nav__login { display: none; }
  .nav__burger { display: flex; }
  .hero { padding: 104px 0 40px; text-align: center; }
  .hero__grid { flex-direction: column; gap: 34px; }
  .hero__inner { flex-basis: auto; max-width: 620px; }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .hero__cta { justify-content: center; }
  .feature__row { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .feature__row--reverse .feature__media { order: 0; }
  .feature__text p, .ticks { margin-left: auto; margin-right: auto; }
  .ticks { display: inline-grid; text-align: left; }
  .tools__grid, .cards { grid-template-columns: repeat(2, 1fr); }
  .faq__inner { grid-template-columns: 1fr; gap: 36px; }

  /* Footer: drop the giant bleed mark; stack brand → nav cleanly */
  .footer {
    --footer-logo-h: 0px;
    margin-top: 0;
    padding: 48px 0 0;
    overflow: hidden;
  }
  .footer__bleed { display: none; }
  .footer__layout {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
    min-height: 0;
    padding-top: 0;
    padding-bottom: 40px;
  }
  .footer__brand { max-width: none; text-align: center; margin: 0 auto; }
  .footer__title { justify-content: center; }
  .footer__download .btn { max-width: 100%; }
  .footer__nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px 40px;
    justify-content: stretch;
    align-items: start;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    text-align: left;
  }
  .footer__col { min-width: 0; }
  .footer__col a:not(.btn) {
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}

@media (max-width: 620px) {
  .container { padding: 0 18px; }
  .hero { padding: 120px 0 20px; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; }
  .trust__divider { display: none; }
  .trust__inner { gap: 18px 24px; }
  .plans { grid-template-columns: 1fr; }
  .tools__grid, .cards { grid-template-columns: 1fr; }
  .cta-band__inner { padding: 52px 24px; }
  .cta-band { padding-bottom: 64px; }
  .footer { padding-top: 36px; }
  .footer__layout { gap: 28px; padding-bottom: 32px; }
  .footer__nav { gap: 24px 28px; max-width: 360px; }
  .modal__close { top: 8px; right: 8px; background: rgba(0,0,0,0.4); }
}

@media (max-width: 380px) {
  .footer__nav {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 28px;
    max-width: 260px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .vstep,
  .vstep.is-active {
    transition: none !important;
    transform: none !important;
    animation: none !important;
  }
  .vstep.is-active .vstep__copy--head,
  .vstep.is-active .vstep__copy--body,
  .vstep.is-active .vstep__center {
    animation: none !important;
  }
  .modal,
  .modal__backdrop,
  .modal__body,
  .qa::details-content {
    transition: none !important;
    filter: none !important;
  }
  .btn:hover,
  .tool-chip:hover,
  .nav__download:hover { transform: none; }
  .btn:active,
  .tool-chip:active,
  .nav__download:active,
  .vwatch:active,
  .nav__lang a:active,
  .vdots button:active,
  .vdots button.is-pressed,
  .modal__close:active,
  .cmp-cta__btn:active,
  .qa summary:active,
  .qa summary.is-pressed { transform: none; }
  * { animation-duration: 0.001ms !important; }
}

@media (prefers-reduced-transparency: reduce) {
  .nav.is-frosted,
  .app-banner,
  .modal__backdrop {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .nav.is-frosted,
  .app-banner {
    background: #fff;
  }
  .modal__backdrop { background: rgba(6, 7, 9, 0.92); }
}

/* ===================================================================
   SUBPAGES (compare / about)
   =================================================================== */
.page-hero { padding: 48px 0 20px; text-align: center; }
.page-hero .container { max-width: 800px; }
.crumbs { display: flex; gap: 8px; justify-content: center; align-items: center; font-size: 0.85rem; color: var(--muted); font-weight: 600; margin-bottom: 20px; }
.crumbs a:hover { color: var(--blue); }
.crumbs span { opacity: 0.5; }
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); letter-spacing: -0.035em; }
.page-hero .lede { color: var(--muted); max-width: 660px; margin: 22px auto 0; font-size: clamp(1.05rem, 1.5vw, 1.25rem); font-weight: 500; }

.section { padding: 56px 0; }
.section--alt { background: var(--white); }

/* Prose / article */
.prose { max-width: 760px; margin: 0 auto; }
.prose > p { color: var(--ink-soft); font-size: 1.1rem; line-height: 1.7; margin-bottom: 18px; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 46px 0 16px; }
.prose h3 { font-size: 1.25rem; margin: 30px 0 10px; }
.prose .lead { font-size: 1.25rem; color: var(--ink); font-weight: 600; line-height: 1.6; }
.prose ul.ticks { margin: 18px 0 24px; }
.prose blockquote {
  margin: 26px 0; padding: 18px 24px; border-left: 4px solid var(--blue);
  background: var(--white); border-radius: 0 14px 14px 0; color: var(--ink-soft); font-weight: 500;
}

/* Legal pages (privacy / terms) */
.legal-updated {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}
.prose.legal { max-width: 720px; }
.prose.legal h2 {
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  margin: 40px 0 12px;
  letter-spacing: -0.02em;
  scroll-margin-top: 100px;
}
.prose.legal > p,
.prose.legal li {
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.7;
}
.prose.legal > p { margin-bottom: 14px; }
.prose.legal ul,
.prose.legal ol.legal-list {
  margin: 8px 0 20px;
  padding-left: 1.25rem;
  display: grid;
  gap: 8px;
}
.prose.legal a { color: var(--blue); font-weight: 600; }
.prose.legal a:hover { text-decoration: underline; }
.legal-toc {
  margin: 28px 0 8px;
  padding: 22px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.legal-toc__title {
  font-size: 0.78rem !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 0 0 12px !important;
  font-weight: 700;
}
.legal-toc ol {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 6px;
  columns: 1;
}
.legal-toc a {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.95rem;
}
.legal-toc a:hover { color: var(--blue); }

@media (min-width: 720px) {
  .legal-toc ol { columns: 2; column-gap: 28px; }
}

/* Features / SEO landing */
.feat-hero { padding: 40px 0 24px; text-align: center; }
.feat-hero .container { max-width: 860px; }
.feat-hero h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); letter-spacing: -0.035em; margin-bottom: 18px; }
.feat-hero .lede { color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.22rem); font-weight: 500; line-height: 1.6; max-width: 680px; margin: 0 auto 24px; }
.feat-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }
.feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  max-width: 1040px;
  margin: 0 auto;
}
.feat-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.feat-card:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.feat-card h2 {
  font-size: 1.15rem;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}
.feat-card h2 a {
  color: inherit;
  text-decoration: none;
}
.feat-card h2 a:hover { color: var(--blue); }
.feat-card p {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.55;
  margin: 0;
}
.feat-card__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue);
  background: rgba(10, 132, 255, 0.1);
  padding: 4px 9px;
  border-radius: 100px;
  margin-bottom: 12px;
}
.feat-keywords {
  max-width: 900px;
  margin: 48px auto 0;
  padding: 28px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-align: center;
}
.feat-keywords h2 { font-size: 1.35rem; margin-bottom: 14px; }
.feat-keywords p {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.65;
  margin: 0;
}
.feat-faq { max-width: 760px; margin: 0 auto; }
.feat-faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  margin-bottom: 10px;
  padding: 0 18px;
}
.feat-faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 16px 0;
  list-style: none;
}
.feat-faq summary::-webkit-details-marker { display: none; }
.feat-faq details[open] summary { border-bottom: 1px solid var(--line); }
.feat-faq .feat-faq__body {
  padding: 14px 0 18px;
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.6;
}
.feat-faq .feat-faq__body p { margin: 0; }

/* Comparison table */
.cmp-wrap {
  max-width: 1040px;
  margin: 0 auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 4px;
  border-radius: calc(var(--radius-lg) + 4px);
  background: linear-gradient(145deg, rgba(11, 12, 14, 0.03), rgba(10, 132, 255, 0.06));
}
.cmp-table {
  width: 100%;
  min-width: 720px;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 1px 2px rgba(11, 12, 14, 0.04),
    0 12px 40px rgba(11, 12, 14, 0.08),
    0 0 0 1px rgba(11, 12, 14, 0.06);
}
.cmp-table th,
.cmp-table td {
  padding: 16px 20px;
  text-align: left;
  vertical-align: top;
  font-size: 0.94rem;
  line-height: 1.55;
  border-bottom: 1px solid var(--line);
}
.cmp-table thead th {
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
  padding-top: 20px;
  padding-bottom: 20px;
}
.cmp-table thead th small {
  display: block;
  font-weight: 600;
  font-size: 0.76rem;
  margin-top: 4px;
  letter-spacing: 0;
}

/* Feature column — dark */
.cmp-col-feat,
.cmp-table tbody th {
  background: #0b0c0e;
  color: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.08);
  width: 24%;
  font-weight: 700;
}
.cmp-table thead .cmp-col-feat {
  background: linear-gradient(180deg, #1a1c22 0%, #0b0c0e 100%);
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.1);
}
.cmp-table tbody th {
  font-size: 0.9rem;
  letter-spacing: -0.01em;
}

/* HammerCalc column */
.cmp-col-hc {
  background: rgba(10, 132, 255, 0.04);
  border-color: rgba(10, 132, 255, 0.1);
  color: var(--ink-soft);
}
.cmp-table thead .cmp-col-hc {
  background: rgba(10, 132, 255, 0.12);
  color: var(--ink);
  border-bottom-color: var(--line);
}
.cmp-table thead .cmp-col-hc small {
  color: var(--muted);
}
.cmp-table thead .cmp-col-hc .hc-name .accent {
  color: var(--brand-calc);
}
.cmp-table tbody .cmp-col-hc {
  font-weight: 500;
}

/* Competitor column — clean neutral */
.cmp-col-cmp {
  background: #fafafa;
  color: var(--muted);
  width: 34%;
}
.cmp-table thead .cmp-col-cmp {
  background: #f3f3f5;
  color: var(--ink-soft);
  font-weight: 700;
}
.cmp-table thead .cmp-col-cmp small {
  color: var(--muted);
}
.cmp-table tbody tr:nth-child(even) .cmp-col-cmp {
  background: #f5f5f7;
}

.cmp-table tr:last-child th,
.cmp-table tbody tr:last-child td {
  border-bottom: none;
}
.cmp-table tbody tr:last-child .cmp-col-hc {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.cmp-table tbody tr:last-child .cmp-col-feat,
.cmp-table tbody tr:last-child th {
  border-bottom-left-radius: var(--radius-lg);
}

.cmp-cta { text-align: center; margin-top: 36px; }
.cmp-cta__btn {
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  padding: 17px 36px;
  -webkit-tap-highlight-color: transparent;
  transition:
    transform var(--press-duration) ease-out,
    box-shadow 0.3s var(--ease-out),
    background 0.25s var(--ease-out);
}
.cmp-cta__btn:active { transform: scale(0.97); }
.cmp-cta__btn .hc-name { font-weight: 800; }
.cmp-cta__btn .hc-name .accent { color: #8fd4fc; }
.section-head .hc-name { font-weight: 800; }

.cmp-yes {
  font-weight: 800;
  letter-spacing: -0.01em;
}
.cmp-col-hc .cmp-yes {
  color: #16a34a;
}
.cmp-col-cmp .cmp-yes {
  color: var(--ink-soft);
  font-weight: 700;
}
.cmp-no {
  color: #b0b5be;
  font-weight: 600;
}
.cmp-price-hc {
  color: #16a34a;
  font-size: 1.08em;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.cmp-price-cmp {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: rgba(11, 12, 14, 0.22);
}
.cmp-save {
  display: inline-block;
  margin-left: 6px;
  font-size: 0.76rem;
  font-weight: 800;
  color: #15803d;
  background: rgba(22, 163, 74, 0.12);
  padding: 4px 10px;
  border-radius: 100px;
  vertical-align: middle;
  letter-spacing: 0.01em;
}

/* Verdict cards */
.verdicts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1000px; margin: 0 auto; }
.verdict { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; }
.verdict--hc {
  border: 2px solid transparent;
  background: linear-gradient(var(--white), var(--white)) padding-box, var(--grad) border-box;
  box-shadow: var(--shadow-md);
}
.verdict h3 { margin-bottom: 6px; }
.verdict .verdict__for { font-size: 0.8rem; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 12px; }
.verdict p { color: var(--muted); font-weight: 500; font-size: 0.96rem; }

@media (max-width: 820px) {
  .verdicts { grid-template-columns: 1fr; }
}

/* ===================================================================
   TOOLS STRIP (homepage) + TOOL LANDING PAGES
   =================================================================== */
.tools-strip {
  padding: 72px 0 40px;
  background:
    radial-gradient(90% 70% at 50% 0%, rgba(10, 132, 255, 0.05) 0%, rgba(255, 255, 255, 0) 58%),
    #ffffff;
}
.tools-strip .section-head { margin-bottom: 40px; }
.tools-strip__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  max-width: 1120px;
  margin: 0 auto;
}
.tool-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 28px 20px 26px;
  background: #fff;
  border: 0;
  border-radius: 28px;
  text-decoration: none;
  color: inherit;
  min-height: 196px;
  -webkit-tap-highlight-color: transparent;
  box-shadow:
    0 2px 4px rgba(11, 12, 14, 0.04),
    0 18px 44px rgba(11, 12, 14, 0.08),
    0 36px 72px rgba(11, 12, 14, 0.05);
  transition:
    transform 0.4s var(--ease-out),
    box-shadow 0.4s var(--ease-out);
}
.tool-chip:hover {
  transform: translateY(-6px);
  box-shadow:
    0 4px 8px rgba(11, 12, 14, 0.05),
    0 24px 56px rgba(11, 12, 14, 0.12),
    0 48px 96px rgba(10, 132, 255, 0.08);
}
.tool-chip:active {
  transform: scale(0.98);
  transition-duration: var(--press-duration);
}
.tool-chip__icon {
  order: -1;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  color: var(--ink);
  background: var(--cream);
  transition:
    transform 0.4s var(--ease-out),
    background 0.3s var(--ease-out),
    color 0.3s var(--ease-out);
}
.tool-chip__icon svg {
  width: 28px;
  height: 28px;
  display: block;
}
.tool-chip:hover .tool-chip__icon {
  transform: scale(1.04);
  background: var(--ink);
  color: #fff;
}
.tool-chip:active .tool-chip__icon { transform: scale(0.96); }
.tool-chip--area .tool-chip__icon,
.tool-chip--feet .tool-chip__icon,
.tool-chip--units .tool-chip__icon,
.tool-chip--rafter .tool-chip__icon,
.tool-chip--stairs .tool-chip__icon {
  color: var(--ink);
  background: var(--cream);
}
.tool-chip__title {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.18;
  margin: 0;
  color: var(--ink);
}
.tool-chip__desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.45;
  max-width: 16ch;
}
.tool-chip__more {
  margin-top: auto;
  padding-top: 4px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}
.tool-chip:hover .tool-chip__more { color: var(--blue); }


.tool-page {
  background:
    radial-gradient(90% 55% at 50% -5%, rgba(107, 193, 249, 0.16), transparent 58%),
    radial-gradient(50% 40% at 100% 30%, rgba(10, 132, 255, 0.06), transparent 55%),
    var(--cream);
}
.tool-hero {
  padding: 56px 0 36px;
  text-align: center;
}
.tool-hero .container { max-width: 820px; }
.tool-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto 22px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.65) inset,
    var(--shadow-sm);
  transition: background 0.2s var(--ease-out), border-color 0.2s var(--ease-out), color 0.2s var(--ease-out), transform var(--press-duration) ease-out;
  -webkit-tap-highlight-color: transparent;
}
.tool-back:hover {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(10, 132, 255, 0.35);
  color: var(--blue);
}
.tool-back:active { transform: scale(0.97); }
.tool-back span { font-size: 1.05em; line-height: 1; }
.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  position: relative;
}
.btn--ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
  transform: translateY(-2px);
}
.tool-hero .tag { margin-bottom: 14px; }
.tool-hero h1 {
  font-size: clamp(2.15rem, 5vw, 3.6rem);
  letter-spacing: -0.038em;
  margin-bottom: 18px;
  line-height: 1.08;
}
.tool-hero .lede {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  font-weight: 500;
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto 28px;
}
.tool-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.tool-body { padding: 12px 0 72px; }
.tool-panel {
  max-width: 820px;
  margin: 0 auto 36px;
  padding: 0 0 36px;
  border-bottom: 1px solid var(--line);
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}
.tool-panel:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}
.tool-panel h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  margin: 0 0 14px;
  letter-spacing: -0.028em;
}
.tool-panel p {
  color: var(--ink-soft);
  font-size: 1.06rem;
  font-weight: 500;
  line-height: 1.68;
  margin: 0 0 14px;
}
.tool-panel p:last-child { margin-bottom: 0; }
.tool-points {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
}
.tool-points li {
  position: relative;
  padding: 0 0 0 28px;
  color: var(--ink-soft);
  font-weight: 500;
  line-height: 1.55;
  font-size: 1.02rem;
}
.tool-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--grad);
  transform: translateY(-50%);
}
.tool-panel .feat-faq { max-width: none; margin: 8px 0 0; }
.tool-panel .feat-faq details { background: rgba(255,255,255,0.75); }
.tool-related a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
  font-size: 0.95rem;
  transition: color 0.15s, border-color 0.15s;
}
.tool-related a:hover {
  color: var(--blue);
  border-bottom-color: rgba(10, 132, 255, 0.45);
}


@media (max-width: 980px) {
  .tools-strip { padding: 56px 0 32px; }
  .tools-strip .section-head { margin-bottom: 28px; }
  .tools-strip__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  /* Keep all chips equal — no full-bleed last card */
  .tools-strip__grid .tool-chip:last-child { grid-column: auto; }
  .tool-chip {
    min-height: 0;
    gap: 10px;
    padding: 18px 14px 16px;
    border-radius: 20px;
    box-shadow:
      0 1px 2px rgba(11, 12, 14, 0.04),
      0 12px 28px rgba(11, 12, 14, 0.07);
  }
  .tool-chip__icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }
  .tool-chip__icon svg { width: 22px; height: 22px; }
  .tool-chip__title { font-size: 0.98rem; }
  .tool-chip__desc { font-size: 0.82rem; max-width: none; }
  .tool-chip__more { font-size: 0.8rem; padding-top: 2px; }
}
@media (max-width: 520px) {
  .tools-strip { padding: 44px 0 24px; }
  .tools-strip__grid { gap: 10px; }
  .tool-chip {
    gap: 8px;
    padding: 14px 12px 13px;
    border-radius: 16px;
  }
  .tool-chip__icon {
    width: 36px;
    height: 36px;
    border-radius: 11px;
  }
  .tool-chip__icon svg { width: 18px; height: 18px; }
  .tool-chip__title { font-size: 0.86rem; letter-spacing: -0.025em; }
  .tool-chip__desc { font-size: 0.74rem; line-height: 1.35; }
  .tool-chip__more { font-size: 0.72rem; }
}

