/* Terdaq landing page (apps/landing/index.html). Ported 2026-11-13 from the
   approved GraniteCore redesign mock: its shared stylesheet and the app-page
   additions merged, with the rules this page does not use removed. The
   privacy, delete-account and share pages do not use this file; they keep
   their own inline styles. Fonts are self-hosted (assets/fonts/, SIL OFL). */
@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/geist-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/geist-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/geist-mono-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); }

:root {
  --ink: #06080b;
  --panel: #0d1117;
  --panel-2: #141a23;
  --line: rgba(255, 255, 255, 0.1);
  --text: #eef1f5;
  --muted: #a2acb9;
  --sand: #d9c9b4;

  --rust: #e2693c;
  --rust-deep: #b4481f;
  --rust-ink: #8a3414;
  --cream: #f5eee2;
  --paper: #fffdf8;
  --soil: #221d17;
  --olive: #5f6f3c;

  --cyan: #2fd3f0;
  --cyan-pale: #baf3ff;
  --navy: #0a1424;

  --font: "Geist", "Segoe UI", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, Consolas, monospace;
  --serif: "Instrument Serif", Georgia, serif;
  --max: 1240px;
  --header-h: 68px;
  --r: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0; min-width: 320px;
  font-family: var(--font); font-size: 1rem; line-height: 1.65;
  color: var(--text); background: var(--ink);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote, address { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
.defs { position: absolute; }
.wrap { width: min(calc(100% - 2.5rem), var(--max)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 200; padding: 0.7rem 1rem; border-radius: 8px; background: var(--text); color: var(--ink); font-weight: 600; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.terdaq :focus-visible { outline-color: var(--rust-ink); }

em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.svg-sans { font-family: var(--font); }
.svg-mono { font-family: var(--mono); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 8, 11, 0.72);
  backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid var(--line);
}
.navbar { width: min(calc(100% - 2.5rem), var(--max)); margin-inline: auto; min-height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; }
.brand-name { display: grid; font-weight: 700; font-size: 1.08rem; letter-spacing: -0.02em; line-height: 1.1; }
.brand-sub { font-family: var(--mono); font-weight: 400; font-size: 0.6rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); }
.nav-menu { display: flex; align-items: center; gap: 0.15rem; }
.nav-menu a { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.55rem 0.8rem; border-radius: 999px; font-size: 0.93rem; font-weight: 500; color: var(--muted); transition: color 160ms ease, background-color 160ms ease; }
.nav-menu a:hover, .nav-menu a:focus-visible { color: var(--text); background: rgba(255, 255, 255, 0.07); }
.nav-menu .nav-cta { margin-left: 0.5rem; padding-inline: 1.1rem; color: var(--ink); background: var(--text); }
.nav-menu .nav-cta:hover, .nav-menu .nav-cta:focus-visible { color: var(--ink); background: #fff; }
.nav-toggle { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 46px; height: 46px; border-radius: 12px; cursor: pointer; border: 1px solid var(--line); background: var(--panel-2); }
.nav-toggle-line { width: 20px; height: 2px; border-radius: 2px; background: var(--text); transition: transform 180ms ease; }
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

h1 { margin-top: 1.4rem; font-weight: 600; font-size: clamp(3rem, 9.4vw, 7.6rem); line-height: 0.94; letter-spacing: -0.042em; word-spacing: 0.04em; }
h1 em { letter-spacing: -0.03em; background: linear-gradient(100deg, #f1b08f 0%, var(--sand) 40%, var(--cyan-pale) 70%, var(--cyan) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.08em; }

.launch { display: grid; grid-template-columns: repeat(2, minmax(0, 22rem)); gap: 0.9rem; margin-top: 2.4rem; }
.tile {
  position: relative; display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.1rem; border-radius: 18px; border: 1px solid var(--line);
  background: rgba(13, 17, 23, 0.78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}
.tile img { width: 56px; height: 56px; border-radius: 14px; flex: none; }
.tile-body { display: grid; min-width: 0; }
.tile-kind { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; }
.tile-name { font-size: 1.35rem; font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; }
.tile-line { font-size: 0.88rem; color: var(--muted); }
.tile-arrow { width: 18px; height: 18px; margin-left: auto; flex: none; color: var(--muted); transition: transform 180ms ease, color 180ms ease; }
.tile:hover { transform: translateY(-3px); background: rgba(20, 26, 35, 0.9); }
.tile:hover .tile-arrow { transform: translate(2px, -2px); color: var(--text); }
.tile-s .tile-kind { color: var(--cyan); }
.tile-s:hover { border-color: rgba(47, 211, 240, 0.7); }

/* ---------- section heads ---------- */
.kicker { display: inline-flex; align-items: center; gap: 0.7rem; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.kicker-num { padding: 0.12rem 0.45rem; border: 1px solid currentColor; border-radius: 6px; letter-spacing: 0.06em; }
h2 { font-weight: 600; letter-spacing: -0.045em; line-height: 1; }
.section-head h2, .company h2, .contact h2 { margin-top: 1.1rem; font-size: clamp(2.3rem, 5.4vw, 4.2rem); max-width: 18ch; }
.section-lede { margin-top: 1rem; max-width: 34rem; font-size: 1.08rem; color: var(--muted); }

/* ---------- products (shared) ---------- */
.product { position: relative; overflow: hidden; padding: clamp(4.5rem, 9vw, 8rem) 0; }
.product .wrap { position: relative; }
.product-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); align-items: center; gap: clamp(2rem, 6vw, 6rem); }
.product-desc { margin-top: 1.5rem; max-width: 38rem; font-size: 1.14rem; line-height: 1.6; }
.pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.pills li { padding: 0.32rem 0.8rem; border-radius: 999px; border: 1px solid; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; }
.store-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin-top: 1.8rem; }
.store-link { display: inline-flex; flex-direction: column; justify-content: center; min-width: 164px; min-height: 56px; padding: 0.5rem 1.25rem; border-radius: 14px; font-weight: 600; font-size: 1.1rem; letter-spacing: -0.02em; line-height: 1.15; transition: transform 160ms ease, box-shadow 160ms ease; }
.store-link:hover { transform: translateY(-2px); }
.store-pre { font-family: var(--mono); font-weight: 400; font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.8; }
.text-link { display: inline-flex; align-items: center; gap: 0.35rem; min-height: 44px; padding: 0 0.5rem; font-weight: 600; border-bottom: 0; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
.text-link svg { width: 14px; height: 14px; }

.device { justify-self: center; width: min(100%, 310px); }
.device svg { width: 100%; height: auto; }
.device figcaption { margin-top: 0.9rem; text-align: center; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.06em; }

.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1rem; margin-top: clamp(2.5rem, 6vw, 4.5rem); }
.cell { display: flex; flex-direction: column; padding: 1.5rem; border-radius: var(--r); border: 1px solid; }
.c3 { grid-column: span 3; } .c4 { grid-column: span 4; } .c5 { grid-column: span 5; } .c6 { grid-column: span 6; } .c7 { grid-column: span 7; }
.cell-q { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; }
.cell h3 { margin-top: 0.6rem; font-size: 1.32rem; font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; }
.cell-feature h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.cell > p:last-child { margin-top: auto; padding-top: 1rem; font-size: 0.96rem; line-height: 1.55; }
.cell-art { width: 100%; height: auto; margin-top: 1.2rem; }
.cell-art-sm { max-width: 240px; }

.screens { margin-top: clamp(2.5rem, 6vw, 4.5rem); }
.screens-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.4rem 1.5rem; }
.screens-head h3 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1.1; }
.screens-head p { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; }
.screen-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(0.9rem, 2vw, 1.5rem); margin-top: 1.5rem; }
.screen img { width: 100%; height: auto; border-radius: clamp(18px, 2.2vw, 28px); border: 1px solid; }
.screen figcaption { margin-top: 0.8rem; font-size: 0.93rem; font-weight: 500; line-height: 1.35; }
.terdaq .screens-head p { color: var(--rust-ink); }
.terdaq .screen img { border-color: rgba(34, 29, 23, 0.2); box-shadow: 0 22px 40px rgba(60, 40, 20, 0.18); }
.terdaq .screen figcaption { color: #423c33; }

/* ---------- Terdaq: daylight, paper, land ---------- */
.terdaq { color: var(--soil); background: radial-gradient(44rem 28rem at 90% 4%, rgba(180, 72, 31, 0.15), transparent 62%), linear-gradient(180deg, #f9f4ea, var(--cream)); }
.t-hills { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 260px; }
.terdaq .kicker, .terdaq .tagline, .terdaq .cell-q { color: var(--rust-ink); }
.terdaq .product-desc { color: #423c33; }
.terdaq .pills li { border-color: rgba(34, 29, 23, 0.25); color: #423c33; background: rgba(255, 253, 248, 0.6); }
.terdaq .store-link { background: var(--soil); color: var(--paper); }
.terdaq .store-link:hover { box-shadow: 0 12px 24px rgba(34, 29, 23, 0.25); }
.terdaq .device svg { filter: drop-shadow(0 30px 40px rgba(60, 40, 20, 0.3)); }
.terdaq .device figcaption { color: #5d564b; }
.terdaq .cell, .terdaq .plan { border-color: rgba(34, 29, 23, 0.14); background: rgba(255, 253, 248, 0.82); }
.terdaq .cell > p:last-child, .terdaq .plan p { color: #4a443a; }
.terdaq .cell-feature { background: var(--soil); color: var(--paper); border-color: var(--soil); }
.terdaq .cell-feature .cell-q { color: #f1a585; }
.terdaq .cell-feature > p:last-child { color: #d8cfc0; }

.anatomy { margin-top: 1.4rem; display: grid; gap: 0.5rem; }
.an-row { display: grid; grid-template-columns: 6.2rem minmax(0, 1fr) auto auto; align-items: center; gap: 0.6rem; padding: 0.7rem 0.8rem; border-radius: 12px; background: rgba(255, 253, 248, 0.07); border: 1px solid rgba(255, 253, 248, 0.12); font-size: 0.9rem; }
.an-label { color: var(--paper); }
.an-value { height: 10px; border-radius: 5px; background: rgba(255, 253, 248, 0.25); max-width: 9rem; }
.an-short { max-width: 5.5rem; }
.an-chip { padding: 0.18rem 0.55rem; border-radius: 999px; border: 1px solid rgba(226, 105, 60, 0.8); background: rgba(226, 105, 60, 0.16); color: #ffc2a8; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.06em; white-space: nowrap; }
.an-date { border-color: rgba(255, 253, 248, 0.3); background: transparent; color: #d8cfc0; }
.an-missing { border-style: dashed; grid-template-columns: 6.2rem minmax(0, 1fr) auto; }
.an-why { font-family: var(--serif); font-style: italic; font-size: 1.02rem; color: #d8cfc0; }
.an-legend { display: grid; grid-template-columns: 6.2rem minmax(0, 1fr) auto; gap: 0.6rem; padding: 0 0.8rem; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: #a89f90; }
.an-legend span:nth-child(3) { display: none; }

.source-groups { display: grid; grid-template-columns: 0.8fr 1.1fr 1.3fr; gap: 1rem; margin-top: 2.6rem; align-items: start; }
.source-group { padding: 1.5rem; border-radius: var(--r); border: 1px solid var(--line); background: var(--panel); }
.source-group h3 { font-family: var(--mono); font-size: 0.72rem; font-weight: 400; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.source-group ul { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.1rem; }
.source-group li { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.5rem 0.85rem; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); font-size: 0.95rem; font-weight: 500; }
.disclaimer { margin-top: 1.5rem; max-width: 52rem; font-size: 0.88rem; color: var(--muted); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 3rem 0; font-size: 0.92rem; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2rem; }
.footer-brand { display: grid; gap: 0.9rem; align-content: start; }
.site-footer nav { display: grid; gap: 0.15rem; align-content: start; }
.site-footer h3 { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; font-size: 0.95rem; font-weight: 600; color: var(--text); }
.site-footer nav a { width: fit-content; padding: 0.3rem 0; }
.site-footer nav a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- motion ---------- */
.pulse { animation: pulse 2.8s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { fill-opacity: 0.2; } 50% { fill-opacity: 0.5; } }
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .c3 { grid-column: span 6; }
  .c4, .c5, .c7 { grid-column: span 6; }
  .terdaq .c7 { grid-column: span 12; }
  .terdaq .c5 { grid-column: span 12; }
  .terdaq .c4 { grid-column: span 4; }
  .source-groups { grid-template-columns: 1fr 1fr; }
  .source-group:last-child { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  :root { --header-h: 62px; }
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    position: absolute; top: calc(100% + 0.5rem); left: 1rem; right: 1rem;
    display: grid; gap: 0.2rem; padding: 0.7rem;
    border: 1px solid var(--line); border-radius: 16px; background: var(--panel-2);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.55);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
  }
  .nav-menu.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-menu a { padding: 0.85rem 1rem; }
  .nav-menu .nav-cta { margin: 0.3rem 0 0; justify-content: center; }
  .product-top, .company-grid { grid-template-columns: 1fr; }
  .device { width: min(100%, 270px); }
  .terdaq .c4 { grid-column: span 12; }
  .screen-row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(62vw, 250px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.9rem; }
  .screen { scroll-snap-align: start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .launch { grid-template-columns: 1fr; }
  .rule-grid, .source-groups { grid-template-columns: 1fr; }
  .c3, .c4, .c5, .c6, .c7 { grid-column: span 12; }
  .an-row { grid-template-columns: minmax(0, 1fr) auto; }
  .an-value, .an-date, .an-legend { display: none; }
  .an-missing { grid-template-columns: 1fr; }
  .an-missing .an-date { display: inline-block; width: fit-content; }
  .store-link { flex: 1 1 calc(50% - 0.75rem); min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- app page ---------- */
.app-page .brand-icon { width: 36px; height: 36px; border-radius: 9px; flex: none; }
.app-page h1 { max-width: 15ch; margin-top: 1.3rem; font-size: clamp(2.5rem, 6vw, 4.8rem); line-height: 0.99; letter-spacing: -0.045em; word-spacing: 0; }
.app-hero { padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.app-hero .product-desc { font-size: clamp(1.08rem, 1.6vw, 1.25rem); }
.hero-avail { margin-top: 1.1rem; font-size: 0.9rem; }

.app-section { position: relative; padding: clamp(3.5rem, 7vw, 6rem) 0; border-top: 1px solid; }
.app-section .bento { margin-top: 2.5rem; }
.prose { max-width: 46rem; margin-top: 1.4rem; font-size: 1.08rem; }
.prose + .prose { margin-top: 1rem; }
.link-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 1.6rem; margin-top: 1.6rem; }
.app-section .source-groups { margin-top: 2.2rem; }

.tiers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 2.5rem; }
.tier { padding: clamp(1.4rem, 3vw, 2.1rem); border-radius: var(--r); border: 1px solid; }
.tier-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.3rem 1rem; }
.tier h3 { font-size: 1.8rem; font-weight: 600; letter-spacing: -0.04em; line-height: 1.1; }
.tier-tag { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; }
.tier ul { display: grid; gap: 0.65rem; margin-top: 1.3rem; }
.tier li { position: relative; padding-left: 1.7rem; line-height: 1.45; }
.tier li::before { content: ""; position: absolute; left: 0.1rem; top: 0.42em; width: 0.8rem; height: 0.42rem; border-left: 2px solid; border-bottom: 2px solid; transform: rotate(-45deg); }
.tier-sub { margin-top: 1.4rem; padding-top: 1.1rem; border-top: 1px dashed; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; }
.tier-sub + ul { margin-top: 0.9rem; }

.get { overflow: hidden; }
.get .wrap { position: relative; }
.get h2 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.family { margin-top: clamp(2.5rem, 6vw, 4rem); }
.family-label { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; }
.family .launch { margin-top: 1rem; }
.family .tile { color: var(--text); background: var(--panel); }
.family .tile:hover { background: var(--panel-2); }
.tile-mark { width: 56px; height: 56px; padding: 10px; border-radius: 14px; flex: none; color: var(--text); background: var(--panel-2); border: 1px solid var(--line); }
.tile-g .tile-kind { color: var(--sand); }

/* ---------- Terdaq page ---------- */
.page-terdaq { background: var(--cream); color: var(--soil); }
.page-terdaq :focus-visible { outline-color: var(--rust-ink); }
.page-terdaq .site-header { background: rgba(249, 244, 234, 0.84); border-color: rgba(34, 29, 23, 0.12); }
.page-terdaq .brand-sub { color: #5d564b; }
.page-terdaq .nav-menu a { color: #4a443a; }
.page-terdaq .nav-menu a:hover, .page-terdaq .nav-menu a:focus-visible { color: var(--soil); background: rgba(34, 29, 23, 0.07); }
.page-terdaq .nav-menu .nav-cta, .page-terdaq .nav-menu .nav-cta:hover, .page-terdaq .nav-menu .nav-cta:focus-visible { color: var(--paper); background: var(--soil); }
.page-terdaq .nav-toggle { background: var(--paper); border-color: rgba(34, 29, 23, 0.2); }
.page-terdaq .nav-toggle-line { background: var(--soil); }
.page-terdaq h1 em { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--rust-deep); }
.page-terdaq .app-section { border-color: rgba(34, 29, 23, 0.12); }
.terdaq .section-head .kicker { color: var(--rust-ink); }
.terdaq .section-lede, .terdaq .prose { color: #4a443a; }
.terdaq .hero-avail, .terdaq .disclaimer, .terdaq .family-label { color: #5d564b; }
.terdaq .source-group { background: rgba(255, 253, 248, 0.82); border-color: rgba(34, 29, 23, 0.14); }
.terdaq .source-group h3 { color: var(--rust-ink); }
.terdaq .source-group li { background: var(--paper); border-color: rgba(34, 29, 23, 0.16); }
.terdaq .tier { background: rgba(255, 253, 248, 0.82); border-color: rgba(34, 29, 23, 0.14); }
.terdaq .tier li { color: #423c33; }
.terdaq .tier li::before { border-color: var(--rust-deep); }
.terdaq .tier-tag, .terdaq .tier-sub { color: var(--rust-ink); }
.terdaq .tier-sub { border-color: rgba(34, 29, 23, 0.25); }
.terdaq .tier-plus { background: var(--soil); border-color: var(--soil); color: var(--paper); }
.terdaq .tier-plus li { color: #e6dece; }
.terdaq .tier-plus li::before { border-color: #f1a585; }
.terdaq .tier-plus .tier-tag { color: #f1a585; }
.page-terdaq .site-footer { border-color: rgba(34, 29, 23, 0.12); color: #5d564b; }
.page-terdaq .site-footer h3, .page-terdaq .site-footer nav a:hover { color: var(--soil); }
.page-terdaq .site-footer .brand-icon { border-radius: 9px; }

@media (max-width: 860px) {
  .page-terdaq .nav-menu { background: var(--paper); border-color: rgba(34, 29, 23, 0.15); box-shadow: 0 24px 48px rgba(60, 40, 20, 0.25); }
}

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