/* =========================================================
   Forms Pro — marketing site
   Design tokens extracted from the shipping app
   ========================================================= */

:root {
  /* Brand — purple is an accent (5–10% of UI), not a flood */
  --purple-100: #F6F3FA;
  --purple-400: #B1A0CD;
  --purple-500: #7248B9;
  --purple-600: #6640A8;
  --purple-700: #5A3994;
  --purple-900: #56368A;

  /* Active accent */
  --accent-100: var(--purple-100);
  --accent-500: var(--purple-500);
  --accent-600: var(--purple-600);
  --accent-700: var(--purple-700);

  /* Purple-tinted neutrals (hue 262°, 2–5% sat — never pure gray) */
  --neutral-100: #FAFAFB;
  --neutral-200: #F6F5F7;
  --neutral-300: #E2E1E5;
  --neutral-400: #C7C6CC;
  --neutral-500: #9D9CA1;
  --neutral-600: #706F76;
  --neutral-700: #4A484E;
  --neutral-800: #312F34;
  --neutral-900: #19181B;

  /* Semantic (Google Material — intentional, we integrate with Forms) */
  --google-green: #34A853;
  --google-red: #EA4335;
  --google-yellow: #FBBC04;
  --google-blue: #4285F4;
  --google-green-bg: #E6F4EA;
  --google-blue-bg: #E8F0FE;

  /* Spacing — 8px base */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;

  /* Radii */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 12px;
  --r-xl: 16px;
  --r-2xl: 24px;
  --r-full: 9999px;

  /* Shadows — single layer, subtle */
  --shadow-sm: 0 1px 3px rgba(25, 24, 27, 0.04);
  --shadow-md: 0 2px 8px rgba(25, 24, 27, 0.08);
  --shadow-lg: 0 8px 16px rgba(25, 24, 27, 0.12);
  --shadow-phone:
    0 30px 60px -20px rgba(114, 72, 185, 0.28),
    0 18px 40px -12px rgba(25, 24, 27, 0.18),
    0 0 0 1px rgba(25, 24, 27, 0.04);

  /* Type — system fonts only */
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
    "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, monospace;

  /* App scale */
  --fs-caption: 12px;
  --fs-footnote: 13px;
  --fs-subheadline: 15px;
  --fs-callout: 16px;
  --fs-body: 17px;
  --fs-headline: 17px;
  --fs-title-3: 20px;
  --fs-title-2: 22px;
  --fs-title-1: 28px;
  --fs-large-title: 34px;

  /* Marketing-only display sizes (kept restrained) */
  --fs-display: clamp(40px, 6vw, 64px);
  --fs-hero-eyebrow: 13px;
}

/* =========================================================
   Reset
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.47;
  color: var(--neutral-800);
  background: var(--neutral-200);
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--accent-500);
  text-decoration: none;
  transition: opacity 150ms ease;
}
a:hover { opacity: 0.7; }

button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 700; letter-spacing: -0.01em; color: var(--neutral-900); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--accent-100); color: var(--accent-700); }

/* =========================================================
   Layout
   ========================================================= */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--s-5);
}

.section { padding: var(--s-9) 0; }
.section--tight { padding: var(--s-8) 0; }
.section--surface { background: var(--neutral-100); }

@media (max-width: 720px) {
  .section { padding: var(--s-8) 0; }
}

/* =========================================================
   Type utilities
   ========================================================= */

.eyebrow {
  font-size: var(--fs-hero-eyebrow);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-700);
}

.display { font-size: var(--fs-display); line-height: 1.04; letter-spacing: -0.025em; }
.title-1 { font-size: var(--fs-title-1); line-height: 1.18; letter-spacing: -0.02em; }
.title-2 { font-size: var(--fs-title-2); line-height: 1.22; letter-spacing: -0.015em; }
.title-3 { font-size: var(--fs-title-3); line-height: 1.28; letter-spacing: -0.012em; font-weight: 600; }
.headline { font-size: var(--fs-headline); font-weight: 600; }
.body { font-size: var(--fs-body); line-height: 1.47; }
.callout { font-size: var(--fs-callout); }
.subheadline { font-size: var(--fs-subheadline); color: var(--neutral-600); }
.footnote { font-size: var(--fs-footnote); color: var(--neutral-600); }
.caption { font-size: var(--fs-caption); color: var(--neutral-600); }

.mono { font-family: var(--font-mono); }
.muted { color: var(--neutral-600); }
.center { text-align: center; }
.balance { text-wrap: balance; }
.pretty { text-wrap: pretty; }

