:root {
  --bg: #050507;
  --surface: #111114;
  --surface-soft: #16161a;
  /* SF-style hierarchy: one primary, stepped translucency */
  --text: rgba(255, 255, 255, 0.94);
  --muted: rgba(255, 255, 255, 0.52);
  --line: #2a2a31;
  --accent: #ffaa80;
  --radius: 18px;
  --max-width: 1120px;
  --shadow-soft: 0 12px 32px rgba(0, 0, 0, 0.28);
  --shadow-premium: 0 24px 60px rgba(0, 0, 0, 0.4);

  /* Unified “product” surfaces — one system sitewide */
  --radius-surface: 20px;
  --border-surface: 1px solid rgba(255, 255, 255, 0.088);
  --surface-elevated-bg: linear-gradient(165deg, rgba(22, 22, 28, 0.96) 0%, rgba(11, 11, 15, 0.97) 100%);
  --shadow-surface: inset 0 1px 0 rgba(255, 255, 255, 0.055), 0 18px 44px rgba(0, 0, 0, 0.38);
  --pad-surface: 1.75rem;
  --ease-premium: cubic-bezier(0.22, 1, 0.36, 1);

  /* Type scale — five roles (display → meta); non-overlapping clamps */
  --fs-display: clamp(2.3rem, 5.5vw, 3.35rem);
  --lh-display: 1.06;
  --measure-display: 18ch;

  --fs-section: clamp(1.65rem, 2.5vw, 2.05rem);
  --lh-section: 1.14;
  --measure-section: 26ch;

  --fs-lead: clamp(1.02rem, 1.45vw, 1.12rem);
  --lh-lead: 1.45;

  --fs-body: clamp(0.96rem, 1.15vw, 1.05rem);
  --lh-body: 1.62;

  --fs-meta: clamp(0.8rem, 0.95vw, 0.875rem);
  --lh-meta: 1.45;

  --measure-prose: 62ch;

  /* Landing step cards — hierarchy (title = full contrast; detail = clearly secondary) */
  --lp-section-heading: rgba(255, 255, 255, 0.88);
  --lp-step-head: #ffffff;
  --lp-step-detail: #73737d;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif;
  background: radial-gradient(circle at 22% -8%, #17171d 0, #0a0a0c 42%, var(--bg) 100%);
  color: var(--text);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(100% - 2.2rem, var(--max-width));
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  padding-top: 0;
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  transition: background 220ms ease, backdrop-filter 220ms ease;
  border-bottom: 0;
}

.topbar .container {
  width: min(100% - 2.2rem, 1100px);
  margin-inline: auto;
}

.topbar.is-transparent {
  background: transparent;
  backdrop-filter: none;
}

.nav {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0.55rem 0.7rem;
  box-shadow: none;
}

.topbar .brand img {
  width: 34px;
  height: auto;
  flex-shrink: 0;
  display: block;
  /* Soft separation from background — subtle, like polished nav marks */
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.085));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: clamp(1rem, 3.5vw, 1.45rem);
  min-height: 44px;
}

.brand-name {
  color: rgba(250, 250, 252, 0.98);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", system-ui, sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.28rem);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.12;
  font-feature-settings: "kern" 1, "liga" 1;
}

