/*
 * Site responsibility: present the EveryWriter landing page across mobile and
 * desktop viewports. Brand tokens mirror the app's default warm-paper theme;
 * decorative motion is disabled when reduced motion is requested.
 */
:root {
  color-scheme: light;
  --paper: #f8f1e5;
  --ivory: #fff9ed;
  --paper-deep: #f1e4d0;
  --ink: #2b241d;
  --muted: #716456;
  --faint: #a18e79;
  --line: #eadbc7;
  --rust: #b45f3a;
  --rust-light: #d98c61;
  --night: #15232b;
  --night-deep: #0e1b23;
  --serif:
    "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun",
    serif;
  --sans:
    "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --shell: min(1180px, calc(100% - 64px));
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 82px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body,
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
}
em {
  color: var(--rust);
  font-style: normal;
}
::selection {
  background: #e7b892;
  color: var(--night);
}
.shell {
  width: var(--shell);
  margin-inline: auto;
}
.section-pad {
  padding-block: clamp(92px, 10vw, 150px);
}
.section-index {
  color: var(--rust);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.5;
}
.section-heading {
  max-width: 740px;
  margin-bottom: clamp(42px, 6vw, 76px);
}
.section-heading h2,
.longform-intro h2,
.resources-heading h2,
.academy h2,
.download h2,
.faq h2 {
  font-size: clamp(40px, 5vw, 70px);
  line-height: 1.23;
  letter-spacing: -0.045em;
  margin: 20px 0 24px;
}
.section-heading > p:last-child,
.longform-intro > p,
.resources-heading > p,
.academy-copy > p:not(.section-index),
.faq p {
  font-size: 17px;
  line-height: 1.95;
  color: var(--muted);
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 12px;
  z-index: 200;
  padding: 12px 16px;
  background: var(--rust);
  color: #fff;
  border-radius: 10px;
}
.skip-link:focus {
  top: 12px;
}
:focus-visible {
  outline: 3px solid #db8b5b;
  outline-offset: 4px;
}

/* Navigation stays legible while the hero artwork scrolls beneath it. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  height: 76px;
  background: rgba(248, 241, 229, 0.94);
  border-bottom: 1px solid rgba(77, 54, 34, 0.09);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 34px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
}
.brand img {
  border-radius: 11px;
  object-fit: cover;
  box-shadow: 0 3px 12px rgba(0, 100, 100, 0.11);
}
.brand small {
  display: block;
  margin-top: 6px;
  color: var(--faint);
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.25em;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 42px);
  margin-left: auto;
  font-size: 13px;
  font-weight: 600;
  color: #574c41;
}
.desktop-nav a,
.footer-links a {
  transition: color 0.2s ease;
}
.desktop-nav a:hover,
.footer-links a:hover {
  color: var(--rust);
}
.header-download {
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--rust);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.header-download span {
  margin-left: 8px;
}
.header-download:hover,
.button-primary:hover {
  background: #9f4e2c;
}
.menu-toggle,
.mobile-nav {
  display: none;
}

.invite-banner {
  background: #e8d6bb;
  border-bottom: 1px solid #d7b78e;
}
.invite-inner {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 13px;
}
.invite-inner p {
  margin: 0;
  flex: 1;
}
.invite-inner strong {
  margin-left: 8px;
  letter-spacing: 0.12em;
  color: #8e4b2b;
}
.invite-inner a {
  color: #7c4026;
  font-weight: 700;
  white-space: nowrap;
}
.invite-spark {
  color: var(--rust);
  font-size: 19px;
}

/* The artwork is illustrative; live product screens are shown later. */
.hero {
  min-height: min(750px, calc(100svh - 76px));
  position: relative;
  overflow: hidden;
  background: var(--night);
  color: #fff6e8;
}
.hero-art {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(10, 24, 32, 0.8) 0%,
      rgba(10, 24, 32, 0.43) 40%,
      rgba(10, 24, 32, 0.03) 75%
    ),
    url("/assets/hero-art.png") center 57% / cover no-repeat;
  transform: scale(1.04);
  animation: hero-breathe 16s ease-in-out infinite alternate;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  background: linear-gradient(transparent, rgba(9, 20, 26, 0.4));
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: inherit;
  padding-block: 78px 100px;
}
.hero-copy {
  max-width: 720px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
}
.eyebrow-light {
  color: #edc3a0;
}
.eyebrow-line {
  width: 27px;
  height: 1px;
  background: currentColor;
}
.hero h1 {
  margin: 32px 0 24px;
  font-size: clamp(56px, 6.7vw, 94px);
  line-height: 1.22;
  letter-spacing: -0.055em;
  text-wrap: balance;
}
.hero h1 em {
  color: #e9a574;
}
.hero-lead {
  color: rgba(255, 247, 232, 0.85);
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.85;
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 42px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 38px;
  min-height: 54px;
  padding: 14px 25px;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}
