/* ============================================
   HumanStamp — styles.css
   Dark-first, editorial, mobile-first
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=JetBrains+Mono:wght@400;500&family=Instrument+Serif:ital@0;1&display=swap');

/* ── Reset ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── Tokens ── */
:root {
  --hs-verified: #C4F04D;
  --hs-verified-hover: #D4F57A;
  --hs-verified-dim: #92B83A;
  --hs-black: #1A1A1E;
  --hs-dark: #0C0C0E;
  --hs-surface: #141418;
  --hs-surface-2: #1C1C22;
  --hs-border: #2A2A32;
  --hs-parchment: #E8E6E1;
  --hs-paper: #F4F3F0;
  --hs-text: #E8E6E1;
  --hs-text-secondary: #8A8A94;
  --hs-text-muted: #5A5A64;
  --hs-error: #E05252;
  --hs-warning: #E0A84A;
  --hs-info: #6BA3DC;

  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,.4);
  --shadow-lg: 0 16px 48px rgba(0,0,0,.5);

  --max-w: 1120px;
  --nav-h: 64px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 0.15s;
  --duration-normal: 0.25s;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--hs-text);
  background: var(--hs-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Layout ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

section { padding: 96px 0; }

/* ── Typography ── */
h1, h2, h3, h4 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--hs-text);
  font-family: var(--font-body);
  font-weight: 700;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 1.75rem); }
h3 { font-size: 1.25rem; }

p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--hs-text-secondary);
}

/* ── Section label (mono treatment) ── */
.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--hs-verified-dim);
  margin-bottom: 16px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all var(--duration-fast) ease;
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--hs-verified);
  color: var(--hs-black);
  padding: 12px 24px;
  border-radius: var(--radius-md);
}

.btn-primary:hover {
  background: var(--hs-verified-hover);
  transform: translateY(-1px);
}

.btn-primary:focus-visible {
  outline: 2px solid var(--hs-verified);
  outline-offset: 2px;
}

.btn-ghost {
  background: transparent;
  color: var(--hs-text);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--hs-border);
}

.btn-ghost:hover {
  border-color: var(--hs-text-secondary);
  color: var(--hs-paper);
}

.btn-lg { padding: 14px 32px; font-size: 15px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--hs-text-secondary);
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-body);
  transition: color var(--duration-fast);
  cursor: pointer;
  background: none;
  border: none;
}

.text-link:hover { color: var(--hs-text); }
.text-link svg { transition: transform var(--duration-fast); }
.text-link:hover svg { transform: translateY(2px); }

/* ── Section header ── */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 { margin-bottom: 16px; }

.section-header p {
  max-width: 520px;
  margin: 0 auto;
}

/* ============================================
   NAV
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 12, 14, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hs-border);
  height: var(--nav-h);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--hs-parchment);
  text-decoration: none;
  flex-shrink: 0;
}

.nav__logo-mark {
  width: 28px;
  height: 28px;
  color: var(--hs-parchment);
  flex-shrink: 0;
}

.nav__logo-text {
  font-size: 16px;
  letter-spacing: -0.02em;
  line-height: 1;
}

.nav__logo-text strong {
  font-weight: 700;
}

.nav__logo-text span {
  font-weight: 400;
}

.nav__links {
  display: none;
  align-items: center;
  gap: 4px;
}

.nav__link {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--hs-text-secondary);
  border-radius: var(--radius-sm);
  transition: color var(--duration-fast);
}

.nav__link:hover { color: var(--hs-text); }
.nav__link:focus-visible {
  outline: 2px solid var(--hs-verified);
  outline-offset: 2px;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__actions .btn-primary {
  padding: 10px 20px;
  font-size: 13px;
}

/* Hamburger */
.nav__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background var(--duration-fast);
  padding: 8px;
}

.nav__hamburger:hover { background: var(--hs-surface-2); }
.nav__hamburger:focus-visible {
  outline: 2px solid var(--hs-verified);
  outline-offset: 2px;
}

.nav__hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--hs-text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease-out), opacity 0.25s var(--ease-out);
  transform-origin: center;
}