.menu {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.menu a {
  color: #96969f;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  border-radius: 999px;
  padding: 0.35rem 0.6rem;
  text-decoration: none;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.menu a:hover,
.menu a:focus-visible {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
}

.menu a.is-current {
  color: var(--text);
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.85rem;
  padding: 0.62rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
}

.btn-primary {
  background: linear-gradient(135deg, #ffaa80, #ffbe9f);
  color: #181818;
  box-shadow: 0 6px 20px rgba(255, 170, 128, 0.32);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: transparent;
  color: var(--text);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

.app-store-badge-link {
  display: inline-flex;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 160ms ease, opacity 160ms ease;
}

.app-store-badge-link:hover,
.app-store-badge-link:focus-visible {
  transform: translateY(-1px);
  opacity: 0.92;
}

.app-store-badge {
  width: 172px;
  height: auto;
  display: block;
}

.breadcrumb {
  margin-top: 1.2rem;
  color: var(--muted);
  font-size: var(--fs-meta);
  line-height: var(--lh-meta);
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.32);
}

.hero {
  padding: 3.2rem 0 3.8rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.81rem;
  padding: 0.35rem 0.7rem;
  margin-bottom: 1rem;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d4d4da;
  box-shadow: none;
}

.hero-grid {
  display: grid;
  gap: 1.65rem;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.03em;
}

/* Default heading tier = section (hero & interior titles override below) */
h1 {
  font-size: var(--fs-section);
  line-height: var(--lh-section);
  font-weight: 620;
  max-width: min(100%, var(--measure-section));
}

h2 {
  font-size: var(--fs-section);
  line-height: var(--lh-section);
  font-weight: 620;
  max-width: min(100%, var(--measure-section));
}

h3 {
  font-size: var(--fs-lead);
  line-height: var(--lh-lead);
  font-weight: 590;
  letter-spacing: -0.025em;
}

.hero p {
  color: var(--muted);
  max-width: 46ch;
  margin: 0.8rem 0 1.1rem;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: #bbbbc2;
  margin: 1rem 0 1.45rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.proof {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: var(--fs-meta);
  line-height: var(--lh-meta);
}

/* Interior / legal / secondary pages — same hierarchy as marketing */
.page-hero h1,
.page-title-block h1 {
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.032em;
  max-width: min(100%, 42ch);
}

.page-hero .proof {
  margin-top: 0.5rem;
}

.breadcrumb strong {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

main:not(.landing-main) .page-hero + .page-copy {
  padding-top: 2rem;
}

.page-hero .hero-actions {
  margin-top: 1.25rem;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.app-preview {
  background: linear-gradient(180deg, #151516, #0f0f11);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 0.95rem;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.48);
  position: relative;
  overflow: hidden;
  min-height: 520px;
}

.app-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(255, 170, 128, 0.08), transparent 45%);
  pointer-events: none;
}

.device-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #7f7f85;
  font-size: 0.78rem;
}

.phone-frame {
  width: min(100%, 280px);
  aspect-ratio: 9 / 19.5;
  border-radius: 44px;
  border: 2px solid #3a3a42;
  background: linear-gradient(180deg, #16161b, #0d0d10);
  padding: 0.55rem;
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.5);
  position: relative;
}

.phone-notch {
  width: 42%;
  height: 16px;
  border-radius: 0 0 12px 12px;
  background: #070708;
  position: absolute;
  top: 0.35rem;
  left: 50%;
  transform: translateX(-50%);
  border: 1px solid #1f1f24;
}

.phone-screen {
  border-radius: 36px;
  height: 100%;
  background: radial-gradient(circle at 50% 80%, #191924 0, #0a0a0e 55%, #070709 100%);
  border: 1px solid #1d1d23;
  padding: 3.2rem 1rem 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.55rem;
}

.phone-screen--image {
  padding: 0;
  overflow: hidden;
}

.phone-shot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.phone-label {
  margin: 0 auto auto;
  font-size: var(--fs-meta);
  line-height: var(--lh-meta);
  letter-spacing: 0.12em;
  color: #7f7f88;
}

.phone-copy {
  margin: 0;
  color: #f2f2f4;
  font-size: var(--fs-lead);
  line-height: var(--lh-lead);
  text-align: center;
}

section {
  padding: 3.4rem 0;
}

.kicker {
  color: #8b8b90;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.68rem;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: #9d9da3;
  font-size: 0.98rem;
  max-width: 54ch;
  margin: 0.65rem 0 0.9rem;
}

.problem p,
.solution p,
.philosophy p,
.cta p {
  color: var(--muted);
  max-width: 58ch;
}

.punch {
  margin-top: 1rem;
  color: #e4e4e8;
  font-size: 1.1rem;
}

.steps {
  margin: 1rem 0 0;
  display: grid;
  gap: 0.7rem;
}

.step {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #151519, #121216);
  border-radius: var(--radius);
  padding: 0.85rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.step strong {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.3rem;
  font-size: 1rem;
}

.step-icon {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  border: 1px solid #34343b;
  background: #16161b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.step-icon svg {
  width: 0.9rem;
  height: 0.9rem;
  fill: none;
  stroke: #d9d9de;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step-meta {
  display: inline-flex;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9f9fa6;
  border: 1px solid #33333a;
  border-radius: 999px;
  padding: 0.18rem 0.45rem;
  margin-bottom: 0.38rem;
  background: #141418;
}

.callout {
  margin-top: 1.15rem;
  border-left: 2px solid rgba(255, 255, 255, 0.16);
  padding-left: 0.95rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--fs-lead);
  line-height: var(--lh-lead);
  letter-spacing: -0.02em;
}

.philosophy ul {
  list-style: none;
  padding: 0;
  margin: 0.8rem 0;
  display: grid;
  gap: 0.6rem;
}

.philosophy li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.65rem 0.8rem;
  width: fit-content;
  background: #101011;
  color: #d5d5d8;
}

.quote {
  margin: 0;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: #f0f0f1;
  width: fit-content;
  background: #141418;
}

.philosophy .hero-actions {
  margin-top: 0.8rem;
}

.benefits-grid {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.9rem;
}

.benefit-card {
  border: var(--border-surface);
  border-radius: var(--radius-surface);
  background: var(--surface-elevated-bg);
  padding: 1.15rem 1.05rem 1.2rem;
  box-shadow: var(--shadow-surface);
}

.benefit-icon {
  width: 2rem;
  height: 2rem;
  border: 1px solid #3b3b43;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.65rem;
}

.benefit-icon svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: #ececf0;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit-card h3 {
  font-size: var(--fs-lead);
  line-height: var(--lh-lead);
  font-weight: 600;
  letter-spacing: -0.024em;
  color: var(--lp-step-head);
  margin-bottom: 0.38rem;
}

.benefit-card p {
  margin: 0;
  font-size: var(--fs-meta);
  line-height: 1.55;
  letter-spacing: 0.012em;
  color: var(--lp-step-detail);
}

.faq {
  padding-top: 1.2rem;
}

.faq-item {
  border-top: var(--border-surface);
  padding: 0.95rem 0;
}

.faq-item:last-child {
  border-bottom: var(--border-surface);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.94);
  font-size: var(--fs-lead);
  line-height: var(--lh-lead);
  font-weight: 600;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin-top: 0.55rem;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: rgba(255, 255, 255, 0.68);
  max-width: min(var(--measure-prose), 54rem);
}

.cta-block {
  border: var(--border-surface);
  border-radius: var(--radius-surface);
  background: var(--surface-elevated-bg);
  padding: var(--pad-surface);
  box-shadow: var(--shadow-surface);
}

.problem .container,
.solution .container,
.philosophy .container,
.cta .container,
.page-hero .container,
.page-copy .container {
  max-width: min(100%, 54rem);
  text-align: left;
  margin-inline: auto;
  border: var(--border-surface);
  border-radius: var(--radius-surface);
  padding: var(--pad-surface);
  background: var(--surface-elevated-bg);
  box-shadow: var(--shadow-surface);
}

.problem h2,
.solution h2,
.philosophy h2,
.cta h2,
.page-hero h1,
.page-title-block h1,
.page-copy h2,
.section-subtitle {
  margin-inline: 0;
}

.footer {
  padding: 4rem 0 3.25rem;
  border-top: 1px solid var(--line);
  margin-top: 5rem;
}

.footer-grid {
  display: grid;
  gap: 2.8rem;
}

.footer-col {
  display: grid;
  gap: 0.7rem;
  align-content: start;
}

.footer-col a,
.footer-note,
.footer-byline {
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-col a {
  text-decoration: none;
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: #c5c5cb;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #f0f0f3;
  font-size: 1.2rem;
  font-weight: 560;
  margin-bottom: 0.25rem;
}

.footer-brand img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.footer-projects-head {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.footer-projects-head img {
  width: 24px;
  height: 24px;
  border-radius: 8px;
}

.footer-projects-head span {
  color: #b6b6bd;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.footer-byline {
  margin-top: 0.8rem;
}

.footer-byline-link {
  color: inherit;
  text-decoration: none;
}

.footer-byline-link:hover,
.footer-byline-link:focus-visible {
  color: #c8c8cf;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.floating-cta {
  display: none;
}

.floating-pill-cta {
  position: fixed;
  right: max(1.1rem, env(safe-area-inset-right, 0px));
  bottom: max(1.1rem, env(safe-area-inset-bottom, 0px));
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid #ffaa80;
  background: color-mix(in srgb, #0c0c10 86%, rgba(255, 255, 255, 0.04) 14%);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  color: #ffffff;
  border-radius: 999px;
  min-height: 3rem;
  padding: 0.65rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 0 rgba(255, 255, 255, 0.04) inset, 0 12px 36px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(0, 0, 0, 0.35);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.floating-pill-cta:hover,
.floating-pill-cta:focus-visible {
  transform: translateY(-2px);
  border-color: #ffbe9f;
  background: color-mix(in srgb, #121218 78%, rgba(255, 255, 255, 0.08) 22%);
  box-shadow: 0 4px 0 rgba(255, 255, 255, 0.06) inset, 0 16px 42px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 0, 0, 0.4);
}

.floating-pill-cta:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.55);
  outline-offset: 3px;
}

.page-hero {
  padding: 3.25rem 0 2rem;
}

.page-title-block {
  margin-bottom: 1.35rem;
}

.page-title-block .breadcrumb {
  margin-bottom: 0.7rem;
}

.page-title-block .proof {
  margin-top: 0.45rem;
}

.page-copy {
  padding: 3rem 0 4rem;
}

.page-copy .container a:not(.btn) {
  color: var(--muted);
  text-decoration: none;
}

.page-copy .container a:not(.btn):hover,
.page-copy .container a:not(.btn):focus-visible {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.page-copy h2 {
  font-size: var(--fs-lead);
  line-height: var(--lh-lead);
  font-weight: 600;
  letter-spacing: -0.024em;
  color: var(--lp-section-heading);
  margin-top: 1.35rem;
  margin-bottom: 0.45rem;
  max-width: var(--measure-prose);
}

.page-copy section {
  padding: 1rem 0;
}

.page-copy .container > p,
.page-copy .about-page > p {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: rgba(255, 255, 255, 0.72);
  max-width: min(var(--measure-prose), 54rem);
}

.page-copy .container section p {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: rgba(255, 255, 255, 0.72);
  max-width: min(var(--measure-prose), 54rem);
}

.legal-page .page-copy .container {
  max-width: min(100%, 58rem);
}

.legal-subtitle {
  margin: 0.5rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--fs-lead);
  line-height: var(--lh-lead);
  max-width: min(100%, 56ch);
}

.legal-page .page-copy section {
  padding: 0.92rem 0;
}

.legal-page .page-copy h2 {
  margin-top: 0.2rem;
  margin-bottom: 0.62rem;
  color: rgba(255, 255, 255, 0.9);
}

.legal-page .page-copy p + p {
  margin-top: 0.5rem;
}

.legal-meta {
  font-size: var(--fs-meta);
  line-height: var(--lh-meta);
  color: rgba(255, 255, 255, 0.58);
}

.legal-list {
  margin: 0.6rem 0 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.55rem;
  max-width: min(var(--measure-prose), 54rem);
}

.legal-list li {
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

.legal-list strong {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.contact-form {
  margin: 0;
  max-width: 100%;
  display: grid;
  gap: 0.72rem;
}

.contact-form label {
  color: var(--muted);
  font-size: var(--fs-meta);
  line-height: var(--lh-meta);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(6, 6, 10, 0.72);
  color: var(--text);
  padding: 0.78rem 0.9rem;
  font: inherit;
  transition: border-color 200ms var(--ease-premium), box-shadow 200ms var(--ease-premium);
}

.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  outline: 0;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 170, 128, 0.2);
}

.contact-page .contact-form input:focus-visible,
.contact-page .contact-form textarea:focus-visible {
  border-color: rgba(255, 255, 255, 0.38);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
}

.contact-form button[aria-busy="true"] {
  opacity: 0.8;
  pointer-events: none;
}

.contact-page .page-title-block {
  margin-bottom: 1.5rem;
}

.contact-page .contact-form {
  max-width: 28rem;
  margin-top: 0.15rem;
}

.contact-page .contact-form .btn-primary {
  background: #ececf0;
  color: #0a0a0c;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.42);
}

.contact-page .contact-form .btn-primary:hover,
.contact-page .contact-form .btn-primary:focus-visible {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.5);
}

.faq-page .faq {
  padding-top: 0.35rem;
}

.faq-page .faq-item {
  padding: 1rem 0;
}

.about-page p {
  max-width: var(--measure-prose);
}

.about-page > p {
  margin: 0.75rem 0 0;
}

.contact-page .contact-lead {
  margin: 0.35rem 0 0;
  font-size: var(--fs-lead);
  line-height: var(--lh-lead);
  color: rgba(255, 255, 255, 0.78);
  max-width: min(var(--measure-prose), 42ch);
}

.contact-page .contact-lead a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.contact-page .page-title-block {
  margin-bottom: 0.85rem;
}

.withdrawal-model {
  margin-top: 0.75rem;
  padding: 1.15rem 1.1rem;
  border: var(--border-surface);
  border-radius: var(--radius-surface);
  background: rgba(8, 8, 12, 0.55);
}

.withdrawal-field-line {
  height: 1.35rem;
  margin: 0.35rem 0 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.withdrawal-field-line--short {
  max-width: 14rem;
}

.cookie-prefs-panel {
  border: var(--border-surface);
  border-radius: var(--radius-surface);
  background: var(--surface-elevated-bg);
  box-shadow: var(--shadow-surface);
  padding: var(--pad-surface);
  max-width: min(100%, 40rem);
  position: relative;
  z-index: 1;
}

.cookie-prefs-item {
  padding: 1.1rem 0;
  border-bottom: var(--border-surface);
}

.cookie-prefs-item:first-of-type {
  padding-top: 0;
}

.cookie-prefs-item:last-of-type {
  border-bottom: 0;
  padding-bottom: 0.25rem;
}

.cookie-prefs-item h2 {
  margin: 0 0 0.45rem;
  font-size: var(--fs-lead);
  line-height: var(--lh-lead);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.cookie-prefs-item p {
  margin: 0 0 0.85rem;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: rgba(255, 255, 255, 0.68);
  max-width: 42ch;
}

.cookie-pill {
  flex-shrink: 0;
  border-radius: 999px;
  padding: 0.32rem 0.7rem;
  font-size: var(--fs-meta);
  line-height: var(--lh-meta);
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

.cookie-pill--locked {
  color: rgba(255, 255, 255, 0.55);
}

.cookie-toggle {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.cookie-toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-toggle-track {
  width: 2.65rem;
  height: 1.45rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  position: relative;
  transition: background-color 200ms var(--ease-premium), border-color 200ms var(--ease-premium);
}

.cookie-toggle-track::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: #ececf0;
  transition: transform 200ms var(--ease-premium);
}

.cookie-toggle input:checked + .cookie-toggle-track {
  background: rgba(255, 170, 128, 0.35);
  border-color: rgba(255, 170, 128, 0.55);
}

.cookie-toggle input:checked + .cookie-toggle-track::after {
  transform: translateX(1.2rem);
}

.cookie-toggle input:focus-visible + .cookie-toggle-track {
  outline: 2px solid rgba(255, 255, 255, 0.45);
  outline-offset: 2px;
}

.cookie-toggle-label {
  font-size: var(--fs-meta);
  line-height: var(--lh-meta);
  color: var(--muted);
}

.cookie-prefs-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
  position: relative;
  z-index: 2;
}

.cookie-prefs-actions .btn {
  cursor: pointer;
  pointer-events: auto;
  position: relative;
  z-index: 2;
}

.cookie-prefs-links {
  margin: 1.1rem 0 0;
  font-size: var(--fs-meta);
  line-height: var(--lh-meta);
  color: var(--muted);
}

.cookie-prefs-links a {
  color: inherit;
  text-decoration: none;
}

.cookie-prefs-links a:hover,
.cookie-prefs-links a:focus-visible {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.cookie-prefs-links span {
  margin: 0 0.35rem;
  color: rgba(255, 255, 255, 0.28);
}

.cookie-confirm {
  margin-bottom: 1.15rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: var(--fs-meta);
  line-height: var(--lh-meta);
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.04);
}

.cookie-confirm--saved {
  border-color: rgba(255, 170, 128, 0.45);
  background: rgba(255, 170, 128, 0.1);
  color: #f4ebe4;
}

.cookie-confirm--rejected {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

.cookie-confirm[hidden] {
  display: none;
}

.cookie-prefs-page .page-copy .container {
  max-width: min(100%, 46rem);
}

@media (max-width: 640px) {
  .cookie-prefs-actions .btn {
    flex: 1 1 calc(50% - 0.4rem);
    min-width: calc(50% - 0.4rem);
  }
}

.form-honeypot {
  position: absolute;
  left: -9999px;
}

@media (min-width: 820px) {
  .menu {
    gap: 1.1rem;
    flex-wrap: nowrap;
  }

  .topbar .brand img {
    width: 38px;
  }

  .brand-name {
    font-size: clamp(1.14rem, 1.5vw, 1.3rem);
  }

  .hero {
    padding-top: 4.2rem;
  }

  section:not(.hero) {
    padding: 6.4rem 0;
  }

  .problem p,
  .solution p,
  .philosophy p,
  .cta p {
    margin-inline: auto;
  }

  .steps {
    margin-top: 1.3rem;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero .hero-actions {
    justify-content: flex-start;
  }

  .philosophy ul {
    justify-items: center;
  }

  .quote {
    margin-inline: auto;
  }

  .benefits-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }

  .benefit-card {
    padding: 1.5rem 1.2rem;
    min-height: 208px;
  }

  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 2.4rem;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .problem .container,
  .solution .container,
  .philosophy .container,
  .cta .container,
  .page-hero .container,
  .page-copy .container {
    padding: 2.2rem;
  }

  .cta-block {
    padding: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 0.7fr 1fr;
    gap: 2.4rem;
  }

  .footer-projects-col {
    justify-items: start;
  }
}

@media (max-width: 819px) {
  .menu {
    gap: 0.35rem;
  }

  .menu a:not(.btn) {
    font-size: 0.82rem;
    padding: 0.28rem 0.45rem;
  }

  .floating-pill-cta {
    bottom: 0.8rem;
    right: 0.8rem;
  }

  .topbar .container {
    width: min(100% - 1.2rem, 1100px);
  }

  .brand-name {
    font-size: 1.08rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0ms !important;
    transition-duration: 0ms !important;
    scroll-behavior: auto !important;
  }
}

/* Landing page premium layout refresh */
.landing-main .container {
  width: min(100% - 2.2rem, 1100px);
}

.lp-hero {
  padding: 5.25rem 0 7.25rem;
}

.lp-hero-grid {
  display: grid;
  gap: 2.4rem;
  align-items: center;
}

.lp-hero-copy {
  max-width: min(36rem, 100%);
}

.lp-hero-copy h1 {
  font-size: var(--fs-display);
  line-height: var(--lh-display);
  letter-spacing: -0.035em;
  font-weight: 620;
  margin-bottom: 1.35rem;
  max-width: min(100%, var(--measure-display));
}

.lp-subheadline {
  font-size: var(--fs-lead);
  line-height: var(--lh-lead);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 1.35rem;
  max-width: min(100%, 52ch);
}

.lp-support {
  font-size: var(--fs-meta);
  line-height: var(--lh-meta);
  color: var(--muted);
  max-width: min(100%, 52ch);
  margin: 1.1rem 0 0;
}

.lp-hero-visual {
  display: flex;
  justify-content: center;
}

.lp-section {
  padding: 6.25rem 0;
}

.lp-content {
  max-width: min(36rem, 100%);
  text-align: left;
}

.landing-main .lp-center .lp-content {
  max-width: min(100%, 54ch);
}

.lp-split {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

.lp-split-section .container.lp-split {
  max-width: min(100% - 2.2rem, 880px);
}

.lp-split > .lp-content.lp-split-copy {
  justify-self: start;
  max-width: min(100%, 400px);
  width: 100%;
}

#how-it-works .lp-split > .lp-content.lp-split-copy {
  max-width: min(100%, 22.5rem);
}


.lp-content.lp-split-copy h2 {
  font-size: var(--fs-section);
  line-height: var(--lh-section);
  letter-spacing: -0.035em;
  font-weight: 630;
  margin-bottom: 0.85rem;
  max-width: min(100%, var(--measure-section));
  color: var(--lp-section-heading);
}

.lp-split > .lp-content.lp-split-copy.lp-split-copy--consistency {
  max-width: min(100%, 22.5rem);
}

#consistency.lp-split-section .lp-split-copy h2 {
  margin-bottom: 1.15rem;
}

.landing-main .lp-content > h2 {
  font-size: var(--fs-section);
  line-height: var(--lh-section);
  letter-spacing: -0.03em;
  font-weight: 620;
  margin-bottom: 1rem;
  max-width: min(100%, var(--measure-section));
}

.lp-content p {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: rgba(255, 255, 255, 0.74);
  margin: 0;
  max-width: min(var(--measure-prose), 54rem);
}

.landing-main .lp-center .lp-content > p {
  margin-inline: auto;
}

#how-it-works.lp-split-section .lp-split-copy h2 {
  margin-bottom: 1.15rem;
}

.lp-steps {
  display: grid;
  gap: 0.72rem;
}

.lp-step-card {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0.9rem;
  align-items: start;
  border: var(--border-surface);
  border-radius: var(--radius-surface);
  padding: 1.15rem 1.15rem 1.2rem;
  background: var(--surface-elevated-bg);
  box-shadow: var(--shadow-surface);
  transition: border-color 320ms var(--ease-premium), box-shadow 320ms var(--ease-premium);
}

.lp-step-card:hover {
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 22px 52px rgba(0, 0, 0, 0.44);
}

.lp-step-body {
  min-width: 0;
}

.lp-step-icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.06rem;
  background: radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 55%);
}

.lp-step-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #dddde6;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lp-step-title {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  font-size: clamp(0.78rem, 1.15vw, 0.9rem);
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0 0 0.85rem;
}

.lp-step-detail {
  margin: 0;
  font-size: clamp(0.78rem, 0.88vw, 0.84rem);
  line-height: 1.62;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--lp-step-detail);
}

