/* ─── Tokens ──────────────────────────────────────────────────────────── */

:root {
  --bg:            oklch(98.5% 0.007 310);
  --ink:           oklch(14%   0.07  310);
  --purple:        oklch(50%   0.24  310);
  --purple-dim:    oklch(56%   0.18  310);
  --purple-light:  oklch(93%   0.06  310);
  --purple-xlight: oklch(96%   0.03  310);
  --muted:         oklch(54%   0.04  300);
  --line:          oklch(88%   0.05  310);
  --panel:         oklch(99%   0.003 310);

  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Plus Jakarta Sans', system-ui, sans-serif;
}

/* ─── Reset ───────────────────────────────────────────────────────────── */

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

/* scroll-behavior guarded — people with vestibular disorders need instant jumps */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

/* ─── Skip link ───────────────────────────────────────────────────────── */

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.5rem 1.25rem;
  background: var(--purple);
  color: oklch(99% 0.003 310);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 100px;
  box-shadow: 0 4px 16px oklch(50% 0.24 310 / 0.3);
}

.skip-link:focus { top: 0.75rem; }

/* ─── Focus styles ────────────────────────────────────────────────────── */

:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ─── Utility ─────────────────────────────────────────────────────────── */

.text-purple { color: var(--purple); }
.bg-purple-xlight { background: var(--purple-xlight); }

/* ─── Topbar ──────────────────────────────────────────────────────────── */

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: color-mix(in oklch, var(--bg) 88%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}

.brand img {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  object-fit: cover;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 32px);
}

nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}

nav a:hover { color: var(--ink); }

/* ─── Buttons ─────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 22px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s;
  cursor: pointer;
}

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

.btn-primary {
  background: var(--purple);
  color: oklch(99% 0.003 310);
  box-shadow: 0 4px 16px oklch(50% 0.24 310 / 0.28);
}

.btn-primary:hover {
  box-shadow: 0 8px 28px oklch(50% 0.24 310 / 0.38);
}

.btn-ghost {
  border: 1.5px solid var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--purple);
  color: var(--purple);
}

.btn-light {
  background: oklch(99% 0.003 310);
  color: var(--purple);
  box-shadow: 0 2px 8px oklch(14% 0.07 310 / 0.1);
}

.btn-light:hover {
  box-shadow: 0 6px 20px oklch(14% 0.07 310 / 0.14);
}

/* ─── Shared section atoms ────────────────────────────────────────────── */

.section-num {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--purple);
  opacity: 0.55;
  margin-bottom: 6px;
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.section-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(24px, 5vw, 64px);
  margin-bottom: clamp(36px, 5vw, 60px);
  flex-wrap: wrap;
}

.section-top-left { flex-shrink: 0; }

/* ─── Hero ────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: calc(100svh - 58px);
  padding: clamp(48px, 7vw, 88px) clamp(24px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
}

.status-dot {
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--purple);
  animation: pulse 2.8s ease-in-out infinite;
}

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

.hero-title {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-size: clamp(4.2rem, 11.5vw, 10.5rem);
  font-weight: 800;
  line-height: 0.91;
  letter-spacing: -0.025em;
  align-self: center;
  padding-block: clamp(28px, 5vw, 56px);
  max-width: 18ch;
}

.hero-italic {
  font-style: italic;
  color: var(--purple);
}

.hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-desc {
  max-width: 440px;
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  color: var(--muted);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* Orbit decoration */

.hero-orbit {
  position: absolute;
  right: clamp(-160px, -8vw, -40px);
  top: 50%;
  translate: 0 -50%;
  width: clamp(360px, 38vw, 560px);
  height: clamp(360px, 38vw, 560px);
  pointer-events: none;
  user-select: none;
}

.orbit-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--purple);
  animation: orbit-spin linear infinite;
}

.orbit-ring-1 { opacity: 0.11; animation-duration: 44s; }
.orbit-ring-2 { inset: 14%;   opacity: 0.07; animation-duration: 62s; animation-direction: reverse; }
.orbit-ring-3 { inset: 28%;   opacity: 0.14; animation-duration: 32s; }

