:root {
  --bg: #fff7eb;
  --bg-soft: #fffaf1;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: #ffffff;
  --text: #15171c;
  --muted: #666052;
  --border: rgba(72, 48, 24, 0.12);
  --accent: #d08a2f;
  --accent-dark: #9f5d14;
  --success: #5b9e6f;
  --shadow: 0 24px 70px rgba(82, 55, 25, 0.16);
  --shadow-soft: 0 14px 40px rgba(82, 55, 25, 0.10);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --max: 1440px;
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #121014;
  --bg-soft: #18161a;
  --surface: rgba(28, 26, 30, 0.78);
  --surface-strong: #1e1c22;
  --text: #f5efe6;
  --muted: #a89f92;
  --border: rgba(255, 220, 170, 0.12);
  --accent: #e0a04a;
  --accent-dark: #f0b85c;
  --success: #7fbf92;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 14px 40px rgba(0, 0, 0, 0.30);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  padding-bottom: 116px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 235, 201, 0.9), transparent 32rem),
    radial-gradient(circle at top right, rgba(255, 241, 222, 0.9), transparent 36rem),
    var(--bg);
}

[data-theme="dark"] body {
  background:
    radial-gradient(circle at top left, rgba(208, 138, 47, 0.12), transparent 32rem),
    radial-gradient(circle at top right, rgba(255, 220, 170, 0.06), transparent 36rem),
    var(--bg);
}

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

button,
input {
  font: inherit;
}

.site-header,
.hero,
.feature-strip,
.final-cta,
.site-footer {
  width: min(var(--max), calc(100% - 64px));
}

.site-header {
  height: 88px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 30px;
  font-weight: 850;
  letter-spacing: -0.05em;
}

.brand-mark,
.tabby-dock-icon,
.why-icon,
.feature-item > span {
  display: grid;
  place-items: center;
  background: #fff0d8;
  color: var(--accent-dark);
  box-shadow: inset 0 0 0 1px var(--border);
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 42px;
  font-size: 14px;
  font-weight: 650;
}

.nav-links a {
  color: color-mix(in srgb, var(--text) 92%, transparent);
}

.nav-links a:hover {
  color: var(--accent-dark);
}

.nav-links a[aria-current="page"] {
  color: var(--accent-dark);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--accent) 55%, transparent);
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 10px;
  border: 1px solid transparent;
  padding: 0 22px;
  font-weight: 760;
  line-height: 1;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

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

.button-dark {
  color: white;
  background: linear-gradient(180deg, #16181d, #0d0e11);
  box-shadow:
    0 12px 28px rgba(11, 12, 15, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.button-dark:hover {
  box-shadow:
    0 16px 36px rgba(11, 12, 15, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.button-light {
  color: #292018;
  background: rgba(255, 255, 255, 0.55);
  border-color: var(--border);
}

.button-light:hover {
  background: rgba(255, 255, 255, 0.82);
}

.button-large {
  min-height: 56px;
  padding: 0 26px;
  font-size: 16px;
  border-radius: 11px;
}

.windows-icon {
  font-size: 19px;
  line-height: 1;
}

.icon-button {
  width: 48px;
  height: 48px;
  position: relative;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.48);
  color: var(--text);
  cursor: pointer;
}

.theme-toggle-icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 18px;
  line-height: 1;
  transition: opacity 160ms ease, transform 160ms ease;
}

.theme-toggle-icon-sun {
  opacity: 1;
  transform: scale(1);
}

.theme-toggle-icon-moon {
  opacity: 0;
  transform: scale(0.82);
}

[data-theme="dark"] .theme-toggle-icon-sun {
  opacity: 0;
  transform: scale(0.82);
}

[data-theme="dark"] .theme-toggle-icon-moon {
  opacity: 1;
  transform: scale(1);
}

.hero {
  margin: 32px auto 0;
  display: grid;
  grid-template-columns: 0.88fr 1.35fr;
  gap: 44px;
  align-items: center;
}

.hero-copy {
  padding: 38px 0 52px;
}

.eyebrow,
.section-kicker {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 28px;
  padding: 10px 16px;
  border-radius: 999px;
  color: #5b3713;
  background: #fff0d8;
  font-size: 14px;
  font-weight: 720;
}

.eyebrow.center {
  margin-inline: auto;
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(52px, 5.4vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.075em;
  font-weight: 900;
}

.hero h1 span {
  color: var(--accent);
}

.hero-text {
  max-width: 660px;
  margin: 28px 0;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.58;
}

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

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 14px;
}

.hero-meta span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.44);
  border: 1px solid var(--border);
}

.hero-visual {
  position: relative;
  min-width: 0;
}

.app-preview-card {
  position: relative;
  isolation: isolate;
  padding: 12px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04)),
    linear-gradient(135deg, rgba(208, 138, 47, 0.30), rgba(16, 18, 22, 0.92) 52%, rgba(12, 14, 18, 0.98));
  border: 1px solid rgba(72, 48, 24, 0.18);
  box-shadow:
    0 34px 90px rgba(82, 55, 25, 0.22),
    0 18px 50px rgba(16, 18, 22, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.app-preview-card::before {
  content: "";
  position: absolute;
  inset: -28px 12% auto;
  height: 120px;
  z-index: -1;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(248, 196, 130, 0.42), transparent 70%);
  filter: blur(18px);
  opacity: 0.8;
}

