/* Still home page (/): home-only styles. Shared tokens, nav, buttons and tiles are in /css/theme.css. */
/* Hero */
.hm-hero { position: relative; display: grid; gap: 1.5rem; padding: 1.25rem 1.1rem 2.5rem; max-width: 1240px; margin: 0 auto; }
.hm-chip { display: inline-flex; align-items: center; gap: 0.55rem; margin-bottom: 1.1rem; padding: 0.45rem 1rem 0.45rem 0.8rem; border-radius: 999px; background: var(--lime); border: 2px solid var(--ink); font-weight: 700; font-size: 0.9375rem; text-decoration: none; }
.hm-chip::before { content: ""; width: 0.65rem; height: 0.65rem; border-radius: 50%; background: var(--ink); }
.hm-chip:hover { background: var(--yellow); }
.hm-hero h1 { font-size: clamp(2.6rem, 11vw, 4.9rem); text-transform: uppercase; line-height: 0.95; letter-spacing: -0.035em; isolation: isolate; }
.hl-violet { color: var(--violet); }
.hl-lime { background: var(--lime); border-radius: 0.2em; padding: 0 0.12em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
/* Hero: lime sits behind every headline line (tight 0.95 line-height would otherwise cover glyphs above). Hang the left padding so ENDLESS aligns with the text column, not the highlight. */
.hm-hero .hl-lime { position: relative; left: -0.12em; background: none; }
.hm-hero .hl-lime::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--lime); border-radius: 0.2em; }
.hl-pink { background: var(--pink); border-radius: 0.2em; padding: 0 0.14em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hm-lead { margin-top: 1.4rem; max-width: 36rem; font-size: 1.1875rem; line-height: 1.5; }
.hm-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.1rem; margin-top: 1.5rem; }
.hm-badge { display: inline-block; line-height: 0; border-radius: var(--hm-badge-radius); overflow: hidden; transition: transform 0.18s ease; }
.hm-badge img { display: block; width: 168px; height: auto; }
/* More specific than body.pg a:focus-visible so the outline follows the badge radius, not the global 12px. */
body.pg .hm-badge:focus-visible { outline: 4px solid var(--hotpink); outline-offset: 3px; border-radius: var(--hm-badge-radius); }
.hm-small { margin-top: 1rem; font-size: 0.9375rem; color: #3a3566; }

.hm-hero-art { position: relative; display: flex; justify-content: center; align-items: center; min-height: 440px; padding: 1rem 0; border-radius: var(--radius); background: var(--violet); overflow: hidden; }
.hm-phone { position: relative; z-index: 2; width: min(62vw, 250px); height: auto; transform: rotate(-4deg); filter: drop-shadow(0 18px 0 rgba(27, 23, 64, 0.28)); }
.hm-phone text { font-family: var(--heading); font-weight: 800; fill: var(--ink); }
.p-t1 { font-size: 24px; }
.p-t2 { font-size: 13px; font-weight: 700 !important; }
.p-btn { font-size: 15px; }
.p-btn-l { fill: #fff !important; }
.hm-sticker { position: absolute; z-index: 3; line-height: 0; }
.hm-sticker svg { width: 100%; height: auto; display: block; }
.st-star { width: 82px; left: 8%; top: 9%; transform: rotate(-12deg); }
.st-squig { width: 110px; right: 6%; bottom: 12%; transform: rotate(8deg); }
.st-dot { width: 56px; height: 56px; right: 12%; top: 10%; border-radius: 50%; background: var(--hotpink); border: 4px solid var(--ink); }
.st-blocked { left: 4%; bottom: 20%; padding: 0.55rem 0.95rem; border-radius: 999px; background: var(--coral); border: 3px solid var(--ink); color: var(--ink); font-family: var(--heading); font-weight: 800; font-size: 0.9375rem; line-height: 1.2; transform: rotate(-7deg); }

/* Ticker */
.hm-ticker { overflow: hidden; background: var(--ink); color: var(--lime); border-block: 3px solid var(--ink); }
.hm-ticker-track { display: flex; width: max-content; padding: 0.85rem 0; font-family: var(--heading); font-weight: 800; font-size: clamp(1.4rem, 4.5vw, 2.2rem); text-transform: uppercase; letter-spacing: -0.01em; white-space: nowrap; }
.hm-ticker-track span { display: inline-flex; align-items: center; gap: 1.4rem; padding-right: 1.4rem; }
.hm-ticker-track i { font-style: normal; color: var(--hotpink); }

.hm-intro { padding-top: 2.5rem; }
.hm-statement { padding: 2rem 1.5rem; }
.hm-statement .hm-big { font-family: var(--heading); font-size: clamp(1.7rem, 6.2vw, 3.1rem); font-weight: 500; line-height: 1.12; letter-spacing: -0.02em; }
.hm-statement .hm-big strong { font-weight: 800; }
.hm-statement .hm-body { margin-top: 1.4rem; max-width: 40rem; }

.hm-violet { background: var(--violet); color: #fff; }
.hm-violet .hm-h2 { margin-bottom: 1.6rem; }
.hm-violet .hm-tile { color: var(--ink); }
.hm-grid { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
.hm-ico { display: inline-flex; align-items: center; justify-content: center; width: 84px; height: 84px; margin-bottom: 1.1rem; border-radius: 50%; background: var(--ink); }
.hm-ico svg { width: 46px; height: 46px; fill: var(--yellow); }
.hm-list { margin: 0; padding-left: 1.2rem; }
.hm-list li { margin-bottom: 0.45rem; }

.hm-navy { background: var(--ink); color: #fff; }
.hm-navy .hm-kicker { margin-bottom: 0.6rem; }
.hm-bubbles { display: grid; gap: 1.1rem; margin-top: 2rem; }
.hm-bubble { margin: 0; padding: 1.5rem; border-radius: 28px 28px 28px 6px; background: var(--cream); color: var(--ink); }
.hm-bubble.b2 { background: var(--pink); border-radius: 28px 28px 6px 28px; }
.hm-bubble.b3 { background: var(--sky); }
.hm-bubble blockquote { margin: 0 0 0.5rem; font-family: var(--heading); font-weight: 800; font-size: clamp(1.45rem, 5vw, 2rem); line-height: 1.1; }
.hm-bubble figcaption { font-weight: 600; }
.hm-answer { margin-top: 2rem; font-family: var(--heading); font-weight: 800; font-size: clamp(1.4rem, 5vw, 2.2rem); color: var(--lime); }

.hm-about { background: var(--cream); }
.hm-about .hm-h2 { margin-bottom: 1.6rem; }
.hm-about-grid { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
.hm-me { text-align: center; }
.hm-portrait { display: block; width: min(100%, 300px); height: auto; aspect-ratio: 1; margin: 0 auto 1.1rem; object-fit: cover; border-radius: 50%; border: 5px solid var(--ink); background: var(--cream); }
.hm-me h3 { margin-bottom: 0.9rem; }
.hm-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.hm-chips li { padding: 0.35rem 0.85rem; border-radius: 999px; background: #fff; border: 2px solid var(--ink); font-weight: 700; font-size: 0.9375rem; }
.hm-story { border: 3px solid var(--ink); }
.hm-story p { font-size: 1.125rem; }
.hm-no10 { margin: 0; padding: 0.9rem; }
.hm-no10 img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 20px; background: #2a2557; }
.hm-no10 figcaption { padding: 0.9rem 0.4rem 0.2rem; font-weight: 600; }
.hm-why p { font-size: 1.0625rem; }
.hm-why .hm-fine { font-size: 0.9375rem; margin-top: 0.9rem; margin-bottom: 0; }

/* iOS waitlist banner (#waitlist): the purple closing banner above the footer holds the email capture, to the right
   of the "iPhone: join the waitlist" button (Richard, 4 Dec 2026, t1309u). Every iPhone button on the site links here.
   Same form, ids, consent wording, honeypot and states as the section it replaces (3 Dec).
   t1325u, 4 Dec 2026: no bounce on the banner iPhone button (yellow hover only); email field ~30% narrower
   with the Join button inside the pill. */
html { scroll-padding-top: 7.25rem; } /* sticky .hm-nav is ~110px on phones (logo row + link row) */
.hm-final { padding-bottom: 3.5rem; }
.hm-closer { padding: 1.35rem 1.15rem 0.6rem; }
#waitlist { scroll-margin-top: 0; } /* lands with the whole banner below the sticky nav */
.hm-closer .hm-h2 { margin-bottom: 0.9rem; }
.hm-closer p { max-width: 34rem; font-size: 1.0625rem; line-height: 1.45; }
.hm-closer .hm-cta { margin-top: 1rem; }
.hm-wl-form { margin-top: 1rem; max-width: 62rem; }
.hm-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.hm-wl-form .form-row { display: grid; gap: 0.7rem; }
.hm-wl-field { display: flex; align-items: stretch; width: 100%; min-width: 0; min-height: 56px; box-sizing: border-box; padding: 3px 3px 3px 0; border: 3px solid var(--ink); border-radius: 999px; background: #fff; }
.hm-wl-form .hm-btn { min-height: 56px; font-size: 1rem; gap: 0.5rem; }
#waitlist-jump { transition: background-color 0.18s ease; }
#waitlist-jump:hover { background: var(--yellow); } /* #ffd84b; colour only, no movement */
#waitlist-jump:hover, #waitlist-jump:focus, #waitlist-jump:focus-visible, #waitlist-jump:active { transform: none; }
.hm-wl-form input[type="email"] { display: block; flex: 1 1 auto; width: 100%; min-width: 0; box-sizing: border-box; min-height: 0; padding: 0.45rem 2.25rem 0.45rem 1.15rem; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font: inherit; font-size: 1rem; }
.hm-wl-form input[type="email"]::placeholder { color: #6b6788; opacity: 1; }
#waitlist input:focus-visible, #waitlist button:focus-visible, #waitlist .hm-btn:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.hm-wl-field:focus-within { outline: 3px solid var(--lime); outline-offset: 3px; }
.hm-wl-field input:focus, .hm-wl-field input:focus-visible { outline: none; } /* ring is on the composite field */
.hm-wl-field:has(.hm-wl-submit:focus-visible) { outline: none; } /* keep the button's own ring, avoid a double outline */
.hm-wl-form .hm-wl-submit { flex: 0 0 auto; align-self: stretch; min-height: 0; height: auto; padding: 0 1.15rem; background: var(--lime); color: var(--ink) !important; border-color: var(--ink); cursor: pointer; }
.hm-wl-form .hm-wl-submit:hover, .hm-wl-form .hm-wl-submit:focus, .hm-wl-form .hm-wl-submit:focus-visible, .hm-wl-form .hm-wl-submit:active { transform: none; }
.hm-wl-form .hm-wl-submit:hover { background: var(--yellow); }
.hm-wl-submit .icon { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
#waitlist button:disabled { opacity: 0.65; cursor: wait; }
#waitlist .consent-label { display: flex; align-items: flex-start; gap: 0.65rem; margin: 1rem 0 0; font-size: 0.9375rem; line-height: 1.5; }
#waitlist .consent-label input { flex: none; width: 1.2rem; height: 1.2rem; margin: 0.15rem 0 0; accent-color: var(--lime); }
.waitlist-honeypot { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
#waitlist .form-note { margin-top: 0.6rem; font-size: 0.875rem; color: #e9e6ff; }
#waitlist .form-status { margin-top: 0.5rem; font-size: 1rem; font-weight: 700; }
#waitlist .form-status:empty { margin: 0; } /* no reserved gap while empty; it is still in the live region */
#waitlist .form-status:not(:empty) { padding: 0.55rem 1rem; border-radius: 1rem; background: #ffffff26; }
#waitlist .form-status.form-done { margin-top: 1.2rem; padding: 1.1rem 1.25rem; border-radius: 1.2rem; background: var(--lime); color: var(--ink); font-size: 1.1875rem; font-weight: 800; line-height: 1.35; max-width: 40rem; }
#waitlist .form-status.form-done:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
#waitlist .form-privacy { margin-top: 0.3rem; }
#waitlist .form-privacy-link { min-height: 44px; padding: 0.3rem 0; border: 0; background: none; color: #fff; font: inherit; font-size: 0.9375rem; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
#waitlist noscript p { margin-top: 0.8rem; font-weight: 700; }
.hm-tile.hm-closer:hover { transform: none; }
#privacy-dialog { width: min(32.5rem, calc(100% - 2rem)); padding: 1.5rem; border: 3px solid var(--ink); border-radius: var(--radius); background: var(--cream); color: var(--ink); box-shadow: 8px 8px 0 var(--ink); }
#privacy-dialog::backdrop { background: #1b174099; }
#privacy-dialog .dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
#privacy-dialog .dialog-head h2 { font-size: 1.7rem; text-transform: uppercase; }
#privacy-dialog .dialog-head button { min-width: 44px; min-height: 44px; border: 0; background: transparent; color: var(--ink); font-size: 1.8rem; line-height: 1; cursor: pointer; }
#privacy-dialog p { font-size: 1rem; line-height: 1.7; }
#privacy-dialog a { color: var(--violet); text-decoration: underline; text-underline-offset: 3px; }
#privacy-dialog > .hm-btn { margin-top: 1.2rem; cursor: pointer; }

/* Tablet and up */
@media (min-width: 46rem) {
  .hm-band { padding: 4.5rem max(2rem, calc((100% - 1200px) / 2)); }
  .hm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-grid .t-tall { grid-row: span 2; }
  .hm-bubbles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hm-about-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-tile { padding: 2rem; }
  .hm-closer { padding: 3rem 3rem 2rem; }
  .hm-closer p { font-size: 1.125rem; }
  html { scroll-padding-top: 5.25rem; }
  .hm-wl-form .form-row { grid-template-columns: auto minmax(0, 1fr); align-items: stretch; gap: 0.75rem; }
  .hm-wl-form .hm-btn { padding-inline: 1.6rem; white-space: nowrap; }
  .hm-wl-form .hm-wl-submit { padding: 0 1.15rem; } /* keep the inner pill compact */
  .hm-wl-field { max-width: 27.02rem; justify-self: start; } /* 70% of the 617.53px desktop email field on a40f441e */
}
/* Desktop */
@media (min-width: 62rem) {
  .hm-hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: 2.5rem; padding: 2.5rem 2rem 4rem; }
  .hm-hero-art { min-height: 620px; }
  .hm-phone { width: 270px; }
  .hm-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hm-grid .t-wide { grid-column: span 2; }
  .hm-tile p { font-size: 1.125rem; }
  .hm-story p { font-size: 1.25rem; }
  .hm-about-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
  .hm-no10 { grid-row: span 1; }
  .hm-badge img { width: 180px; }
}

/* Friendly motion: only when the visitor hasn't asked for less */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; } /* iPhone buttons glide to #waitlist */
  @keyframes hm-float { 0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); } 50% { transform: translateY(-14px) rotate(calc(var(--r, 0deg) + 4deg)); } }
  @keyframes hm-pop { from { opacity: 0; transform: translateY(18px) scale(0.97); } to { opacity: 1; transform: none; } }
  @keyframes hm-marquee { to { transform: translateX(-50%); } }
  @keyframes hm-wiggle { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(-1deg) translateY(-8px); } }
  .hm-hero-copy > * { animation: hm-pop 0.6s ease-out both; }
  .hm-hero-copy > :nth-child(2) { animation-delay: 0.08s; }
  .hm-hero-copy > :nth-child(3) { animation-delay: 0.16s; }
  .hm-hero-copy > :nth-child(4) { animation-delay: 0.24s; }
  .hm-hero-copy > :nth-child(5) { animation-delay: 0.32s; }
  .hm-phone { animation: hm-wiggle 5s ease-in-out infinite; }
  .st-star { --r: -12deg; animation: hm-float 4.5s ease-in-out infinite; }
  .st-squig { --r: 8deg; animation: hm-float 5.5s ease-in-out infinite 0.6s; }
  .st-dot { --r: 0deg; animation: hm-float 3.8s ease-in-out infinite 0.3s; }
  .st-blocked { --r: -7deg; animation: hm-float 6s ease-in-out infinite 0.9s; }
  .hm-ticker-track { animation: hm-marquee 28s linear infinite; }
  .hm-tile:hover { transform: translateY(-6px) rotate(-0.6deg); }
  .hm-bubble:nth-child(even):hover { transform: rotate(0.8deg) translateY(-4px); }
  .hm-badge:hover, .hm-btn:not(#waitlist-jump):not(.hm-wl-submit):hover, .hm-pill:hover { transform: translateY(-3px) rotate(-1.5deg); }
}
@media (prefers-reduced-motion: reduce) {
  .hm-ticker-track { flex-wrap: wrap; width: auto; justify-content: center; row-gap: 0.2rem; }
  .hm-ticker-track span:nth-child(n+6) { display: none; }
}
