/* Cymanfa marketing site, shared styles. Self-hosted OFL faces matching the app:
   Atkinson Hyperlegible Next (body) and Alegreya (display, with a real italic used
   expressively). Absolute paths so this file works from any page depth. */
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/atkinson-hyperlegible-next-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/atkinson-hyperlegible-next-bold.woff2") format("woff2");
}
@font-face {
  font-family: "Alegreya";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/alegreya-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Alegreya";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/alegreya-bold.woff2") format("woff2");
}
@font-face {
  font-family: "Alegreya";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/alegreya-italic.woff2") format("woff2");
}

:root {
  --ground: #f3eee4;
  --ground-2: #ebe4d6;
  --card: #f8f4ec;
  --ink: #1b2731;
  --ink-soft: #4c5b67;
  --line: #ded5c4;
  --accent: #2e6e6a;
  --accent-2: #a9762a;
  --heather: #6c5a83;
  --on-accent: #fbf6ee;
  --tint-gold: rgba(169, 118, 42, 0.1);
  --tint-teal: rgba(46, 110, 106, 0.07);
  --shadow-soft: 0 22px 54px -32px rgba(27, 39, 49, 0.34);
  --demo-bg: #1a2832;
  --demo-bg-2: #243543;
  --demo-ink: #eef1e9;
  --demo-soft: #a7b6bf;
  --demo-line: #33485a;
  --serif:
    "Alegreya", "Hoefler Text", "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua",
    Georgia, serif;
  --sans:
    "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  --s6: clamp(3rem, 7.4vw, 5.6rem);
  --s5: clamp(2.4rem, 5vw, 3.7rem);
  --s4: clamp(1.9rem, 3.6vw, 2.8rem);
  --s3: clamp(1.4rem, 2.4vw, 1.75rem);
  --wrap: 1140px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #15202a;
    --ground-2: #1b2833;
    --card: #1f2e3a;
    --ink: #e6ece4;
    --ink-soft: #a6b3bc;
    --line: #2b3c4a;
    --accent: #6fb3ae;
    --accent-2: #d6b25c;
    --heather: #a68fc6;
    --on-accent: #14202a;
    --tint-gold: rgba(214, 178, 92, 0.12);
    --tint-teal: rgba(111, 179, 174, 0.1);
    --shadow-soft: 0 26px 64px -32px rgba(0, 0, 0, 0.6);
    --demo-bg: #0f1920;
    --demo-bg-2: #17232f;
    --demo-ink: #e8ede4;
    --demo-soft: #91a2ad;
    --demo-line: #2a3b49;
  }
}
:root[data-theme="light"] {
  --ground: #f3eee4;
  --ground-2: #ebe4d6;
  --card: #f8f4ec;
  --ink: #1b2731;
  --ink-soft: #4c5b67;
  --line: #ded5c4;
  --accent: #2e6e6a;
  --accent-2: #a9762a;
  --heather: #6c5a83;
  --on-accent: #fbf6ee;
  --tint-gold: rgba(169, 118, 42, 0.1);
  --tint-teal: rgba(46, 110, 106, 0.07);
  --shadow-soft: 0 22px 54px -32px rgba(27, 39, 49, 0.34);
  --demo-bg: #1a2832;
  --demo-bg-2: #243543;
  --demo-ink: #eef1e9;
  --demo-soft: #a7b6bf;
  --demo-line: #33485a;
}
:root[data-theme="dark"] {
  --ground: #15202a;
  --ground-2: #1b2833;
  --card: #1f2e3a;
  --ink: #e6ece4;
  --ink-soft: #a6b3bc;
  --line: #2b3c4a;
  --accent: #6fb3ae;
  --accent-2: #d6b25c;
  --heather: #a68fc6;
  --on-accent: #14202a;
  --tint-gold: rgba(214, 178, 92, 0.12);
  --tint-teal: rgba(111, 179, 174, 0.1);
  --shadow-soft: 0 26px 64px -32px rgba(0, 0, 0, 0.6);
  --demo-bg: #0f1920;
  --demo-bg-2: #17232f;
  --demo-ink: #e8ede4;
  --demo-soft: #91a2ad;
  --demo-line: #2a3b49;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}
body > * {
  position: relative;
  z-index: 1;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 clamp(1.2rem, 4vw, 2.6rem);
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 700;
  text-wrap: balance;
  line-height: 1.06;
  margin: 0;
  letter-spacing: -0.005em;
}
a {
  color: inherit;
}
.cy {
  font-style: italic;
}
.hl {
  color: var(--accent-2);
  font-style: italic;
}

.eyebrow {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.08rem;
  color: var(--accent);
  margin: 0 0 0.9rem;
  letter-spacing: 0.005em;
}

/* header */
.bar-wrap {
  padding: 1.2rem 0 0.4rem;
}
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
}
.brandmark {
  flex: none;
}
.bm-f {
  stroke: #37424c;
}
.bm-b1 {
  stroke: #33477e;
}
.bm-b2 {
  stroke: #2e6e6a;
}
.bm-b3 {
  stroke: #a9762a;
}
.bm-b4 {
  stroke: #a8402f;
}
.bm-b5 {
  stroke: #7a3b5e;
}
@media (prefers-color-scheme: dark) {
  .bm-f {
    stroke: #c2ccd4;
  }
  .bm-b1 {
    stroke: #5f78b8;
  }
  .bm-b2 {
    stroke: #6fb3ae;
  }
  .bm-b3 {
    stroke: #e6b45a;
  }
  .bm-b4 {
    stroke: #d0705f;
  }
  .bm-b5 {
    stroke: #b06f8e;
  }
}
.brand small {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-left: 0.35rem;
}
.navlinks {
  display: flex;
  gap: 1.5rem;
  font-size: 1rem;
  font-family: var(--serif);
  align-items: center;
}
.navlinks a {
  text-decoration: none;
  color: var(--ink-soft);
  padding-bottom: 2px;
  border-bottom: 1.5px solid transparent;
}
.navlinks a:hover {
  color: var(--accent);
}
.navlinks a.active {
  color: var(--ink);
  border-bottom-color: var(--accent-2);
}
.navlinks a.nav-cta {
  color: var(--accent);
  font-weight: 700;
}
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  padding: 0;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: none;
  color: var(--ink-soft);
  cursor: pointer;
  transition:
    color 0.15s,
    border-color 0.15s;
}
.theme-toggle:hover {
  color: var(--accent);
  border-color: var(--accent);
}
/* Show the icon of the theme you'd switch TO: a moon in light, a sun in dark. The default (no explicit
   choice) follows prefers-color-scheme; an explicit data-theme overrides it in either direction. */