.button:hover {
  transform: translateY(-3px);
}
.button-primary {
  background: var(--rust);
  color: #fff;
}
.text-link {
  font-size: 14px;
  font-weight: 700;
  border-bottom: 1px solid currentColor;
  padding-bottom: 6px;
}
.text-link span {
  margin-left: 9px;
}
.light-link {
  color: #fff6e8;
}
.hero-keywords {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-top: 52px;
  color: rgba(255, 243, 225, 0.72);
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.15em;
}
.hero-keywords i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #df9a70;
}
.hero-note {
  position: absolute;
  right: 0;
  bottom: 82px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffdcbb;
  font-size: 11px;
  letter-spacing: 0.1em;
  opacity: 0.82;
}
.hero-note span {
  color: #b98461;
}
.hero-note-line {
  width: 46px;
  height: 1px;
  background: #b98461;
}
.scroll-cue {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 246, 232, 0.7);
  font-size: 10px;
  letter-spacing: 0.22em;
}
.scroll-cue span {
  display: block;
  width: 1px;
  height: 27px;
  background: #db9b6b;
  animation: scroll-line 2.4s ease-in-out infinite;
}

.manifesto {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.manifesto-grid {
  display: grid;
  grid-template-columns: 210px 1fr;
  align-items: start;
  gap: 45px;
}
.manifesto h2 {
  max-width: 890px;
  font-size: clamp(34px, 4.7vw, 66px);
  line-height: 1.39;
  letter-spacing: -0.05em;
  margin: 0 0 28px;
}
.manifesto h2 em {
  color: var(--rust);
}
.manifesto-grid > div > p {
  max-width: 730px;
  font-size: 17px;
  line-height: 2;
  color: var(--muted);
}

.evolution {
  background: #fbf6ec;
}
.evolution-track {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 35px;
  padding: 33px;
  border: 1px solid #dfccb2;
  border-radius: 26px;
  background: linear-gradient(130deg, #f6ead7, #fffaf1 55%, #f3dfc7);
}
.track-point {
  padding: 12px clamp(8px, 2vw, 30px);
}
.track-num {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: #a27150;
  font-weight: 700;
}
.track-point h3 {
  font-size: clamp(24px, 2.7vw, 34px);
  margin: 18px 0 12px;
}
.track-point p {
  max-width: 390px;
  color: var(--muted);
  line-height: 1.8;
  margin: 0;
}
.track-now h3 {
  color: var(--rust);
}
.track-spark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: #fff;
  background: var(--rust);
  font-size: 26px;
  box-shadow: 0 0 0 10px #ead5be;
}
.upgrade-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 22px;
}
.upgrade-card {
  position: relative;
  min-height: 286px;
  padding: 28px;
  border: 1px solid #e9dcc9;
  border-radius: 22px;
  background: #fffdf8;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.upgrade-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 34px rgba(90, 60, 30, 0.08);
}
.upgrade-mark {
  font-size: 11px;
  color: #a89179;
  letter-spacing: 0.14em;
}
.upgrade-symbol {
  position: absolute;
  right: 25px;
  top: 22px;
  color: #d7ae86;
  font-size: 32px;
  line-height: 1;
}
.upgrade-card h3 {
  font-size: 27px;
  margin: 46px 0 12px;
}
.upgrade-card p {
  color: var(--muted);
  line-height: 1.85;
  font-size: 14px;
  margin: 0;
}