.app-preview-frame {
  overflow: hidden;
  border-radius: 22px;
  background: #101216;
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.app-preview-frame picture,
.app-preview-frame img {
  display: block;
}

.app-preview-frame img {
  width: 100%;
  height: auto;
}

.preview-caption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 6px 2px;
  color: #6a6257;
  font-size: 13px;
  font-weight: 720;
}

.preview-caption span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.preview-live-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--success) 16%, transparent);
}

.how-section,
.why-section,
.roadmap-section,
.privacy-section,
.house-section {
  width: min(1120px, calc(100% - 64px));
  margin: 0 auto;
}

.how-section {
  padding: 46px 0 22px;
}

.section-heading {
  text-align: center;
  margin-bottom: 32px;
}

.section-heading.compact {
  margin-bottom: 22px;
}

.section-heading h2,
.house-copy h2 {
  margin: 0;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1;
  letter-spacing: -0.06em;
}

.section-heading p:not(.eyebrow),
.house-copy p:not(.eyebrow) {
  max-width: 660px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.steps-grid,
.why-grid,
.privacy-grid,
.roadmap-grid {
  display: grid;
  gap: 22px;
}

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

.step-card,
.why-card,
.roadmap-card,
.privacy-grid article,
.house-card {
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid var(--border);
  box-shadow: 0 12px 32px rgba(82, 55, 25, 0.08);
}

.step-card {
  min-height: 178px;
  padding: 28px 24px;
  border-radius: 16px;
}

.step-number {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #d9a96b;
  color: white;
  font-weight: 850;
  margin-bottom: 18px;
}

.step-card h3,
.feature-item h3,
.why-card h3,
.roadmap-card h3,
.privacy-grid h3,
.house-card h3 {
  margin: 0 0 10px;
  letter-spacing: -0.03em;
}

.step-card h3,
.feature-item h3 {
  font-size: 16px;
}

.step-card p,
.feature-item p,
.roadmap-card p,
.privacy-grid p,
.why-card p,
.house-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.step-card p,
.feature-item p,
.roadmap-card p {
  font-size: 14px;
}

.feature-strip {
  margin: 40px auto 0;
  padding: 32px 40px;
  display: grid;
  grid-template-columns: 1.35fr repeat(4, 1fr);
  gap: 28px;
  align-items: start;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.50);
  border: 1px solid var(--border);
}

.feature-intro .section-kicker {
  margin-bottom: 12px;
}

.feature-intro h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.feature-item {
  display: flex;
  gap: 14px;
}

.feature-item > span {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.why-section,
.roadmap-section,
.privacy-section {
  padding: 86px 0 0;
}

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

.why-card {
  min-height: 232px;
  padding: 28px;
  border-radius: 20px;
}

.why-card-featured,
.roadmap-current {
  background:
    linear-gradient(180deg, rgba(255, 240, 216, 0.95), rgba(255, 255, 255, 0.58));
  border-color: rgba(208, 138, 47, 0.28);
}

.why-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 900;
}

.why-card h3 {
  font-size: 22px;
}

.house-section {
  padding: 88px 0 0;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
  align-items: center;
}

.house-copy p:not(.eyebrow) {
  margin-left: 0;
}