.nav__hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--hs-dark);
  border-bottom: 1px solid var(--hs-border);
  padding: 16px 20px 24px;
  z-index: 99;
}

.nav__mobile.is-open { display: block; }

.nav__mobile-link {
  display: block;
  padding: 14px 4px;
  font-size: 15px;
  font-weight: 500;
  color: var(--hs-text-secondary);
  border-bottom: 1px solid var(--hs-border);
  transition: color var(--duration-fast);
}

.nav__mobile-link:last-of-type { border-bottom: none; }
.nav__mobile-link:hover { color: var(--hs-text); }

.nav__mobile-cta {
  margin-top: 16px;
  width: 100%;
  justify-content: center;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  padding: 80px 0 96px;
  overflow: hidden;
  position: relative;
}

/* Subtle grain overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 40%, rgba(196, 240, 77, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--hs-verified-dim);
  margin-bottom: 24px;
}

.hero__eyebrow-dot {
  width: 6px;
  height: 6px;
  background: var(--hs-verified);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero__h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 3.25rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

.hero__h1 em {
  font-style: italic;
  color: var(--hs-verified);
}

.hero__sub {
  font-size: 16px;
  line-height: 1.7;
  color: var(--hs-text-secondary);
  max-width: 480px;
  margin-bottom: 40px;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

/* iMessage mockup */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.imessage-frame {
  width: 100%;
  max-width: 320px;
  background: var(--hs-surface);
  border: 1px solid var(--hs-border);
  border-radius: 24px;
  padding: 20px 16px 28px;
  position: relative;
}

.imessage-topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 4px 16px;
  border-bottom: 1px solid var(--hs-border);
  margin-bottom: 20px;
}

.imessage-avatar {
  width: 36px;
  height: 36px;
  background: var(--hs-surface-2);
  border: 1px solid var(--hs-border);
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hs-text-secondary);
  font-size: 12px;
  font-weight: 700;
}

.imessage-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--hs-text);
  letter-spacing: -0.01em;
}

.imessage-status {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--hs-verified-dim);
  font-weight: 500;
  letter-spacing: 0.05em;
}

.imessage-messages {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0 4px;
}

.imessage-row {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.imessage-row.incoming { align-items: flex-start; }

.imessage-bubble {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 13px;
  line-height: 1.45;
}

.imessage-row.outgoing .imessage-bubble {
  background: #2563EB;
  color: #fff;
  border-bottom-right-radius: 4px;
}

.imessage-row.incoming .imessage-bubble {
  background: var(--hs-surface-2);
  color: var(--hs-text);
  border-bottom-left-radius: 4px;
  border: 1px solid var(--hs-border);
}

.imessage-stamped-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.imessage-stamp-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(196, 240, 77, 0.08);
  border: 1px solid rgba(196, 240, 77, 0.2);
  border-radius: var(--radius-full);
  padding: 3px 10px 3px 5px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  color: var(--hs-verified);
  letter-spacing: 0.05em;
}

.imessage-stamp-badge svg {
  display: inline;
  width: 14px;
  height: 14px;
  color: var(--hs-verified);
}

.imessage-time {
  font-size: 10px;
  color: var(--hs-text-muted);
  padding: 2px 4px 0;
}

/* ============================================
   PROBLEM
   ============================================ */
.problem {
  border-top: 1px solid var(--hs-border);
}

.problem__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.problem__card {
  background: var(--hs-surface);
  border: 1px solid var(--hs-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
}

.problem__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--hs-surface-2);
  border: 1px solid var(--hs-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--hs-text-secondary);
}

.problem__icon svg {
  width: 20px;
  height: 20px;
}

.problem__card h3 {
  margin-bottom: 12px;
  font-size: 18px;
}

.problem__card p { font-size: 14px; }

/* ============================================
   HOW IT WORKS
   ============================================ */
.how {
  border-top: 1px solid var(--hs-border);
}

.how__steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  counter-reset: step;
}

.how__step {
  background: var(--hs-surface);
  border: 1px solid var(--hs-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  counter-increment: step;
  transition: border-color var(--duration-normal);
}

.how__step:hover { border-color: var(--hs-text-muted); }

.how__step-number {
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--hs-text-muted);
  letter-spacing: 0.05em;
}