.lede {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
  color: var(--neutral-600);
  max-width: 56ch;
}

/* =========================================================
   Buttons
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  height: 56px;
  padding: 0 var(--s-5);
  border-radius: var(--r-md);
  font-size: var(--fs-headline);
  font-weight: 600;
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  transition: transform 120ms ease, background-color 150ms ease,
    border-color 150ms ease, color 150ms ease, box-shadow 150ms ease;
  white-space: nowrap;
  min-width: 44px;
}
.btn:active { transform: scale(0.97); }

.btn--primary {
  background: var(--accent-500);
  color: #ffffff;
}
.btn--primary:hover { background: var(--accent-600); opacity: 1; }
.btn--primary:active { background: var(--accent-700); }

.btn--secondary {
  background: transparent;
  color: var(--accent-500);
  border-color: var(--accent-500);
}
.btn--secondary:hover { background: var(--accent-100); opacity: 1; }

.btn--ghost {
  background: transparent;
  color: var(--neutral-800);
}
.btn--ghost:hover { background: var(--neutral-200); opacity: 1; }

.btn--sm { height: 44px; padding: 0 var(--s-4); font-size: var(--fs-callout); }
.btn--lg { height: 64px; padding: 0 var(--s-6); font-size: var(--fs-title-3); }

/* App Store badge */
.appstore {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  height: 56px;
  padding: 0 var(--s-5);
  background: var(--neutral-900);
  color: #ffffff;
  border-radius: var(--r-md);
  font-size: var(--fs-headline);
  font-weight: 600;
  transition: transform 120ms ease, background 150ms ease;
}
.appstore:hover { background: #000; opacity: 1; }
.appstore:active { transform: scale(0.97); }
.appstore__sub { display: block; font-size: 10px; font-weight: 400; opacity: 0.8; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.1; }
.appstore__lead { display: block; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.1; margin-top: 2px; }

.appstore--soon {
  background: var(--neutral-300);
  color: var(--neutral-700);
  cursor: default;
}
.appstore--soon:hover { background: var(--neutral-300); opacity: 1; }

/* Compact App Store badge for navbar */
.nav__cta .appstore {
  height: 40px;
  padding: 0 var(--s-3);
  gap: var(--s-2);
  border-radius: var(--r-sm);
}
.nav__cta .appstore svg { width: 16px; height: 18px; }
.nav__cta .appstore__sub { font-size: 9px; }
.nav__cta .appstore__lead { font-size: 14px; }

/* =========================================================
   Cards
   ========================================================= */

.card {
  background: var(--neutral-100);
  border: 1px solid var(--neutral-300);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 200ms ease, transform 150ms ease, border-color 150ms ease;
}
.card--interactive:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--neutral-400);
}
.card--interactive:active { transform: scale(0.98); }

/* =========================================================
   Navbar
   ========================================================= */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 245, 247, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, background 200ms ease;
}
.nav.is-scrolled { border-bottom-color: var(--neutral-300); }

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--fs-headline);
  font-weight: 700;
  color: var(--neutral-900);
  letter-spacing: -0.01em;
}
.brand:hover { opacity: 1; }
.brand__wordmark { height: 104px; width: auto; max-width: none; display: block; margin-left: -37px; }
.nav .brand__wordmark { height: 83px; margin-left: -30px; margin-top: 5px; }

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--s-5);
}
.nav__links a {
  color: var(--neutral-700);
  font-size: var(--fs-callout);
  font-weight: 500;
}
.nav__links a:hover { color: var(--neutral-900); opacity: 1; }
.nav__links a.is-active { color: var(--neutral-900); }

.nav__cta { display: inline-flex; align-items: center; gap: var(--s-3); }

.nav__burger {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--neutral-300);
  background: var(--neutral-100);
  border-radius: var(--r-md);
  align-items: center;
  justify-content: center;
}

@media (max-width: 720px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: inline-flex; }
  .nav .brand__wordmark { height: 40px; max-width: 60vw; margin-left: -6px; margin-top: 0; }
}

.nav__sheet {
  display: none;
  position: fixed;
  inset: 64px 0 0 0;
  background: #fff;
  border-top: 1px solid var(--neutral-300);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  padding: var(--s-6) var(--s-5);
  flex-direction: column;
  gap: var(--s-4);
  z-index: 49;
  overflow-y: auto;
}
.nav__sheet.is-open { display: flex; }
.nav__sheet a:not(.appstore) {
  font-size: var(--fs-title-3);
  color: var(--neutral-900);
  font-weight: 600;
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--neutral-300);
}

