/* Dojoism · Direction A: Warm Minimal · style.css */
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&family=Zen+Maru+Gothic:wght@700;900&display=swap');
@import url('/tokens.css');

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body {
  min-height: 100vh;
  overflow-x: clip;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-body);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }
img, svg { max-width: 100%; }

h1, h2, h3, h4, h5, h6 {
  color: var(--color-ink);
  font-family: var(--font-display);
  letter-spacing: -0.01em;
  line-height: 1.1;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}

p { overflow-wrap: anywhere; }

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

.container       { max-width: 760px;  margin: 0 auto; padding: 0 var(--space-md); }
.container--wide { max-width: 1160px; margin: 0 auto; padding: 0 var(--space-md); }

/* ─────────────────────────────────────────────────────────────
   NAV
───────────────────────────────────────────────────────────── */
.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(253, 250, 246, 0.9);
  border-bottom: var(--rule-thin) solid var(--color-rule);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
}

.nav-logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 700;
  font-style: italic;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.nav-logo { color: var(--color-ink); }

/* Enso circle in nav */
.nav-logo .enso { width: 26px; height: 26px; flex: 0 0 auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  list-style: none;
}

.nav-links a {
  color: var(--color-muted);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--dur-short) var(--ease-out);
  white-space: nowrap;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur-medium) var(--ease-out);
}

.nav-links a:hover { color: var(--color-ink); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--color-ink); }
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }

/* Hamburger button (hidden on desktop) */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background-color var(--dur-short) var(--ease-out);
  flex-shrink: 0;
}

.nav-hamburger:hover { background: var(--color-paper-2); }

.nav-hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--color-ink);
  border-radius: 2px;
  transition: transform var(--dur-medium) var(--ease-out),
              opacity var(--dur-medium) var(--ease-out);
  transform-origin: center;
}

/* Hamburger → X animation */
.nav-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile drawer */
.nav-drawer {
  display: none;
  position: fixed;
  inset: 64px 0 0;
  z-index: 99;
  background: var(--color-paper);
  border-top: var(--rule-thin) solid var(--color-rule);
  padding: var(--space-lg) var(--space-md);
  transform: translateY(-8px);
  opacity: 0;
  transition:
    transform var(--dur-medium) var(--ease-out),
    opacity var(--dur-medium) var(--ease-out);
  pointer-events: none;
}

.nav-drawer.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.nav-drawer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nav-drawer ul li a {
  display: block;
  padding: var(--space-md) 0;
  border-bottom: var(--rule-thin) solid var(--color-rule);
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  font-style: italic;
  text-decoration: none;
  transition: color var(--dur-short) var(--ease-out);
}

.nav-drawer ul li a:hover { color: var(--color-accent); }

.page-content { padding-top: 64px; }

/* ─────────────────────────────────────────────────────────────
   HERO
───────────────────────────────────────────────────────────── */
.hero {
  min-height: 620px;
  display: grid;
  align-items: center;
  padding: var(--space-3xl) 0 var(--space-2xl);
  text-align: left;
  /* Warm subtle texture */
  background:
    linear-gradient(180deg, var(--color-paper) 0%, var(--color-paper-2) 100%);
}

.hero .container {
  position: relative;
  max-width: 980px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.42fr);
  gap: var(--space-2xl);
  align-items: end;
}

/* Warm accent rule below hero-label */
.hero-label-wrap {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.hero-enso {
  grid-column: 2;
  grid-row: 1 / span 4;
  width: min(28vw, 220px);
  height: auto;
  justify-self: end;
  color: var(--color-accent);
  opacity: 0.12;
}

.hero-enso path { stroke: currentColor; }

.hero-label,
.section-label {
  display: block;
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.3;
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
}

.hero-title {
  max-width: 7ch;
  font-size: var(--text-display);
  font-weight: 700;
  font-style: italic;
  line-height: 0.94;
  margin-bottom: var(--space-md);
  color: var(--color-ink);
}

.hero-tagline {
  max-width: 470px;
  color: var(--color-ink-2);
  font-size: var(--text-xl);
  line-height: 1.42;
  font-family: var(--font-body);
  font-weight: 400;
}

.hero-sub {
  margin-top: var(--space-sm);
  color: var(--color-muted);
  font-size: var(--text-md);
  font-family: var(--font-body);
}

hr.divider {
  border: none;
  border-top: var(--rule-thin) solid var(--color-rule);
  margin: 0;
}

/* ─────────────────────────────────────────────────────────────
   SECTIONS
───────────────────────────────────────────────────────────── */
.section { padding: var(--space-3xl) 0; }
.section--alt { background: var(--color-paper-2); }
.section--dark { background: var(--color-footer); color: var(--color-paper); }
.section--dark .section-title,
.section--dark h1,
.section--dark h2,
.section--dark h3 { color: var(--color-paper); }
.section--dark .section-label { color: var(--color-accent-2); }

.section-title {
  max-width: 720px;
  font-size: var(--text-3xl);
  font-weight: 700;
  font-style: italic;
  margin-bottom: var(--space-sm);
  letter-spacing: -0.02em;
}

.section-subtitle {
  max-width: 560px;
  color: var(--color-ink-2);
  font-size: var(--text-lg);
  line-height: 1.55;
}

/* ─────────────────────────────────────────────────────────────
   VALUES SECTION
───────────────────────────────────────────────────────────── */
.values-section {
  background:
    linear-gradient(90deg, var(--color-paper) 0 50%, var(--color-paper-2) 50% 100%);
}

.values-wrap {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.45fr);
  gap: var(--space-2xl);
  align-items: stretch;
}

.values-intro {
  position: sticky;
  top: 96px;
  align-self: start;
  padding: var(--space-lg) 0;
}

.values-mark {
  width: 104px;
  height: 104px;
  color: var(--color-accent);
  opacity: 0.10;
  margin-bottom: var(--space-md);
  pointer-events: none;
}

.values-mark path { stroke: currentColor; }

.values-lead {
  max-width: 390px;
  margin: var(--space-md) 0 var(--space-lg);
  color: var(--color-ink-2);
  font-size: var(--text-lg);
  line-height: 1.72;
}

.values-dojo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: var(--rule-thin) solid var(--color-rule-strong);
  border-left: var(--rule-thin) solid var(--color-rule);
  background: var(--color-paper);
  box-shadow: var(--shadow-soft);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  overflow: hidden;
}

.value-item {
  min-height: 210px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--space-md);
  align-items: start;
  padding: var(--space-lg);
  border-right: var(--rule-thin) solid var(--color-rule);
  border-bottom: var(--rule-thin) solid var(--color-rule);
  transition: background-color var(--dur-medium) var(--ease-out);
}

.value-item:hover { background: var(--color-paper-2); }

.value-number,
.value-mark {
  min-width: 2.25rem;
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  line-height: 1;
  opacity: 0.7;
}

.value-mark {
  position: relative;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid currentColor;
  border-radius: var(--radius-pill);
}

.value-mark::after {
  content: "";
  position: absolute;
  inset: 0.72rem;
  border-radius: var(--radius-pill);
  background: currentColor;
}

.value-title {
  margin-bottom: var(--space-xs);
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  font-style: italic;
}

.value-desc {
  color: var(--color-ink-2);
  font-size: var(--text-md);
  line-height: 1.68;
}

/* ─────────────────────────────────────────────────────────────
   APP GRID & CARDS
───────────────────────────────────────────────────────────── */
.app-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.app-card {
  position: relative;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  padding: var(--space-md);
  background: var(--color-paper);
  /* No hard border: soft shadow instead */
  border: var(--rule-thin) solid transparent;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition:
    transform var(--dur-medium) var(--ease-out),
    box-shadow var(--dur-medium) var(--ease-out),
    background-color var(--dur-medium) var(--ease-out),
    border-color var(--dur-medium) var(--ease-out);
}

.app-card:hover {
  transform: translateY(-4px);
  background: #FFFDF9;
  box-shadow: var(--shadow-hover);
  border-color: var(--color-rule);
}