.theme-toggle .ico-sun {
  display: none;
}
.theme-toggle .ico-moon {
  display: block;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .theme-toggle .ico-sun {
    display: block;
  }
  :root:not([data-theme]) .theme-toggle .ico-moon {
    display: none;
  }
}
:root[data-theme="dark"] .theme-toggle .ico-sun {
  display: block;
}
:root[data-theme="dark"] .theme-toggle .ico-moon {
  display: none;
}
:root[data-theme="light"] .theme-toggle .ico-sun {
  display: none;
}
:root[data-theme="light"] .theme-toggle .ico-moon {
  display: block;
}
@media (max-width: 700px) {
  .navlinks {
    gap: 1rem;
    font-size: 0.92rem;
  }
  .navlinks a.nav-hide {
    display: none;
  }
}

/* section shells and tones */
main > section {
  padding: clamp(3.8rem, 8.5vw, 6.6rem) 0;
}
.tone-band {
  background: var(--ground-2);
}
.tone-dark {
  background: linear-gradient(168deg, var(--demo-bg-2), var(--demo-bg));
  color: var(--demo-ink);
}
.tone-dark .eyebrow {
  color: var(--accent-2);
}
.tone-dark h2,
.tone-dark h3 {
  color: var(--demo-ink);
}
.tone-dark p {
  color: var(--demo-soft);
}
.tone-dark .hl {
  color: var(--accent-2);
}

/* centered section heading (default), left variant available */
.sec-head {
  max-width: 52ch;
  margin: 0 auto 3rem;
  text-align: center;
}
.sec-head.left {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}
.sec-head h2 {
  font-size: var(--s4);
}
.sec-head p {
  color: var(--ink-soft);
  font-size: 1.14rem;
  margin: 1rem auto 0;
  max-width: 54ch;
}
.sec-head.left p {
  margin-left: 0;
}
.tone-dark .sec-head p {
  color: var(--demo-soft);
}