.house-card {
  padding: 30px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 240, 216, 0.72), rgba(255, 255, 255, 0.52));
}

.house-card-header,
.house-progress > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.house-card-header {
  align-items: center;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 28px;
}

.house-card-header strong {
  color: var(--accent-dark);
}

.house-progress {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.house-progress span,
.house-progress strong {
  display: block;
}

.house-progress-track {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(72, 48, 24, 0.12);
}

.house-progress-track span {
  width: 38%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f7c05c, var(--accent));
}

.house-card ul,
.roadmap-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.house-card li,
.roadmap-card li {
  position: relative;
  padding-left: 22px;
  color: #3d372f;
  font-size: 14px;
  line-height: 1.45;
}

.house-card li::before,
.roadmap-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-dark);
  font-weight: 900;
}

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

.privacy-grid article {
  padding: 26px;
  border-radius: 20px;
}

.roadmap-grid {
  grid-template-columns: repeat(4, 1fr);
}

.roadmap-card {
  padding: 26px;
  border-radius: 20px;
}

.roadmap-status {
  width: fit-content;
  margin-bottom: 18px;
  padding: 7px 11px;
  border-radius: 999px;
  background: #fff0d8;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.roadmap-card h3 {
  font-size: 22px;
}

.roadmap-note {
  max-width: 760px;
  margin: 28px auto 0;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.final-cta {
  margin: 0 auto;
  padding: 92px 24px 84px;
  text-align: center;
  border-top: 1px solid rgba(72, 48, 24, 0.08);
}

.final-cta h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.07em;
}

.final-cta p:not(.eyebrow) {
  max-width: 620px;
  margin: 22px auto 30px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.final-cta .small-note {
  max-width: 520px;
  font-size: 14px;
}

.tabby-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 18px;
  z-index: 50;
  pointer-events: none;
}

.tabby-dock-inner {
  width: min(920px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  padding: 12px 144px 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  position: relative;
  pointer-events: auto;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 246, 232, 0.74));
  border: 1px solid rgba(72, 48, 24, 0.14);
  box-shadow:
    0 18px 50px rgba(82, 55, 25, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
}

.tabby-dock-status {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.tabby-dock-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
}

.tabby-dock-status strong {
  display: block;
  color: var(--text);
  font-size: 15px;
  line-height: 1.2;
}

.tabby-dock-status span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.2;
}

.tabby-dock-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tabby-dock-button,
.tabby-dock-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.tabby-dock-button {
  padding: 0 18px;
  color: white;
  background: linear-gradient(180deg, #16181d, #0d0e11);
  box-shadow: 0 10px 24px rgba(11, 12, 15, 0.22);
}

.tabby-dock-link {
  padding: 0 14px;
  color: var(--accent-dark);
  background: rgba(255, 240, 216, 0.74);
  border: 1px solid rgba(208, 138, 47, 0.18);
}

.tabby-dock-perch {
  position: absolute;
  right: -112px;
  bottom: 0;
  width: 360px;
  height: 420px;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.tabby-model-shell {
  position: relative;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 14px 14px rgba(96, 52, 17, 0.22));
  transform: translateY(40px);
}

.tabby-model-shell model-viewer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  --poster-color: transparent;
  transition: opacity 220ms ease;
}

.tabby-model-shell.is-loaded model-viewer {
  opacity: 1;
}

.tabby-model-fallback {
  position: absolute;
  left: 50%;
  bottom: 10px;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--accent-dark);
  font-size: 16px;
  font-weight: 900;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.55), transparent 24%),
    linear-gradient(135deg, #f8c482, #a55f25);
  box-shadow:
    0 14px 30px rgba(96, 52, 17, 0.24),
    inset 0 0 0 2px rgba(255, 255, 255, 0.22);
  transform: translateX(-50%);
  transition: opacity 160ms ease;
}

.tabby-model-shell.is-loaded .tabby-model-fallback {
  opacity: 0;
}

.site-footer {
  margin: 0 auto;
  padding: 34px 0 46px;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  color: #746b5e;
  font-size: 14px;
  border-top: 1px solid rgba(72, 48, 24, 0.10);
}

.site-footer span {
  margin-right: auto;
}

.site-footer a:hover {
  color: var(--accent-dark);
}

.site-footer a[aria-current="page"] {
  color: var(--accent-dark);
  font-weight: 750;
}