.app-card--muted { opacity: 0.55; }
.app-card--muted:hover { transform: none; box-shadow: var(--shadow-card); }

/* App icons */
.app-icon,
.support-icon,
.app-detail-icon {
  overflow: hidden;
  flex: 0 0 auto;
  background: var(--color-paper-3);
  border: var(--rule-thin) solid var(--color-rule);
  box-shadow: 0 4px 12px rgba(90, 70, 40, 0.10);
}

.app-icon {
  width: 62px;
  height: 62px;
  border-radius: 14px;
  margin-bottom: var(--space-md);
}

.app-icon svg,
.app-icon img,
.support-icon svg,
.support-icon img,
.app-detail-icon svg,
.app-detail-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.app-name {
  margin-bottom: var(--space-2xs);
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  font-style: italic;
  letter-spacing: -0.01em;
}

.app-tagline {
  min-height: 2.9em;
  margin-bottom: var(--space-sm);
  color: var(--color-muted);
  font-size: var(--text-sm);
  line-height: 1.48;
}

.app-badges {
  margin-top: auto;
  display: flex;
  gap: var(--space-2xs);
  flex-wrap: wrap;
}

/* ─────────────────────────────────────────────────────────────
   BADGES
───────────────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.5rem;
  padding: 0 var(--space-xs);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge--cat,
.badge--status-live {
  color: var(--color-accent);
  background: var(--color-accent-2);
}

.badge--status-soon,
.badge--platform {
  color: var(--color-ink-2);
  background: var(--color-paper-3);
}

/* ─────────────────────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────────────────────── */
.site-footer {
  padding: var(--space-2xl) 0 var(--space-lg);
  background: var(--color-footer);
  color: var(--color-paper);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(180px, 0.8fr) minmax(180px, 0.8fr);
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-logo { color: var(--color-paper); font-style: italic; }
.footer-logo .enso { width: 24px; height: 24px; flex: 0 0 auto; }
.footer-brand { display: flex; flex-direction: column; gap: var(--space-xs); }
.footer-tagline { max-width: 260px; color: rgba(253,250,246,0.55); font-size: var(--text-sm); line-height: 1.55; }

.footer-heading {
  margin-bottom: var(--space-sm);
  color: rgba(253,250,246,0.40);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: var(--space-2xs);
}

.footer-links a {
  color: rgba(253,250,246,0.65);
  font-size: var(--text-sm);
  text-decoration: none;
  transition: color var(--dur-short) var(--ease-out);
}

.footer-links a:hover { color: var(--color-paper); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-sm);
  padding-top: var(--space-lg);
  border-top: var(--rule-thin) solid rgba(253,250,246,0.12);
}

.footer-copy { color: rgba(253,250,246,0.35); font-size: var(--text-xs); }

/* ─────────────────────────────────────────────────────────────
   APP DETAIL PAGES
───────────────────────────────────────────────────────────── */
.app-detail-hero {
  padding: var(--space-2xl) 0 var(--space-xl);
  background: linear-gradient(180deg, var(--color-paper) 0%, var(--color-paper-2) 100%);
}

.app-detail-header {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: var(--space-lg);
  align-items: center;
  margin-bottom: var(--space-lg);
}

.app-detail-icon {
  width: 104px;
  height: 104px;
  border-radius: 24px;
}

.app-detail-meta { min-width: 0; }

.app-detail-name {
  margin-bottom: var(--space-xs);
  font-size: var(--text-3xl);
  font-weight: 700;
  font-style: italic;
  letter-spacing: -0.02em;
}

.app-detail-tagline {
  color: var(--color-ink-2);
  font-size: var(--text-lg);
  line-height: 1.5;
}

.app-meta {
  display: flex;
  gap: var(--space-2xs);
  flex-wrap: wrap;
  margin-bottom: var(--space-sm);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.feature-item {
  padding-top: var(--space-md);
  border-top: var(--rule-thick) solid var(--color-rule);
  transition: border-color var(--dur-medium) var(--ease-out);
}

.feature-item:hover { border-top-color: var(--color-accent); }

.feature-title {
  margin-bottom: var(--space-xs);
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  font-style: italic;
}

.feature-desc {
  color: var(--color-ink-2);
  font-size: var(--text-sm);
  line-height: 1.65;
}

/* ─────────────────────────────────────────────────────────────
   GEO / INFO BLOCKS
───────────────────────────────────────────────────────────── */
.geo-answer {
  border-top: var(--rule-thin) solid var(--color-rule);
  border-bottom: var(--rule-thin) solid var(--color-rule);
  padding: var(--space-lg) 0;
}

.geo-answer p {
  color: var(--color-ink-2);
  font-size: var(--text-lg);
  line-height: 1.68;
}

.geo-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-xs);
  margin-top: var(--space-lg);
}

.geo-fact {
  border: var(--rule-thin) solid var(--color-rule);
  border-radius: var(--radius-sm);
  background: var(--color-paper);
  padding: var(--space-sm);
  transition: background-color var(--dur-medium) var(--ease-out);
}

.geo-fact:hover { background: var(--color-paper-2); }