/* page hero (sub-pages) */
.page-hero {
  text-align: center;
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(1.5rem, 4vw, 3rem);
}
.page-hero h1 {
  font-size: var(--s5);
  max-width: 18ch;
  margin: 0 auto;
}
.page-hero .lede {
  color: var(--ink-soft);
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  max-width: 48ch;
  margin: 1.3rem auto 0;
}

/* home hero */
.hero {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-top: clamp(1.5rem, 4vw, 3rem);
}
@media (max-width: 880px) {
  .hero {
    grid-template-columns: 1fr;
  }
}
.hero h1 {
  font-size: var(--s6);
}
.hero h1 .rise {
  color: var(--accent);
  font-style: italic;
}
/* biome-ignore lint/style/noDescendingSpecificity: base .lede after its contextual variants; cascade is intentional */
.lede {
  font-size: clamp(1.12rem, 1.5vw, 1.32rem);
  color: var(--ink-soft);
  max-width: 36ch;
  margin: 1.4rem 0 1.9rem;
}
.cta {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  align-items: center;
}
.center .cta,
.page-hero .cta,
.sec-head.center-cta + .cta {
  justify-content: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  padding: 0.78rem 1.4rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    filter 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
}
.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}
.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}
@media (prefers-reduced-motion: reduce) {
  .btn:hover {
    transform: none;
  }
}
.trust-line {
  margin: 1.7rem 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.04rem;
  color: var(--ink-soft);
}
.trust-line b {
  font-style: normal;
  font-weight: 700;
  color: var(--accent);
}

/* demo card */
.demo-shell {
  position: relative;
}
.voices {
  position: absolute;
  inset: -20px -12px auto -12px;
  height: 100%;
  width: calc(100% + 24px);
  z-index: 0;
  opacity: 0.5;
  pointer-events: none;
}
.demo {
  position: relative;
  z-index: 1;
  background: linear-gradient(160deg, var(--demo-bg-2), var(--demo-bg));
  color: var(--demo-ink);
  border-radius: 16px;
  padding: clamp(1.5rem, 3vw, 2.1rem);
  box-shadow: 0 30px 70px -34px rgba(0, 0, 0, 0.6);
}
.demo-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.4rem;
}
.demo-label {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.98rem;
  color: var(--demo-soft);
}
.dots {
  display: flex;
  gap: 6px;
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--demo-line);
  transition: background 0.3s;
}
.dot.on {
  background: var(--accent-2);
}
.prompt-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 2.4em;
}
.prompt {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  line-height: 1.14;
}
/* fixed height so the card never grows or shrinks between reveal states */
.answer-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 0.3rem;
  min-height: 3.7rem;
}
.answer {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.7rem;
  color: var(--accent-2);
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.45s,
    transform 0.45s;
}
.answer.show {
  opacity: 1;
  transform: none;
}
.answer .say {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--demo-soft);
  display: block;
  margin-top: 0.4rem;
}
.hear-btn {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--demo-line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--accent-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background 0.18s,
    border-color 0.18s,
    transform 0.18s;
  visibility: hidden;
  opacity: 0;
}
.hear-btn.show {
  visibility: visible;
  opacity: 1;
}
.hear-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-2);
}
.hear-btn.playing {
  transform: scale(1.06);
  border-color: var(--accent-2);
}
.hear-btn svg {
  width: 19px;
  height: 19px;
}
.demo-actions {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.demo-btn {
  flex: 1;
  min-width: 90px;
  padding: 0.72rem 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--demo-line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--demo-ink);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  font-family: var(--sans);
  transition:
    border-color 0.18s,
    background 0.18s;
}
.demo-btn:hover {
  border-color: var(--accent-2);
  background: rgba(255, 255, 255, 0.07);
}
.demo-btn.primary {
  background: var(--accent);
  color: var(--on-accent);
  border-color: var(--accent);
  flex-basis: 100%;
}
.demo-hint {
  font-size: 0.84rem;
  color: var(--demo-soft);
  margin: 1rem 0 0;
  text-align: center;
}