.lp-inline-phone {
  margin-top: 1.65rem;
  display: flex;
  justify-content: flex-start;
}

.lp-split > .lp-inline-phone {
  margin-top: 0;
}

.lp-inline-phone-right {
  margin-top: 0;
  justify-content: center;
}

.lp-split .phone-frame {
  width: min(100%, 296px);
  box-shadow: 0 26px 44px rgba(0, 0, 0, 0.52);
}

.lp-split .phone-screen {
  padding: 2.65rem 1.05rem 1.35rem;
  gap: 0.75rem;
}

.lp-split-section.lp-left .phone-screen {
  justify-content: flex-start;
}

.lp-split-section.lp-right .phone-screen {
  justify-content: space-between;
}

.lp-split .phone-label {
  font-size: var(--fs-meta);
  line-height: var(--lh-meta);
  letter-spacing: 0.14em;
  color: #a8a8b0;
}

.lp-split .lp-grid {
  margin: 0.35rem auto 0;
}

.lp-split .lp-leaderboard {
  margin: 0;
  width: 100%;
  gap: 0.55rem;
}

.lp-center .lp-content {
  margin-inline: auto;
  text-align: center;
}

.lp-center .lp-inline-phone {
  justify-content: center;
}

.lp-right .lp-content {
  margin-left: 0;
  text-align: left;
}