.page-hero,
.page-section {
  width: min(1120px, calc(100% - 64px));
  margin-inline: auto;
}

.page-hero {
  max-width: 920px;
  padding: 88px 0 58px;
  text-align: center;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(48px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.075em;
}

.page-hero > p:not(.eyebrow) {
  max-width: 760px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.6;
}

.page-section {
  padding: 48px 0;
}

.home-teaser {
  padding-top: 72px;
}

.home-trust {
  padding-top: 92px;
}

.section-action {
  margin-top: 28px;
  text-align: center;
}

.text-link {
  color: var(--accent-dark);
  font-weight: 800;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.split-section,
.detail-grid {
  display: grid;
  gap: 22px;
}

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

.content-card,
.founder-card {
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid var(--border);
  box-shadow: 0 12px 32px rgba(82, 55, 25, 0.08);
}

.content-card {
  padding: 34px;
  border-radius: 22px;
}

.content-card-accent {
  background: linear-gradient(180deg, rgba(255, 240, 216, 0.86), rgba(255, 255, 255, 0.54));
  border-color: rgba(208, 138, 47, 0.28);
}

.content-card h2,
.content-card h3 {
  margin: 0 0 14px;
  letter-spacing: -0.045em;
}

.content-card h2 {
  font-size: clamp(29px, 4vw, 42px);
  line-height: 1.06;
}

.content-card h3 {
  font-size: 24px;
}

.content-card p:not(.section-kicker) {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.content-card p:last-child {
  margin-bottom: 0;
}

.page-house {
  width: min(1120px, calc(100% - 64px));
  margin-inline: auto;
  padding-top: 72px;
  gap: 42px;
}

.hero-meta-centered,
.centered-actions {
  justify-content: center;
}

.roadmap-page-section {
  padding-top: 24px;
}

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

.roadmap-grid-expanded .roadmap-card {
  min-height: 390px;
  padding: 34px;
}

.roadmap-card h2 {
  margin: 0 0 12px;
  font-size: 26px;
  letter-spacing: -0.04em;
}

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

.narrow-section {
  max-width: 920px;
}

.contact-hero {
  padding-bottom: 32px;
}

.founder-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 30px;
  padding: 42px;
  border-radius: 28px;
}

.founder-mark {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  color: var(--accent-dark);
  background: #fff0d8;
  border: 1px solid var(--border);
  font-size: 22px;
  font-weight: 900;
}

.founder-card h2 {
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 52px);
  letter-spacing: -0.06em;
}

.founder-card p:not(.section-kicker) {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.founder-actions {
  align-items: center;
  margin-top: 26px;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 72%, white);
  outline-offset: 4px;
}

[data-theme="dark"] .brand-mark,
[data-theme="dark"] .eyebrow,
[data-theme="dark"] .section-kicker,
[data-theme="dark"] .feature-item > span,
[data-theme="dark"] .roadmap-status,
[data-theme="dark"] .why-icon,
[data-theme="dark"] .tabby-dock-icon {
  background: rgba(208, 138, 47, 0.16);
  color: var(--accent);
}

[data-theme="dark"] .icon-button,
[data-theme="dark"] .hero-meta span {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

[data-theme="dark"] .button-light {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .button-light:hover {
  background: rgba(255, 255, 255, 0.14);
}

[data-theme="dark"] .preview-caption,
[data-theme="dark"] .site-footer {
  color: var(--muted);
}

[data-theme="dark"] .step-card,
[data-theme="dark"] .feature-strip,
[data-theme="dark"] .roadmap-card,
[data-theme="dark"] .why-card,
[data-theme="dark"] .privacy-grid article,
[data-theme="dark"] .house-card,
[data-theme="dark"] .content-card,
[data-theme="dark"] .founder-card {
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

[data-theme="dark"] .roadmap-current,
[data-theme="dark"] .why-card-featured,
[data-theme="dark"] .house-card,
[data-theme="dark"] .content-card-accent {
  background:
    linear-gradient(180deg, rgba(208, 138, 47, 0.14), rgba(255, 255, 255, 0.04));
  border-color: rgba(224, 160, 74, 0.28);
}

[data-theme="dark"] .roadmap-card li,
[data-theme="dark"] .house-card li {
  color: var(--text);
}

[data-theme="dark"] .house-progress-track {
  background: rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .founder-mark {
  color: var(--accent);
  background: rgba(208, 138, 47, 0.16);
}

[data-theme="dark"] .final-cta,
[data-theme="dark"] .site-footer {
  border-top-color: var(--border);
}

[data-theme="dark"] .tabby-dock-inner {
  background:
    linear-gradient(180deg, rgba(30, 28, 34, 0.92), rgba(22, 20, 24, 0.88));
  border-color: var(--border);
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .tabby-dock-link {
  background: rgba(208, 138, 47, 0.14);
  border-color: rgba(224, 160, 74, 0.22);
  color: var(--accent);
}

@media (max-width: 1180px) {
  .nav-links {
    display: none;
  }

  .hero,
  .house-section {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-bottom: 10px;
  }

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

  .feature-intro {
    grid-column: 1 / -1;
  }

  .roadmap-grid,
  .why-grid,
  .privacy-grid,
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .site-header,
  .hero,
  .how-section,
  .feature-strip,
  .final-cta,
  .site-footer,
  .why-section,
  .roadmap-section,
  .privacy-section,
  .house-section,
  .page-hero,
  .page-section {
    width: min(100% - 32px, var(--max));
  }

  .header-actions .button {
    display: none;
  }

  .brand {
    font-size: 24px;
  }

  .hero {
    margin-top: 8px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .preview-caption {
    flex-direction: column;
    gap: 6px;
  }

  .steps-grid,
  .feature-strip,
  .roadmap-grid,
  .why-grid,
  .privacy-grid,
  .split-section,
  .detail-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .feature-strip {
    padding: 26px;
  }
}

@media (max-width: 760px) {
  .tabby-dock {
    bottom: 12px;
  }

  .tabby-dock-inner {
    min-height: 68px;
    border-radius: 24px;
    padding-right: 96px;
  }

  .tabby-dock-actions {
    display: none;
  }

  .tabby-dock-status span {
    display: none;
  }

  .tabby-dock-perch {
    right: -106px;
    width: 324px;
    height: 384px;
  }
}

@media (max-width: 560px) {
  .site-header {
    height: 74px;
  }

  .icon-button {
    width: 42px;
    height: 42px;
  }

  .hero h1 {
    font-size: 46px;
  }

  .hero-text,
  .section-heading p:not(.eyebrow),
  .house-copy p:not(.eyebrow),
  .page-hero > p:not(.eyebrow) {
    font-size: 17px;
  }

  .page-hero {
    padding-top: 56px;
  }

  .page-hero h1 {
    font-size: 46px;
  }

  .content-card,
  .roadmap-grid-expanded .roadmap-card,
  .founder-card {
    padding: 26px;
  }

  .founder-card {
    grid-template-columns: 1fr;
  }

  .founder-mark {
    width: 68px;
    height: 68px;
    border-radius: 20px;
  }

  .tabby-dock-perch {
    right: -122px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }

  .tabby-model-shell {
    transform: translateY(37px);
  }
}

@media (prefers-reduced-motion: no-preference) {
  body,
  .site-header,
  .step-card,
  .feature-strip,
  .roadmap-card,
  .why-card,
  .privacy-grid article,
  .house-card,
  .tabby-dock-inner,
  .icon-button,
  .button-light {
    transition:
      background 200ms ease,
      background-color 200ms ease,
      border-color 200ms ease,
      color 200ms ease,
      box-shadow 200ms ease;
  }
}

/* Why TaskTabby Exists page */

.story-hero,
.story-section {
  width: min(1120px, calc(100% - 64px));
  margin-inline: auto;
}

.story-hero { padding: 72px 0 34px; }

.story-hero-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 52px;
  align-items: center;
}

.story-hero-copy h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(52px, 6.4vw, 92px);
  line-height: 0.96;
  letter-spacing: -0.078em;
  font-weight: 900;
}

.story-hero-copy .hero-text { max-width: 680px; }
.story-hero-visual { min-width: 0; }

.littleone-portrait-card {
  position: relative;
  isolation: isolate;
  margin: 0;
  padding: 22px;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04)), linear-gradient(135deg, rgba(208, 138, 47, 0.34), rgba(16, 18, 22, 0.90) 54%, rgba(12, 14, 18, 0.98));
  border: 1px solid rgba(72, 48, 24, 0.18);
  box-shadow: 0 34px 90px rgba(82, 55, 25, 0.22), 0 18px 50px rgba(16, 18, 22, 0.20), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.littleone-portrait-glow {
  position: absolute;
  inset: -36px 10% auto;
  height: 150px;
  z-index: -1;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(248, 196, 130, 0.46), transparent 70%);
  filter: blur(20px);
  opacity: 0.82;
}

.littleone-portrait-frame {
  overflow: hidden;
  border-radius: 26px;
  background: radial-gradient(circle at 50% 26%, rgba(255, 240, 216, 0.18), transparent 34%), #101216;
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.littleone-portrait-frame img { width: 100%; display: block; }
.littleone-portrait-frame-cutout img { height: auto; object-fit: contain; transform: translateY(5px) scale(1.02); }

.littleone-caption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 8px 2px;
  color: #f5efe6;
  font-size: 14px;
  font-weight: 720;
}

.littleone-caption span { color: rgba(245, 239, 230, 0.70); }

.story-split {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
  gap: 24px;
  align-items: stretch;
}

.story-card-large { padding: 42px; }

.story-photo-card {
  overflow: hidden;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  margin: 0;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid var(--border);
  box-shadow: 0 12px 32px rgba(82, 55, 25, 0.08);
}

.story-photo-card img { width: 100%; height: 100%; min-height: 420px; display: block; object-fit: cover; }

.story-photo-card blockquote {
  margin: 0;
  padding: 24px 26px 28px;
  color: var(--text);
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.045em;
  font-weight: 820;
  background: linear-gradient(180deg, rgba(255, 240, 216, 0.92), rgba(255, 255, 255, 0.56));
  border-top: 1px solid var(--border);
}

.story-use-section { padding-top: 68px; }
.story-use-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }

.story-use-card {
  min-height: 230px;
  padding: 26px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid var(--border);
  box-shadow: 0 12px 32px rgba(82, 55, 25, 0.08);
}

.story-use-card span { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 999px; color: var(--accent-dark); background: #fff0d8; border: 1px solid var(--border); font-size: 12px; font-weight: 900; }
.story-use-card h3 { margin: 0 0 10px; font-size: 20px; letter-spacing: -0.04em; }
.story-use-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

.memory-band {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 30px;
  align-items: center;
  padding: 34px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 240, 216, 0.72), rgba(255, 255, 255, 0.52));
  border: 1px solid rgba(208, 138, 47, 0.22);
  box-shadow: 0 16px 44px rgba(82, 55, 25, 0.10);
}

.memory-copy h2 { margin: 0 0 18px; font-size: clamp(32px, 4.8vw, 54px); line-height: 1.02; letter-spacing: -0.065em; }
.memory-copy p:not(.section-kicker) { margin: 0 0 18px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.memory-copy p:last-child { margin-bottom: 0; }

.memory-gallery { display: grid; grid-template-columns: 0.9fr 1fr; grid-template-rows: 170px 170px 170px; gap: 14px; }
.memory-gallery figure { overflow: hidden; margin: 0; border-radius: 20px; background: #101216; border: 1px solid var(--border); box-shadow: 0 12px 30px rgba(82, 55, 25, 0.12); }
.memory-gallery figure:first-child { grid-row: span 2; }
.memory-gallery figure:last-child { grid-column: 1 / -1; }
.memory-gallery img { width: 100%; height: 100%; display: block; object-fit: cover; }

[data-theme="dark"] .littleone-portrait-card { border-color: rgba(224, 160, 74, 0.22); box-shadow: 0 34px 90px rgba(0, 0, 0, 0.46), 0 18px 50px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.10); }
[data-theme="dark"] .story-photo-card,
[data-theme="dark"] .story-use-card { background: rgba(255, 255, 255, 0.04); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22); }
[data-theme="dark"] .story-photo-card blockquote { background: linear-gradient(180deg, rgba(208, 138, 47, 0.14), rgba(255, 255, 255, 0.04)); }
[data-theme="dark"] .story-use-card span { background: rgba(208, 138, 47, 0.16); color: var(--accent); }
[data-theme="dark"] .memory-band { background: linear-gradient(180deg, rgba(208, 138, 47, 0.14), rgba(255, 255, 255, 0.04)); border-color: rgba(224, 160, 74, 0.28); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22); }

