/* =========================================================
   Arlo — single-page landing
   Apple-minimal · dual theme (dark default / light)
   Monochrome throughout; iMessage blue ONLY inside the demo.
   ========================================================= */

:root {
  /* ----- dark (default) ----- */
  --bg: #000000;
  --hero-bg: #000000;
  --surface: #0d0d0f;
  --surface-2: #16161a;
  --text: #f5f5f7;
  --dim: #9b9ba1;
  --faint: #65656b;
  --hairline: rgba(255,255,255,0.11);
  --hairline-2: rgba(255,255,255,0.20);
  --fill: #ffffff;        /* primary button bg */
  --fill-ink: #000000;    /* primary button text */
  --field-rgb: 245,245,247;
  --ghost-hover: rgba(255,255,255,0.06);

  /* iMessage (fixed, theme-independent) */
  --blue: #0a84ff;
  --imsg-in: #e9e9eb;
  --imsg-screen: #ffffff;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "SF Mono", ui-monospace, "Menlo", monospace;

  --maxw: 1180px;
  --nav-h: 56px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html[data-theme="light"] {
  --bg: #ffffff;
  --hero-bg: #ffffff;
  --surface: #f5f5f7;
  --surface-2: #ececef;
  --text: #1d1d1f;
  --dim: #515154;
  --faint: #86868b;
  --hairline: rgba(0,0,0,0.11);
  --hairline-2: rgba(0,0,0,0.20);
  --fill: #1d1d1f;
  --fill-ink: #ffffff;
  --field-rgb: 29,29,31;
  --ghost-hover: rgba(0,0,0,0.05);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); scroll-behavior: smooth; }
body {
  font-family: var(--font); background: var(--bg); color: var(--text);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  line-height: 1.5; overflow-x: hidden; font-synthesis: none;
  transition: background 0.5s var(--ease), color 0.5s var(--ease);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--text); color: var(--bg); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 30px; }
.section { padding: clamp(80px, 12vh, 150px) 0; position: relative; }
.rule { border: none; border-top: 1px solid var(--hairline); margin: 0; }

/* ---- type ---- */
h1, h2, h3 { font-weight: 600; letter-spacing: -0.03em; line-height: 1.04; text-wrap: balance; }
.eyebrow {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--faint);
  display: block; margin-bottom: 26px;
}
.display { font-size: clamp(48px, 8.5vw, 124px); letter-spacing: -0.045em; line-height: 0.94; font-weight: 600; }
.h-xl { font-size: clamp(40px, 6.5vw, 92px); letter-spacing: -0.04em; line-height: 0.98; }
.h-section { font-size: clamp(32px, 5vw, 60px); letter-spacing: -0.03em; line-height: 1.04; }
.lead { font-size: clamp(18px, 2vw, 23px); line-height: 1.4; font-weight: 400; letter-spacing: -0.01em; color: var(--dim); text-wrap: pretty; }
.muted { color: var(--faint); }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; padding: 0 26px; border-radius: 999px;
  font-size: 16px; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap;
  transition: transform 0.4s var(--ease), background 0.3s, color 0.3s, opacity 0.3s, box-shadow 0.4s var(--ease), border-color 0.3s;
}
.btn:active { transform: scale(0.97); }
.btn-fill { background: var(--fill); color: var(--fill-ink); }
.btn-fill:hover { opacity: 0.88; }
.btn-line { border: 1px solid var(--hairline-2); color: var(--text); }
.btn-line:hover { background: var(--ghost-hover); }
.btn-ghost { color: var(--text); padding: 0 6px; }
.btn-ghost:hover { opacity: 0.55; }
.arr { display: inline-block; transition: transform 0.4s var(--ease); }
.btn-ghost:hover .arr, .lnk:hover .arr { transform: translateX(5px); }
.lnk { color: var(--text); font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; display: inline-flex; gap: 9px; align-items: center; transition: opacity 0.25s; }
.lnk:hover { opacity: 0.6; }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h); z-index: 100;
  display: flex; align-items: center; border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), border-color 0.4s var(--ease);
}
.nav.scrolled {
  background: color-mix(in srgb, var(--bg) 62%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(22px); backdrop-filter: saturate(180%) blur(22px);
  border-bottom-color: var(--hairline);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; position: relative; }
/* center the nav links in the middle of the screen, independent of brand/CTA widths */
.nav-links { position: absolute; left: 50%; transform: translateX(-50%); }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 600; letter-spacing: -0.02em; font-size: 19px; }
.brand .dot { width: 24px; height: 24px; border-radius: 50%; overflow: hidden; background: var(--text); flex: none; }
.brand .dot img { width: 100%; height: 100%; object-fit: cover; }
html[data-theme="light"] .brand .dot img { filter: none; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.nav-links a { color: var(--dim); transition: color 0.25s; }
.nav-links a:hover { color: var(--text); }
.nav-links a.is-current { color: var(--text); }

.nav-drop { position: relative; }
.nav-drop__trigger {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 14px; color: var(--dim); cursor: pointer;
  transition: color 0.25s var(--ease);
}
.nav-drop:hover .nav-drop__trigger,
.nav-drop.is-open .nav-drop__trigger { color: var(--text); }
.nav-drop__chev {
  display: inline-block; font-size: 15px; line-height: 1;
  transform: rotate(0deg); transition: transform 0.32s var(--ease);
}
.nav-drop:hover .nav-drop__chev,
.nav-drop.is-open .nav-drop__chev { transform: rotate(90deg); }
/* padding-top bridges the gap so the menu stays open while moving the pointer down */
.nav-drop__menu {
  position: absolute; left: 50%; top: 100%;
  min-width: 156px;
  padding: 10px 0 0;
  margin: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(6px) scale(0.98);
  transform-origin: top center;
  transition:
    opacity 0.32s var(--ease),
    transform 0.32s var(--ease),
    visibility 0.32s;
}
.nav-drop__menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 10px;
  bottom: 0;
  border-radius: 14px;
  border: 1px solid var(--hairline);
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
  box-shadow: 0 20px 48px -16px rgba(0, 0, 0, 0.4);
  z-index: 0;
}
html[data-theme="light"] .nav-drop__menu::before {
  box-shadow: 0 20px 48px -16px rgba(0, 0, 0, 0.14);
}
.nav-drop:hover .nav-drop__menu,
.nav-drop.is-open .nav-drop__menu,
.nav-drop__menu:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}
.nav-drop__menu a {
  position: relative;
  z-index: 1;
  display: block;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 450;
  color: var(--dim);
  white-space: nowrap;
  background: transparent;
  transition:
    color 0.3s var(--ease),
    font-weight 0.3s var(--ease),
    font-variation-settings 0.3s var(--ease);
  font-variation-settings: "wght" 450;
}
.nav-drop__menu a:hover {
  color: var(--text);
  background: transparent;
  font-weight: 600;
  font-variation-settings: "wght" 600;
}
.nav-drop__menu a.is-current {
  color: var(--text);
  font-weight: 600;
  font-variation-settings: "wght" 600;
}