/* =========================================================
   Phone frame (placeholder mockup)
   ========================================================= */

.phone {
  position: relative;
  width: 280px;
  height: 580px;
  background: var(--neutral-900);
  border-radius: 44px;
  padding: 10px;
  box-shadow: var(--shadow-phone);
}

.phone__screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--neutral-100);
  border-radius: 34px;
  overflow: hidden;
  isolation: isolate;
}

.phone__notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 28px;
  background: var(--neutral-900);
  border-radius: 16px;
  z-index: 3;
}

.phone__statusbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 48px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--neutral-900);
}
.phone__status-right { display: inline-flex; gap: 6px; align-items: center; }

/* Placeholder fill — diagonal stripes + monospace label.
   Swapped for real screenshots when available. */
.placeholder-fill {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    var(--neutral-200) 0,
    var(--neutral-200) 10px,
    var(--neutral-100) 10px,
    var(--neutral-100) 20px
  );
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--s-2);
  padding: var(--s-5);
  text-align: center;
}
.placeholder-fill__label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--neutral-600);
  text-transform: uppercase;
  background: var(--neutral-100);
  border: 1px solid var(--neutral-300);
  padding: 6px 10px;
  border-radius: var(--r-sm);
}
.placeholder-fill__sub {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--neutral-500);
  letter-spacing: 0.05em;
}

/* Soft accent glow behind a hero phone / screenshot */
.phone-stage {
  position: relative;
  display: inline-flex;
  isolation: isolate;
}
.phone-stage::before {
  content: "";
  position: absolute;
  inset: -8% -16%;
  background: radial-gradient(60% 60% at 50% 55%, color-mix(in oklab, var(--accent-500) 22%, transparent) 0%, transparent 70%);
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
}

/* Real-screenshot frame — marketing PNGs already include the iPhone bezel
   centered on a white-margin background. Sized to match the prior 280px mock. */
.phone-shot {
  display: block;
  width: 330px;
  height: auto;
}

/* =========================================================
   Hero — Variant A (copy left, phone right)
   ========================================================= */

.hero { padding: var(--s-9) 0; }

.hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--s-8);
  align-items: center;
}
.hero__media { display: flex; justify-content: center; }

/* Even 24px rhythm through the copy block; CTA → meta intentionally tighter (16px) */
.hero__eyebrow { margin-bottom: var(--s-5); }
.hero__copy .display { margin-bottom: var(--s-6); }
.hero__copy .lede { margin-bottom: var(--s-6); }
.hero__cta {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  flex-wrap: wrap;
  margin-bottom: var(--s-4);
}

.hero__meta {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  color: var(--neutral-600);
  font-size: var(--fs-footnote);
  flex-wrap: wrap;
}
.dot { width: 4px; height: 4px; border-radius: 50%; background: var(--neutral-400); display: inline-block; }

@media (max-width: 880px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: var(--s-7);
    text-align: center;
  }
  .hero__copy { align-items: center; }
  .hero__cta, .hero__meta { justify-content: center; }
  .hero__copy .lede { margin-left: auto; margin-right: auto; }
}

/* =========================================================
   Feature pillars — alternating media/copy
   ========================================================= */

.pillar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-8);
  align-items: center;
  padding: var(--s-8) 0;
}
.pillar + .pillar { border-top: 1px solid var(--neutral-300); }
.pillar--reverse .pillar__media { order: 2; }
.pillar__media { display: flex; justify-content: center; }
.pillar__copy { max-width: 460px; }
.pillar__icon {
  width: 40px; height: 40px;
  border-radius: var(--r-md);
  background: var(--accent-100);
  color: var(--accent-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--s-4);
}
.pillar__title { margin-bottom: var(--s-3); }
.pillar__body { color: var(--neutral-600); font-size: var(--fs-callout); line-height: 1.55; }
.pillar__list { margin-top: var(--s-5); display: flex; flex-direction: column; gap: var(--s-3); }
.pillar__list li {
  display: flex; gap: var(--s-3); align-items: flex-start;
  font-size: var(--fs-callout); color: var(--neutral-700);
}
.pillar__check {
  flex: 0 0 20px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--google-green-bg);
  color: var(--google-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

@media (max-width: 880px) {
  .pillar {
    grid-template-columns: 1fr;
    gap: var(--s-6);
  }
  .pillar--reverse .pillar__media { order: -1; }
  .pillar__copy { max-width: none; }
}

/* =========================================================
   Three-up small cards
   ========================================================= */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
}
@media (max-width: 880px) { .grid-3 { grid-template-columns: 1fr; } }