@media (max-width: 1180px) {
  .story-hero-grid, .story-split, .memory-band { grid-template-columns: 1fr; }
  .littleone-portrait-card { max-width: 620px; margin-inline: auto; }
  .story-use-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-photo-card img { max-height: 560px; }
}

@media (max-width: 900px) {
  .story-hero, .story-section { width: min(100% - 32px, var(--max)); }
  .story-hero { padding-top: 46px; }
  .story-card-large, .memory-band { padding: 26px; }
  .memory-gallery { grid-template-columns: 1fr; grid-template-rows: none; }
  .memory-gallery figure, .memory-gallery figure:first-child, .memory-gallery figure:last-child { grid-column: auto; grid-row: auto; }
  .memory-gallery figure { min-height: 260px; }
}

@media (max-width: 560px) {
  .story-hero-copy h1 { font-size: 46px; }
  .littleone-portrait-card { padding: 14px; border-radius: 24px; }
  .littleone-portrait-frame { border-radius: 18px; }
  .littleone-caption { flex-direction: column; gap: 4px; }
  .story-use-grid { grid-template-columns: 1fr; }
  .story-photo-card blockquote { font-size: 19px; }
  .memory-copy h2 { font-size: 34px; }
}

/* Supporter Alpha and waitlist */

.alpha-hero { max-width: 1040px; }