.longform {
  background: var(--paper);
}
.longform-intro {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 50px;
}
.longform-intro h2 {
  margin-bottom: 0;
}
.longform-intro > p {
  max-width: 380px;
  margin-bottom: 7px;
}
.graph-stage {
  display: grid;
  grid-template-columns: minmax(290px, 0.88fr) minmax(400px, 1.12fr);
  min-height: 500px;
  border-radius: 30px;
  background: #152630;
  color: #fff9ef;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(26, 39, 44, 0.17);
}
.graph-copy {
  padding: clamp(40px, 5vw, 70px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.graph-kicker {
  color: #dca57c;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
}
.graph-copy h3 {
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.35;
  margin: 25px 0 22px;
}
.graph-copy p {
  color: #c6c8c2;
  line-height: 1.9;
  font-size: 15px;
}
.graph-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
  color: #e7d0b9;
  font-size: 12px;
}
.graph-legend span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.graph-legend i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rust-light);
}
.graph-visual {
  position: relative;
  min-height: 480px;
  background:
    radial-gradient(
      circle at 50% 50%,
      rgba(180, 95, 58, 0.15),
      transparent 36%
    ),
    radial-gradient(
      circle at 50% 50%,
      transparent 40%,
      rgba(223, 169, 110, 0.06) 40.4%,
      transparent 40.8%
    ),
    radial-gradient(
      circle at 50% 50%,
      transparent 63%,
      rgba(223, 169, 110, 0.05) 63.4%,
      transparent 63.8%
    );
}
.graph-visual svg {
  position: absolute;
  width: min(100%, 560px);
  height: 100%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  overflow: visible;
}
.graph-line {
  fill: none;
  stroke: rgba(230, 153, 100, 0.65);
  stroke-width: 1.4;
  stroke-dasharray: 8 8;
  animation: dash-flow 18s linear infinite;
}
.graph-line.line-e,
.graph-line.line-f {
  opacity: 0.28;
}
.graph-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 104px;
  height: 104px;
  border: 1px solid #b98b64;
  border-radius: 50%;
  background: #25363d;
  box-shadow:
    0 0 0 9px rgba(205, 139, 85, 0.07),
    0 0 24px rgba(206, 139, 86, 0.12);
  font-family: var(--serif);
  font-size: 19px;
  text-align: center;
}
.graph-node small {
  display: block;
  margin-top: 5px;
  color: #c5aa8d;
  font-family: var(--sans);
  font-size: 10px;
}
.graph-center {
  width: 142px;
  height: 142px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: #ffe8c9;
  background: #8d4a30;
  font-size: 24px;
  box-shadow:
    0 0 0 13px rgba(180, 95, 58, 0.1),
    0 0 45px rgba(217, 140, 97, 0.24);
}
.graph-center small {
  color: #fff1df;
}
.node-person {
  left: 7%;
  top: 13%;
}
.node-rhythm {
  right: 6%;
  top: 10%;
}
.node-world {
  left: 8%;
  bottom: 9%;
}
.node-clue {
  right: 6%;
  bottom: 8%;
}
.app-preview {
  margin-top: 110px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 7%;
}
.preview-copy {
  max-width: 470px;
}
.preview-copy h3 {
  font-size: clamp(38px, 4.7vw, 62px);
  line-height: 1.26;
  margin: 20px 0;
}
.preview-copy > p:not(.section-index) {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}
.preview-tabs {
  display: inline-flex;
  gap: 5px;
  padding: 5px;
  border-radius: 999px;
  background: #eee0cc;
  margin-top: 24px;
}
.preview-tabs button {
  min-width: 80px;
  padding: 10px 17px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #776652;
  cursor: pointer;
  font-weight: 700;
}
.preview-tabs button[aria-selected="true"] {
  background: #fffaf1;
  color: var(--rust);
  box-shadow: 0 3px 10px rgba(90, 60, 30, 0.08);
}
.illustration-note {
  display: block;
  margin-top: 16px;
  color: #9b8a75;
  font-size: 11px;
}
.preview-image {
  width: min(400px, 100%);
  height: 550px;
  margin-inline: auto;
  padding: 13px;
  border: 6px solid #383838;
  border-radius: 46px;
  background: #292929;
  box-shadow: 0 30px 70px rgba(78, 53, 31, 0.18);
  overflow: hidden;
}
.preview-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 28px;
  transition: opacity 0.18s ease;
}
.preview-image img.changing {
  opacity: 0.15;
}