.feature-card { display: flex; flex-direction: column; gap: var(--s-3); }
.feature-card__icon {
  width: 36px; height: 36px; border-radius: var(--r-md);
  background: var(--accent-100); color: var(--accent-700);
  display: inline-flex; align-items: center; justify-content: center;
}
.feature-card__title { font-size: var(--fs-headline); font-weight: 600; color: var(--neutral-900); }
.feature-card__body { font-size: var(--fs-callout); color: var(--neutral-600); line-height: 1.5; }

/* =========================================================
   Testimonials
   ========================================================= */

.testimonials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
}
@media (max-width: 720px) { .testimonials { grid-template-columns: 1fr; } }

.quote {
  background: var(--neutral-100);
  border: 1px solid var(--neutral-300);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}
.quote__mark {
  font-size: 36px;
  line-height: 0.6;
  color: var(--accent-500);
  font-weight: 700;
  font-family: Georgia, serif;
}
.quote__text {
  font-size: var(--fs-title-3);
  line-height: 1.4;
  color: var(--neutral-800);
  letter-spacing: -0.01em;
}
.quote__author { display: flex; align-items: center; gap: var(--s-3); }
.quote__avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--accent-100);
  color: var(--accent-700);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.quote__name { font-size: var(--fs-callout); font-weight: 600; color: var(--neutral-900); }
.quote__role { font-size: var(--fs-footnote); color: var(--neutral-600); }

/* =========================================================
   CTA band
   ========================================================= */

.cta-band {
  background: var(--neutral-900);
  color: var(--neutral-100);
  border-radius: var(--r-2xl);
  padding: var(--s-8) var(--s-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-5);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: -50% -10% auto auto;
  width: 60%;
  aspect-ratio: 1;
  background: radial-gradient(circle, color-mix(in oklab, var(--accent-500) 35%, transparent), transparent 60%);
  filter: blur(40px);
  pointer-events: none;
}
.cta-band h2 { color: #fff; max-width: 18ch; }
.cta-band p { color: var(--neutral-400); max-width: 56ch; }
.cta-band .appstore { background: #ffffff; color: var(--neutral-900); position: relative; z-index: 1; }
.cta-band .appstore:hover { background: var(--neutral-200); }
.cta-band .appstore--soon { background: var(--neutral-700); color: var(--neutral-400); }

/* =========================================================
   Footer
   ========================================================= */

.footer {
  padding: var(--s-8) 0 var(--s-6);
  border-top: 1px solid var(--neutral-300);
  background: var(--neutral-200);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--s-7);
  padding-bottom: var(--s-7);
}
@media (max-width: 720px) {
  .footer__inner { grid-template-columns: 1fr 1fr; gap: var(--s-5); }
}
.footer__brand .brand { margin-bottom: 0; }
.footer__brand .brand__wordmark { margin-top: -28px; }
.footer__tagline { color: var(--neutral-600); font-size: var(--fs-footnote); max-width: 28ch; margin-top: -24px; }
.footer__col h4 { font-size: var(--fs-footnote); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--neutral-600); margin-bottom: var(--s-3); }
.footer__col ul { display: flex; flex-direction: column; gap: var(--s-2); }
.footer__col a { color: var(--neutral-700); font-size: var(--fs-callout); }
.footer__col a:hover { color: var(--neutral-900); opacity: 1; }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--neutral-300);
  padding-top: var(--s-5);
  font-size: 14px;
  color: var(--neutral-600);
  flex-wrap: wrap; gap: var(--s-3);
}
.footer__bottom a { color: var(--neutral-600); }
.footer__bottom a:hover { color: var(--neutral-900); }

/* =========================================================
   FAQ — accordion
   ========================================================= */

.page-header {
  padding: var(--s-9) 0 var(--s-6);
  text-align: center;
}
.page-header .eyebrow { margin-bottom: var(--s-3); }
.page-header h1 { margin-bottom: var(--s-4); }
.page-header .lede { margin-left: auto; margin-right: auto; }