.nav-right { display: flex; align-items: center; gap: 12px; flex: none; }

/* theme toggle */
.toggle {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--hairline); color: var(--text);
  transition: background 0.3s, border-color 0.3s, transform 0.5s var(--ease);
}
.toggle:hover { background: var(--ghost-hover); }
.toggle:active { transform: scale(0.92) rotate(35deg); }
.toggle svg { width: 18px; height: 18px; }
.toggle .ico-sun { display: none; }
html[data-theme="light"] .toggle .ico-sun { display: block; }
html[data-theme="light"] .toggle .ico-moon { display: none; }

/* primary nav CTA — flex-centered so text never misaligns */
.btn-pill {
  display: inline-flex; align-items: center; justify-content: center;
  height: 36px; padding: 0 18px; border-radius: 999px; line-height: 1;
  font-size: 13.5px; font-weight: 500; letter-spacing: -0.01em;
  background: var(--fill); color: var(--fill-ink);
  transition: opacity 0.3s, transform 0.3s var(--ease);
}
.btn-pill:hover { opacity: 0.85; }
.btn-pill:active { transform: scale(0.96); }

.nav-burger { display: none; width: 28px; height: 28px; position: relative; }
.nav-burger span { position: absolute; left: 3px; right: 3px; height: 1.5px; background: var(--text); transition: 0.3s; }
.nav-burger span:nth-child(1){ top: 9px; } .nav-burger span:nth-child(2){ bottom: 9px; }
@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: fixed; top: var(--nav-h); left: 0; right: 0; transform: none;
    background: color-mix(in srgb, var(--bg) 94%, transparent);
    -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px);
    padding: 22px 30px 30px; gap: 20px; border-bottom: 1px solid var(--hairline); font-size: 19px;
  }
  .nav-links.open a { color: var(--text); }
  .nav-drop { width: 100%; }
  .nav-drop__trigger { font-size: 19px; width: 100%; justify-content: flex-start; }
  .nav-drop__menu {
    position: static; transform: none; padding: 0; margin-top: 4px;
    opacity: 1; visibility: visible; pointer-events: auto;
    display: none; min-width: 0;
  }
  .nav-drop__menu::before { display: none; }
  .nav-links.open .nav-drop.is-open .nav-drop__menu {
    display: block;
    animation: nav-drop-in 0.28s var(--ease);
  }
  .nav-drop__menu a { padding: 12px 0 12px 14px; font-size: 17px; }
}
@keyframes nav-drop-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; min-height: 100svh; background: var(--hero-bg);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  overflow: hidden; isolation: isolate;
  transition: background 0.5s var(--ease);
}
#field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; }
.hero-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 40%; z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom, transparent 0%, color-mix(in srgb, var(--hero-bg) 72%, transparent) 55%, var(--hero-bg) 100%); }
.hero-vignette { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(120% 78% at 50% 40%, transparent 42%, color-mix(in srgb, var(--hero-bg) 55%, transparent) 100%); }
.hero-inner { position: relative; z-index: 3; text-align: center; padding: 0 24px; display: flex; flex-direction: column; align-items: center; pointer-events: none; }
.hero-inner > * { pointer-events: auto; }
.hero-orb { width: 84px; height: 84px; border-radius: 50%; margin: 0 0 32px; overflow: hidden; background: var(--text);
  box-shadow: 0 0 0 1px var(--hairline-2), 0 24px 70px rgba(0,0,0,0.45); animation: floaty 7s ease-in-out infinite; }
.hero-orb img { width: 100%; height: 100%; object-fit: cover; }
html[data-theme="light"] .hero-orb img { filter: none; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.hero h1 { margin-bottom: 22px; }
.hero h1 .ln2 { display: block; color: var(--faint); }
.hero .lead { margin: 0 auto; }
.hero .lead.hero-lead {
  max-width: min(52rem, 94vw);
  line-height: 1.45;
  letter-spacing: -0.015em;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .hero .lead.hero-lead {
    white-space: normal;
    text-wrap: balance;
    font-size: clamp(17px, 4.2vw, 20px);
  }
}
.hero-actions { display: flex; gap: 14px; align-items: center; margin-top: 38px; flex-wrap: wrap; justify-content: center; }
.scroll-hint { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 3; font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); display: flex; flex-direction: column; align-items: center; gap: 10px; transition: opacity 0.5s var(--ease); }
.scroll-hint.hide { opacity: 0; pointer-events: none; }
.scroll-hint .line { width: 1px; height: 28px; background: linear-gradient(var(--faint), transparent); animation: drop 2.2s var(--ease) infinite; }
@keyframes drop { 0%{transform:scaleY(0);transform-origin:top;} 45%{transform:scaleY(1);transform-origin:top;} 55%{transform:scaleY(1);transform-origin:bottom;} 100%{transform:scaleY(0);transform-origin:bottom;} }
@media (max-width: 640px) { .scroll-hint { display: none; } }

/* =========================================================
   CONNECTIONS — ticker (right under hero)
   kinetic, non-uniform monochrome logo band
   ========================================================= */