@keyframes orbit-spin {
  to { transform: rotate(360deg); }
}

.orbit-center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-center img {
  width: clamp(48px, 8vw, 80px);
  height: clamp(48px, 8vw, 80px);
  opacity: 0.16;
}

/* ─── Software ────────────────────────────────────────────────────────── */

.section-software {
  padding: clamp(60px, 8vw, 112px) clamp(24px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-inline: 1px solid var(--line);
}

.service-item {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(28px, 3.5vw, 44px);
  border-right: 1px solid var(--line);
}

.service-item:last-child { border-right: none; }

.service-tag {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 100px;
  background: var(--purple-light);
  color: var(--purple-dim);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.service-item h3 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.service-item p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  flex: 1;
}

.service-cta {
  margin-top: 4px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--purple);
  text-decoration: none;
  transition: opacity 0.15s;
}

.service-cta:hover { opacity: 0.7; }

/* ─── Projects ────────────────────────────────────────────────────────── */

.section-projects {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
  padding: clamp(60px, 8vw, 112px) clamp(24px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
  background: var(--purple-xlight);
}

.projects-left .section-title { margin-block: 10px 14px; }

.section-desc {
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 360px;
  line-height: 1.7;
}

.project-list {
  list-style: none;
  display: grid;
  gap: 3px;
}

.project-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  background: var(--bg);
  opacity: 0.55;
  border-radius: 3px;
}

.project-num {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--purple);
}

.project-info strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 3px;
}

.project-info em {
  font-style: normal;
  font-size: 0.78rem;
  color: var(--muted);
}

/* ─── Products (within Projects section) ─────────────────────────────── */

.product-list {
  list-style: none;
  display: grid;
  gap: 3px;
}

.product-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: flex-start;
  gap: 20px;
  padding: 22px 24px;
  background: var(--bg);
  border-radius: 3px;
}

.product-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  object-fit: cover;
  flex-shrink: 0;
}

.product-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.product-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.platform-tag {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 100px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.platform-macos {
  background: oklch(88% 0.07 250);
  color: oklch(30% 0.12 250);
}

.platform-ios {
  background: oklch(91% 0.06 180);
  color: oklch(30% 0.12 180);
}

.product-status {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.03em;
}

.product-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.product-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 52ch;
}

/* ─── OSS ─────────────────────────────────────────────────────────────── */

.section-oss {
  padding: clamp(60px, 8vw, 112px) clamp(24px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
  background: var(--purple);
  color: oklch(99% 0.003 310);
}

.oss-label {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: clamp(36px, 5vw, 60px);
}

.oss-label .section-num { color: oklch(99% 0.003 310); opacity: 0.45; }
.oss-label .eyebrow     { color: oklch(99% 0.003 310); opacity: 0.65; }

.oss-feature {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.oss-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.65;
  margin-bottom: 14px;
}

.oss-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 6rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.oss-copy p {
  max-width: 500px;
  font-size: 1rem;
  line-height: 1.7;
  opacity: 0.75;
  margin-bottom: 28px;
}

.oss-ring-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: clamp(140px, 14vw, 190px);
  height: clamp(140px, 14vw, 190px);
  border-radius: 50%;
  border: 1.5px solid oklch(99% 0.003 310 / 0.3);
  gap: 8px;
  color: oklch(99% 0.003 310);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.6;
}

.oss-ring-icon {
  font-size: 2.2rem;
  line-height: 1;
  opacity: 0.7;
}

/* ─── Operations ──────────────────────────────────────────────────────── */