.geo-fact dt {
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.geo-fact dd {
  color: var(--color-ink);
  font-size: var(--text-sm);
  line-height: 1.55;
  margin-top: 4px;
}

.geo-list {
  margin: var(--space-md) 0 0;
  padding-left: 1.15rem;
  color: var(--color-ink-2);
}

.geo-list li + li { margin-top: var(--space-xs); }

.geo-faq {
  display: grid;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.geo-faq-item {
  border-top: var(--rule-thin) solid var(--color-rule);
  padding-top: var(--space-sm);
}

.geo-faq-item h3 {
  font-size: var(--text-lg);
  font-style: italic;
  margin-bottom: 6px;
}

.geo-faq-item p {
  color: var(--color-ink-2);
  line-height: 1.66;
}

.answer-card {
  margin: var(--space-lg) 0;
  padding: var(--space-lg);
  border: var(--rule-thin) solid var(--color-rule);
  border-radius: var(--radius-md);
  background: var(--color-paper);
  box-shadow: var(--shadow-card);
}

.answer-card p {
  color: var(--color-ink-2);
  font-size: var(--text-lg);
  line-height: 1.7;
}

/* ─────────────────────────────────────────────────────────────
   PROOF / QUOTE / PHILOSOPHY
───────────────────────────────────────────────────────────── */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.proof-item {
  padding: var(--space-md);
  border: var(--rule-thin) solid var(--color-rule);
  border-radius: var(--radius-sm);
  background: var(--color-paper);
  transition: background-color var(--dur-medium) var(--ease-out), transform var(--dur-medium) var(--ease-out);
}

.proof-item:hover { background: var(--color-paper-2); transform: translateY(-2px); }

.proof-kicker {
  display: block;
  margin-bottom: 6px;
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proof-item p {
  color: var(--color-ink-2);
  font-size: var(--text-sm);
  line-height: 1.65;
}

.quote-block {
  margin: var(--space-lg) 0;
  padding: var(--space-lg);
  border: var(--rule-thin) solid var(--color-rule);
  background: var(--color-paper-2);
  border-radius: var(--radius-md);
}

.quote-block p {
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-style: italic;
  line-height: 1.55;
}

.philosophy-note {
  margin: var(--space-xl) 0;
  padding: var(--space-lg);
  background: var(--color-accent-2);
  border: var(--rule-thin) solid rgba(45, 106, 79, 0.18);
  border-radius: var(--radius-md);
}

.philosophy-note-label {
  display: block;
  margin-bottom: var(--space-xs);
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.philosophy-note-text {
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-style: italic;
  line-height: 1.65;
}

/* ─────────────────────────────────────────────────────────────
   VERSION LIST
───────────────────────────────────────────────────────────── */
.version-list { display: grid; margin-top: var(--space-md); }

.version-item {
  display: grid;
  grid-template-columns: 58px 96px minmax(0, 1fr);
  gap: var(--space-sm);
  align-items: baseline;
  padding: var(--space-sm) 0;
  border-bottom: var(--rule-thin) solid var(--color-rule);
}

.version-number { color: var(--color-accent); font-family: var(--font-mono); font-size: var(--text-sm); font-weight: 700; }
.version-date   { color: var(--color-muted);  font-size: var(--text-xs); }
.version-notes  { color: var(--color-ink-2);  font-size: var(--text-sm); line-height: 1.6; }

/* ─────────────────────────────────────────────────────────────
   BUTTONS
───────────────────────────────────────────────────────────── */
.btn,
.app-store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  min-height: 2.75rem;
  padding: 0 var(--space-md);
  border-radius: var(--radius-pill);
  border: var(--rule-thin) solid transparent;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  text-decoration: none;
  transition:
    transform var(--dur-medium) var(--ease-out),
    background-color var(--dur-long) var(--ease-out),
    border-color var(--dur-medium) var(--ease-out),
    color var(--dur-medium) var(--ease-out),
    box-shadow var(--dur-medium) var(--ease-out);
  white-space: nowrap;
}

.btn:hover,
.app-store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(45, 106, 79, 0.20);
}

.btn:active,
.app-store-btn:active { transform: translateY(0); box-shadow: none; }

.btn--primary,
.app-store-btn {
  background: var(--color-accent);
  color: var(--color-accent-ink);
  border-color: var(--color-accent);
}

.btn--primary:hover,
.app-store-btn:hover {
  background: #245840;
  border-color: #245840;
}

.btn--secondary {
  background: var(--color-paper);
  color: var(--color-ink);
  border-color: var(--color-rule-strong);
}

.btn--secondary:hover {
  background: var(--color-paper-2);
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn-group {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-top: var(--space-xl);
}

.app-store-btn--disabled {
  background: var(--color-paper-3);
  color: var(--color-muted);
  cursor: default;
  border-color: transparent;
}

.app-store-btn--disabled:hover {
  transform: none;
  background: var(--color-paper-3);
  box-shadow: none;
}

/* ─────────────────────────────────────────────────────────────
   SUPPORT / PRIVACY / MANIFESTO HEADERS
───────────────────────────────────────────────────────────── */
.support-header,
.privacy-header,
.apps-hero,
.manifesto-hero {
  padding: var(--space-2xl) 0 var(--space-xl);
  border-bottom: var(--rule-thin) solid var(--color-rule);
  background: linear-gradient(180deg, var(--color-paper) 0%, var(--color-paper-2) 100%);
}

.support-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
}

.support-title,
.apps-hero h1,
.manifesto-hero h1,
.not-found-title {
  font-size: var(--text-3xl);
  font-weight: 700;
  font-style: italic;
  letter-spacing: -0.02em;
}

.support-version {
  color: var(--color-muted);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
}

/* ─────────────────────────────────────────────────────────────
   FAQ ACCORDION
───────────────────────────────────────────────────────────── */
.faq-list {
  display: grid;
  margin: var(--space-lg) 0;
  border-top: var(--rule-thin) solid var(--color-rule);
}

.faq-item { border-bottom: var(--rule-thin) solid var(--color-rule); }

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) 0;
  border: none;
  background: none;
  color: var(--color-ink);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 700;
  font-style: italic;
  text-align: left;
  transition: color var(--dur-short) var(--ease-out);
}

.faq-question:hover { color: var(--color-accent); }

.faq-icon {
  flex: 0 0 auto;
  color: var(--color-muted);
  font-size: var(--text-lg);
  transition: transform var(--dur-medium) var(--ease-out), color var(--dur-medium) var(--ease-out);
  font-style: normal;
}

.faq-item.open .faq-icon {
  color: var(--color-accent);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  color: var(--color-ink-2);
  font-size: var(--text-sm);
  line-height: 1.75;
  transition:
    max-height var(--dur-medium) var(--ease-out),
    padding-bottom var(--dur-medium) var(--ease-out);
}

.faq-item.open .faq-answer { max-height: 440px; padding-bottom: var(--space-md); }

/* ─────────────────────────────────────────────────────────────
   CONTACT BOX
───────────────────────────────────────────────────────────── */
.contact-box {
  margin: var(--space-xl) 0 var(--space-2xl);
  padding: var(--space-xl);
  text-align: center;
  background: var(--color-paper-2);
  border: var(--rule-thin) solid var(--color-rule);
  border-radius: var(--radius-lg);
}

.contact-box h3 { margin-bottom: var(--space-xs); font-size: var(--text-xl); font-style: italic; }
.contact-box p  { margin-bottom: var(--space-md); color: var(--color-ink-2); font-size: var(--text-md); }
.contact-email  { color: var(--color-accent); font-size: var(--text-lg); font-weight: 800; text-decoration: none; overflow-wrap: anywhere; }
.contact-email:hover { text-decoration: underline; }
.response-note  { margin-top: var(--space-xs); color: var(--color-muted); font-size: var(--text-xs); }

/* ─────────────────────────────────────────────────────────────
   PRIVACY / MANIFESTO CONTENT
───────────────────────────────────────────────────────────── */
.effective-date {
  display: inline-block;
  margin-bottom: var(--space-xl);
  padding: var(--space-xs) var(--space-sm);
  color: var(--color-ink-2);
  background: var(--color-paper-2);
  border: var(--rule-thin) solid var(--color-rule);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  line-height: 1.55;
}

.privacy-content { padding: var(--space-xl) 0 var(--space-3xl); }

.privacy-content h2,
.manifesto h2 {
  margin: var(--space-xl) 0 var(--space-sm);
  padding-top: var(--space-md);
  border-top: var(--rule-thin) solid var(--color-rule);
  font-size: var(--text-xl);
  font-weight: 700;
  font-style: italic;
}

.privacy-content h2:first-child,
.manifesto h2:first-child { margin-top: 0; border-top: none; }

.privacy-content p,
.manifesto p {
  margin-bottom: var(--space-sm);
  color: var(--color-ink-2);
  font-size: var(--text-md);
  line-height: 1.85;
}

.privacy-content ul { margin: var(--space-xs) 0 var(--space-md) var(--space-md); }
.privacy-content li { margin-bottom: var(--space-2xs); color: var(--color-ink-2); font-size: var(--text-md); line-height: 1.75; }
.privacy-content strong,
.manifesto strong { color: var(--color-ink); font-weight: 800; }
.privacy-content a,
.manifesto a { color: var(--color-accent); text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }

.manifesto-hero .lead {
  max-width: 600px;
  color: var(--color-ink-2);
  font-size: var(--text-lg);
  line-height: 1.65;
}

.manifesto { padding: var(--space-xl) 0 var(--space-3xl); }

.manifesto .pull {
  margin: var(--space-lg) 0;
  padding: var(--space-lg);
  border: var(--rule-thin) solid var(--color-rule);
  border-radius: var(--radius-md);
  background: var(--color-paper-2);
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-style: italic;
  line-height: 1.55;
}

.never-list { list-style: none; margin: var(--space-md) 0 var(--space-lg); }

.never-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  border-bottom: var(--rule-thin) solid var(--color-rule);
  color: var(--color-ink-2);
  font-size: var(--text-md);
  line-height: 1.55;
  transition: color var(--dur-short) var(--ease-out);
}

.never-list li:hover { color: var(--color-ink); }
.never-list li::before { content: "×"; color: var(--color-muted); font-family: var(--font-mono); }

/* ─────────────────────────────────────────────────────────────
   FILTER BAR
───────────────────────────────────────────────────────────── */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xs);
  margin-bottom: var(--space-xl);
}

.filter-tab {
  min-height: 2.5rem;
  padding: 0 var(--space-sm);
  border: var(--rule-thin) solid var(--color-rule);
  border-radius: var(--radius-pill);
  background: var(--color-paper);
  color: var(--color-ink-2);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  transition:
    background-color var(--dur-medium) var(--ease-out),
    color var(--dur-medium) var(--ease-out),
    border-color var(--dur-medium) var(--ease-out),
    transform var(--dur-short) var(--ease-out);
  white-space: nowrap;
}