.connections { padding: clamp(56px, 9vh, 96px) 0; position: relative; overflow: hidden; }
/* full-bleed: title pinned to the far left of the screen, count to the far right */
.conn-head { margin-bottom: 40px; display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; text-align: left; padding: 0 clamp(20px, 3.2vw, 48px); }
.conn-head .ttl { font-size: clamp(22px, 2.8vw, 32px); letter-spacing: -0.03em; font-weight: 600; line-height: 1.05; white-space: nowrap; }
.conn-head .lead { margin-top: 0; }
.conn-head .lead .n { font-variant-numeric: tabular-nums; color: var(--text); font-weight: 500; }
@media (max-width: 640px) { .conn-head { justify-content: flex-start; } .conn-head .ttl { white-space: normal; } }

/* ticker: rows of full-color app-icon pills, opposite directions, seamless */
/* vertical padding gives the hover-lift room so the row's overflow clip
   doesn't chop the top of a pill; the fade mask stays horizontal */
.ticker { position: relative; overflow: hidden; padding: 8px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker + .ticker { margin-top: 2px; }
/* the row holds two identical sets; each pill carries its own trailing gap
   (margin, not flex `gap`) so translateX(-50%) loops with no seam jump */
.tk-row { display: flex; align-items: center; width: max-content; will-change: transform; backface-visibility: hidden; transform: translate3d(0,0,0); animation: slide 52s linear infinite; }
.tk-row.rev { animation-direction: reverse; animation-duration: 64s; }
.ticker:hover .tk-row { animation-play-state: paused; }
@keyframes slide { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }

.pill {
  display: inline-flex; align-items: center; gap: 11px; flex: none;
  margin-right: 14px;
  padding: 9px 18px 9px 10px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--hairline);
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.pill:hover { background: var(--surface-2); border-color: var(--hairline-2); transform: translateY(-2px); }
.pill .lg { width: 34px; height: 34px; flex: none; overflow: hidden; border-radius: 8px; }
.pill .lg svg,
.pill .lg .ico,
.pill .lg .ico-mark { width: 100%; height: 100%; display: block; border-radius: 8px; object-fit: contain; }
.pill .lg .ico-mark,
.chip .lg .ico-mark {
  -webkit-mask-size: 72%;
  mask-size: 72%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
.pill .nm { font-size: 15px; font-weight: 450; letter-spacing: -0.01em; white-space: nowrap; }

.conn-foot { margin-top: 42px; display: flex; align-items: center; justify-content: center; gap: 22px; }

/* full list (revealed) */
.conn-all { display: none; margin-top: 50px; }
.conn-all.open { display: block; animation: fadeUp 0.6s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.cat { margin-bottom: 38px; }
.cat-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--hairline); }
.cat-head h3 { font-size: 18px; letter-spacing: -0.02em; }
.cat-head .n { font-family: var(--mono); font-size: 11px; color: var(--faint); }
.chip-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 9px; padding: 8px 15px 8px 9px; border-radius: 999px; background: var(--surface); border: 1px solid var(--hairline); transition: background 0.3s, border-color 0.3s; }
.chip:hover { background: var(--surface-2); border-color: var(--hairline-2); }
.chip .lg { width: 22px; height: 22px; flex: none; }
.chip .lg svg,
.chip .lg .ico,
.chip .lg .ico-mark { width: 100%; height: 100%; display: block; border-radius: 6px; object-fit: contain; }
.chip .nm { font-size: 14px; font-weight: 450; }

/* =========================================================
   WHAT IS ARLO  (value copy + iPhone, side by side)
   ========================================================= */
.what-grid { display: grid; grid-template-columns: 1fr 0.92fr; gap: clamp(40px, 6vw, 86px); align-items: center; }
@media (max-width: 900px) { .what-grid { grid-template-columns: 1fr; gap: 54px; justify-items: center; text-align: center; } }
.what-copy { max-width: 46ch; }
.what-copy .eyebrow { margin-bottom: 22px; }
.what-copy h2 {
  font-size: clamp(30px, 4.2vw, 52px); letter-spacing: -0.035em; line-height: 1.05;
  margin-bottom: 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 0.1em;
}
.what-copy h2 .what-h2-accent {
  font-style: normal; color: var(--faint); white-space: nowrap;
}
@media (max-width: 900px) {
  .what-copy h2 { align-items: center; }
}
@media (max-width: 380px) {
  .what-copy h2 .what-h2-accent { white-space: normal; }
}
.what-copy > .lead { margin-bottom: 30px; }
.what-copy .value { list-style: none; display: flex; flex-direction: column; gap: 16px; text-align: left; }
@media (max-width: 900px) { .what-copy .value { display: inline-flex; } }
.what-copy .value li { display: flex; gap: 13px; align-items: flex-start; font-size: 16.5px; color: var(--dim); line-height: 1.45; }
.what-copy .value li .k { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--text); margin-top: 8px; }
.what-copy .value li b { color: var(--text); font-weight: 600; }
.what-copy .what-more { margin-top: 30px; }
@media (max-width: 900px) { .what-copy .what-more { justify-content: center; } }

/* =========================================================
   DEMO — realistic iPhone / iMessage (iOS liquid glass)
   ========================================================= */
.imsg-glass {
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.94) 0%,
    rgba(255, 255, 255, 0.62) 48%,
    rgba(255, 255, 255, 0.82) 100%
  );
  -webkit-backdrop-filter: blur(26px) saturate(195%);
  backdrop-filter: blur(26px) saturate(195%);
  border: 0.5px solid rgba(255, 255, 255, 0.92);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 -0.5px 0 rgba(0, 0, 0, 0.03) inset,
    0 2px 10px rgba(0, 0, 0, 0.05),
    0 0.5px 2px rgba(0, 0, 0, 0.04);
}
/* Circular glass controls — bright white, soft edge (back / FaceTime / +) */
.phone .imsg-glass-control {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0.92) 100%
  );
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border: 0.5px solid rgba(0, 0, 0, 0.07);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 2px 6px rgba(0, 0, 0, 0.05),
    0 4px 12px rgba(0, 0, 0, 0.06);
}
.demo-wrap { display: grid; grid-template-columns: 1fr 0.92fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .demo-wrap { grid-template-columns: 1fr; gap: 50px; justify-items: center; text-align: center; } }
.demo-copy { max-width: 42ch; }
.demo-copy h2 { margin-bottom: 20px; }
.demo-copy .lead { color: var(--dim); }
.demo-copy ul { list-style: none; margin-top: 30px; display: flex; flex-direction: column; gap: 15px; text-align: left; }
.demo-copy li { display: flex; gap: 13px; align-items: flex-start; font-size: 16px; color: var(--dim); }
.demo-copy li b { color: var(--text); font-weight: 500; }
.demo-copy li .k { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--text); margin-top: 9px; }