.section-operations {
  padding: clamp(60px, 8vw, 112px) clamp(24px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
  background: oklch(97% 0.012 310);
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.fact {
  background: var(--bg);
  padding: 26px 28px;
  min-height: 116px;
}

dt {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

dd {
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.55;
}

.fact-sub {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 3px;
}

/* ─── Contact ─────────────────────────────────────────────────────────── */

.section-contact {
  padding: clamp(72px, 10vw, 140px) clamp(24px, 6vw, 80px);
  background: var(--ink);
  color: oklch(99% 0.003 310);
}

.contact-top {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.contact-num { color: oklch(99% 0.003 310); opacity: 0.35; }

.eyebrow-light {
  color: oklch(99% 0.003 310);
  opacity: 0.5;
}

.contact-heading {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 10rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.contact-heading em {
  font-style: italic;
  color: var(--purple-light);
}

.contact-sub {
  max-width: 440px;
  font-size: 0.95rem;
  opacity: 0.5;
  line-height: 1.7;
}

.contact-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: clamp(44px, 6vw, 72px);
  padding-top: 28px;
  border-top: 1px solid oklch(99% 0.003 310 / 0.15);
  text-decoration: none;
  color: oklch(99% 0.003 310);
  transition: opacity 0.15s;
  gap: 24px;
}

.contact-link:hover { opacity: 0.75; }

.contact-email {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.8vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  word-break: break-all;
}

.contact-arrow {
  font-size: clamp(1.5rem, 3vw, 3rem);
  opacity: 0.45;
  flex-shrink: 0;
}

/* ─── Footer ──────────────────────────────────────────────────────────── */

.footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px clamp(24px, 6vw, 80px);
  background: var(--ink);
  border-top: 1px solid oklch(99% 0.003 310 / 0.1);
  color: oklch(99% 0.003 310);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0.7;
}

.footer-brand img {
  border-radius: 5px;
  opacity: 0.8;
}

.footer-loc {
  font-size: 0.78rem;
  opacity: 0.35;
}

/* ─── Responsive ──────────────────────────────────────────────────────── */

@media (max-width: 960px) {
  .service-grid {
    grid-template-columns: 1fr;
    border-inline: none;
  }

  .service-item {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding-inline: 0;
  }

  .service-item:last-child { border-bottom: none; }

  .section-projects {
    grid-template-columns: 1fr;
  }

  .oss-feature {
    grid-template-columns: 1fr;
  }

  .oss-visual { display: none; }

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

@media (max-width: 720px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero-orbit { opacity: 0.25; right: -140px; }

  .hero-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .facts { grid-template-columns: 1fr; }

  .contact-link { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero-orbit { display: none; }
}

/* ─── Reduced motion ──────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  .status-dot   { animation: none; }
  .orbit-ring   { animation: none; }
  .btn:hover    { transform: none; }
}

/* ═══════════════════════════════════════════════════════════════════════
   INNER PAGES — shared layout for app pages, blog, changelog
   ═══════════════════════════════════════════════════════════════════════ */

/* ─── Inner page topbar adjustment ────────────────────────────────────── */

.topbar-inner {
  background: color-mix(in oklch, var(--bg) 96%, transparent);
}

/* ─── Back link ────────────────────────────────────────────────────────── */

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: clamp(14px, 3vw, 22px) clamp(24px, 6vw, 80px);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: color 0.15s;
}

.back-link:hover { color: var(--purple); }

/* ─── App page hero ────────────────────────────────────────────────────── */

.app-hero {
  padding: clamp(48px, 7vw, 88px) clamp(24px, 6vw, 80px) clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.app-hero-icon {
  width: clamp(88px, 10vw, 120px);
  height: clamp(88px, 10vw, 120px);
  border-radius: clamp(20px, 2.5vw, 27px);
  object-fit: cover;
  flex-shrink: 0;
}

.app-hero-copy { max-width: 760px; }

.app-hero-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.app-hero-name {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.app-hero-tagline {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--muted);
  line-height: 1.65;
  max-width: 560px;
  margin-bottom: 28px;
}

.app-hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ─── Feature section ──────────────────────────────────────────────────── */

.features-section {
  padding: clamp(56px, 7vw, 96px) clamp(24px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
}

.features-header {
  margin-bottom: clamp(32px, 4vw, 52px);
}

.features-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-top: 10px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.feature-item {
  background: var(--bg);
  padding: 28px 28px 32px;
}

.feature-icon {
  font-size: 1.5rem;
  margin-bottom: 14px;
  display: block;
}

.feature-item h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}

.feature-item p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ─── Waitlist section ─────────────────────────────────────────────────── */

.waitlist-section {
  padding: clamp(56px, 7vw, 96px) clamp(24px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
  background: var(--purple-xlight);
}

.waitlist-section h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 12px;
}

.waitlist-section p {
  color: var(--muted);
  font-size: 1rem;
  max-width: 500px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.waitlist-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 500px;
}

.waitlist-form input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 12px 18px;
  border: 1.5px solid var(--line);
  border-radius: 100px;
  background: var(--panel);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s;
}

.waitlist-form input[type="email"]:focus {
  border-color: var(--purple);
}

.waitlist-form input[type="email"]::placeholder {
  color: var(--muted);
}

.waitlist-form button {
  min-height: 44px;
  padding: 12px 22px;
  border: none;
  border-radius: 100px;
  background: var(--purple);
  color: oklch(99% 0.003 310);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: box-shadow 0.15s, transform 0.15s;
  box-shadow: 0 4px 16px oklch(50% 0.24 310 / 0.28);
}

.waitlist-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px oklch(50% 0.24 310 / 0.38);
}

.waitlist-success {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 100px;
  background: oklch(88% 0.1 145);
  color: oklch(30% 0.12 145);
  font-size: 0.875rem;
  font-weight: 600;
}

/* ─── Screenshot gallery ───────────────────────────────────────────────── */

.screenshots-section {
  padding: clamp(56px, 7vw, 96px) clamp(24px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.screenshots-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.screenshot-grid img {
  width: 100%;
  aspect-ratio: 420 / 900;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--line);
}

.screenshot-wide img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: 0 4px 24px oklch(0% 0 0 / 0.08);
}

/* ─── Product card links (homepage) ────────────────────────────────────── */

.product-item-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.product-item {
  position: relative;
  transition: background 0.15s;
}

/* stretch the anchor to cover the full card so the whole area is clickable */
.product-item-link::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 3px;
}

.product-item-link:hover .product-item {
  background: var(--purple-xlight);
}

.product-item-link .product-name::after {
  content: ' →';
  font-size: 0.9em;
  color: var(--purple);
  opacity: 0;
  transition: opacity 0.15s;
}

.product-item-link:hover .product-name::after {
  opacity: 1;
}

/* ─── Blog index ───────────────────────────────────────────────────────── */

.blog-hero {
  padding: clamp(48px, 7vw, 88px) clamp(24px, 6vw, 80px) clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
}

.blog-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 800;
  line-height: 0.93;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.blog-hero p {
  color: var(--muted);
  font-size: 1rem;
  max-width: 480px;
  line-height: 1.7;
}

.blog-list {
  padding: clamp(40px, 5vw, 72px) clamp(24px, 6vw, 80px);
}

.blog-post-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px 40px;
  align-items: start;
  padding: clamp(24px, 3vw, 36px) 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}

.blog-post-item:first-child { border-top: 1px solid var(--line); }

.blog-post-date {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--purple);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  padding-top: 4px;
}