.alpha-hero-note {
  max-width: 680px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.alpha-offer { padding-top: 28px; }
.alpha-hero ~ .page-section { padding-top: 32px; padding-bottom: 32px; }

.alpha-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.alpha-stat-card {
  min-height: 180px;
  padding: 26px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.alpha-stat-card > span {
  display: block;
  margin-bottom: 16px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.alpha-stat-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 23px;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.alpha-stat-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.alpha-expectations .content-card { min-height: 470px; }

.alpha-list {
  display: grid;
  gap: 13px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.alpha-list li {
  position: relative;
  padding-left: 20px;
  color: var(--text);
  line-height: 1.55;
}

.alpha-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
}

.privacy-promise-card,
.support-note,
.waitlist-shell {
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.privacy-promise-card {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 42px;
  padding: 42px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 240, 216, 0.86), rgba(255, 255, 255, 0.54));
}

.privacy-promise-card h2,
.support-note h2,
.waitlist-intro h2 {
  margin: 0 0 18px;
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.06em;
}

.privacy-promise-card p:not(.section-kicker),
.support-note p:not(.section-kicker),
.waitlist-intro p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.privacy-promise-list { margin-top: 0; align-content: center; }

.support-note {
  padding: 36px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.52);
}

.support-note .text-link { display: inline-flex; margin-top: 20px; }

.alpha-hero ~ .waitlist-section { padding-top: 38px; padding-bottom: 52px; }

.waitlist-shell {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 46px;
  padding: 42px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.56);
}