.lp-right .lp-inline-phone {
  justify-content: flex-end;
}

.lp-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.45rem;
  margin: 0.7rem auto 1rem;
  max-width: 210px;
}

.lp-dot {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #2e2e33;
  transition:
    transform 240ms var(--ease-premium),
    background-color 240ms var(--ease-premium),
    box-shadow 240ms var(--ease-premium);
}

.lp-dot.filled {
  background: #8b8b91;
}

.lp-dot.active {
  background: #e7e7ea;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.55);
  transform: scale(1.05);
}

.lp-tap {
  border: 1px solid #3a3a42;
  background: #19191f;
  color: #f4f4f6;
  border-radius: 999px;
  padding: 0.42rem 0.8rem;
  font-size: var(--fs-meta);
  line-height: var(--lh-meta);
  cursor: pointer;
}

.lp-tap:hover {
  transform: translateY(-1px);
}

.lp-leaderboard {
  list-style: none;
  padding: 0;
  margin: 0.8rem 0 0;
  display: grid;
  gap: 0.6rem;
}

.lp-leaderboard li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: #e4e4ea;
  border-bottom: 1px solid #2e2e36;
  padding-bottom: 0.52rem;
}

.lp-leaderboard li span {
  color: #ceced6;
  letter-spacing: -0.01em;
}