.phone-stage { display: flex; justify-content: center; }
.phone {
  width: 332px; height: 686px; border-radius: 54px; padding: 12px; position: relative; flex: none;
  background: linear-gradient(150deg, #2a2a2e, #0b0b0d 55%);
  box-shadow: 0 0 0 2px #38383c, 0 1px 1px 3px #0a0a0c, 0 60px 120px -30px rgba(0,0,0,0.7), 0 30px 60px -40px rgba(0,0,0,0.5);
}
@media (max-width: 380px) { .phone { transform: scale(0.84); margin: -54px 0; } }
.phone-screen {
  width: 100%; height: 100%; border-radius: 43px; overflow: hidden;
  background: var(--imsg-screen); position: relative; display: flex; flex-direction: column;
  contain: layout style;
}
/* dynamic island */
.island { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 96px; height: 30px; background: #000; border-radius: 999px; z-index: 8; }

/* status bar — sits on same white chrome as the thread */
.statusbar {
  position: absolute; top: 0; left: 0; right: 0; height: 50px; z-index: 7;
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 22px 0 28px; font-size: 15px; font-weight: 600; color: #000;
  background: transparent; pointer-events: none;
}
.statusbar .time { letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.statusbar .stat-ico { display: flex; align-items: center; gap: 5px; }
.statusbar .stat-ico svg { display: block; }

/* iMessage header — flat white, no frosted gray bar */
.msg-head {
  position: relative; z-index: 5; flex: none;
  padding: 44px 8px 4px; background: #fff;
  border-bottom: none;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  grid-template-rows: 44px auto;
  gap: 0;
}
.msg-head .hbtn {
  grid-row: 1;
  align-self: center;
  justify-self: center;
  width: 42px; height: 42px; border-radius: 50%;
  color: #000; display: grid; place-items: center;
  margin: 0;
}
.msg-head .back { grid-column: 1; }
.msg-head .facetime { grid-column: 3; }
.msg-head .hbtn svg { width: 18px; height: 18px; display: block; }
.msg-head .facetime svg { width: 21px; height: 21px; }
.msg-head .who {
  grid-row: 1 / -1; grid-column: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  gap: 6px; padding-bottom: 0;
}
.msg-head .who .av {
  width: 52px; height: 52px; border-radius: 50%; overflow: hidden;
  background: #fff; box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.06);
}
.msg-head .who .av img { width: 100%; height: 100%; object-fit: cover; }
.msg-head .who .nm-pill {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 5px 14px; border-radius: 999px; min-height: 28px;
}
.msg-head .who .nm {
  font-size: 13px; font-weight: 600; color: #000; letter-spacing: -0.02em;
  display: inline-flex; align-items: center; gap: 3px; line-height: 1;
}
.msg-head .who .chev { font-size: 12px; color: #8e8e93; font-weight: 600; margin-top: -1px; }

/* thread */
.thread {
  flex: 1; overflow-y: auto; overflow-x: hidden;
  padding: 0 12px 12px; display: flex; flex-direction: column; gap: 2px;
  background: var(--imsg-screen); scrollbar-width: none; text-align: left;
  position: relative; z-index: 4; min-height: 0;
  overflow-anchor: none;
  overscroll-behavior: contain;
}
.phone-screen,
.phone {
  overscroll-behavior: contain;
}
.thread::-webkit-scrollbar { display: none; }
.row-label {
  align-self: center; font-size: 11px; color: #8e8e93;
  margin: 4px 0 10px; font-weight: 500; flex: none;
}
.thread > .bubble:first-child,
.thread > .bubble.grp:first-child { margin-top: 6px; }
.row-label b { color: #6c6c70; font-weight: 600; }

.bubble {
  position: relative; max-width: 72%; padding: 9px 15px; font-size: 16px; line-height: 1.32;
  letter-spacing: -0.01em; word-wrap: break-word; border-radius: 20px;
  opacity: 0; transform: translateY(12px) scale(0.9);
  animation: bubblePop 0.46s var(--ease) forwards;
}
.bubble.grp { margin-top: 3px; }
.bubble.gap { margin-top: 8px; }
@keyframes bubblePop { 0% { opacity: 0; transform: translateY(12px) scale(0.9); } 60% { transform: translateY(0) scale(1.015); } 100% { opacity: 1; transform: translateY(0) scale(1); } }
.bubble.them { align-self: flex-start; background: var(--imsg-in); color: #000; transform-origin: bottom left; }
.bubble.me { align-self: flex-end; background: var(--blue); color: #fff; transform-origin: bottom right; }
/* iOS tails — only on the last bubble of a same-sender group.
   ::before draws the bulge in the bubble colour; ::after carves it back
   with the (always-white) screen colour. Both share bottom:0 + integer
   sizes so there's no sub-pixel sliver. */
.bubble.them.tail { border-bottom-left-radius: 8px; }
.bubble.them.tail::before { content: ""; position: absolute; z-index: -1; bottom: 0; left: -8px; width: 20px; height: 20px; background: var(--imsg-in); border-bottom-right-radius: 16px; }
.bubble.them.tail::after { content: ""; position: absolute; z-index: -1; bottom: 0; left: -19px; width: 19px; height: 20px; background: var(--imsg-screen); border-bottom-right-radius: 12px; }
.bubble.me.tail { border-bottom-right-radius: 8px; }
.bubble.me.tail::before { content: ""; position: absolute; z-index: -1; bottom: 0; right: -8px; width: 20px; height: 20px; background: var(--blue); border-bottom-left-radius: 16px; }
.bubble.me.tail::after { content: ""; position: absolute; z-index: -1; bottom: 0; right: -19px; width: 19px; height: 20px; background: var(--imsg-screen); border-bottom-left-radius: 12px; }

.delivered { align-self: flex-end; font-size: 11px; color: #8e8e93; margin: 3px 4px 4px 0; font-weight: 500; opacity: 0; animation: fadeIn 0.4s forwards; }
.delivered b { color: #6c6c70; font-weight: 600; }
@keyframes fadeIn { to { opacity: 1; } }

.typing { align-self: flex-start; background: var(--imsg-in); padding: 13px 16px; border-radius: 20px; border-bottom-left-radius: 6px; display: inline-flex; gap: 5px; position: relative; opacity: 0; animation: bubblePop 0.34s var(--ease) forwards; }
.typing::before { content: ""; position: absolute; z-index: -1; bottom: 0; left: -8px; width: 20px; height: 20px; background: var(--imsg-in); border-bottom-right-radius: 16px; }
.typing::after { content: ""; position: absolute; z-index: -1; bottom: 0; left: -19px; width: 19px; height: 20px; background: var(--imsg-screen); border-bottom-right-radius: 12px; }
.typing span { width: 8px; height: 8px; border-radius: 50%; background: #a3a3a9; animation: tdot 1.35s infinite ease-in-out; }
.typing span:nth-child(2){ animation-delay: 0.18s; } .typing span:nth-child(3){ animation-delay: 0.36s; }
@keyframes tdot { 0%,60%,100% { opacity: 0.4; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-4px); } }

/* input bar — white chrome, liquid glass controls */
.msg-input {
  flex: none; padding: 8px 11px 20px; background: #fff;
  border-top: none; display: flex; align-items: center; gap: 8px;
}
.msg-input .plus {
  width: 42px; height: 42px; border-radius: 50%;
  color: #000; display: grid; place-items: center; flex: none;
}
.msg-input .plus svg { width: 20px; height: 20px; display: block; }
.msg-input .box {
  flex: 1; min-height: 38px; border-radius: 999px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 6px 0 16px;
}
.msg-input .box .ph { color: #aeaeb2; font-size: 16px; letter-spacing: -0.02em; }
.msg-input .box .mic {
  width: 30px; height: 30px; border-radius: 50%;
  color: #8e8e93; display: grid; place-items: center; flex: none;
}
.msg-input .box .mic svg { width: 20px; height: 20px; display: block; }


/* =========================================================
   PRICING / SUBSCRIBE
   ========================================================= */
.price-head { text-align: center; max-width: 600px; margin: 0 auto 56px; }
.price-head h2 { text-wrap: balance; }
.sub-grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--hairline); border-radius: 26px; overflow: hidden; max-width: 920px; margin: 0 auto; }
@media (max-width: 820px) { .sub-grid { grid-template-columns: 1fr; } }
.sub-left { padding: 52px 46px; background: var(--surface); }
.sub-right { padding: 52px 46px; background: var(--surface-2); display: flex; flex-direction: column; }
@media (max-width: 520px) { .sub-left, .sub-right { padding: 38px 26px; } }
.trial { display: inline-block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bg); background: var(--text); padding: 6px 12px; border-radius: 999px; margin-bottom: 24px; }
.price-row { display: flex; align-items: flex-end; gap: 10px; margin-bottom: 6px; }
.price-row .amt { font-size: 60px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.price-row .per { font-size: 16px; color: var(--dim); padding-bottom: 8px; }
.sub-left ul { list-style: none; margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.sub-left li { display: flex; gap: 12px; font-size: 15.5px; color: var(--dim); align-items: center; }
.sub-left li .ck { flex: none; width: 17px; height: 17px; }
.form-lead { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 8px; }
.form-note { font-size: 14px; color: var(--dim); margin-bottom: 24px; line-height: 1.45; }
.field label { display: block; font-size: 12px; color: var(--faint); margin-bottom: 8px; letter-spacing: 0.02em; }
.field .inp { width: 100%; height: 54px; border-radius: 14px; background: var(--bg); border: 1px solid var(--hairline-2); color: var(--text); font-size: 17px; padding: 0 16px; font-family: inherit; transition: border-color 0.3s; outline: none; }
.field .inp::placeholder { color: var(--faint); }
.field .inp:focus { border-color: var(--text); }
.field .inp.err { border-color: #ff453a; animation: shake 0.4s; }
@keyframes shake { 0%,100%{transform:translateX(0);} 20%,60%{transform:translateX(-6px);} 40%,80%{transform:translateX(6px);} }
.err-msg { font-size: 13px; color: #ff6961; margin: 8px 0 0; min-height: 16px; opacity: 0; transition: opacity 0.3s; }
.err-msg.show { opacity: 1; }
.btn-submit { width: 100%; height: 54px; border-radius: 14px; margin-top: 16px; background: var(--fill); color: var(--fill-ink); font-size: 17px; font-weight: 500; transition: transform 0.3s var(--ease), opacity 0.3s; }
.btn-submit:disabled { opacity: 0.65; cursor: wait; }
.btn-submit:hover { opacity: 0.9; } .btn-submit:active { transform: scale(0.985); }
.fine { font-size: 12.5px; color: var(--faint); margin-top: 16px; line-height: 1.5; text-align: center; }
.fine a { color: var(--dim); text-decoration: underline; text-underline-offset: 2px; }
.sub-success { display: none; flex-direction: column; align-items: center; justify-content: center; text-align: center; flex: 1; }
.sub-success.show { display: flex; animation: fadeUp 0.5s var(--ease); }
.sub-success .check { width: 62px; height: 62px; border-radius: 50%; background: var(--text); display: grid; place-items: center; margin-bottom: 22px; }
.sub-success .check svg { stroke: var(--bg); }
.sub-success h3 { font-size: 24px; margin-bottom: 12px; }
.sub-success p { font-size: 15.5px; color: var(--dim); max-width: 30ch; line-height: 1.5; }
.sub-success .num { margin-top: 20px; font-family: var(--mono); font-size: 15px; background: var(--bg); border: 1px solid var(--hairline); padding: 12px 18px; border-radius: 12px; letter-spacing: 0.04em; }
.price-from { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); margin-bottom: 4px; }
.price-anchor-note { font-size: 15px; color: var(--dim); line-height: 1.5; margin-top: 10px; max-width: 28ch; }
.price-anchor-note a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }
.price-anchor-note strong { color: var(--text); font-weight: 600; }

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 2vw, 18px);
  max-width: 1080px;
  margin: 0 auto clamp(40px, 6vh, 56px);
  align-items: stretch;
}
@media (max-width: 900px) {
  .plan-grid { grid-template-columns: 1fr; max-width: 420px; }
}
.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3.5vw, 36px) clamp(22px, 2.8vw, 28px);
  border-radius: 22px;
  border: 1px solid var(--hairline);
  background: var(--surface);
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}
.plan-card:hover { border-color: var(--hairline-2); transform: translateY(-2px); }
.plan-card--featured {
  border-color: var(--text);
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.06);
}
[data-theme="dark"] .plan-card--featured { box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35); }
.plan-card__badge {
  position: absolute;
  top: 18px;
  right: 18px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
}
.plan-card__name { font-size: 15px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 4px; }
.plan-card__tag { font-size: 13.5px; color: var(--dim); line-height: 1.4; margin-bottom: 20px; min-height: 2.8em; }
.plan-card .price-row { margin-bottom: 0; }
.plan-card .price-row .amt { font-size: clamp(40px, 4.5vw, 48px); }
.plan-card .price-row .per { font-size: 14px; padding-bottom: 6px; }
.plan-card__trial { font-size: 13px; color: var(--faint); margin-top: 8px; margin-bottom: 22px; }
.plan-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
  margin: 0 0 22px;
  padding: 0;
}
.plan-card__features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--dim);
  line-height: 1.4;
}
.plan-card__features .ck { flex: none; width: 16px; height: 16px; margin-top: 2px; }
.plan-card__features li.is-muted { color: var(--faint); }
.plan-card__cta {
  display: block;
  text-align: center;
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--hairline-2);
  color: var(--text);
  background: var(--bg);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background 0.3s var(--ease);
}
.plan-card__cta:hover { opacity: 0.92; transform: translateY(-1px); }
.plan-card--featured .plan-card__cta {
  background: var(--fill);
  color: var(--fill-ink);
  border-color: transparent;
}
.plan-card.is-selected {
  border-color: var(--text);
  box-shadow: 0 0 0 1px var(--text);
}
.plan-signup-wrap { max-width: 920px; margin: 0 auto; }
.plan-signup-wrap .sub-grid { margin-top: 0; }
.checkout-plan-pick { font-size: 15px; color: var(--dim); margin: 16px 0 20px; }
.checkout-plan-pick strong { color: var(--text); font-weight: 600; }