.waitlist-intro { align-self: start; }
.waitlist-intro p:not(.eyebrow) + p { margin-top: 18px; }

.waitlist-social-proof {
  margin: 0 0 22px !important;
  padding: 14px 16px;
  border-radius: 14px;
  color: var(--text) !important;
  background: rgba(208, 138, 47, 0.10);
  border: 1px solid rgba(208, 138, 47, 0.24);
  font-size: 15px !important;
  font-weight: 760;
  line-height: 1.5 !important;
}

.waitlist-social-proof[hidden] { display: none; }

.waitlist-form { min-width: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.form-field { display: grid; gap: 9px; color: var(--text); font-size: 14px; font-weight: 760; }
.form-field-wide { grid-column: 1 / -1; }

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.70);
  outline: none;
}

.form-field textarea { min-height: 126px; resize: vertical; }
.platform-availability-note {
  display: grid;
  align-content: center;
  gap: 4px;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--border));
  border-radius: 12px;
  color: var(--muted);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  font-size: 12px;
  line-height: 1.4;
}
.platform-availability-note strong {
  color: var(--text);
  font-size: 13px;
}
.platform-availability-note span {
  display: block;
}
.platform-alert {
  width: min(560px, calc(100% - 32px));
  margin: auto;
  padding: 36px;
  border: 1px solid color-mix(in srgb, var(--accent) 38%, var(--border));
  border-radius: 24px;
  color: var(--text);
  background: var(--surface);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
  text-align: center;
}
.platform-alert::backdrop {
  background: rgba(8, 7, 10, 0.76);
  backdrop-filter: blur(8px);
}
.platform-alert-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin: 0 auto 18px;
  place-items: center;
  border-radius: 50%;
  color: #17110b;
  background: var(--accent);
  font-size: 24px;
  font-weight: 900;
}
.platform-alert h2 { margin: 10px 0 12px; }
.platform-alert > p:not(.eyebrow) { margin: 0 auto 24px; max-width: 46ch; color: var(--muted); line-height: 1.65; }
.platform-alert .button { min-width: 140px; }
.funding-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: clamp(30px, 5vw, 72px);
  padding: clamp(30px, 5vw, 64px);
  border: 1px solid color-mix(in srgb, var(--accent) 38%, var(--border));
  border-radius: 28px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 10%, var(--surface)), var(--surface));
  box-shadow: var(--shadow);
}
.funding-copy h2 { margin: 14px 0 20px; }
.funding-copy p:not(.eyebrow) { color: var(--muted); line-height: 1.72; }
.funding-copy strong { color: var(--text); }
.funding-uses {
  align-self: center;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
}
.funding-uses .alpha-list { margin-bottom: 0; }
.form-disclaimer-emphasis {
  margin: 18px 0 0;
  font-weight: 800;
  color: var(--text);
}
.waitlist-shell-disclaimer {
  max-width: 900px;
  margin: 20px auto 0;
  padding: 13px 18px;
  border: 1px solid color-mix(in srgb, var(--accent) 32%, var(--border));
  border-radius: 14px;
  background: color-mix(in srgb, var(--accent) 9%, transparent);
  font-size: 15px;
  line-height: 1.5;
  text-align: center;
}
@media (max-width: 760px) {
  .alpha-hero ~ .page-section { padding-top: 24px; padding-bottom: 24px; }
  .alpha-hero ~ .waitlist-section { padding-bottom: 40px; }
  .funding-card { grid-template-columns: 1fr; }
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }

.check-field {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.check-field input { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 2px; accent-color: var(--accent-dark); }

.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.waitlist-submit { width: 100%; margin-top: 24px; cursor: pointer; }
.button:disabled { cursor: wait; opacity: 0.68; transform: none; }

.form-disclaimer { margin: 14px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.form-disclaimer.waitlist-shell-disclaimer {
  width: fit-content;
  max-width: min(900px, 100%);
  margin: 20px auto 0;
  color: var(--text);
  font-size: 15px;
  text-align: center;
}
.form-status { display: grid; gap: 8px; margin-top: 18px; padding: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.form-status:empty { display: none; }
.form-status-success,
.form-status-error { padding: 18px; border-radius: 14px; border: 1px solid var(--border); }
.form-status-success { color: var(--text); background: rgba(208, 138, 47, 0.10); border-color: rgba(208, 138, 47, 0.28); }
.form-status-error { color: var(--text); background: rgba(164, 67, 54, 0.08); border-color: rgba(164, 67, 54, 0.28); }
.form-status strong,
.form-status span { display: block; }
.form-status a { color: var(--accent-dark); font-weight: 800; }

[data-theme="dark"] .alpha-stat-card,
[data-theme="dark"] .support-note,
[data-theme="dark"] .waitlist-shell { background: rgba(255, 255, 255, 0.04); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22); }
[data-theme="dark"] .privacy-promise-card { background: linear-gradient(180deg, rgba(208, 138, 47, 0.14), rgba(255, 255, 255, 0.04)); border-color: rgba(224, 160, 74, 0.28); }
[data-theme="dark"] .form-field input,
[data-theme="dark"] .form-field select,
[data-theme="dark"] .form-field textarea { background: rgba(255, 255, 255, 0.06); }

@media (max-width: 1180px) {
  .alpha-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .privacy-promise-card,
  .waitlist-shell { grid-template-columns: 1fr; }
  .waitlist-intro { position: static; }
}

@media (max-width: 760px) {
  .alpha-stat-grid,
  .form-grid { grid-template-columns: 1fr; }
  .form-field-wide { grid-column: auto; }
  .alpha-expectations .content-card { min-height: 0; }
  .privacy-promise-card,
  .support-note,
  .waitlist-shell { padding: 26px; }
}

.house-section.page-house {
  padding-bottom: 30px;
}

.hero-actions.centered-actions {
  padding-top: 10px;
}