.faq-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--s-8);
}
@media (max-width: 880px) {
  .faq-layout { grid-template-columns: 1fr; gap: var(--s-5); }
}
.faq-side h4 {
  font-size: var(--fs-footnote);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--neutral-600);
  margin-bottom: var(--s-3);
}
.faq-side ul { display: flex; flex-direction: column; gap: var(--s-1); }
.faq-side a {
  display: block;
  padding: var(--s-2) var(--s-3);
  border-radius: var(--r-sm);
  color: var(--neutral-700);
  font-size: var(--fs-callout);
}
.faq-side a:hover { background: var(--neutral-100); color: var(--neutral-900); opacity: 1; }

.faq-group { margin-bottom: var(--s-7); }
.faq-group__title {
  font-size: var(--fs-title-3);
  margin-bottom: var(--s-4);
}
.faq-item {
  border-bottom: 1px solid var(--neutral-300);
  padding: var(--s-4) 0;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  font-size: var(--fs-headline);
  font-weight: 600;
  color: var(--neutral-900);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  width: 12px; height: 12px;
  border-right: 2px solid var(--neutral-500);
  border-bottom: 2px solid var(--neutral-500);
  transform: rotate(45deg);
  transition: transform 200ms ease;
  flex: 0 0 12px;
  margin-top: -4px;
}
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: 2px; }
.faq-item__body {
  padding-top: var(--s-3);
  color: var(--neutral-700);
  font-size: var(--fs-callout);
  line-height: 1.6;
  max-width: 64ch;
}
.faq-item__body p + p { margin-top: var(--s-3); }

/* =========================================================
   Contact
   ========================================================= */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--s-8);
  align-items: start;
}
@media (max-width: 880px) {
  .contact-layout { grid-template-columns: 1fr; gap: var(--s-6); }
}

.contact-direct {
  background: var(--neutral-100);
  border: 1px solid var(--neutral-300);
  border-radius: var(--r-lg);
  padding: var(--s-6);
}
.contact-direct h3 { font-size: var(--fs-title-3); margin-bottom: var(--s-3); }
.contact-direct__email {
  font-family: var(--font-mono);
  font-size: var(--fs-callout);
  padding: var(--s-3) var(--s-4);
  background: var(--neutral-200);
  border: 1px solid var(--neutral-300);
  border-radius: var(--r-md);
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  color: var(--neutral-800);
}
.contact-channel {
  display: flex; align-items: flex-start; gap: var(--s-3);
  padding: var(--s-4) 0;
  border-top: 1px solid var(--neutral-300);
}
.contact-channel:first-of-type { border-top: none; padding-top: var(--s-5); }
.contact-channel__icon {
  width: 36px; height: 36px; border-radius: var(--r-md);
  background: var(--accent-100); color: var(--accent-700);
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 36px;
}
.contact-channel__title { font-size: var(--fs-headline); font-weight: 600; color: var(--neutral-900); margin-bottom: 2px; }
.contact-channel__desc { font-size: var(--fs-footnote); color: var(--neutral-600); }

.form { display: flex; flex-direction: column; gap: var(--s-4); }
.form__row { display: flex; flex-direction: column; gap: var(--s-2); }
.form__row--double { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
@media (max-width: 540px) { .form__row--double { grid-template-columns: 1fr; } }

.form label { font-size: var(--fs-footnote); font-weight: 500; color: var(--neutral-700); }
.input, .textarea, .select {
  width: 100%;
  min-height: 44px;
  padding: 0 var(--s-4);
  border: 1px solid var(--neutral-300);
  background: var(--neutral-100);
  border-radius: var(--r-md);
  font-family: inherit;
  font-size: var(--fs-callout);
  color: var(--neutral-900);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: var(--accent-500);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent-500) 18%, transparent);
}
.textarea { padding: var(--s-3) var(--s-4); min-height: 140px; resize: vertical; line-height: 1.5; }

.form__notice {
  display: flex; align-items: flex-start; gap: var(--s-2);
  font-size: var(--fs-footnote); color: var(--neutral-600);
  padding: var(--s-3) var(--s-4);
  background: var(--google-blue-bg);
  border-radius: var(--r-md);
  color: var(--neutral-800);
}
.form__success {
  padding: var(--s-4);
  background: var(--google-green-bg);
  color: #1B5E20;
  border-radius: var(--r-md);
  font-size: var(--fs-callout);
}

/* =========================================================
   Legal pages
   ========================================================= */