.filter-tab:hover {
  background: var(--color-paper-2);
  color: var(--color-ink);
  transform: translateY(-1px);
}

.filter-tab.active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-accent-ink);
}

.directory-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-sm);
  align-items: end;
  margin: var(--space-lg) 0 var(--space-md);
}

.directory-search {
  display: grid;
  gap: var(--space-2xs);
}

.directory-search span {
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.directory-search input {
  width: 100%;
  min-height: 3.25rem;
  padding: 0 var(--space-md);
  border: 1px solid var(--color-rule-strong);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.72);
  color: var(--color-ink);
  font: inherit;
  font-size: var(--text-md);
  box-shadow: var(--shadow-card);
  transition:
    border-color var(--dur-medium) var(--ease-out),
    box-shadow var(--dur-medium) var(--ease-out),
    background-color var(--dur-medium) var(--ease-out);
}

.directory-search input::placeholder {
  color: var(--color-muted);
}

.directory-search input:focus {
  outline: none;
  border-color: var(--color-accent);
  background: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(36, 107, 75, 0.12), var(--shadow-card);
}

.directory-summary {
  min-width: 7.5rem;
  min-height: 3.25rem;
  display: grid;
  place-items: center;
  padding: 0 var(--space-md);
  border: 1px solid var(--color-rule);
  border-radius: var(--radius-md);
  background: var(--color-paper);
  color: var(--color-muted);
  font-size: var(--text-xs);
  line-height: 1.2;
  text-align: center;
}

.directory-summary strong {
  display: block;
  color: var(--color-ink);
  font-size: var(--text-lg);
  line-height: 1;
}

/* ─────────────────────────────────────────────────────────────
   BREADCRUMB
───────────────────────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2xs);
  margin-bottom: var(--space-lg);
  color: var(--color-muted);
  font-size: var(--text-sm);
}

.breadcrumb a { color: var(--color-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--color-accent); }
.breadcrumb span { color: var(--color-muted); }

/* ─────────────────────────────────────────────────────────────
   404
───────────────────────────────────────────────────────────── */
.not-found {
  min-height: 80vh;
  display: grid;
  place-items: center;
  padding: var(--space-2xl) var(--space-md);
  text-align: center;
}

.not-found-code {
  margin-bottom: var(--space-md);
  color: var(--color-rule-strong);
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(3.5rem, 14vw, 6rem);
  line-height: 1;
}

.not-found-text { margin-bottom: var(--space-lg); color: var(--color-ink-2); }

/* ─────────────────────────────────────────────────────────────
   UTILITY CLASSES (replaces inline styles)
───────────────────────────────────────────────────────────── */
.page-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin-bottom: var(--space-sm);
}

.page-lead {
  max-width: 640px;
  color: var(--color-ink-2);
  font-size: var(--text-lg);
  line-height: 1.65;
  margin-bottom: var(--space-md);
}

.section-title--sm {
  font-size: var(--text-xl);
  font-weight: 700;
  font-style: italic;
  margin-bottom: var(--space-xs);
}

.support-header-inner {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.support-header-body  { min-width: 0; }
.support-version      { display: block; margin-top: 4px; }
.support-version a    { color: var(--color-accent); text-decoration: none; }
.support-version a:hover { text-decoration: underline; }
.support-sub          { margin-top: var(--space-xs); color: var(--color-muted); font-size: var(--text-md); }

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE: 900px
───────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero { min-height: auto; text-align: center; }
  .hero .container { grid-template-columns: 1fr; gap: var(--space-lg); justify-items: center; }
  .hero-enso { grid-column: auto; grid-row: 1; justify-self: center; width: 108px; }
  .hero-title { max-width: 100%; }
  .hero-tagline { margin: 0 auto; }
  .nav-links { display: none; }
  .nav-hamburger {
    display: flex;
    position: absolute;
    top: 10px;
    right: var(--space-md);
  }
  .nav-drawer { display: block; }
  .values-section { background: var(--color-paper-2); }
  .values-wrap { grid-template-columns: 1fr; gap: var(--space-lg); }
  .values-intro { position: static; }
  .app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features-grid { grid-template-columns: 1fr; }
  .geo-facts { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE: 640px, Mobile
───────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .container,
  .container--wide { padding: 0 var(--space-sm); }

  /* Nav: show hamburger, hide desktop links */
  .nav-inner { min-height: 60px; }
  .nav-links  { display: none; }
  .nav-hamburger { display: flex; }
  .nav-drawer    { display: block; }
  .page-content  { padding-top: 60px; }

  .hero { padding: var(--space-2xl) 0 var(--space-xl); }
  .hero-title { font-size: var(--text-display-s); }
  .hero-tagline { font-size: var(--text-lg); }

  .section,
  .support-header,
  .privacy-header,
  .apps-hero,
  .manifesto-hero,
  .app-detail-hero { padding: var(--space-xl) 0; }

  /* 2-column app grid on mobile with bigger touch targets */
  .app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-sm); }
  .app-card { min-height: auto; padding: var(--space-sm); }
  .app-icon { width: 52px; height: 52px; margin-bottom: var(--space-sm); }

  /* Single column for values */
  .values-dojo { grid-template-columns: 1fr; }
  .value-item  { min-height: auto; padding: var(--space-md); }

  .app-detail-header { grid-template-columns: 76px minmax(0, 1fr); gap: var(--space-sm); }
  .app-detail-icon   { width: 76px; height: 76px; border-radius: 18px; }
  .app-detail-name,
  .support-title,
  .apps-hero h1,
  .manifesto-hero h1 { font-size: var(--text-2xl); }

  /* Stack buttons vertically */
  .btn-group { flex-direction: column; align-items: stretch; }
  .btn, .app-store-btn { width: 100%; min-height: 3rem; }

  .version-item  { grid-template-columns: 1fr; gap: var(--space-2xs); }
  .contact-box   { padding: var(--space-lg) var(--space-md); }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE: 360px
───────────────────────────────────────────────────────────── */
@media (max-width: 360px) {
  .nav-logo { font-size: var(--text-sm); }
  .nav-logo .enso { width: 22px; height: 22px; }
  .badge { white-space: normal; }
  .app-grid { grid-template-columns: 1fr; }
}

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

/* ─────────────────────────────────────────────────────────────
   HOME REDESIGN: Quiet Product Studio
───────────────────────────────────────────────────────────── */
.nav-logo,
.footer-logo,
.section-title,
.value-title,
.app-name,
.geo-faq-item h3,
.footer-logo,
.page-title,
.section-title--sm,
.support-title,
.apps-hero h1,
.manifesto-hero h1,
.app-detail-name,
.not-found-code {
  font-style: normal;
}

.site-nav {
  background: color-mix(in srgb, var(--color-paper) 88%, transparent);
}

.home-page {
  background:
    radial-gradient(circle at 12% 8%, rgba(36, 107, 75, 0.12), transparent 28rem),
    linear-gradient(180deg, var(--color-paper) 0%, #FAFBF8 42%, var(--color-paper-2) 100%);
}

.home-page .section {
  padding: clamp(4rem, 9vw, 8rem) 0;
}

.home-hero {
  min-height: calc(100dvh - 64px);
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(2rem, 5vw, 4rem);
  overflow: hidden;
  background: transparent;
}

.home-hero__grid {
  min-height: min(760px, calc(100dvh - 128px));
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1.14fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.home-hero__copy {
  max-width: 620px;
}

.home-page .hero-label {
  margin-bottom: var(--space-sm);
  color: var(--color-accent);
  letter-spacing: 0.07em;
}

.home-page .hero-title {
  max-width: none;
  margin-bottom: var(--space-sm);
  font-size: clamp(3.75rem, 6.2vw, 5rem);
  font-style: normal;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.9;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: keep-all;
}

.home-page .hero-tagline {
  max-width: 460px;
  color: var(--color-ink-2);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  line-height: 1.2;
  font-weight: 520;
}

.home-hero__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: var(--space-lg);
  max-width: 520px;
}

.home-hero__metrics span {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0 var(--space-sm);
  border: 1px solid rgba(36, 107, 75, 0.18);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.58);
  color: var(--color-ink-2);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.01em;
}