/* Checkout — order summary + payment (not pricing cards) */
.checkout-page-body {
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 42%, var(--bg) 100%);
}
.checkout-shell {
  max-width: 920px;
  margin: 0 auto;
  padding-bottom: clamp(56px, 10vh, 96px);
}
.checkout-top {
  margin-bottom: clamp(28px, 4vh, 40px);
}
.checkout-back {
  display: inline-block;
  font-size: 14px;
  color: var(--dim);
  text-decoration: none;
  margin-bottom: 16px;
}
.checkout-back:hover { color: var(--text); }
.checkout-page-title {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 600;
  letter-spacing: -0.035em;
  margin: 0 0 20px;
  line-height: 1.1;
}
.checkout-tier-switch {
  display: inline-flex;
  gap: 0;
  padding: 4px;
  border-radius: 12px;
  border: 1px solid var(--hairline);
  background: var(--bg);
}
.checkout-tier-switch a {
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: var(--dim);
  border-radius: 9px;
  transition: background 0.2s, color 0.2s;
}
.checkout-tier-switch a.is-active {
  color: var(--fill-ink);
  background: var(--fill);
}
.checkout-split {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 380px);
  gap: clamp(20px, 3vw, 28px);
  align-items: start;
}
@media (max-width: 768px) {
  .checkout-split { grid-template-columns: 1fr; }
  .checkout-pay { order: -1; }
}
.checkout-order {
  padding: clamp(24px, 4vw, 32px);
  border-radius: 16px;
  border: 1px solid var(--hairline);
  background: var(--bg);
}
.checkout-order-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 0 0 12px;
}
.checkout-order-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: clamp(26px, 3.5vw, 32px);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 6px;
  line-height: 1.15;
}
.checkout-order-badge {
  display: none;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  vertical-align: middle;
}
.checkout-order-price {
  margin: 0 0 10px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.checkout-order-amt {
  font-size: clamp(32px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.03em;
}
.checkout-order-cycle {
  font-size: 15px;
  color: var(--dim);
}
.checkout-order-tag {
  font-size: 15px;
  color: var(--dim);
  line-height: 1.5;
  margin: 0 0 24px;
  max-width: 36ch;
}
.checkout-order-lines {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--hairline);
}
.checkout-order-line {
  padding: 12px 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 14px;
  color: var(--text);
  line-height: 1.4;
}
.checkout-order-line:last-child { border-bottom: none; }
.checkout-order-note {
  margin: 20px 0 0;
  font-size: 13px;
  color: var(--faint);
}
.checkout-pay {
  padding: clamp(24px, 4vw, 32px);
  border-radius: 16px;
  border: 1px solid var(--hairline-2);
  background: var(--surface);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}
[data-theme="dark"] .checkout-pay {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}
.checkout-pay-heading {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.checkout-pay-lead {
  font-size: 15px;
  color: var(--dim);
  line-height: 1.5;
  margin: 0 0 22px;
}
.checkout-pay-form { margin: 0; }
.inp--checkout {
  font-size: 17px;
  padding: 14px 16px;
}
.btn-submit--checkout {
  width: 100%;
  margin-top: 4px;
}
.checkout-pay-next {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--faint);
  line-height: 1.45;
}
.checkout-pay-alt {
  margin: 16px 0 0;
  font-size: 14px;
}
.checkout-pay-alt a { color: var(--dim); text-decoration: underline; text-underline-offset: 3px; }
.checkout-pay-alt a:hover { color: var(--text); }
.checkout-pay-legal {
  margin-top: 18px;
  font-size: 12px;
  text-align: left;
}
.checkout-footer-min {
  padding: 20px 0 32px;
  border-top: none;
}
.footer-min-copy {
  font-size: 12px;
  color: var(--faint);
}

/* =========================================================
   FAQ
   ========================================================= */
.faq-grid { max-width: 760px; margin: 50px auto 0; }
.faq-item { border-top: 1px solid var(--hairline); }
.faq-item:last-child { border-bottom: 1px solid var(--hairline); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 4px; text-align: left; font-size: clamp(16px, 2vw, 20px); font-weight: 500; letter-spacing: -0.01em; }
.faq-q .pm { flex: none; width: 24px; height: 24px; position: relative; }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; background: var(--dim); transition: transform 0.4s var(--ease), opacity 0.3s; }
.faq-q .pm::before { left: 50%; top: 3px; bottom: 3px; width: 1.5px; transform: translateX(-50%); }
.faq-q .pm::after { top: 50%; left: 3px; right: 3px; height: 1.5px; transform: translateY(-50%); }
.faq-item.open .pm::before { transform: translateX(-50%) scaleY(0); opacity: 0; }
.faq-a { overflow: hidden; height: 0; transition: height 0.45s var(--ease); }
.faq-a-inner { padding: 0 4px 26px; font-size: 16px; color: var(--dim); line-height: 1.55; max-width: 62ch; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { padding: 60px 0 46px; border-top: 1px solid var(--hairline); }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.footer .brand { font-size: 21px; }
.footer .tagline { font-size: 14px; color: var(--faint); margin-top: 12px; max-width: 28ch; line-height: 1.5; }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; font-size: 14px; }
.footer-links a { color: var(--dim); transition: color 0.25s; }
.footer-links a:hover { color: var(--text); }
.footer-bottom { margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--hairline); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--faint); }