.how__step-number::before { content: '0'; }

.how__step h3 { margin-bottom: 12px; }
.how__step p { font-size: 14px; }

/* ============================================
   USE CASES
   ============================================ */
.usecases {
  border-top: 1px solid var(--hs-border);
}

.usecases__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.usecases__col {
  background: var(--hs-surface);
  border: 1px solid var(--hs-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}

.usecases__col-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.usecases__col-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--hs-surface-2);
  border: 1px solid var(--hs-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--hs-text-secondary);
}

.usecases__col-icon svg {
  width: 20px;
  height: 20px;
}

.usecases__col h3 { font-size: 18px; }

.usecases__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.usecases__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--hs-text-secondary);
  line-height: 1.6;
}

.usecases__check {
  width: 20px;
  height: 20px;
  background: rgba(196, 240, 77, 0.1);
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.usecases__check svg {
  width: 11px;
  height: 11px;
  stroke: var(--hs-verified);
  stroke-width: 2.5;
  fill: none;
}

/* ============================================
   SHIELD STATES (now H+S Badge)
   ============================================ */
.shield-section {
  border-top: 1px solid var(--hs-border);
  background: var(--hs-surface);
}

.shields__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 880px;
  margin: 0 auto;
}

.shield-card {
  background: var(--hs-dark);
  border: 1px solid var(--hs-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  transition: border-color var(--duration-normal);
}

.shield-card:hover { border-color: var(--hs-text-muted); }

.shield-card__icon {
  margin: 0 auto 20px;
  width: 56px;
  height: 56px;
}

.shield-card__level {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.shield-card--green .shield-card__level {
  background: rgba(196, 240, 77, 0.12);
  color: var(--hs-verified);
}

.shield-card--yellow .shield-card__level {
  background: rgba(224, 168, 74, 0.15);
  color: var(--hs-warning);
}

.shield-card--gray .shield-card__level {
  background: rgba(138, 138, 148, 0.12);
  color: var(--hs-text-secondary);
}

.shield-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--hs-text);
  margin-bottom: 8px;
}

.shield-card__sub {
  font-size: 13px;
  color: var(--hs-text-secondary);
  line-height: 1.6;
}

.shield-card--green .shield-card__icon { color: var(--hs-verified); }
.shield-card--yellow .shield-card__icon { color: var(--hs-warning); }
.shield-card--gray .shield-card__icon { color: var(--hs-text-muted); }

/* ============================================
   DEVELOPERS
   ============================================ */
.developers {
  border-top: 1px solid var(--hs-border);
}

.developers__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.developers__copy .section-label { margin-bottom: 12px; }
.developers__copy h2 { margin-bottom: 16px; }

.developers__copy p {
  font-size: 15px;
  margin-bottom: 28px;
  max-width: 460px;
}

.dev-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.dev-tag {
  background: var(--hs-surface);
  border: 1px solid var(--hs-border);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  color: var(--hs-text-secondary);
}

.code-block {
  background: var(--hs-surface);
  border: 1px solid var(--hs-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  font-family: var(--font-mono);
}

.code-block__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: var(--hs-surface-2);
  border-bottom: 1px solid var(--hs-border);
}