.lp-leaderboard strong {
  font-weight: 620;
  font-variant-numeric: tabular-nums;
  color: #f0f0f4;
  flex-shrink: 0;
}

.lp-short {
  padding-bottom: 5.25rem;
}

.lp-final {
  padding-top: 4.4rem;
  padding-bottom: 5.8rem;
}

.lp-micro {
  margin-top: 1.45rem;
  font-size: var(--fs-meta);
  line-height: var(--lh-meta);
  color: var(--muted);
}

.lp-final .lp-content p {
  margin-top: 0.85rem;
  margin-bottom: 2rem;
}

.lp-final .app-store-badge-link {
  margin-top: 0.6rem;
}

/* Scroll reveals: calm easing; stagger lives on .lp-step-card (scripting-aware for no-JS fallbacks) */
@media (scripting: enabled) {
  .lp-hero.reveal-on-scroll:not(.is-visible) {
    transform: translateY(14px);
  }

  .lp-hero.reveal-on-scroll.is-visible {
    transform: translateY(0);
    transition: transform 0.85s var(--ease-premium);
  }

  .reveal-on-scroll:not(.lp-hero):not(.is-visible) {
    transform: translateY(22px);
  }

  .reveal-on-scroll:not(.lp-hero).is-visible {
    transform: translateY(0);
    transition: transform 0.78s var(--ease-premium);
  }

  .reveal-on-scroll:not(.is-visible) .lp-step-card {
    opacity: 0;
    transform: translateY(14px);
  }

  .reveal-on-scroll.is-visible .lp-step-card:nth-child(1) {
    opacity: 1;
    transform: translateY(0);
    transition:
      opacity 0.58s var(--ease-premium),
      transform 0.58s var(--ease-premium);
    transition-delay: 0.08s;
  }

  .reveal-on-scroll.is-visible .lp-step-card:nth-child(2) {
    opacity: 1;
    transform: translateY(0);
    transition:
      opacity 0.58s var(--ease-premium),
      transform 0.58s var(--ease-premium);
    transition-delay: 0.16s;
  }

  .reveal-on-scroll.is-visible .lp-step-card:nth-child(3) {
    opacity: 1;
    transform: translateY(0);
    transition:
      opacity 0.58s var(--ease-premium),
      transform 0.58s var(--ease-premium);
    transition-delay: 0.24s;
  }

  .reveal-on-scroll.is-visible .lp-step-card:nth-child(n + 4) {
    opacity: 1;
    transform: translateY(0);
    transition:
      opacity 0.58s var(--ease-premium),
      transform 0.58s var(--ease-premium);
    transition-delay: 0.32s;
  }
}