.blog-post-title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 10px;
  transition: color 0.15s;
}

.blog-post-item:hover .blog-post-title { color: var(--purple); }

.blog-post-excerpt {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 64ch;
}

/* ─── Blog post ────────────────────────────────────────────────────────── */

.post-hero {
  padding: clamp(48px, 7vw, 80px) clamp(24px, 6vw, 80px) clamp(32px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
  max-width: 860px;
}

.post-date {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 16px;
}

.post-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.96;
  margin-bottom: 20px;
}

.post-lede {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: var(--muted);
  line-height: 1.65;
  max-width: 56ch;
}

.post-body {
  padding: clamp(40px, 5vw, 72px) clamp(24px, 6vw, 80px);
  max-width: calc(860px + clamp(48px, 12vw, 160px));
}

.post-body p,
.post-body ul,
.post-body ol {
  font-size: clamp(1rem, 1.5vw, 1.08rem);
  line-height: 1.8;
  color: oklch(25% 0.05 310);
  max-width: 66ch;
  margin-bottom: 1.4em;
}

.post-body h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 2.5em;
  margin-bottom: 0.6em;
}

.post-body h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 2em;
  margin-bottom: 0.5em;
}

.post-body ul { padding-left: 1.4em; }
.post-body li { margin-bottom: 0.4em; }