/* =========================================================
   SUB-PAGES (Connections / What it is / Pricing)
   ========================================================= */
.page { padding-top: calc(var(--nav-h) + clamp(46px, 9vh, 104px)); }
.page-head { text-align: center; max-width: 760px; margin: 0 auto; padding: 0 24px; }
.page-head .eyebrow { margin-bottom: 22px; }
.page-head h1 { font-size: clamp(40px, 6.4vw, 84px); letter-spacing: -0.045em; line-height: 1.0; }
.page-head .lead { margin: 24px auto 0; max-width: 54ch; }
.page-body { padding: clamp(48px, 8vh, 96px) 0 clamp(70px, 11vh, 130px); }

/* connections page — always-visible categorized list */
.conn-list { display: block; }
.conn-list .cat:last-child { margin-bottom: 0; }

/* value cards (what-it-is page) */
.val-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 2vw, 26px); }
@media (max-width: 720px) { .val-grid { grid-template-columns: 1fr; } }
.val-card { padding: clamp(26px, 3vw, 38px); border: 1px solid var(--hairline); border-radius: 22px; background: var(--surface); transition: border-color 0.3s, transform 0.4s var(--ease); }
.val-card:hover { border-color: var(--hairline-2); transform: translateY(-3px); }
.val-card .k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); display: block; }
.val-card h3 { font-size: clamp(21px, 2.4vw, 27px); letter-spacing: -0.025em; margin: 14px 0 12px; }
.val-card p { color: var(--dim); font-size: 16px; line-height: 1.55; }