.home-hero__actions {
  margin-top: var(--space-lg);
}

.home-hero__visual {
  position: relative;
  isolation: isolate;
  min-height: 460px;
}

.home-hero__visual::before {
  content: "";
  position: absolute;
  inset: 7% -5% 0 8%;
  z-index: -1;
  border-radius: 38px;
  background:
    linear-gradient(135deg, rgba(36, 107, 75, 0.18), rgba(17, 20, 18, 0.04)),
    var(--color-paper-2);
  transform: rotate(-3deg);
  box-shadow: var(--shadow-soft);
}

.home-hero__visual > img {
  width: min(100%, 760px);
  aspect-ratio: 16 / 10;
  display: block;
  object-fit: cover;
  border: 1px solid rgba(17, 20, 18, 0.08);
  border-radius: 30px;
  box-shadow: 0 28px 80px rgba(17, 20, 18, 0.16);
}

.home-hero__dock {
  position: absolute;
  right: clamp(1rem, 4vw, 3rem);
  bottom: -1.35rem;
  display: flex;
  gap: 0.6rem;
  padding: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 22px;
  background: rgba(247, 248, 244, 0.72);
  box-shadow: 0 18px 50px rgba(17, 20, 18, 0.14);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.home-hero__dock img {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  box-shadow: 0 6px 18px rgba(17, 20, 18, 0.12);
}

.home-proof {
  border-top: 1px solid var(--color-rule);
  border-bottom: 1px solid var(--color-rule);
  background: rgba(255, 255, 255, 0.48);
}

.home-proof__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.35fr;
  gap: var(--space-sm);
}

.home-proof p {
  padding: var(--space-md) 0;
  color: var(--color-ink-2);
  font-size: var(--text-sm);
  font-weight: 700;
  line-height: 1.35;
}

.home-proof p + p {
  border-left: 1px solid var(--color-rule);
  padding-left: var(--space-md);
}

.home-section-head {
  max-width: 700px;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.home-page .section-title {
  max-width: 780px;
  margin-bottom: var(--space-sm);
  font-size: clamp(2.1rem, 4.4vw, 3.7rem);
  font-weight: 780;
  letter-spacing: -0.03em;
  line-height: 1;
}

.home-page .section-subtitle {
  max-width: 640px;
  color: var(--color-ink-2);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.45;
}

.home-featured-grid {
  max-width: none;
  margin: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-sm);
}

.home-featured-grid .app-card {
  min-height: 238px;
  border-color: rgba(17, 20, 18, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.62);
}

.home-featured-grid .app-card:nth-child(1),
.home-featured-grid .app-card:nth-child(6) {
  background: var(--color-accent-2);
}

.home-featured-grid .app-card:nth-child(4) {
  background: #F0F3F6;
}

.home-featured-grid .app-card:hover {
  background: #FFFFFF;
  border-color: rgba(36, 107, 75, 0.3);
}

.home-featured-grid .app-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
}

.home-featured-grid .app-name {
  font-size: 1.1rem;
  font-weight: 780;
}

.home-featured-grid .app-tagline {
  min-height: 3.2em;
}

.home-apps__footer {
  margin-top: var(--space-lg);
}

.home-principles {
  background: var(--color-footer);
  color: var(--color-paper);
}

.home-principles .section-title,
.home-principles .value-title {
  color: var(--color-paper);
}

.home-principles .section-subtitle,
.home-principles .value-desc {
  color: rgba(247, 248, 244, 0.72);
}

.home-principles__grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.home-principles__statement {
  position: sticky;
  top: 96px;
  display: grid;
  gap: var(--space-md);
}

.home-principles__statement .btn--secondary {
  width: fit-content;
  background: transparent;
  color: var(--color-paper);
  border-color: rgba(247, 248, 244, 0.22);
}

.home-principles__statement .btn--secondary:hover {
  background: rgba(247, 248, 244, 0.08);
  border-color: rgba(247, 248, 244, 0.44);
  color: var(--color-paper);
}

.home-principles__cards {
  border: 1px solid rgba(247, 248, 244, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: none;
}

.home-principles__cards .value-item {
  border-color: rgba(247, 248, 244, 0.12);
}

.home-principles__cards .value-item:hover {
  background: rgba(247, 248, 244, 0.06);
}

.home-principles__cards .value-number,
.home-principles__cards .value-mark {
  color: #80C7A0;
}

.home-fit {
  background: #FAFBF8;
}

.home-fit .container {
  max-width: 900px;
}

.home-fit__list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-sm);
}

.home-fit__list .geo-faq-item {
  padding: var(--space-md);
  border: 1px solid var(--color-rule);
  border-radius: 18px;
  background: var(--color-paper);
}

.home-fit__list .geo-faq-item h3 {
  font-weight: 780;
}