.ai-section {
  background: #eee2d0;
}
.ai-heading {
  max-width: 760px;
}
.ai-heading h2 {
  font-size: clamp(48px, 5vw, 72px);
  margin: 15px 0 22px;
}
.ai-heading > p:last-child {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}
.ai-paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 55px;
}
.ai-path {
  position: relative;
  min-height: 585px;
  display: flex;
  flex-direction: column;
  padding: clamp(30px, 3.2vw, 48px);
  border: 1px solid #e2d2bc;
  border-radius: 28px;
  background: #fffaf1;
  overflow: hidden;
}
.creation-path {
  background: #1c2b32;
  border-color: #35454b;
  color: #fffaf2;
}
.path-top {
  display: flex;
  justify-content: space-between;
  color: #9a755c;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
}
.creation-path .path-top {
  color: #dca77f;
}
.ai-path h3 {
  font-size: clamp(33px, 3.7vw, 50px);
  line-height: 1.32;
  margin: 27px 0 16px;
}
.ai-path > p {
  max-width: 450px;
  color: var(--muted);
  line-height: 1.85;
  font-size: 15px;
}
.creation-path > p {
  color: #c5ccc7;
}
.path-art {
  min-height: 200px;
  flex: 1;
  position: relative;
  margin: 10px 0 30px;
}
.art-paper {
  position: absolute;
  width: 62%;
  height: 175px;
  left: 12%;
  top: 20px;
  padding: 35px 30px;
  border: 1px solid #e0d1be;
  border-radius: 12px;
  background: #faf1e3;
  transform: rotate(-6deg);
  box-shadow: 0 15px 24px rgba(39, 33, 27, 0.11);
}
.art-paper span {
  display: block;
  width: 90%;
  height: 5px;
  margin-bottom: 17px;
  border-radius: 999px;
  background: #d5c1a6;
}
.art-paper span:nth-child(2) {
  width: 74%;
}
.art-paper span:nth-child(4) {
  width: 55%;
}
.art-paper .accent-stroke {
  width: 82%;
  background: #c68562;
}
.creation-art .art-paper {
  left: 15%;
  transform: rotate(5deg);
  background: #f3eadb;
}
.creation-art .art-paper span {
  background: #b6c0ba;
}
.creation-art .art-paper .accent-stroke {
  background: #b45f3a;
}
.art-bubble {
  position: absolute;
  right: 3%;
  bottom: 16px;
  padding: 16px 20px;
  border: 1px solid #e9d0b3;
  border-radius: 15px;
  background: #fffdf8;
  box-shadow: 0 12px 30px rgba(50, 43, 34, 0.12);
  font-size: 12px;
  color: #734c38;
}
.art-bubble b {
  color: var(--rust);
  margin-left: 14px;
}
.path-foot {
  padding-top: 19px;
  border-top: 1px solid #e8dac8;
  color: #9c7960;
  font-size: 12px;
}
.creation-path .path-foot {
  color: #cab296;
  border-color: #3f5158;
}
.ai-truth {
  color: #746554;
  margin: 21px 0 0;
  font-size: 12px;
  line-height: 1.7;
}