/* definition + drop cap */
.define {
  max-width: 60ch;
  margin: 0 auto;
  text-align: left;
}
.define .eyebrow {
  text-align: center;
}
.define-lead {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.1vw, 1.62rem);
  line-height: 1.5;
  margin: 0;
  color: var(--ink);
  text-wrap: pretty;
}
.define-lead::first-letter {
  font-weight: 700;
  font-size: 3em;
  line-height: 0.74;
  float: left;
  margin: 0.06em 0.14em 0 0;
  color: var(--accent);
}

/* pillars (home) */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.6rem, 4vw, 3rem);
  max-width: 62rem;
  margin: 0 auto;
  text-align: center;
}
@media (max-width: 720px) {
  .pillars {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }
}
.pillar .w {
  font-family: var(--serif);
  font-style: italic;
  color: var(--accent-2);
  font-size: 1.05rem;
  display: block;
  margin-bottom: 0.3rem;
}
.pillar h3 {
  font-size: 1.4rem;
  margin: 0 0 0.5rem;
}
.pillar p {
  margin: 0 0 0.7rem;
  color: var(--ink-soft);
  font-size: 1rem;
}
.pillar a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}
.pillar a:hover {
  text-decoration: underline;
}

/* steps (method + practice), borderless, centered numerals */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.8rem, 3.5vw, 3rem);
  text-align: center;
  max-width: 70rem;
  margin: 0 auto;
}
.practice-steps {
  grid-template-columns: repeat(3, 1fr);
  max-width: 62rem;
}
@media (max-width: 820px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .steps {
    grid-template-columns: 1fr;
  }
}
.step h3 {
  font-size: 1.3rem;
  margin: 0.2rem 0 0.45rem;
}
.step p {
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 0.99rem;
  max-width: 26ch;
}
.step .num {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.8rem, 4.5vw, 3.6rem);
  line-height: 0.8;
  color: var(--accent-2);
  display: block;
  margin-bottom: 0.5rem;
}
.step .tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.14rem;
  color: var(--accent);
  display: block;
  margin-bottom: 0.4rem;
}

/* tenets: de-boxed list, Welsh word as gold specimen */
.tenets {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 3.5vw, 3rem) clamp(2.4rem, 6vw, 5rem);
  max-width: 60rem;
  margin: 0 auto;
}
@media (max-width: 620px) {
  .tenets {
    grid-template-columns: 1fr;
  }
}
.tenet .w {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.02rem;
  color: var(--accent-2);
  display: block;
  margin-bottom: 0.15rem;
}
.tenet h3 {
  font-size: 1.26rem;
  margin: 0 0 0.35rem;
}
.tenet p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
}
.tone-dark .tenet p {
  color: var(--demo-soft);
}

/* dictionary feature */
.feature {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  max-width: 64rem;
  margin: 0 auto;
}
@media (max-width: 820px) {
  .feature {
    grid-template-columns: 1fr;
  }
}
.feature-text h2 {
  font-size: var(--s4);
}
.feature-text p {
  color: var(--ink-soft);
  font-size: 1.14rem;
  margin: 1rem 0 0;
  max-width: 42ch;
}
.wordcard {
  background: linear-gradient(160deg, var(--demo-bg-2), var(--demo-bg));
  color: var(--demo-ink);
  border-radius: 16px;
  padding: clamp(1.7rem, 3vw, 2.3rem);
  box-shadow: var(--shadow-soft);
}
.wc-phrase {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2rem);
  margin: 0;
}
.wc-hit {
  color: var(--accent-2);
  border-bottom: 2px dashed var(--accent-2);
}
.wc-pop {
  margin-top: 1.3rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1.1rem 1.2rem;
}
.wc-word {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.35rem;
  margin: 0;
}
.wc-gloss {
  margin: 0.25rem 0 0.7rem;
  color: var(--demo-ink);
}
.wc-pos {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--demo-soft);
  margin-right: 0.45rem;
}
.wc-src {
  margin: 0;
  color: var(--accent-2);
  font-size: 0.9rem;
  font-weight: 700;
}

/* languages as specimens, centered */
.langs {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 62rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: 2.2rem 1.4rem;
  text-align: center;
}
.langs li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.langs .lang-native {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.6rem, 2.4vw, 1.95rem);
  color: var(--accent-2);
  line-height: 1.05;
}
.langs .lang-en {
  font-size: 0.88rem;
  color: var(--ink-soft);
}