.home-fit__list a {
  color: var(--color-accent);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

@media (max-width: 1040px) {
  .home-hero__grid {
    grid-template-columns: 1fr;
    min-height: auto;
    justify-items: start;
  }

  .home-hero__copy {
    max-width: min(720px, 100%);
  }

  .home-hero__visual {
    width: 100%;
    min-height: auto;
  }

  .home-hero__visual > img {
    width: 100%;
    max-height: 520px;
  }

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

  .home-principles__grid {
    grid-template-columns: 1fr;
  }

  .home-principles__statement {
    position: static;
  }
}

@media (max-width: 720px) {
  .nav-inner {
    width: calc(100% - 32px);
    padding: 0;
    margin: 0 auto;
  }

  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
    position: absolute;
    top: 10px;
    right: 0;
  }

  .nav-drawer {
    display: block;
  }

  .home-page .section {
    padding: var(--space-2xl) 0;
  }

  .home-hero {
    min-height: auto;
    padding: var(--space-xl) 0 var(--space-lg);
    text-align: left;
  }

  .home-hero .container--wide {
    width: calc(100% - 32px);
    padding: 0;
    margin: 0 auto;
  }

  .home-hero__grid {
    gap: var(--space-xl);
    width: 100%;
    min-width: 0;
  }

  .home-hero__copy,
  .home-hero__visual {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .home-page .hero-title {
    font-size: clamp(3.1rem, 15vw, 4rem);
    letter-spacing: -0.04em;
    overflow-wrap: normal;
  }

  .home-page .hero-tagline {
    margin: 0;
    max-width: 20ch;
    overflow-wrap: normal;
  }

  .home-hero__metrics {
    gap: 0.45rem;
    margin-top: var(--space-md);
  }

  .home-hero__metrics span {
    min-height: 1.85rem;
    padding: 0 var(--space-xs);
  }

  .home-hero__actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .home-hero__actions .btn {
    width: 100%;
    max-width: 320px;
  }

  .home-hero__visual > img {
    aspect-ratio: 4 / 3;
    border-radius: 22px;
  }

  .home-hero__dock {
    position: static;
    width: fit-content;
    max-width: calc(100vw - 2rem);
    margin: -1.1rem auto 0;
    gap: 0.45rem;
    padding: 0.55rem;
    border-radius: 18px;
  }

  .home-hero__dock img {
    width: 44px;
    height: 44px;
    border-radius: 11px;
  }

  .home-proof__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .home-proof p {
    padding: var(--space-sm) 0;
  }

  .home-proof p + p {
    border-left: 0;
    border-top: 1px solid var(--color-rule);
    padding-left: 0;
  }

  .home-featured-grid,
  .home-fit__list {
    grid-template-columns: 1fr;
  }

  .home-featured-grid .app-card {
    min-height: auto;
  }

  .home-principles__cards {
    border-radius: 18px;
  }

  .directory-tools {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .directory-summary {
    min-width: 0;
    grid-template-columns: auto auto;
    justify-content: center;
    gap: var(--space-2xs);
  }
}

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

  .filter-bar {
    flex-wrap: nowrap;
    margin-inline: calc(var(--space-sm) * -1);
    padding: 0 var(--space-sm) var(--space-2xs);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .filter-tab {
    flex: 0 0 auto;
  }
}

/* ─────────────────────────────────────────────────────────────
   TECH MINIMAL REDESIGN LAYER
───────────────────────────────────────────────────────────── */
:root {
  --tech-bg: #f6f4ef;
  --tech-panel: rgba(255, 255, 255, 0.74);
  --tech-panel-strong: #ffffff;
  --tech-ink: #111816;
  --tech-muted: #5d6760;
  --tech-rule: rgba(18, 24, 22, 0.12);
  --tech-rule-strong: rgba(18, 24, 22, 0.2);
  --tech-green: #0f6b4f;
  --tech-cyan: #0d7d8f;
  --tech-amber: #ba6b13;
  --tech-coral: #b54c3d;
  --tech-shadow: 0 18px 60px rgba(20, 28, 25, 0.12);
  --tech-shadow-tight: 0 10px 28px rgba(20, 28, 25, 0.1);
}

body {
  background:
    linear-gradient(90deg, rgba(17, 24, 22, 0.045) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(180deg, #fbfaf6 0%, var(--tech-bg) 42%, #eef3ef 100%);
  color: var(--tech-ink);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(13, 125, 143, 0.12), transparent 34%),
    linear-gradient(300deg, rgba(186, 107, 19, 0.11), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.45), transparent 34%);
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.28;
  background-image: radial-gradient(rgba(17, 24, 22, 0.22) 0.65px, transparent 0.65px);
  background-size: 16px 16px;
  mask-image: linear-gradient(180deg, transparent, #000 14%, #000 72%, transparent);
}

.site-nav {
  background: rgba(250, 249, 244, 0.76);
  border-bottom-color: rgba(18, 24, 22, 0.1);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.75) inset;
}

.nav-logo,
.footer-logo {
  font-style: normal;
  letter-spacing: 0;
}

.nav-links a {
  color: rgba(17, 24, 22, 0.62);
}

.nav-links a::after {
  height: 2px;
  background: linear-gradient(90deg, var(--tech-green), var(--tech-cyan), var(--tech-amber));
  border-radius: 999px;
}

.btn,
.filter-tab,
.app-card,
.directory-search input,
.nav-hamburger,
.faq-question,
.geo-faq-item,
.value-item {
  cursor: pointer;
}

.btn {
  position: relative;
  isolation: isolate;
  border-radius: 8px;
  transform: translateZ(0);
  transition:
    transform 180ms var(--ease-out),
    box-shadow 220ms var(--ease-out),
    border-color 220ms var(--ease-out),
    background-color 220ms var(--ease-out),
    color 220ms var(--ease-out);
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  opacity: 0;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0));
  transform: translateX(-42%);
  transition: opacity 180ms var(--ease-out), transform 420ms var(--ease-out);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--tech-shadow-tight);
}

.btn:hover::after {
  opacity: 1;
  transform: translateX(42%);
}

.btn:active {
  transform: translateY(0) scale(0.985);
}

.btn--primary {
  background: #111816;
  border-color: #111816;
  color: #fffdf7;
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.62);
  border-color: var(--tech-rule-strong);
  color: var(--tech-ink);
}

.home-page .hero-title,
.page-title,
.section-title {
  letter-spacing: 0;
}

.home-hero {
  position: relative;
  min-height: calc(100vh - 64px);
  overflow: clip;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(246, 244, 239, 0.18)),
    linear-gradient(115deg, rgba(15, 107, 79, 0.11), transparent 42%),
    linear-gradient(300deg, rgba(181, 76, 61, 0.1), transparent 38%);
}

.home-hero::before,
.home-hero::after {
  content: '';
  position: absolute;
  pointer-events: none;
}

.home-hero::before {
  inset: 72px max(18px, calc((100vw - 1160px) / 2)) 48px;
  border: 1px solid rgba(18, 24, 22, 0.09);
  border-radius: 8px;
  background:
    linear-gradient(rgba(18, 24, 22, 0.06) 1px, transparent 1px) 0 0 / 100% 33.33%,
    linear-gradient(90deg, rgba(18, 24, 22, 0.06) 1px, transparent 1px) 0 0 / 25% 100%;
  opacity: 0.65;
}

.home-hero::after {
  width: 38vw;
  height: 1px;
  left: 50%;
  bottom: 18%;
  background: linear-gradient(90deg, transparent, rgba(15, 107, 79, 0.45), rgba(13, 125, 143, 0.32), transparent);
  transform: translateX(-50%);
}

.home-hero__grid,
.home-hero__copy,
.home-hero__visual {
  position: relative;
}

.home-hero__grid {
  z-index: 1;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(2rem, 5vw, 5rem);
}

.home-hero__copy {
  z-index: 4;
  max-width: 560px;
  transform: translate3d(0, calc(var(--scroll-y, 0) * -0.018px), 0);
}

.home-hero__copy::before {
  content: 'BUILD 2026 / LOCAL STACK';
  display: inline-flex;
  margin-bottom: var(--space-md);
  padding: 0.38rem 0.55rem;
  border: 1px solid rgba(18, 24, 22, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  color: rgba(17, 24, 22, 0.7);
  font-family: var(--font-mono);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.hero-label,
.section-label,
.proof-kicker {
  color: var(--tech-green);
  letter-spacing: 0.08em;
}

.home-page .hero-title {
  font-size: clamp(4.3rem, 8vw, 7.15rem);
  line-height: 0.82;
  margin-bottom: var(--space-md);
  color: #101513;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.home-page .hero-tagline {
  max-width: 620px;
  color: rgba(17, 24, 22, 0.74);
  font-size: clamp(1.15rem, 2vw, 1.58rem);
  line-height: 1.42;
}

.home-hero__metrics {
  margin-top: var(--space-lg);
}

.home-hero__metrics span {
  border: 1px solid rgba(18, 24, 22, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.64);
  color: rgba(17, 24, 22, 0.74);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.76) inset;
  backdrop-filter: blur(12px);
}

.home-hero__actions {
  margin-top: var(--space-lg);
}

.home-hero__visual {
  padding: 0;
  border: 1px solid rgba(18, 24, 22, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.52);
  box-shadow: var(--tech-shadow);
  transform:
    perspective(1100px)
    rotateX(calc(var(--pointer-y, 0) * -0.018deg))
    rotateY(calc(var(--pointer-x, 0) * 0.018deg))
    translate3d(0, calc(var(--scroll-y, 0) * 0.018px), 0);
  transition: transform 160ms var(--ease-out), box-shadow 260ms var(--ease-out);
  will-change: transform;
}

.home-hero__visual::before {
  content: '';
  position: absolute;
  inset: 10px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
  background: transparent;
  box-shadow: none;
  transform: none;
  pointer-events: none;
}

.home-hero__visual > img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  filter: saturate(1.04) contrast(1.03);
}

.home-hero__system,
.home-hero__dock {
  position: absolute;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(14, 19, 18, 0.74);
  color: rgba(255, 253, 247, 0.86);
  box-shadow: 0 16px 36px rgba(14, 19, 18, 0.24);
  backdrop-filter: blur(16px);
}