.post-body a {
  color: var(--purple);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.post-footer {
  padding: 32px clamp(24px, 6vw, 80px);
  border-top: 1px solid var(--line);
}

/* ─── Changelog ────────────────────────────────────────────────────────── */

.changelog-hero {
  padding: clamp(48px, 7vw, 88px) clamp(24px, 6vw, 80px) clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
}

.changelog-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 800;
  line-height: 0.93;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.changelog-hero p {
  color: var(--muted);
  font-size: 1rem;
  max-width: 480px;
  line-height: 1.7;
}

.changelog-list {
  padding: clamp(40px, 5vw, 72px) clamp(24px, 6vw, 80px);
  max-width: 860px;
}

.changelog-entry {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0 40px;
  padding-bottom: clamp(36px, 4vw, 52px);
  margin-bottom: clamp(36px, 4vw, 52px);
  border-bottom: 1px solid var(--line);
}

.changelog-entry:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.changelog-date {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple);
  padding-top: 5px;
}

.changelog-content h3 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.changelog-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.tag-launch   { background: oklch(91% 0.08 145); color: oklch(30% 0.14 145); }
.tag-update   { background: var(--purple-light); color: var(--purple-dim); }
.tag-product  { background: oklch(91% 0.06 250); color: oklch(30% 0.12 250); }

.changelog-content p,
.changelog-content li {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

.changelog-content ul {
  padding-left: 1.2em;
  margin-top: 10px;
}

.changelog-content li { margin-bottom: 4px; }

/* ─── Inner page responsive ────────────────────────────────────────────── */

@media (max-width: 720px) {
  .app-hero {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .blog-post-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .changelog-entry {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (max-width: 480px) {
  .screenshot-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════════
   MOTION — hero entrance, scroll reveals, changelog timeline
   ═══════════════════════════════════════════════════════════════════════ */

/* ─── Hero entrance ───────────────────────────────────────────────────── */

@media (prefers-reduced-motion: no-preference) {
  @keyframes hero-word-up {
    from {
      opacity: 0;
      transform: translateY(0.32em) skewY(1.5deg);
      filter: blur(2px);
    }
    to {
      opacity: 1;
      transform: none;
      filter: none;
    }
  }

  @keyframes hero-fade-up {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: none; }
  }

  .hero-meta {
    animation: hero-fade-up 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .hero-title span {
    display: block;
    animation: hero-word-up 1s cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .hero-title span:nth-child(1) { animation-delay: 0.06s; }
  .hero-title span:nth-child(2) { animation-delay: 0.2s;  }
  .hero-title span:nth-child(3) { animation-delay: 0.34s; }

  .hero-bottom {
    animation: hero-fade-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.54s both;
  }

  .hero-orbit {
    animation: hero-fade-up 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.22s both;
  }
}

/* ─── Scroll reveal ───────────────────────────────────────────────────── */

.will-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity  0.72s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.72s cubic-bezier(0.16, 1, 0.3, 1);
}

.will-reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ─── Changelog timeline ──────────────────────────────────────────────── */

.changelog-content {
  padding-left: 24px;
  border-left: 1px solid var(--line);
  position: relative;
}

/* ring dot at top of each entry */
.changelog-content::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--purple);
  opacity: 0.55;
}

/* launch entries get a green dot */
.changelog-entry:has(.tag-launch) .changelog-content::before {
  border-color: oklch(48% 0.16 145);
}

/* product entries get a blue dot */
.changelog-entry:has(.tag-product) .changelog-content::before {
  border-color: oklch(45% 0.14 250);
}

/* hide line on last entry */
.changelog-entry:last-child .changelog-content {
  border-left-color: transparent;
}

@media (max-width: 720px) {
  .changelog-content {
    padding-left: 18px;
    border-left-color: transparent;
  }

  .changelog-content::before { display: none; }
}

/* ─── FAQ Accordion ───────────────────────────────────────────────────── */

.faq-section {
  padding: clamp(48px, 8vw, 96px) clamp(24px, 6vw, 80px);
  max-width: 760px;
  margin: 0 auto;
}

.faq-section h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  margin-bottom: 2rem;
  color: var(--ink);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.faq-item + .faq-item {
  margin-top: 6px;
}

.faq-item summary {
  padding: 16px 20px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  user-select: none;
}

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

.faq-item summary::after {
  content: '+';
  font-size: 1.2rem;
  font-weight: 400;
  opacity: 0.4;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item .faq-body {
  padding: 0 20px 16px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--ink-dim);
}

/* ─── Footer links row ────────────────────────────────────────────────── */

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.78rem;
  color: oklch(99% 0.003 310 / 0.45);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-links a:hover {
  color: oklch(99% 0.003 310 / 0.8);
}

/* ─── App Store badge ─────────────────────────────────────────────────── */

.store-badge-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000;
  color: #fff;
  border-radius: 10px;
  padding: 8px 16px;
  text-decoration: none;
  font-size: 0.78rem;
  line-height: 1.2;
  border: 1px solid rgba(255,255,255,0.15);
  transition: opacity 0.15s;
}

.store-badge:hover { opacity: 0.8; }

.store-badge svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: #fff;
}

.store-badge-text {
  display: flex;
  flex-direction: column;
}

.store-badge-coming {
  font-size: 0.65rem;
  opacity: 0.7;
  letter-spacing: 0.01em;
}

.store-badge-label {
  font-size: 0.85rem;
  font-weight: 600;
}

/* ─── Waitlist fine print ─────────────────────────────────────────────── */

.waitlist-fine-print {
  font-size: 0.75rem;
  color: var(--ink-dim);
  opacity: 0.6;
  margin-top: 10px;
  text-align: center;
}

.waitlist-fine-print a {
  color: inherit;
  text-decoration: underline;
}

/* ─── Static page (privacy / about / press / 404) ────────────────────── */

.static-page {
  max-width: 680px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 96px) clamp(24px, 6vw, 80px);
}