.scenes {
  background: var(--paper);
}
.centered {
  margin-inline: auto;
  text-align: center;
}
.centered > p:last-child {
  margin-inline: auto;
}
.scene-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.scene-card {
  min-height: 332px;
  padding: 30px;
  border: 1px solid #e7d9c4;
  border-radius: 24px;
  background: #fffaf1;
  transition: transform 0.25s ease;
}
.scene-card:hover {
  transform: translateY(-5px);
}
.scene-number {
  color: #ad8e74;
  font-size: 11px;
  letter-spacing: 0.16em;
}
.scene-doodle {
  display: grid;
  place-items: center;
  width: 67px;
  height: 67px;
  margin: 40px 0 27px;
  border: 1px solid #e2c9ae;
  border-radius: 18px;
  color: var(--rust);
  background: #f8ecda;
  font-family: var(--serif);
  font-size: 30px;
}
.scene-card h3 {
  font-size: 25px;
  margin: 0 0 13px;
}
.scene-card p {
  color: var(--muted);
  line-height: 1.85;
  font-size: 14px;
}
.scene-quote {
  text-align: center;
  font-family: var(--serif);
  color: var(--rust);
  font-size: clamp(27px, 3vw, 39px);
  margin: 75px 0 0;
}

.resources {
  background: #fbf7ee;
  border-block: 1px solid var(--line);
}
.resources-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 48px;
}
.resources-heading h2 {
  margin-bottom: 0;
}
.resources-heading > p {
  max-width: 350px;
  margin-bottom: 4px;
}
.resource-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.resource-card {
  min-height: 240px;
  padding: 27px 23px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fffdf8;
}
.resource-icon {
  display: grid;
  place-items: center;
  width: 49px;
  height: 49px;
  border-radius: 14px;
  background: #f4e7d2;
  color: var(--rust);
  font-size: 24px;
}
.resource-card h3 {
  font-size: 21px;
  margin: 29px 0 12px;
}
.resource-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.academy {
  background: #f4e8d4;
  overflow: hidden;
}
.academy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.academy-copy {
  max-width: 560px;
}
.academy-copy .text-link {
  display: inline-block;
  margin-top: 25px;
  color: #984d2c;
}
.academy-frame {
  position: relative;
  width: min(370px, 100%);
  height: 420px;
  margin: 0 auto;
  padding: 12px 12px 0;
  border: 5px solid #36332e;
  border-bottom: 0;
  border-radius: 46px 46px 0 0;
  background: #26231f;
  box-shadow: 24px 25px 65px rgba(75, 42, 28, 0.15);
  overflow: hidden;
}
.academy-frame img {
  width: 100%;
  height: auto;
  border-radius: 29px 29px 0 0;
}
.academy-frame span {
  position: absolute;
  right: 20px;
  bottom: 20px;
  padding: 5px 8px;
  border-radius: 6px;
  background: rgba(255, 249, 237, 0.86);
  color: #665243;
  font-size: 10px;
}