.home-hero__system {
  top: 18px;
  left: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.48rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.home-hero__system span {
  padding: 0.26rem 0.42rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
}

.home-hero__system span:nth-child(1) { color: #87d8b6; }
.home-hero__system span:nth-child(2) { color: #78cddd; }
.home-hero__system span:nth-child(3) { color: #f0b263; }

.home-hero__dock {
  right: 18px;
  bottom: 18px;
  gap: 0.5rem;
  padding: 0.55rem;
}

.home-hero__dock img {
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
  transition: transform 180ms var(--ease-out);
}

.home-hero__dock img:hover {
  transform: translateY(-4px) scale(1.04);
}

.home-proof {
  border-color: rgba(18, 24, 22, 0.12);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(16px);
}

.home-proof p {
  color: rgba(17, 24, 22, 0.7);
}

.home-apps,
.home-fit {
  background: transparent;
}

.home-section-head {
  align-items: end;
}

.section-title {
  color: #111816;
}

.section-subtitle,
.page-lead {
  color: rgba(17, 24, 22, 0.66);
}

.app-grid {
  gap: 0.9rem;
}

.app-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(18, 24, 22, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.56)),
    linear-gradient(135deg, rgba(15, 107, 79, 0.08), transparent 42%),
    linear-gradient(315deg, rgba(186, 107, 19, 0.06), transparent 45%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.72) inset;
  transition:
    transform 220ms var(--ease-out),
    box-shadow 220ms var(--ease-out),
    border-color 220ms var(--ease-out),
    background-color 220ms var(--ease-out);
  will-change: transform;
}

.app-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.58), transparent),
    radial-gradient(circle at var(--card-x, 50%) var(--card-y, 0%), rgba(13, 125, 143, 0.18), transparent 34%);
  transform: translateX(-35%);
  transition: opacity 180ms var(--ease-out), transform 520ms var(--ease-out);
}

.app-card:hover,
.app-card:focus-visible {
  border-color: rgba(15, 107, 79, 0.35);
  box-shadow: var(--tech-shadow-tight);
  transform:
    perspective(900px)
    rotateX(calc(var(--tilt-y, 0) * -1deg))
    rotateY(calc(var(--tilt-x, 0) * 1deg))
    translateY(-5px);
}

.app-card:hover::before,
.app-card:focus-visible::before {
  opacity: 1;
  transform: translateX(35%);
}

.app-icon {
  border-radius: 8px;
}

.app-icon img {
  border-radius: 8px;
  transition: transform 220ms var(--ease-out);
}

.app-card:hover .app-icon img {
  transform: scale(1.06);
}

.app-name {
  color: #111816;
}

.app-tagline {
  color: rgba(17, 24, 22, 0.64);
}

.badge {
  border-radius: 6px;
  border: 1px solid rgba(18, 24, 22, 0.1);
  background: rgba(255, 255, 255, 0.65);
}

.badge--status-live {
  color: var(--tech-green);
  background: rgba(15, 107, 79, 0.1);
}

.home-principles {
  position: relative;
  overflow: clip;
  background:
    linear-gradient(140deg, #111816, #19221f 62%, #171916);
}

.home-principles::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 253, 247, 0.055) 1px, transparent 1px) 0 0 / 42px 42px,
    linear-gradient(rgba(255, 253, 247, 0.045) 1px, transparent 1px) 0 0 / 42px 42px;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}

.home-principles__statement,
.home-principles__cards {
  position: relative;
  z-index: 1;
}

.home-principles__cards {
  border-radius: 8px;
}

.home-principles__cards .value-item {
  border-radius: 0;
}

.home-fit__list .geo-faq-item,
.proof-item,
.quote-block,
.directory-search,
.directory-summary {
  border-radius: 8px;
  border-color: rgba(18, 24, 22, 0.12);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.72) inset;
  backdrop-filter: blur(12px);
}

.home-fit__list .geo-faq-item {
  transition: transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out), border-color 180ms var(--ease-out);
}

.home-fit__list .geo-faq-item:hover {
  border-color: rgba(15, 107, 79, 0.28);
  box-shadow: var(--tech-shadow-tight);
  transform: translateY(-3px);
}

.apps-hero {
  position: relative;
  overflow: clip;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(246, 244, 239, 0.2)),
    linear-gradient(110deg, rgba(13, 125, 143, 0.12), transparent 44%),
    linear-gradient(290deg, rgba(186, 107, 19, 0.12), transparent 42%);
}

.apps-hero::before {
  content: '';
  position: absolute;
  inset: 84px max(18px, calc((100vw - 980px) / 2)) 40px;
  border: 1px solid rgba(18, 24, 22, 0.09);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(18, 24, 22, 0.055) 1px, transparent 1px) 0 0 / 96px 100%,
    linear-gradient(rgba(18, 24, 22, 0.055) 1px, transparent 1px) 0 0 / 100% 44px;
  opacity: 0.7;
}

.apps-hero .container {
  position: relative;
  z-index: 1;
}

.directory-search input {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  transition: border-color 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}

.directory-search input:focus {
  border-color: rgba(13, 125, 143, 0.45);
  box-shadow: 0 0 0 4px rgba(13, 125, 143, 0.12);
}

.filter-tab {
  border-radius: 8px;
  border-color: rgba(18, 24, 22, 0.12);
  background: rgba(255, 255, 255, 0.58);
  transition: transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out), color 180ms var(--ease-out), background 180ms var(--ease-out);
}

.filter-tab:hover {
  transform: translateY(-2px);
  box-shadow: var(--tech-shadow-tight);
}

.filter-tab.active {
  background: #111816;
  border-color: #111816;
  color: #fffdf7;
}

.is-revealing {
  opacity: 0;
  transform: translateY(16px);
}

.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.page-transition {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0;
  background:
    linear-gradient(90deg, rgba(255, 253, 247, 0.08) 1px, transparent 1px) 0 0 / 34px 34px,
    #101513;
  color: #fffdf7;
  transform: translateY(100%);
  transition: transform 360ms var(--ease-in-out), opacity 260ms var(--ease-out);
}

.page-transition::before {
  content: 'Dojoism';
  font-family: var(--font-display);
  font-size: clamp(2rem, 7vw, 5rem);
  font-weight: 900;
  line-height: 1;
}

.page-transition.is-active {
  opacity: 1;
  transform: translateY(0);
}

@keyframes systemPulse {
  0%, 100% { opacity: 0.62; transform: scaleX(0.35); }
  50% { opacity: 1; transform: scaleX(1); }
}

.home-hero::after {
  animation: systemPulse 3.2s var(--ease-in-out) infinite;
  transform-origin: center;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .home-hero__copy,
  .home-hero__visual,
  .app-card:hover,
  .app-card:focus-visible {
    transform: none !important;
  }
}

@media (max-width: 1040px) {
  .home-hero__grid {
    grid-template-columns: 1fr;
  }

  .home-page .hero-title {
    font-size: clamp(4rem, 15vw, 7rem);
  }

  .home-hero__visual {
    max-width: 820px;
  }
}

@media (max-width: 720px) {
  body {
    background:
      linear-gradient(90deg, rgba(17, 24, 22, 0.04) 1px, transparent 1px) 0 0 / 28px 28px,
      linear-gradient(180deg, #fbfaf6 0%, var(--tech-bg) 54%, #eef3ef 100%);
  }

  .home-hero::before,
  .apps-hero::before {
    inset-inline: 16px;
  }

  .home-hero__copy::before {
    font-size: 0.62rem;
  }

  .home-page .hero-title {
    font-size: clamp(3.45rem, 19vw, 5.6rem);
    line-height: 0.9;
  }

  .home-page .hero-tagline {
    max-width: 100%;
    font-size: 1.08rem;
  }

  .home-hero__visual {
    transform: none;
  }

  .home-hero__system {
    top: 12px;
    left: 12px;
    right: 12px;
    font-size: 0.58rem;
  }

  .home-hero__dock {
    position: absolute;
    right: 12px;
    bottom: 12px;
    margin: 0;
  }

  .home-hero__dock img {
    width: 40px;
    height: 40px;
  }
}

/* ─────────────────────────────────────────────────────────────
   SITE-WIDE EXPERIENCE COMPLETION
───────────────────────────────────────────────────────────── */
.app-detail-hero,
.support-header,
.privacy-header,
.manifesto-hero {
  position: relative;
  overflow: clip;
  border-bottom-color: rgba(18, 24, 22, 0.1);
  background:
    linear-gradient(90deg, rgba(17, 24, 22, 0.045) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(rgba(17, 24, 22, 0.04) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(115deg, rgba(13, 125, 143, 0.13), transparent 42%),
    linear-gradient(300deg, rgba(186, 107, 19, 0.12), transparent 40%),
    rgba(255, 253, 247, 0.7);
}

.app-detail-hero::before,
.support-header::before,
.privacy-header::before,
.manifesto-hero::before {
  content: '';
  position: absolute;
  inset: 76px max(16px, calc((100vw - 900px) / 2)) 32px;
  border: 1px solid rgba(18, 24, 22, 0.1);
  border-radius: 8px;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.35), transparent 32%, transparent 68%, rgba(255, 255, 255, 0.22)),
    rgba(255, 255, 255, 0.2);
}

.app-detail-hero::after,
.support-header::after,
.privacy-header::after,
.manifesto-hero::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 22px;
  width: min(460px, 72vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(15, 107, 79, 0.55), rgba(13, 125, 143, 0.36), transparent);
  transform: translateX(-50%);
  animation: systemPulse 3.8s var(--ease-in-out) infinite;
  pointer-events: none;
}