@media (min-width: 920px) {
  .lp-hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .lp-split {
    grid-template-columns: minmax(260px, 400px) minmax(268px, 312px);
    column-gap: clamp(2rem, 4.5vw, 3.75rem);
    row-gap: 1.75rem;
    align-items: start;
    justify-content: center;
  }

  #how-it-works .lp-split,
  #consistency .lp-split {
    grid-template-columns: minmax(0, 22.5rem) minmax(268px, 312px);
  }

  .lp-inline-phone-right {
    justify-content: flex-end;
  }
}

@media (max-width: 919px) {
  .lp-hero {
    padding-top: 3.6rem;
  }

  .lp-section {
    padding: 4.2rem 0;
  }

  .lp-center .lp-content,
  .lp-right .lp-content {
    margin-inline: 0;
    text-align: left;
  }

  .lp-split {
    grid-template-columns: 1fr;
  }

  .lp-inline-phone,
  .lp-hero-visual,
  .lp-center .lp-inline-phone,
  .lp-right .lp-inline-phone {
    justify-content: center;
  }
}

/* Final premium system refinement (copy unchanged) */
.topbar {
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px);
}

.nav {
  padding: 0.66rem 0.25rem;
}

.menu a {
  padding: 0.32rem 0.52rem;
}

.menu a.is-current {
  background: transparent;
}

.landing-main .lp-section {
  padding: 7rem 0;
}

.landing-main .lp-short {
  padding-top: 7.25rem;
  padding-bottom: 7.25rem;
}

.landing-main .lp-final {
  padding-top: 5.2rem;
  padding-bottom: 6.8rem;
}

.floating-pill-cta {
  min-height: 3.05rem;
  padding: 0.65rem 1.45rem;
  letter-spacing: 0.02em;
}

/* Hide only on very short viewports (e.g. split-screen) so laptops still see the CTA */
@media (max-height: 420px) {
  .floating-pill-cta {
    display: none;
  }
}

@media print {
  .floating-pill-cta {
    display: none !important;
  }
}

@media (max-width: 919px) {
  .nav {
    padding: 0.52rem 0.1rem;
  }

  .landing-main .lp-section {
    padding: 5.5rem 0;
  }

  .landing-main .lp-short {
    padding-top: 5.75rem;
    padding-bottom: 5.75rem;
  }

  .landing-main .lp-final {
    padding-bottom: 6rem;
  }
}