/* shared bottom call-to-action */
.cta { text-align: center; padding: clamp(60px, 10vh, 120px) 0; border-top: 1px solid var(--hairline); }
.cta h2 { font-size: clamp(30px, 4.4vw, 56px); letter-spacing: -0.035em; line-height: 1.04; max-width: 18ch; margin: 0 auto 30px; }
.cta-compact { padding: clamp(48px, 7vh, 80px) 0; }
.cta-compact .cta-eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); margin: 0 0 14px; }
.cta-compact h2 { font-size: clamp(24px, 3.2vw, 38px); max-width: 26ch; margin-bottom: 22px; }

/* =========================================================
   CONVERTER PAGES — What it is / Connections
   ========================================================= */
.page-what .page-intro,
.page-conn .page-intro {
  text-align: left;
  max-width: none;
  margin: 0;
  padding: 0 0 clamp(56px, 9vh, 88px);
}
.page-what .page-intro .lead,
.page-conn .page-intro .lead {
  margin: 20px 0 0;
  max-width: 52ch;
}
.page-intro .eyebrow { margin-bottom: 22px; }
.page-what .page-intro h1,
.page-conn .page-intro h1 {
  font-size: clamp(40px, 5.2vw, 72px);
  letter-spacing: -0.045em;
  line-height: 1.02;
}
.page-what .page-intro h1 { max-width: 16ch; }
.page-conn .page-intro h1 {
  max-width: none;
  text-wrap: balance;
}
@media (min-width: 720px) {
  .page-conn .page-intro h1 { white-space: nowrap; }
}
@media (max-width: 520px) {
  .page-conn .page-intro h1 {
    font-size: clamp(34px, 9vw, 44px);
  }
}

.page-conn .conn-list {
  padding-bottom: clamp(72px, 11vh, 108px);
}
.page-conn .cat {
  margin-bottom: clamp(44px, 5vh, 60px);
}
.page-conn .chip-cloud { gap: 12px 14px; }

.what-contrast {
  padding: 0 0 clamp(64px, 10vh, 100px);
}
.contrast-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 3vw, 36px);
  width: 100%;
}
@media (max-width: 720px) { .contrast-grid { grid-template-columns: 1fr; } }
.contrast-col {
  padding: clamp(32px, 3.5vw, 44px); border-radius: 22px;
  border: 1px solid var(--hairline); background: transparent;
}
.contrast-col.highlight { border-color: var(--hairline-2); }
.contrast-col .clabel {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--faint); display: block; margin-bottom: 18px;
}
.contrast-col.highlight .clabel { color: var(--text); }
.contrast-col ul { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.contrast-col li {
  font-size: 15.5px; line-height: 1.45; color: var(--dim);
  padding-left: 22px; position: relative;
}
.contrast-col.contrast-before li::before {
  content: "×";
  position: absolute; left: 0; top: 0;
  width: 16px; font-size: 14px; font-weight: 500; line-height: 1.45;
  color: var(--faint);
}
.contrast-col.highlight li { color: var(--text); }
.contrast-col.highlight li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  width: 18px; font-size: 14px; font-weight: 600; line-height: 1.45;
  color: var(--text);
}