.app-detail-hero > .container,
.support-header > .container,
.privacy-header > .container,
.manifesto-hero > .container {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  color: rgba(17, 24, 22, 0.58);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}

.breadcrumb a {
  color: rgba(17, 24, 22, 0.62);
  text-decoration: none;
  transition: color 180ms var(--ease-out);
}

.breadcrumb a:hover {
  color: var(--tech-green);
}

.app-detail-header,
.support-header-inner {
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid rgba(18, 24, 22, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.42)),
    linear-gradient(135deg, rgba(15, 107, 79, 0.08), transparent 48%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.72) inset, var(--tech-shadow-tight);
  backdrop-filter: blur(14px);
}

.app-detail-icon,
.support-icon {
  border: 1px solid rgba(18, 24, 22, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 30px rgba(20, 28, 25, 0.13);
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}

.app-detail-header:hover .app-detail-icon,
.support-header-inner:hover .support-icon {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 18px 44px rgba(20, 28, 25, 0.17);
}

.app-detail-name,
.support-title,
.apps-hero h1,
.manifesto-hero h1,
.privacy-header h1,
.not-found-title {
  color: #111816 !important;
  font-style: normal !important;
  letter-spacing: 0 !important;
}

.privacy-header h1 {
  margin-bottom: var(--space-xs) !important;
  font-size: var(--text-3xl) !important;
  font-weight: 800 !important;
  line-height: 1.05 !important;
}

.app-detail-tagline,
.support-sub,
.manifesto-hero .page-lead,
.privacy-header p {
  color: rgba(17, 24, 22, 0.68) !important;
}

.features-grid .feature-item,
.geo-fact,
.answer-card,
.proof-item,
.quote-block,
.philosophy-note,
.contact-box,
.faq-item,
.version-item {
  position: relative;
}

.features-grid .feature-item,
.geo-fact,
.answer-card,
.proof-item,
.quote-block,
.philosophy-note,
.contact-box {
  overflow: hidden;
  border-radius: 8px;
  border-color: rgba(18, 24, 22, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.54)),
    linear-gradient(135deg, rgba(13, 125, 143, 0.07), transparent 42%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.72) inset;
  backdrop-filter: blur(10px);
  transition:
    transform 180ms var(--ease-out),
    box-shadow 180ms var(--ease-out),
    border-color 180ms var(--ease-out);
}

.features-grid .feature-item {
  padding: var(--space-md);
  border: 1px solid rgba(18, 24, 22, 0.12);
}

.features-grid .feature-item::before,
.geo-fact::before,
.answer-card::before,
.proof-item::before,
.quote-block::before,
.philosophy-note::before,
.contact-box::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--card-x, 50%) var(--card-y, 0%), rgba(15, 107, 79, 0.14), transparent 36%),
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  transform: translateX(-28%);
  transition: opacity 180ms var(--ease-out), transform 420ms var(--ease-out);
}

.features-grid .feature-item:hover,
.geo-fact:hover,
.answer-card:hover,
.proof-item:hover,
.quote-block:hover,
.philosophy-note:hover,
.contact-box:hover {
  border-color: rgba(15, 107, 79, 0.28);
  box-shadow: var(--tech-shadow-tight);
  transform: translateY(-3px);
}

.features-grid .feature-item:hover::before,
.geo-fact:hover::before,
.answer-card:hover::before,
.proof-item:hover::before,
.quote-block:hover::before,
.philosophy-note:hover::before,
.contact-box:hover::before {
  opacity: 1;
  transform: translateX(24%);
}

.feature-title,
.geo-faq-item h3,
.contact-box h3,
.privacy-content h2,
.manifesto h2 {
  font-style: normal;
  letter-spacing: 0;
}

.privacy-content,
.manifesto {
  background: transparent;
}

.privacy-content .container,
.manifesto .container {
  position: relative;
}

.privacy-content h2,
.manifesto h2 {
  border-top-color: rgba(18, 24, 22, 0.11);
}

.privacy-content h2::before,
.manifesto h2::before {
  content: '';
  display: inline-block;
  width: 0.62rem;
  height: 0.62rem;
  margin-right: 0.52rem;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--tech-green), var(--tech-cyan));
  transform: translateY(-0.03rem);
}

.faq-list {
  border-top-color: rgba(18, 24, 22, 0.12);
}

.faq-item {
  border-bottom-color: rgba(18, 24, 22, 0.12);
  transition: background-color 180ms var(--ease-out);
}

.faq-item.open {
  background: rgba(255, 255, 255, 0.48);
}

.faq-question {
  font-style: normal;
}

.faq-question:active {
  transform: scale(0.998);
}

.faq-answer {
  transition:
    max-height 320ms var(--ease-out),
    padding-bottom 320ms var(--ease-out),
    opacity 220ms var(--ease-out);
  opacity: 0;
}

.faq-item.open .faq-answer {
  opacity: 1;
}

.btn.is-loading,
.app-store-btn.is-loading {
  pointer-events: none;
  opacity: 0.9;
  color: transparent !important;
}

.btn.is-loading::before,
.app-store-btn.is-loading::before {
  content: '';
  position: absolute;
  width: 1rem;
  height: 1rem;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-bottom-color: rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  color: #fffdf7;
  animation: buttonSpin 620ms linear infinite;
}

.btn--secondary.is-loading::before {
  color: var(--tech-green);
  border-bottom-color: rgba(15, 107, 79, 0.2);
}

@keyframes buttonSpin {
  to { transform: rotate(360deg); }
}

.directory-tools.has-no-results .directory-search input {
  border-color: rgba(181, 76, 61, 0.54);
  box-shadow: 0 0 0 4px rgba(181, 76, 61, 0.1);
}

.directory-tools.has-no-results .directory-summary {
  color: var(--tech-coral);
  animation: noResultsNudge 240ms var(--ease-out);
}

@keyframes noResultsNudge {
  0%, 100% { transform: translateX(0); }
  35% { transform: translateX(-4px); }
  70% { transform: translateX(4px); }
}

.nav-drawer.open a {
  animation: drawerItemIn 260ms var(--ease-out) both;
}

.nav-drawer.open li:nth-child(2) a { animation-delay: 42ms; }
.nav-drawer.open li:nth-child(3) a { animation-delay: 84ms; }

@keyframes drawerItemIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 720px) {
  .app-detail-hero::before,
  .support-header::before,
  .privacy-header::before,
  .manifesto-hero::before {
    inset: 72px 16px 28px;
  }

  .app-detail-header,
  .support-header-inner {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: var(--space-sm);
    padding: var(--space-sm);
  }

  .app-detail-icon,
  .support-icon {
    width: 72px;
    height: 72px;
  }

  .features-grid,
  .proof-grid,
  .geo-facts {
    grid-template-columns: 1fr;
  }

  .privacy-header h1,
  .manifesto-hero h1,
  .support-title,
  .app-detail-name {
    font-size: clamp(2.25rem, 10vw, 3rem) !important;
  }

  .version-item {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}