.legal {
  background: var(--neutral-100);
  border: 1px solid var(--neutral-300);
  border-radius: var(--r-lg);
  padding: var(--s-7);
  max-width: 800px;
  margin: 0 auto;
}
.legal h2 { font-size: var(--fs-title-2); margin-top: var(--s-6); margin-bottom: var(--s-3); }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: var(--fs-title-3); margin-top: var(--s-5); margin-bottom: var(--s-2); font-weight: 600; }
.legal p { color: var(--neutral-700); font-size: var(--fs-callout); line-height: 1.6; margin-bottom: var(--s-3); }
.legal ul { padding-left: var(--s-5); list-style: disc; margin-bottom: var(--s-3); }
.legal ul li { color: var(--neutral-700); font-size: var(--fs-callout); line-height: 1.6; margin-bottom: var(--s-2); }
.legal__meta {
  display: flex; gap: var(--s-3); align-items: center;
  font-size: var(--fs-footnote);
  color: var(--neutral-600);
  padding-bottom: var(--s-4);
  border-bottom: 1px solid var(--neutral-300);
  margin-bottom: var(--s-5);
}
.legal__termly-note {
  background: var(--google-blue-bg);
  border: 1px dashed color-mix(in oklab, var(--google-blue) 40%, transparent);
  border-radius: var(--r-md);
  padding: var(--s-4);
  font-size: var(--fs-footnote);
  color: var(--neutral-800);
  margin-bottom: var(--s-5);
  display: flex; gap: var(--s-3); align-items: flex-start;
}
.legal__termly-note strong { color: var(--neutral-900); }

/* =========================================================
   Misc utilities
   ========================================================= */

.row { display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; }
.stack { display: flex; flex-direction: column; gap: var(--s-3); }
.divider { height: 1px; background: var(--neutral-300); border: 0; margin: var(--s-6) 0; }

.section__head {
  text-align: center;
  margin-bottom: var(--s-7);
}
.section__head .eyebrow { margin-bottom: var(--s-3); display: inline-block; }
.section__head h2 { margin-bottom: var(--s-3); }
.section__head p { max-width: 56ch; margin: 0 auto; color: var(--neutral-600); }

/* Tag chips */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 10px;
  border-radius: var(--r-full);
  background: var(--accent-100);
  color: var(--accent-700);
  font-size: var(--fs-caption);
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Inline mock screens — placeholder UI density inside hero/pillar phones */
.mock-screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding-top: 56px;
}
.mock-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px 16px;
  border-bottom: 1px solid var(--neutral-300);
}
.mock-toolbar__title { font-size: 17px; font-weight: 700; color: var(--neutral-900); }
.mock-toolbar__action {
  font-size: 15px; font-weight: 600;
  color: var(--accent-500);
}
.mock-body { flex: 1; overflow: hidden; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.mock-row {
  height: 14px;
  border-radius: 4px;
  background: var(--neutral-200);
}
.mock-row--short { width: 60%; }
.mock-row--xshort { width: 40%; }

.mock-card {
  background: var(--neutral-100);
  border: 1px solid var(--neutral-300);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--shadow-sm);
}
.mock-pill {
  display: inline-flex; align-items: center;
  height: 18px; padding: 0 8px;
  background: var(--accent-100);
  color: var(--accent-700);
  border-radius: 999px;
  font-size: 10px; font-weight: 600; letter-spacing: 0.04em;
  align-self: flex-start;
}
.mock-notif {
  background: var(--neutral-100);
  border: 1px solid var(--neutral-300);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
}
.mock-notif__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--google-blue);
  margin-top: 6px;
  flex: 0 0 8px;
}
.mock-notif__title { font-size: 12px; font-weight: 600; color: var(--neutral-900); margin-bottom: 2px; }
.mock-notif__body { font-size: 11px; color: var(--neutral-600); line-height: 1.4; }

.mock-bar-row {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px;
}
.mock-bar-row__label { color: var(--neutral-700); width: 56px; font-weight: 500; }
.mock-bar-row__track {
  flex: 1;
  height: 8px;
  background: var(--neutral-200);
  border-radius: 999px;
  overflow: hidden;
}
.mock-bar-row__fill {
  height: 100%;
  background: var(--accent-500);
  border-radius: 999px;
}
.mock-bar-row__count { font-variant-numeric: tabular-nums; color: var(--neutral-700); font-weight: 500; width: 24px; text-align: right; }

/* "Made by URSIX" badge */
.studio-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--neutral-600);
}
.studio-badge__dot {
  width: 5px; height: 5px;
  background: var(--accent-500);
  border-radius: 50%;
}

/* Skip link */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent-500);
  color: #fff;
  padding: 8px 12px;
  z-index: 999;
}
.skip:focus { left: 8px; top: 8px; }