.static-page h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.static-page .page-meta {
  font-size: 0.82rem;
  color: var(--ink-dim);
  opacity: 0.6;
  margin-bottom: 2.5rem;
}

.static-page h2 {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 2rem 0 0.6rem;
  color: var(--ink);
}

.static-page p, .static-page li {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--ink-dim);
}

.static-page ul { padding-left: 1.4em; }
.static-page li { margin-bottom: 0.4em; }

.static-page a {
  color: var(--purple);
  text-decoration: underline;
}

/* ─── Press page ──────────────────────────────────────────────────────── */

.press-app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin: 1.5rem 0;
}

.press-app-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
}

.press-app-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--ink);
}

.press-app-card p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--ink-dim);
}

.press-logo-row {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}

.press-logo-row a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.15s;
}

.press-logo-row a:hover { border-color: var(--purple); }

/* ─── About page ──────────────────────────────────────────────────────── */

.about-values {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin: 1.5rem 0;
}

.about-value {
  padding: 18px;
  background: var(--purple-xlight);
  border-radius: 10px;
}

.about-value h3 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--ink);
}

.about-value p {
  font-size: 0.83rem;
  line-height: 1.6;
  color: var(--ink-dim);
}

/* ─── 404 page ────────────────────────────────────────────────────────── */

.not-found {
  text-align: center;
  padding: clamp(80px, 12vw, 140px) clamp(24px, 6vw, 80px);
}

.not-found .error-code {
  font-family: 'Fraunces', serif;
  font-size: clamp(5rem, 12vw, 9rem);
  font-weight: 800;
  color: var(--purple-light);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.not-found h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--ink);
}

.not-found p {
  font-size: 1rem;
  color: var(--ink-dim);
  margin-bottom: 2rem;
}

.not-found-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
}