.code-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.code-dot:nth-child(1) { background: #E05252; }
.code-dot:nth-child(2) { background: #E0A84A; }
.code-dot:nth-child(3) { background: #92B83A; }

.code-label {
  margin-left: 8px;
  font-size: 11px;
  color: var(--hs-text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.code-block__body {
  padding: 24px 20px;
  overflow-x: auto;
}

.code-block__body pre {
  font-size: 13px;
  line-height: 1.8;
  color: var(--hs-text);
  white-space: pre;
  tab-size: 2;
}

.code-comment { color: var(--hs-text-muted); }
.code-method  { color: #E0A84A; font-weight: 500; }
.code-path    { color: #6BA3DC; }
.code-key     { color: #B090E0; }
.code-string  { color: var(--hs-verified); }
.code-arrow   { color: var(--hs-warning); }
.code-result  { color: var(--hs-verified); font-weight: 500; }

/* ============================================
   WAITLIST
   ============================================ */
.waitlist {
  background: var(--hs-surface);
  border-top: 1px solid var(--hs-border);
  padding: 96px 0;
}

.waitlist__inner {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

.waitlist__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--hs-verified-dim);
  margin-bottom: 24px;
}

.waitlist__eyebrow svg {
  width: 14px;
  height: 14px;
  color: var(--hs-verified);
}

.waitlist h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 3.25rem);
  font-weight: 400;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.waitlist__sub {
  color: var(--hs-text-secondary);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.waitlist__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.waitlist__input {
  width: 100%;
  padding: 14px 20px;
  background: var(--hs-dark);
  border: 1px solid var(--hs-border);
  border-radius: var(--radius-md);
  color: var(--hs-text);
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition: border-color var(--duration-fast);
}

.waitlist__input::placeholder { color: var(--hs-text-muted); }

.waitlist__input:focus { border-color: var(--hs-verified); }
.waitlist__input:focus-visible {
  outline: 2px solid var(--hs-verified);
  outline-offset: -2px;
}

.waitlist__submit {
  width: 100%;
  padding: 14px;
  background: var(--hs-verified);
  color: var(--hs-black);
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--duration-fast), transform var(--duration-fast);
}

.waitlist__submit:hover {
  background: var(--hs-verified-hover);
  transform: translateY(-1px);
}

.waitlist__submit:active { transform: scale(0.98); }

.waitlist__submit:focus-visible {
  outline: 2px solid var(--hs-verified);
  outline-offset: 2px;
}

.waitlist__fine {
  margin-top: 20px;
  font-size: 13px;
  color: var(--hs-text-muted);
  line-height: 1.6;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--hs-dark);
  border-top: 1px solid var(--hs-border);
  padding: 52px 0 40px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--hs-parchment);
}

.footer__logo-mark {
  width: 24px;
  height: 24px;
  color: var(--hs-parchment);
}

.footer__logo-text {
  font-size: 15px;
  letter-spacing: -0.02em;
}

.footer__logo-text strong { font-weight: 700; }
.footer__logo-text span { font-weight: 400; }

.footer__tagline {
  font-size: 13px;
  color: var(--hs-text-muted);
  line-height: 1.5;
  max-width: 260px;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: center;
}

.footer__link {
  font-size: 13px;
  color: var(--hs-text-muted);
  transition: color var(--duration-fast);
}

.footer__link:hover { color: var(--hs-text-secondary); }
.footer__link--soon { cursor: default; opacity: .4; }
.footer__link--soon:hover { color: var(--hs-text-muted); }

.footer__bottom {
  border-top: 1px solid var(--hs-border);
  margin-top: 32px;
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.footer__copy {
  font-size: 12px;
  color: var(--hs-text-muted);
}

/* ============================================
   RESPONSIVE — tablet (640px+)
   ============================================ */
@media (min-width: 640px) {
  .problem__grid { grid-template-columns: 1fr 1fr; }
  .usecases__grid { grid-template-columns: 1fr 1fr; }
  .shields__grid { grid-template-columns: repeat(3, 1fr); }

  .waitlist__form { flex-direction: row; }
  .waitlist__input { flex: 1; min-width: 0; }
  .waitlist__submit { width: auto; padding: 14px 28px; white-space: nowrap; }

  .footer__inner { grid-template-columns: 1fr auto; align-items: start; }
}

/* ============================================
   RESPONSIVE — desktop (900px+)
   ============================================ */
@media (min-width: 900px) {
  .nav__links { display: flex; }
  .nav__hamburger { display: none; }

  .hero { padding: 120px 0 112px; }
  .hero__inner { grid-template-columns: 1fr 1fr; gap: 80px; }

  .how__steps { grid-template-columns: repeat(3, 1fr); }
  .developers__inner { grid-template-columns: 1fr 1fr; }

  .footer__inner {
    grid-template-columns: 1fr 1fr 1fr;
    align-items: start;
    gap: 40px;
  }

  .imessage-frame { max-width: 340px; }
}

@media (min-width: 1200px) {
  .container { padding: 0 32px; }
}

/* ── Utilities ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