.what-strip {
  padding: 0 0 clamp(72px, 11vh, 108px);
}
.what-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 40px);
  width: 100%;
  text-align: center;
  justify-items: center;
}
@media (max-width: 820px) {
  .what-strip-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .what-strip-inner { grid-template-columns: 1fr; max-width: 280px; margin: 0 auto; }
}
.what-strip .stat {
  font-size: 15px; color: var(--dim); letter-spacing: -0.01em; line-height: 1.45;
  max-width: 20ch;
}
.what-strip .stat b {
  display: block; font-size: clamp(20px, 2.2vw, 26px); font-weight: 600;
  color: var(--text); letter-spacing: -0.03em; margin-bottom: 6px;
}

.page-conn .page-body {
  padding: 0 0 clamp(72px, 11vh, 108px);
}

/* legal (terms / privacy) */
.page-legal { padding-bottom: clamp(80px, 12vh, 120px); }
.legal-doc { max-width: 42rem; margin: 0 auto; }
.legal-doc h1 {
  font-size: clamp(34px, 5vw, 48px); letter-spacing: -0.04em; line-height: 1.05;
}
.legal-updated { margin-top: 14px; font-size: 15px; color: var(--faint); }
.legal-doc section { margin-top: 36px; }
.legal-doc h2 {
  font-size: 20px; letter-spacing: -0.02em; margin-bottom: 10px;
}
.legal-doc p,
.legal-doc li {
  font-size: 16px; line-height: 1.6; color: var(--dim);
}
.legal-doc ul { margin-top: 10px; padding-left: 1.25rem; display: flex; flex-direction: column; gap: 8px; }
.legal-doc a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.legal-doc a:hover { opacity: 0.85; }

/* Integrated page close — copy + Arlo contact card */
.page-close {
  padding: clamp(72px, 11vh, 120px) 0 clamp(88px, 13vh, 140px);
}
.page-close-grid {
  display: grid;
  grid-template-columns: 1fr minmax(272px, 320px);
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 920px) {
  .page-close-grid {
    grid-template-columns: 1fr;
    gap: clamp(48px, 8vh, 64px);
  }
  .page-close-copy { text-align: center; }
  .page-close-copy h2,
  .page-close-copy .sub { margin-left: auto; margin-right: auto; }
  .page-close-actions { justify-content: center; }
  .page-close-note { text-align: center; }
  .arlo-id-card { margin: 0 auto; width: 100%; max-width: 340px; }
}
.page-close-copy { text-align: left; min-width: 0; }
.page-close-copy h2 {
  font-size: clamp(32px, 4.5vw, 56px); letter-spacing: -0.038em;
  line-height: 1.05; text-wrap: balance; max-width: 18ch;
}
.page-close-copy .sub {
  margin-top: 22px; font-size: clamp(17px, 1.6vw, 20px);
  color: var(--dim); line-height: 1.55; max-width: 46ch;
}
.page-close-actions {
  margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px 20px;
  justify-content: flex-start; align-items: center;
}
.page-close-actions .btn-fill { min-width: 200px; }
.page-close-actions .btn-ghost { color: var(--dim); padding: 0 4px; }
.page-close-actions .btn-ghost:hover { color: var(--text); }
.page-close-note {
  margin-top: 28px; font-size: 14px; color: var(--faint); letter-spacing: -0.01em;
}

/* Arlo contact / ID card (subpages) */
.arlo-id-card {
  position: relative;
  width: 100%;
  padding: clamp(28px, 3vw, 34px);
  border-radius: 24px;
  border: 1px solid var(--hairline);
  background: linear-gradient(165deg, var(--surface-2) 0%, var(--surface) 42%, var(--bg) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 24px 48px -28px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  text-align: left;
}
html[data-theme="light"] .arlo-id-card {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 28px 56px -32px rgba(0, 0, 0, 0.12);
}
.arlo-id-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--text) 20%, var(--text) 80%, transparent);
  opacity: 0.12;
}
.arlo-id-card__id {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 22px;
}
.arlo-id-card__hero {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}
.arlo-id-card__avatar {
  width: 76px;
  height: 76px;
  flex: none;
  border-radius: 50%;
  overflow: hidden;
  background: var(--text);
  box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px var(--hairline);
}
.arlo-id-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.arlo-id-card__who { min-width: 0; flex: 1; }
.arlo-id-card__name {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.arlo-id-card__role {
  margin-top: 5px;
  font-size: 14px;
  color: var(--dim);
  letter-spacing: -0.01em;
}
.arlo-id-card__channel {
  display: inline-block;
  margin-top: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--hairline);
}
.arlo-id-card__meta {
  display: flex;
  flex-direction: column;
  margin-top: 4px;
  border-top: 1px solid var(--hairline);
}
.arlo-id-card__row {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid var(--hairline);
}
.arlo-id-card__row:last-child { border-bottom: none; padding-bottom: 0; }
.arlo-id-card__row dt {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}
.arlo-id-card__row dd {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
  text-align: right;
}
.arlo-id-card__foot {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px dashed var(--hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.arlo-id-card__status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 500;
  color: var(--dim);
}
.arlo-id-card__status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #30d158;
  box-shadow: 0 0 0 3px rgba(48, 209, 88, 0.2);
}
.arlo-id-card__save {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--fill-ink);
  background: var(--fill);
  text-decoration: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.arlo-id-card__save:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

/* =========================================================
   reveal
   ========================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; } .reveal.d2 { transition-delay: 0.16s; } .reveal.d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .tk-row { animation: none !important; }
}