.download {
  background: #fbf6ec;
}
.download-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  min-height: 610px;
  border-radius: 34px;
  background: #1a2a32;
  color: #fff6e8;
  overflow: hidden;
}
.download-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 78% 48%,
      rgba(190, 113, 75, 0.24),
      transparent 35%
    ),
    linear-gradient(90deg, transparent 50%, rgba(2, 10, 14, 0.18));
  pointer-events: none;
}
.download-copy {
  position: relative;
  z-index: 2;
  padding: clamp(42px, 5vw, 75px);
}
.download .section-index {
  color: #dca77f;
}
.download h2 {
  margin: 20px 0;
}
.download h2 em {
  color: #e5a474;
}
.download-copy > p:not(.section-index) {
  max-width: 510px;
  color: #c6c8c2;
  line-height: 1.85;
  font-size: 15px;
}
.download-copy .download-invite {
  color: #ffcfab !important;
}
.download-buttons {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.download-button {
  width: 205px;
  min-height: 69px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 11px 15px;
  border: 1px solid #b37959;
  border-radius: 16px;
  background: var(--rust);
  color: #fff;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}
.download-button:hover:not([aria-disabled="true"]) {
  transform: translateY(-3px);
}
.download-button[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
}
.download-button:nth-child(2) {
  background: #fff9ee;
  border-color: #fff9ee;
  color: var(--night);
}
.system-icon {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1;
}
.apple-icon {
  font-size: 20px;
}
.download-button span:nth-child(2) {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.download-button small {
  font-size: 9px;
  letter-spacing: 0.14em;
  opacity: 0.75;
}
.download-button b {
  font-size: 15px;
  white-space: nowrap;
}
.button-arrow {
  margin-left: auto;
}
.download-status {
  min-height: 1.8em;
  margin-top: 16px;
  font-size: 12px !important;
}
.download-image {
  position: relative;
  z-index: 1;
  align-self: end;
  width: 340px;
  height: 480px;
  margin: 0 auto -36px;
  padding: 12px;
  border: 6px solid #3c4242;
  border-radius: 42px;
  background: #2c3131;
  transform: rotate(7deg);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}
.download-image img {
  width: 100%;
  height: auto;
  border-radius: 27px;
}
.download-orbit {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.download-orbit i {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #d8a16e;
  box-shadow: 0 0 18px #e3a673;
}
.download-orbit i:nth-child(1) {
  left: 50%;
  top: 20%;
}
.download-orbit i:nth-child(2) {
  right: 6%;
  bottom: 18%;
}
.download-orbit i:nth-child(3) {
  right: 38%;
  top: 11%;
}

.faq {
  background: var(--paper);
}
.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 9%;
}
.faq h2 {
  font-size: clamp(33px, 4vw, 55px);
}
.faq-list details {
  border-bottom: 1px solid #ddcbb4;
}
.faq-list details:first-child {
  border-top: 1px solid #ddcbb4;
}
.faq-list summary {
  position: relative;
  padding: 27px 35px 27px 0;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 3px;
  top: 24px;
  color: var(--rust);
  font-family: var(--sans);
  font-size: 26px;
  font-weight: 300;
}
.faq-list details[open] summary::after {
  content: "−";
}
.faq-list p {
  max-width: 610px;
  margin: 0 0 27px;
  font-size: 14px;
}

.footer {
  background: #182730;
  color: #f4e7d4;
  padding: 65px 0 29px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 65px;
}
.footer-brand {
  color: #f4e7d4;
}
.footer-inner > div:first-child > p {
  margin: 20px 0 0;
  color: #acb4b0;
  font-size: 13px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  gap: 30px;
  font-size: 13px;
}
.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid #3a4649;
  color: #a3aaa7;
  font-size: 11px;
}

html.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(23px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
html.has-js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
@keyframes hero-breathe {
  to {
    transform: scale(1.09) translateX(-1%);
  }
}
@keyframes scroll-line {
  50% {
    opacity: 0.2;
    transform: translateY(5px);
  }
}
@keyframes dash-flow {
  to {
    stroke-dashoffset: -320;
  }
}

@media (max-width: 1050px) {
  .desktop-nav {
    gap: 18px;
  }
  .header-inner {
    gap: 20px;
  }
  .graph-stage {
    grid-template-columns: 0.9fr 1.1fr;
  }
  .graph-node {
    width: 88px;
    height: 88px;
    font-size: 16px;
  }
  .graph-center {
    width: 122px;
    height: 122px;
    font-size: 21px;
  }
  .download-panel {
    grid-template-columns: 1.1fr 0.7fr;
  }
  .download-image {
    width: 290px;
  }
}
@media (max-width: 800px) {
  :root {
    --shell: min(100% - 40px, 660px);
  }
  .desktop-nav,
  .header-download {
    display: none;
  }
  .menu-toggle {
    display: grid;
    place-content: center;
    gap: 6px;
    margin-left: auto;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid #e3d1b9;
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
  }
  .menu-toggle span {
    width: 19px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
  }
  .mobile-nav:not([hidden]) {
    display: grid;
    gap: 0;
    width: 100%;
    padding: 7px 20px 16px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 35px rgba(45, 35, 25, 0.12);
  }
  .mobile-nav a {
    padding: 12px 8px;
    border-bottom: 1px solid #e7dbc9;
    font-size: 14px;
    font-weight: 600;
  }
  .hero {
    min-height: 690px;
  }
  .hero-art {
    background-position: 61% center;
  }
  .hero-inner {
    align-items: start;
    padding-top: 105px;
  }
  .hero-copy {
    max-width: 600px;
  }
  .hero-note {
    display: none;
  }
  .manifesto-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .upgrade-grid {
    grid-template-columns: 1fr;
  }
  .upgrade-card {
    min-height: 210px;
  }
  .upgrade-card h3 {
    margin-top: 22px;
  }
  .longform-intro,
  .resources-heading {
    display: block;
  }
  .longform-intro > p,
  .resources-heading > p {
    max-width: 590px;
  }
  .graph-stage {
    grid-template-columns: 1fr;
  }
  .graph-copy {
    padding-bottom: 12px;
  }
  .graph-visual {
    min-height: 380px;
  }
  .graph-visual svg {
    height: 390px;
  }
  .app-preview {
    grid-template-columns: 1fr;
    gap: 55px;
  }
  .preview-copy {
    max-width: 650px;
  }
  .preview-image {
    height: 550px;
  }
  .scene-grid {
    grid-template-columns: 1fr;
  }
  .scene-card {
    min-height: 235px;
  }
  .scene-doodle {
    margin: 20px 0;
  }
  .resource-grid {
    grid-template-columns: 1fr 1fr;
  }
  .academy-grid {
    grid-template-columns: 1fr;
    gap: 54px;
  }
  .academy-frame {
    height: 420px;
  }
  .download-panel {
    grid-template-columns: 1fr;
  }
  .download-copy {
    padding-bottom: 30px;
  }
  .download-image {
    height: 300px;
    width: 290px;
    margin-bottom: -80px;
    margin-right: 7%;
  }
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}
@media (max-width: 580px) {
  :root {
    --shell: calc(100% - 36px);
  }
  html {
    scroll-padding-top: 66px;
  }
  .site-header {
    height: 66px;
  }
  .brand {
    font-size: 20px;
  }
  .brand img {
    width: 34px;
    height: 34px;
  }
  .section-pad {
    padding-block: 78px;
  }
  .section-heading {
    margin-bottom: 38px;
  }
  .section-heading h2,
  .longform-intro h2,
  .resources-heading h2,
  .academy h2,
  .download h2 {
    font-size: clamp(37px, 10vw, 52px);
  }
  .section-heading > p:last-child,
  .longform-intro > p,
  .resources-heading > p,
  .academy-copy > p:not(.section-index) {
    font-size: 15px;
  }
  .invite-inner {
    padding-block: 9px;
    align-items: start;
    flex-wrap: wrap;
    gap: 6px 10px;
  }
  .invite-inner p {
    flex-basis: calc(100% - 37px);
  }
  .invite-inner a {
    margin-left: 29px;
  }
  .hero {
    min-height: 740px;
  }
  .hero-art {
    background-image:
      linear-gradient(
        180deg,
        rgba(11, 25, 33, 0.83) 0%,
        rgba(11, 25, 33, 0.62) 44%,
        rgba(11, 25, 33, 0.07) 100%
      ),
      url("/assets/hero-art.png");
    background-position: 68% center;
  }
  .hero-inner {
    padding-top: 75px;
  }
  .hero h1 {
    font-size: clamp(45px, 12vw, 65px);
    margin: 28px 0 24px;
  }
  .hero-lead {
    font-size: 16px;
  }
  .hero-actions {
    align-items: start;
    flex-direction: column;
    gap: 21px;
    margin-top: 29px;
  }
  .hero-keywords {
    margin-top: 35px;
    font-size: 12px;
  }
  .manifesto h2 {
    font-size: clamp(31px, 8vw, 44px);
  }
  .manifesto-grid > div > p {
    font-size: 15px;
  }
  .evolution-track {
    display: block;
    padding: 23px;
  }
  .track-point {
    padding: 12px;
  }
  .track-spark {
    width: 36px;
    height: 36px;
    margin: 10px 13px;
    box-shadow: 0 0 0 6px #ead5be;
    font-size: 20px;
  }
  .track-point h3 {
    font-size: 25px;
  }
  .upgrade-card {
    min-height: auto;
  }
  .upgrade-card h3 {
    font-size: 24px;
  }
  .longform-intro {
    margin-bottom: 34px;
  }
  .graph-stage {
    border-radius: 22px;
  }
  .graph-copy {
    padding: 33px 25px 0;
  }
  .graph-copy h3 {
    font-size: 31px;
  }
  .graph-copy p {
    font-size: 14px;
  }
  .graph-legend {
    gap: 12px;
    margin-top: 15px;
  }
  .graph-visual {
    min-height: 290px;
  }
  .graph-visual svg {
    height: 290px;
  }
  .graph-node {
    width: 66px;
    height: 66px;
    font-size: 13px;
  }
  .graph-node small {
    font-size: 8px;
    margin-top: 2px;
  }
  .graph-center {
    width: 93px;
    height: 93px;
    font-size: 16px;
  }
  .node-person {
    left: 6%;
    top: 12%;
  }
  .node-rhythm {
    right: 5%;
    top: 11%;
  }
  .node-world {
    left: 7%;
    bottom: 7%;
  }
  .node-clue {
    right: 5%;
    bottom: 7%;
  }
  .app-preview {
    margin-top: 75px;
    gap: 36px;
  }
  .preview-copy h3 {
    font-size: 39px;
  }
  .preview-copy > p:not(.section-index) {
    font-size: 15px;
  }
  .preview-image {
    width: min(330px, 100%);
    height: 480px;
    border-radius: 37px;
  }
  .preview-image img {
    border-radius: 20px;
  }
  .ai-heading h2 {
    font-size: 47px;
  }
  .ai-heading > p:last-child {
    font-size: 15px;
  }
  .ai-paths {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 37px;
  }
  .ai-path {
    min-height: 480px;
    padding: 28px;
  }
  .ai-path h3 {
    font-size: 37px;
  }
  .path-art {
    min-height: 160px;
  }
  .art-paper {
    height: 145px;
    padding: 29px 22px;
  }
  .art-bubble {
    font-size: 10px;
    padding: 12px;
  }
  .scene-quote {
    margin-top: 55px;
  }
  .resource-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .resource-card {
    min-height: 210px;
    padding: 19px 15px;
  }
  .resource-card h3 {
    font-size: 17px;
    margin: 20px 0 9px;
  }
  .resource-card p {
    font-size: 12px;
  }
  .academy-frame {
    width: min(310px, 100%);
    height: 360px;
  }
  .download-panel {
    width: 100%;
    border-radius: 0;
  }
  .download-copy {
    padding: 57px 22px 20px;
  }
  .download-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .download-button {
    width: 100%;
  }
  .download-image {
    height: 250px;
    width: 230px;
    margin-right: 5%;
  }
  .faq-list summary {
    font-size: 16px;
    padding-block: 23px;
  }
  .faq-list summary::after {
    top: 20px;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 31px;
  }
  .footer-links {
    flex-wrap: wrap;
    gap: 15px 22px;
  }
  .footer-bottom {
    flex-wrap: wrap;
  }
}
@media (max-width: 360px) {
  .hero h1 {
    font-size: 38px;
    letter-spacing: -0.07em;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html.has-js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