/* dialect specimens with contained carthen watermark */
.dialect-sec {
  position: relative;
  overflow: hidden;
}
.weave-bg {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(78%, 640px);
  height: auto;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
  stroke: var(--accent);
}
.dialect {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.6rem, 5vw, 3.5rem);
  max-width: 54rem;
  margin: 0 auto;
  text-align: center;
}
@media (max-width: 620px) {
  .dialect {
    grid-template-columns: 1fr;
  }
}
.dial-col .place {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.02rem;
  color: var(--accent);
}
.dial-col .phrase {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  margin: 0.4rem 0 0.35rem;
  line-height: 1.08;
}
.dial-col .en {
  color: var(--ink-soft);
  font-size: 1rem;
}

/* mission pull-quote */
.quote-wrap {
  max-width: 60rem;
  margin: 0 auto;
  text-align: center;
}
.pull {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  line-height: 1.2;
  color: var(--ink);
  text-wrap: balance;
}
.pull .lead-in {
  color: var(--accent-2);
}
.quote-by {
  margin: 1.8rem auto 0;
  max-width: 54ch;
}
.quote-by p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.1rem;
}
.trust-links {
  margin: 1.3rem 0 0;
  font-size: 1rem;
}
.trust-links a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
  border-bottom: 1px solid transparent;
}
.trust-links a:hover {
  border-bottom-color: var(--accent);
}
.trust-links .sep {
  color: var(--line);
  margin: 0 0.55rem;
}

/* faq */
.faq {
  max-width: 64ch;
  margin: 0 auto;
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.2rem;
  padding: 1.1rem 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  color: var(--accent);
  font-family: var(--serif);
  font-size: 1.5rem;
  flex: none;
}
.faq details[open] summary::after {
  content: "\2212";
}
.faq details p {
  margin: 0 0 1.15rem;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

/* gathering / close */
.close-card {
  text-align: center;
  max-width: 60rem;
  margin: 0 auto;
}
.close-card h2 {
  font-size: var(--s4);
}
.close-card .lede-close {
  color: var(--demo-soft);
  max-width: 54ch;
  margin: 1.2rem auto 0;
  font-size: 1.14rem;
}
.close-card .cta {
  justify-content: center;
  margin-top: 2.1rem;
}
.close-card .btn-ghost {
  border-color: var(--demo-line);
  color: var(--demo-ink);
}
.close-card .btn-ghost:hover {
  border-color: var(--accent-2);
  color: var(--accent-2);
}

/* footer */
footer {
  padding: 3.4rem 0 4rem;
  color: var(--ink-soft);
}
.foot {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: baseline;
}
.foot p {
  margin: 0;
  font-size: 0.94rem;
}
.foot a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}
.footlinks {
  display: flex;
  gap: 1.3rem;
  flex-wrap: wrap;
  font-family: var(--serif);
  font-size: 1rem;
}
.footlinks a {
  color: var(--ink-soft);
  text-decoration: none;
}
.footlinks a:hover {
  color: var(--accent);
}
.motto-close {
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin: 3.2rem 0 0;
  opacity: 0.75;
}

/* scroll reveal */
.reveal-up {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal-up.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .answer {
    transition: none;
  }
}

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

/* mobile refinements: tighter rhythm, a cleaner header, calmer drop cap */
@media (max-width: 560px) {
  main > section {
    padding: 2.9rem 0;
  }
  #try {
    padding-top: 1rem;
  }
  .hero {
    gap: 1.8rem;
  }
  .sec-head {
    margin-bottom: 2rem;
  }
  /* biome-ignore lint/style/noDescendingSpecificity: base .lede after its contextual variants; cascade is intentional */
  .lede {
    margin: 1.2rem 0 1.6rem;
  }
  .bar {
    row-gap: 0.55rem;
  }
  .navlinks {
    width: 100%;
    gap: 1.15rem;
    flex-wrap: wrap;
    font-size: 0.95rem;
  }
  .navlinks a.nav-cta {
    margin-left: auto;
  }
  .define-lead::first-letter {
    font-size: 2.7em;
    margin: 0.06em 0.1em 0 0;
  }
  .pillars {
    gap: 2rem;
  }
  .pull {
    font-size: clamp(1.55rem, 6.4vw, 2rem);
  }
  .page-hero {
    padding-top: 2rem;
  }
}
