/* Frequency: clearer entry points, readable type and an interactive signal. */
:root { --fq-header-height: 74px; }
.frequency-refresh { --muted: #b0bbaa; --muted-2: #94a28c; }
.site-header { height: var(--fq-header-height); }
.main-nav { gap: 22px; }
.main-nav a { font-size: 12px; }
.header-actions { gap: 7px; }
.icon-button { width: 38px; height: 38px; }
.motion-button { font: 18px/1 var(--font-mono); }
.hero {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  min-height: 0;
  padding: clamp(48px, 5vw, 76px) 0 58px;
  gap: clamp(28px, 4.5vw, 70px);
}
.hero-copy { max-width: 680px; }
.hero h1 { margin: 25px 0 26px; font-size: clamp(54px, 6.5vw, 92px); line-height: .98; letter-spacing: -.065em; }
.hero h1 em { margin: 8px 0 0; font-size: 1.04em; line-height: .99; transform: rotate(-.6deg); }
.hero-lede { max-width: 550px; font-size: 17px; line-height: 1.85; color: #b2bdae; }
.hero-actions { margin-top: 29px; gap: 10px; }
.hero-join { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 13px; margin-top: 18px; color: #9eac94; font-size: 13px; }
.hero-join .text-cta { color: #d9e3cb; font-size: 13px; min-height: 36px; }
.hero-proof { margin-top: 23px; gap: 10px 22px; }
.hero-proof li { font-size: 10px; line-height: 1.7; color: #9cac91; }
.hero-instrument { max-width: 540px; --field-accent: #d9ff63; }
.instrument-meta { font-size: 9px; color: #a1ae96; letter-spacing: .06em; }
.instrument-live { color: #b9c9a7; }
.instrument-live i { box-shadow: none; animation: none; }
.instrument-shell { background: radial-gradient(ellipse at 50% 45%, #17231485, transparent 68%); box-shadow: none; }
.instrument-shell::before { inset: 4%; border-color: #d5e6bd0c; box-shadow: none; }
.hero-instrument:has([data-field-ready="true"]) :is(.instrument-ring, .instrument-axis, .instrument-sweep, .instrument-halo) { display: none; }
.instrument-canvas { inset: 0; width: 100%; height: 100%; border-radius: 0; opacity: 1; }
.instrument-core {
  width: 25%;
  padding: 10px 7px;
  background: #0a100be8;
  border-color: color-mix(in srgb, var(--field-accent) 45%, transparent);
  box-shadow: inset 0 0 18px color-mix(in srgb, var(--field-accent) 4%, transparent);
  backdrop-filter: none;
}
.core-glyph { color: var(--field-accent); font-size: clamp(34px, 3.5vw, 52px); text-shadow: none; }
.core-label { color: #d7e1cc; font-size: 10px; letter-spacing: .05em; margin-top: 7px; }
.core-status { max-width: 105px; margin-top: 5px; color: #aab99e; font-size: 9px; line-height: 1.35; letter-spacing: 0; text-align: center; }
.core-status i { display: none; }
.hero-instrument .orbit-tag { display: none; }
.instrument-meta-bottom { margin-top: -12px; padding-inline: 7px; font-size: 8px; }
.instrument-code { color: #95a786; }
.field-tones { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin: 20px 0 10px; }
.field-tone {
  position: relative;
  min-width: 0;
  min-height: 44px;
  padding: 7px 6px;
  border: 1px solid color-mix(in srgb, var(--tone-color) 26%, transparent);
  border-radius: 4px;
  background: #0d140d;
  color: color-mix(in srgb, var(--tone-color) 80%, #e9eddf);
  font: 600 11px/1.35 var(--font-body);
  transition: background .2s, border-color .2s;
}
.field-tone[aria-pressed="true"] { border-color: var(--tone-color); background: color-mix(in srgb, var(--tone-color) 12%, #0d140d); }
.field-preview-note { margin: 0; color: #8f9f85; font-size: 11px; line-height: 1.7; text-align: center; }
.button { min-height: 48px; font-size: 14px; line-height: 1.45; }
.button-small { min-height: 44px; padding-inline: 14px; font-size: 13px; }
.text-cta { min-height: 40px; font-size: 14px; line-height: 1.5; }
.eyebrow { font-size: 10px; line-height: 1.7; }
.modes, .daily-section, .lab, .how { padding-top: clamp(68px, 7.5vw, 104px); }
.section-heading { gap: 18px 55px; margin-bottom: 32px; }
.section-heading h2, .daily-heading h2, .lab-heading h2, .how-heading h2 { font-size: clamp(36px, 4.3vw, 60px); line-height: 1.05; }
.section-heading > p:last-child, .daily-heading > p:last-child, .lab-heading > p:last-child { font-size: 15px; line-height: 1.85; }
.mode-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
.mode-card { min-height: 0; padding: clamp(22px, 2.3vw, 32px); }
.mode-card .mode-visual, .mode-card-large .mode-visual { flex: none; min-height: 220px; margin-block: 14px; }
.mode-tag, .mode-index { font-size: 10px; }
.mode-tag { letter-spacing: .045em; }
.mode-copy h3 { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.14; }
.mode-copy p { font-size: 15px; line-height: 1.85; color: #aebca4; }
.mode-copy .text-cta { margin-top: 16px; }
.mini-ticket-top, .mini-ticket-code, .visual-note { font-size: 9px; }
.live-band { margin-top: clamp(72px, 8vw, 112px); }
.live-band-grid { gap: 40px; }
.live-band-copy h2 { font-size: clamp(40px, 4.7vw, 66px); line-height: 1.05; }
.live-band-copy > p { max-width: 610px; font-size: 16px; line-height: 1.85; }
.live-band-note, .live-band-ticket small { font-size: 10px; line-height: 1.6; }
.live-home-join label { font-size: 13px; }
.live-home-join input { font-size: 18px; min-height: 46px; }
.live-home-join button { min-height: 46px; font-size: 13px; }
.live-pulse { font-size: 10px; }
.return-loop { margin-top: clamp(72px, 8vw, 110px); }
.return-loop-heading h2 { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.05; }
.return-loop-heading > p { max-width: 390px; font-size: 15px; line-height: 1.85; }
.return-grid { gap: 16px; }
.return-card { padding: 24px; }
.return-card-top { font-size: 9px; letter-spacing: .04em; }
.return-card > p, .return-identity p { font-size: 13px; line-height: 1.8; }
.return-card h3 { line-height: 1.35; }
.return-stats dt { font-size: 9px; }
.return-primary, .return-secondary, .return-text-link { min-height: 44px; font-size: 12px; line-height: 1.5; }
.return-field-label, .return-inline-status, .return-loop-status { font-size: 10px; line-height: 1.65; }
.return-circle-form input { min-height: 46px; font-size: 16px; }
.return-circle-form button { font-size: 13px; min-height: 46px; }
.return-circle-list strong { font-size: 14px; }
.return-weekly-prompt { font-size: 13px !important; line-height: 1.75 !important; }
.return-weekly-prompt span { font-size: 10px; }
.return-event-clock > span { font-size: 13px; }
.wall-heading h2 { font-size: clamp(36px, 4.5vw, 62px); line-height: 1.05; }
.wall-heading > p:last-child { font-size: 16px; line-height: 1.8; }
.wall-layout { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 22px; }
.wall-composer { padding: 24px; }
.wall-weekly-kicker, .wall-weekly-button, .wall-feed-kicker { font-size: 10px; }
.wall-weekly-button { min-height: 40px; padding-inline: 13px; }
.wall-weekly p { font-size: 23px; line-height: 1.45; }
.wall-name-field .field-label { font-size: 10px; }
.wall-name-field .name-input, .wall-text-wrap textarea { font-size: 16px; line-height: 1.65; }
.wall-rules, .wall-public, #wall-count { font-size: 10px; line-height: 1.7; }
.wall-post-text { font-size: 15px; line-height: 1.8; }
.wall-post-head strong { font-size: 14px; }
.wall-reaction { min-height: 34px; font-size: 12px; }
.daily-ticket-head, .daily-ticket-foot { font-size: 10px; line-height: 1.7; }
.daily-option { min-height: 60px; font-size: 15px; line-height: 1.55; }
.daily-after, .daily-streak, .lab-item p, .how-step p { font-size: 14px; line-height: 1.8; }
.how-step h3 { font-size: 21px; line-height: 1.4; }
.flow-lede { font-size: 16px; line-height: 1.8; }
.flow-note, .form-side-note { font-size: 13px; line-height: 1.8; }
.flow-eyebrow, .field-label, .field-error, .quiz-hint, .quiz-foot, .flow-back, .flow-exit { font-size: 11px; line-height: 1.65; }
.answer-copy { font-size: clamp(16px, 1.6vw, 20px); line-height: 1.6; }
.answer-key, .quiz-dimension { font-size: 11px; }
.name-input { overflow-wrap: anywhere; }
.result-note, .ticket-sub, .breakdown-row, .dimension-description { font-size: 13px; line-height: 1.7; }
.spark-section {
  width: var(--page);
  margin: clamp(72px, 8vw, 112px) auto 0;
  padding: clamp(26px, 4vw, 52px);
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: 28px clamp(26px, 5vw, 68px);
  border: 1px solid #cadcb529;
  border-radius: 8px;
  background: radial-gradient(ellipse at 7% 0, #d9ff6309, transparent 62%), #0b110d;
  --deck-color: #d9ff63;
  scroll-margin-top: 100px;
}
.spark-intro h2 { margin: 18px 0; font: 600 clamp(34px, 3.8vw, 51px)/1.06 var(--font-display); letter-spacing: -.055em; }
.spark-intro h2 em { font-family: var(--font-serif); font-weight: 400; color: #d9ff63; }
.spark-intro > p:not(.eyebrow) { max-width: 450px; margin-bottom: 0; font-size: 15px; line-height: 1.8; color: #a7b59e; }
.spark-categories { display: flex; flex-wrap: wrap; gap: 7px; margin: 24px 0 14px; }
.spark-category { min-height: 44px; padding: 9px 12px; border: 1px solid #b8c9a529; border-radius: 4px; color: #b4c1a9; background: #10170e; font: 700 12px/1.4 var(--font-body); }
.spark-category[aria-pressed="true"] { color: var(--deck-color); border-color: var(--deck-color); background: color-mix(in srgb, var(--deck-color) 8%, #10170e); }
.spark-saved-toggle { min-height: 40px; padding: 0; border: 0; background: none; color: #c9d7bc; font: 500 12px/1.5 var(--font-body); text-decoration: underline; text-underline-offset: 5px; }
.spark-intro .spark-local-note { margin-top: 4px; font-size: 11px !important; color: #87997c !important; }
.spark-card-wrap { min-width: 0; }
.spark-card { position: relative; min-height: 304px; padding: 25px 28px 21px; display: flex; flex-direction: column; background: #eaeedc; color: #162013; border: 1px solid var(--deck-color); border-radius: 6px; box-shadow: 7px 8px 0 color-mix(in srgb, var(--deck-color) 13%, #11190f); }
.spark-card-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: #536347; font: 10px/1.5 var(--font-mono); letter-spacing: .07em; text-transform: uppercase; }
.spark-card-question { margin: 27px 0 28px; font: 600 clamp(24px, 2.6vw, 34px)/1.22 var(--font-display); letter-spacing: -.04em; text-wrap: balance; }
.spark-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: auto; padding-top: 17px; border-top: 1px solid #17281124; }
.spark-card-bottom > span { max-width: 245px; color: #59664e; font-size: 11px; line-height: 1.6; }
.spark-card-bottom button { flex: 0 0 auto; min-height: 40px; padding: 6px 9px; border: 1px solid #70825d66; border-radius: 4px; color: #26391c; background: transparent; font: 700 11px/1.4 var(--font-body); }
.spark-card-bottom button[aria-pressed="true"] { background: #d6e3c0; }
.spark-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 25px; }
.spark-actions .button { min-height: 44px; padding: 10px 15px; font-size: 13px; }
.spark-actions .button-primary { background: var(--deck-color); box-shadow: none; }
.spark-actions .text-cta { padding: 0 6px; font-size: 12px; }
.spark-status { min-height: 20px; margin: 10px 0 0; color: #bcccaa; font-size: 12px; line-height: 1.6; }
.spark-copy-text { display: block; width: 100%; margin-top: 12px; padding: 12px; color: #d8e2cb; background: #080d08; border: 1px solid #b2c99b55; border-radius: 4px; font: 14px/1.65 var(--font-body); }
.spark-saved-panel { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-top: 24px; border-top: 1px solid #d5e0c41c; }
.spark-saved-panel p { color: #a3b397; font-size: 14px; }
.spark-saved-panel button { padding: 15px; min-width: 0; min-height: 55px; border: 1px solid #b8c9a533; border-radius: 4px; color: #cfdbc4; background: #111a10; text-align: left; font: 500 14px/1.6 var(--font-body); }
:is(.field-tone, .spark-category, .spark-saved-toggle, .spark-card-bottom button, .spark-saved-panel button, .motion-button):focus-visible { outline: 2px solid #e3efce; outline-offset: 4px; }
.frequency-motion-paused *, .frequency-motion-paused *::before, .frequency-motion-paused *::after { animation-play-state: paused !important; scroll-behavior: auto !important; }
.frequency-motion-paused .instrument-shell { transition: none; }
@media (max-width: 1300px) { .main-nav { gap: 17px; } .main-nav a[href="/tools/"], .main-nav a[href="#lab"] { display: none; } }
@media (max-width: 1080px) {
  .return-grid { grid-template-columns: 1fr 1fr; }
  .return-ritual-card { grid-column: 1 / -1; }
  .mode-grid { grid-template-columns: 1fr 1fr; }
  .live-band-grid { gap: 28px; }
}
@media (max-width: 1000px) {
  .main-nav { position: fixed; top: var(--fq-header-height); left: 16px; right: 16px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px; border: 1px solid #d8e4cc33; border-radius: 8px; background: #0b110bf9; }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 13px 12px; font-size: 14px; }
  .main-nav a[href="/tools/"], .main-nav a[href="#lab"] { display: block; }
  .menu-button { display: inline-grid; }
  .brand-divider, .brand-game { display: none; }
}
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; gap: 45px; }
  .hero-copy { max-width: 760px; }
  .hero h1 { max-width: 720px; font-size: clamp(54px, 8.5vw, 78px); }
  .hero-instrument { width: min(100%, 500px); }
  .section-heading { grid-template-columns: 1fr; gap: 16px; }
  .section-heading .eyebrow { grid-column: auto; }
  .mode-card .mode-visual, .mode-card-large .mode-visual { min-height: 195px; }
  .mode-copy h3 { font-size: 28px; }
  .spark-section { grid-template-columns: 1fr; align-items: start; gap: 30px; }
  .spark-intro > p:not(.eyebrow) { max-width: 650px; }
  .spark-intro h2 { font-size: 43px; }
  .spark-card { min-height: 260px; }
  .return-loop-heading, .wall-heading { grid-template-columns: 1fr; gap: 18px; }
  .return-loop-heading > p { max-width: 650px; }
  .wall-layout { grid-template-columns: 1fr; }
  .wall-composer { position: static; }
}
@media (max-width: 760px) {
  :root { --page: calc(100vw - 40px); --fq-header-height: 66px; }
  .site-header { padding-inline: 20px; }
  .hero { padding: 38px 0 44px; gap: 36px; }
  .hero h1 { font-size: clamp(46px, 9.8vw, 66px); line-height: 1.02; margin-block: 22px; }
  .hero h1 em { margin-top: 5px; line-height: 1.01; }
  .hero-lede { font-size: 16px; line-height: 1.85; }
  .hero-actions { margin-top: 26px; }
  .hero-proof { gap: 9px 18px; }
  .hero-proof li { font-size: 10px; }
  .hero-instrument { max-width: 460px; }
  .core-label { font-size: 9px; }
  .core-status { font-size: 8px; max-width: 82px; line-height: 1.25; }
  .core-glyph { font-size: 37px; }
  .instrument-core { width: 27%; padding: 7px; }
  .instrument-meta { font-size: 8px; }
  .instrument-meta-bottom { margin-top: -8px; font-size: 8px; }
  .field-tones { margin-top: 17px; gap: 4px; }
  .field-tone { padding-inline: 4px; font-size: 10.5px; }
  .field-preview-note { font-size: 11px; }
  .mode-grid, .return-grid { grid-template-columns: 1fr; }
  .return-ritual-card { grid-column: auto; }
  .mode-card { padding: 24px; }
  .mode-copy p { font-size: 15px; }
  .section-heading h2, .daily-heading h2, .lab-heading h2, .how-heading h2 { font-size: clamp(35px, 8vw, 47px); }
  .live-band-copy h2 { font-size: 43px; }
  .return-loop { width: var(--page); }
  .return-loop-heading h2 { font-size: 42px; }
  .return-card { padding: 22px; }
  .return-card-top { font-size: 9px; }
  .return-card > p, .return-identity p { font-size: 14px; }
  .return-primary, .return-secondary, .return-text-link { font-size: 12px; }
  .return-ritual-actions { gap: 8px; }
  .spark-section { padding: 24px 20px; gap: 25px; }
  .spark-intro h2 { font-size: 37px; }
  .spark-categories { gap: 6px; }
  .spark-category { padding-inline: 10px; font-size: 11px; }
  .spark-card { min-height: 320px; padding: 21px; box-shadow: 4px 5px 0 color-mix(in srgb, var(--deck-color) 13%, #11190f); }
  .spark-card-question { font-size: 27px; margin-block: 25px; }
  .spark-card-top { font-size: 9px; letter-spacing: .03em; }
  .spark-card-bottom { flex-wrap: wrap; gap: 8px; }
  .spark-card-bottom > span { max-width: 100%; }
  .spark-saved-panel { grid-template-columns: 1fr; }
  .spark-actions { align-items: stretch; }
  .spark-actions .button { flex: 1 1 140px; font-size: 12px; }
  .wall-weekly { flex-wrap: wrap; }
  .wall-weekly p { flex-basis: calc(100% - 60px); font-size: 22px; }
  .wall-composer { padding: 20px; }
  .wall-composer-top, .wall-composer-foot { flex-wrap: wrap; }
  .wall-composer-foot .button { width: 100%; }
  .daily-option { font-size: 15px; }
  .field-label, .flow-eyebrow, .quiz-dimension { font-size: 10px; }
  .answer-copy { font-size: 17px; }
  .name-input { font-size: clamp(31px, 8vw, 42px); }
}
@media (max-width: 400px) {
  :root { --page: calc(100vw - 32px); }
  .site-header { padding-inline: 16px; }
  .header-actions { gap: 5px; }
  .icon-button, .menu-button { width: 34px; height: 36px; }
  .hero h1 { font-size: 46px; }
  .hero-proof { grid-template-columns: 1fr 1fr; gap: 9px 12px; }
  .hero-proof li { align-items: flex-start; font-size: 9px; }
  .instrument-meta { font-size: 8px; }
  .core-status { display: none; }
  .core-label { font-size: 9px; }
  .core-glyph { font-size: 34px; }
  .spark-section { padding: 23px 16px; }
  .spark-card { padding: 20px 17px; }
  .spark-card-question { font-size: 25px; }
  .return-card { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .instrument-shell { transform: none !important; transition: none; }
  .field-tone { transition: none; }
}
