@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/DMSans-Variable-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/DMSans-Variable-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #0d293d;
  --ink-soft: #284254;
  --paper: #f5f1e8;
  --white: #fffdf8;
  --mint: #bfe4d7;
  --mint-bright: #7fced2;
  --mint-deep: #2e776f;
  --peach: #f4c6a8;
  --coral: #e8785d;
  --yellow: #f2d56f;
  --line: rgba(13, 41, 61, 0.16);
  --display: "DM Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  --body: "DM Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    radial-gradient(circle at 8% 14%, rgba(191, 228, 215, 0.5), transparent 26rem),
    radial-gradient(circle at 92% 28%, rgba(244, 198, 168, 0.42), transparent 30rem),
    var(--paper);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.38;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
  max-width: 100%;
}

.section-shell {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 26px 0;
}

/* header 是 #top 锚点目标且 tabindex="-1"，锚点跳转会聚焦它，去掉浏览器默认描边 */
.site-header:focus {
  outline: none;
}

.site-header.is-scrolled {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
  padding-inline: max(24px, calc((100% - var(--max)) / 2));
  background: rgba(245, 241, 232, 0.88);
  border-bottom: 1px solid rgba(13, 41, 61, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.brand-icon {
  width: 38px;
  height: 38px;
  object-fit: cover;
  border-radius: 11px;
  box-shadow: 0 4px 14px rgba(13, 41, 61, 0.12);
}

.brand-word {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.nav-links {
  display: flex;
  gap: 34px;
  align-items: center;
  margin-left: auto;
  margin-right: 42px;
  font-size: 14px;
  font-weight: 500;
}

.nav-links a {
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  content: "";
  background: var(--ink);
  transition: width 220ms ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.is-active {
  color: var(--mint-deep);
}

.button {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  padding: 15px 22px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: 0;
  border-radius: 999px;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    background-color 220ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-small {
  padding: 10px 17px;
  font-size: 13px;
}

.button-ink {
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 8px 20px rgba(13, 41, 61, 0.14);
}

.button-ink:hover {
  background: #173b54;
  box-shadow: 0 12px 26px rgba(13, 41, 61, 0.2);
}

.button-primary {
  color: var(--ink);
  background: var(--mint-bright);
  box-shadow: 0 12px 28px rgba(74, 165, 168, 0.26);
}

.button-primary:hover {
  background: #94dadd;
  box-shadow: 0 16px 34px rgba(74, 165, 168, 0.34);
}

.button-light {
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.button-light:hover {
  background: var(--yellow);
}

.button-icon {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  font-size: 15px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.eyebrow {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0 0 22px;
  color: var(--mint-deep);
  font-family: var(--body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: var(--mint);
}

.pulse-dot {
  position: relative;
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--coral);
  border-radius: 50%;
}

.pulse-dot::after {
  position: absolute;
  inset: -4px;
  content: "";
  border: 1px solid var(--coral);
  border-radius: inherit;
  animation: pulse 2.4s ease-out infinite;
}

.reveal {
  animation: reveal-up 700ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

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

.feature-card.reveal:nth-child(2) {
  animation-delay: 80ms;
}

.feature-card.reveal:nth-child(3) {
  animation-delay: 140ms;
}

.feature-card.reveal:nth-child(4) {
  animation-delay: 200ms;
}

.preview-card.reveal:nth-child(2) {
  animation-delay: 80ms;
}

.preview-card.reveal:nth-child(3) {
  animation-delay: 160ms;
}

.preview-card.reveal:nth-child(4) {
  animation-delay: 240ms;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(460px, 1.08fr);
  gap: 56px;
  align-items: center;
  min-height: 670px;
  padding-top: 46px;
  padding-bottom: 84px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-bottom: 16px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 620px;
  margin-bottom: 28px;
  font-size: clamp(48px, 5.1vw, 78px);
  line-height: 1.12;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(36px, 4vw, 56px);
}

h3 {
  margin-bottom: 15px;
  font-size: clamp(25px, 2.25vw, 34px);
  line-height: 1.26;
}

.marker {
  position: relative;
  display: inline-block;
  z-index: 0;
  white-space: nowrap;
}

.title-break {
  display: none;
}

.marker::after {
  position: absolute;
  right: -0.04em;
  bottom: 0.08em;
  left: -0.04em;
  z-index: -1;
  height: 0.31em;
  content: "";
  background: var(--mint-bright);
  transform: rotate(-1.2deg);
  border-radius: 4px 12px 4px 8px;
}

.hero-lede {
  max-width: 510px;
  margin-bottom: 32px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  margin-bottom: 34px;
}

.text-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 700;
  border-bottom: 1px solid var(--ink);
  transition: gap 180ms ease;
}

.text-link:hover {
  gap: 13px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  color: #5d706f;
  font-size: 11px;
  letter-spacing: 0.02em;
}

.hero-meta strong {
  color: var(--ink);
  font-weight: 700;
}

.meta-divider {
  width: 3px;
  height: 3px;
  background: var(--ink);
  border-radius: 50%;
  opacity: 0.35;
}

.hero-stage {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  min-height: 610px;
  padding-top: 18px;
  isolation: isolate;
  overflow: visible;
}

.stage-sun {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -2;
  width: min(76%, 450px);
  aspect-ratio: 1;
  background: var(--mint);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.stage-sun::after {
  position: absolute;
  top: 9%;
  right: -1%;
  width: 52px;
  height: 52px;
  content: "";
  background: var(--coral);
  border-radius: 50%;
}

.stage-orbit {
  position: absolute;
  z-index: -1;
  border: 1px dashed rgba(13, 41, 61, 0.27);
  border-radius: 50%;
}

.orbit-one {
  top: 4%;
  left: 2%;
  width: 94%;
  aspect-ratio: 1;
  transform: rotate(9deg);
}

.orbit-two {
  top: 14%;
  left: 15%;
  width: 70%;
  aspect-ratio: 1;
  border-style: solid;
  opacity: 0.32;
}

.phone {
  position: relative;
  flex: 0 0 auto;
  padding: 7px;
  background: linear-gradient(145deg, #17364a, #071824 72%);
  border-radius: 38px;
  box-shadow:
    0 22px 42px rgba(13, 41, 61, 0.15),
    0 5px 12px rgba(13, 41, 61, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  will-change: transform;
}

.phone::after {
  position: absolute;
  inset: 4px;
  z-index: 3;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 34px;
}

.phone-frame {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border-radius: 31px;
  aspect-ratio: 1240 / 2772;
}

.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-speaker {
  position: absolute;
  top: 9px;
  left: 50%;
  z-index: 4;
  width: 28%;
  height: 18px;
  background: #07131d;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: translateX(-50%);
}

.phone-main {
  z-index: 3;
  width: clamp(188px, 40%, 250px);
  animation: float-center 7s ease-in-out infinite;
}

.phone-left,
.phone-right {
  top: 68px;
  z-index: 1;
  width: clamp(158px, 34%, 205px);
  box-shadow:
    0 16px 30px rgba(13, 41, 61, 0.11),
    0 3px 8px rgba(13, 41, 61, 0.06),
    inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.phone-left {
  margin-right: -7%;
  transform: rotate(-7deg);
  transform-origin: 92% 48%;
  animation: float-left 8.2s ease-in-out infinite;
}

.phone-right {
  margin-left: -7%;
  transform: rotate(7deg);
  transform-origin: 8% 48%;
  animation: float-right 8.8s ease-in-out infinite;
}

.phone-left img,
.phone-right img {
  filter: saturate(0.96) brightness(0.98);
}

.marquee {
  position: relative;
  z-index: 1;
  width: 108%;
  margin: 10px 0 10px -4%;
  transform: rotate(-2.5deg);
  overflow: hidden;
  padding: 16px 0;
  color: var(--paper);
  background: var(--ink);
  contain: paint;
}

.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  will-change: transform;
}

.marquee.is-running .marquee-track {
  animation: marquee var(--marquee-duration, 34s) linear infinite;
}

.marquee-group {
  display: flex;
  flex: none;
  gap: 30px;
  align-items: center;
  padding-right: 30px;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.marquee-group[data-marquee-clone] {
  pointer-events: none;
}

.marquee-group i {
  color: var(--mint-bright);
  font-style: normal;
}

.intro {
  padding-top: 130px;
  padding-bottom: 126px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
  align-items: end;
  margin-bottom: 56px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading > p:not(.eyebrow) {
  max-width: 420px;
  margin: 0 0 7px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.95;
}

.section-heading > .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -42px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 330px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid rgba(13, 41, 61, 0.08);
  border-radius: 22px;
}

.feature-large {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  grid-column: span 2;
  align-items: end;
  min-height: 360px;
  padding: 40px;
}

.feature-number {
  position: absolute;
  top: 27px;
  right: 30px;
  color: rgba(13, 41, 61, 0.4);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.card-kicker {
  margin-bottom: 24px;
  color: var(--mint-deep);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.feature-card p:not(.card-kicker) {
  max-width: 380px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.9;
}

.card-mint {
  background: var(--mint);
}

.card-cream {
  background: var(--white);
}

.card-peach {
  background: var(--peach);
}

.card-ink {
  color: var(--white);
  background: var(--ink);
}

.card-ink .card-kicker {
  color: var(--mint);
}

.card-ink p:not(.card-kicker) {
  color: rgba(255, 253, 248, 0.68);
}

.feature-large .feature-copy {
  align-self: start;
}

.mini-schedule {
  width: 100%;
  margin-left: auto;
  padding: 20px;
  background: rgba(255, 253, 248, 0.8);
  border: 1px solid rgba(13, 41, 61, 0.08);
  border-radius: 17px;
  box-shadow: 0 16px 36px rgba(13, 41, 61, 0.08);
  transform: rotate(2deg);
}

.mini-schedule-head {
  display: flex;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 5px;
  font-size: 10px;
  font-weight: 700;
  border-bottom: 1px solid var(--line);
}

.mini-live {
  color: var(--coral);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.mini-row {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid rgba(13, 41, 61, 0.08);
}

.mini-row:last-child {
  border-bottom: 0;
}

.mini-day {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  font-size: 9px;
  font-weight: 700;
  background: rgba(13, 41, 61, 0.08);
  border-radius: 50%;
}

.mini-title {
  overflow: hidden;
  font-size: 11px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-time {
  color: var(--mint-deep);
  font-size: 10px;
  font-weight: 700;
}

.mini-row.active {
  margin-inline: -10px;
  padding-inline: 10px;
  background: rgba(127, 206, 210, 0.22);
  border-radius: 8px;
}

.progress-demo {
  margin-top: auto;
  padding: 17px;
  background: var(--paper);
  border-radius: 13px;
}

.progress-top,
.progress-foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 10px;
}

.progress-top {
  margin-bottom: 10px;
  font-weight: 700;
}

.progress-foot {
  margin-top: 9px;
  color: var(--ink-soft);
  font-size: 9px;
}

.progress-bar {
  height: 6px;
  overflow: hidden;
  background: rgba(13, 41, 61, 0.12);
  border-radius: 999px;
}

.progress-bar span {
  display: block;
  width: 80%;
  height: 100%;
  background: var(--coral);
  border-radius: inherit;
}

.reminder-demo {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-top: auto;
  padding: 15px;
  background: rgba(255, 253, 248, 0.75);
  border-radius: 15px;
}

.reminder-clock {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  font-size: 21px;
  font-weight: 800;
  line-height: 1;
  background: var(--yellow);
  border-radius: 50%;
}

.reminder-clock span {
  margin-top: 3px;
  font-size: 7px;
  letter-spacing: 0.08em;
}

.reminder-copy {
  display: flex;
  flex-direction: column;
}

.reminder-copy strong {
  font-size: 11px;
}

.reminder-copy span {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 9px;
}

.feature-wide {
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  grid-column: span 2;
  display: grid;
  align-items: center;
  min-height: 330px;
  padding: 40px;
}

.library-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.library-stats div {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 8px;
  background: rgba(255, 253, 248, 0.06);
  border: 1px solid rgba(255, 253, 248, 0.12);
  border-radius: 12px;
}

.library-stats strong {
  font-family: var(--display);
  font-size: 33px;
  line-height: 1.1;
}

.library-stats span {
  margin-top: 6px;
  color: rgba(255, 253, 248, 0.58);
  font-size: 9px;
}

.preview-section {
  position: relative;
  overflow: hidden;
  padding: 120px 0 130px;
  color: var(--white);
  background: var(--ink);
}

.preview-section::before {
  position: absolute;
  top: -260px;
  right: -160px;
  width: 620px;
  height: 620px;
  content: "";
  background: radial-gradient(circle, rgba(127, 206, 210, 0.2), transparent 68%);
  border-radius: 50%;
}

.preview-heading {
  position: relative;
  z-index: 1;
  grid-template-columns: 1fr 0.55fr;
}

.preview-heading .eyebrow {
  color: var(--mint);
}

.preview-aside {
  color: rgba(255, 253, 248, 0.55) !important;
}

.preview-gallery {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: center;
  padding-top: 24px;
}

.preview-card {
  margin: 0;
  padding: 8px;
  color: var(--ink);
  background: var(--paper);
  border-radius: 18px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
  transition: transform 260ms ease;
}

.preview-card:hover {
  transform: translateY(-8px) rotate(0);
}

.preview-card:nth-child(1) {
  transform: rotate(-2.6deg);
}

.preview-card:nth-child(2) {
  transform: rotate(1.8deg) translateY(30px);
}

.preview-card:nth-child(3) {
  transform: rotate(-1deg) translateY(-8px);
}

.preview-card:nth-child(4) {
  transform: rotate(2.5deg) translateY(25px);
}

.preview-card img {
  width: 100%;
  border-radius: 12px;
}

.preview-card figcaption {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 11px 5px 4px;
  font-size: 11px;
  font-weight: 600;
}

.preview-card figcaption span {
  color: var(--mint-deep);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.philosophy {
  display: grid;
  grid-template-columns: 0.36fr 1.15fr 0.5fr;
  gap: 50px;
  align-items: center;
  padding-top: 140px;
  padding-bottom: 140px;
}

.philosophy-stamp {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
  width: 190px;
  height: 190px;
  color: var(--ink);
  font-size: 9px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.13em;
  border: 1px solid var(--ink);
  border-radius: 50%;
  transform: rotate(-12deg);
}

.philosophy-stamp::before,
.philosophy-stamp::after {
  width: 55px;
  height: 1px;
  content: "";
  background: var(--ink);
}

.philosophy-stamp span:first-child {
  font-size: 21px;
  letter-spacing: 0.2em;
}

.philosophy-copy h2 {
  margin-bottom: 22px;
}

.philosophy-copy > p:last-child {
  max-width: 580px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.95;
}

.philosophy-notes {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.philosophy-notes span {
  padding: 9px 14px;
  font-size: 11px;
  font-weight: 600;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.philosophy-notes span:last-child {
  margin-left: 18px;
  color: var(--white);
  background: var(--coral);
  border-color: var(--coral);
  transform: rotate(2deg);
}

.download-section {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  color: var(--white);
  background: #143b50;
}

.download-section::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 58%;
  height: 100%;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(90deg, transparent, #000);
}

.download-glow {
  position: absolute;
  right: 6%;
  bottom: -220px;
  width: 520px;
  height: 520px;
  background: var(--coral);
  border-radius: 50%;
  filter: blur(1px);
  opacity: 0.88;
}

.download-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: center;
}

.download-copy h2 {
  margin-bottom: 18px;
  font-size: clamp(44px, 5vw, 70px);
}

.download-copy > p:not(.eyebrow) {
  max-width: 510px;
  margin-bottom: 28px;
  color: rgba(255, 253, 248, 0.65);
  font-size: 14px;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.download-note {
  color: rgba(255, 253, 248, 0.52);
  font-size: 11px;
}

.qr-card {
  display: flex;
  flex-direction: column;
  gap: 13px;
  align-items: center;
  padding: 20px;
  color: var(--ink);
  background: var(--white);
  border-radius: 22px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.22);
  transform: rotate(3deg);
}

.qr-card img {
  width: 142px;
  height: 142px;
  image-rendering: pixelated;
}

.qr-card div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.qr-card strong {
  font-size: 12px;
}

.qr-card span {
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 9px;
}

.faq-section {
  display: grid;
  grid-template-columns: 0.55fr 1fr;
  gap: 90px;
  padding-top: 126px;
  padding-bottom: 126px;
}

.faq-heading h2 {
  margin-bottom: 0;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 22px 40px 22px 0;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::before,
.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 5px;
  width: 12px;
  height: 1px;
  content: "";
  background: var(--ink);
  transition: transform 220ms ease;
}

.faq-list summary::after {
  transform: rotate(90deg);
}

.faq-list details[open] summary::after {
  transform: rotate(0);
}

.faq-list details p {
  max-width: 620px;
  padding: 0 30px 22px 0;
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.9;
}

.site-footer {
  padding: 55px 0 26px;
  color: var(--white);
  background: #092130;
}

.footer-main,
.footer-bottom {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 30px;
  align-items: center;
  padding-bottom: 42px;
}

.footer-brand .brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
}

.footer-main > p {
  margin: 0;
  color: rgba(255, 253, 248, 0.46);
  font-size: 12px;
}

.footer-main nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
  font-size: 12px;
}

.footer-main nav a {
  color: rgba(255, 253, 248, 0.7);
  transition: color 180ms ease;
}

.footer-main nav a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  gap: 18px;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  color: rgba(255, 253, 248, 0.36);
  font-size: 9px;
  letter-spacing: 0.08em;
  border-top: 1px solid rgba(255, 253, 248, 0.1);
}

.footer-bottom a {
  color: rgba(255, 253, 248, 0.58);
  transition: color 180ms ease;
}

.footer-bottom a:hover {
  color: var(--white);
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  display: flex;
  gap: 7px;
  align-items: center;
  padding: 11px 14px;
  color: var(--white);
  font-family: var(--body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  background: var(--ink);
  border: 1px solid rgba(255, 253, 248, 0.18);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(13, 41, 61, 0.22);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition:
    opacity 200ms ease,
    transform 200ms ease,
    background-color 200ms ease;
}

.back-to-top span:first-child {
  font-size: 15px;
  line-height: 1;
}

.back-to-top:hover {
  background: #173b54;
  transform: translateY(-2px);
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:focus-visible {
  outline: 2px solid var(--mint-bright);
  outline-offset: 3px;
}

@keyframes pulse {
  0% {
    opacity: 0.7;
    transform: scale(0.6);
  }
  70%,
  100% {
    opacity: 0;
    transform: scale(1.5);
  }
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-center {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes float-left {
  0%,
  100% {
    transform: rotate(-7deg) translateY(0);
  }
  50% {
    transform: rotate(-6.2deg) translateY(8px);
  }
}

@keyframes float-right {
  0%,
  100% {
    transform: rotate(7deg) translateY(0);
  }
  50% {
    transform: rotate(6.2deg) translateY(7px);
  }
}

@keyframes marquee {
  to {
    transform: translateX(calc(var(--marquee-shift, 50%) * -1));
  }
}

@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;
  }

  .reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

@media (max-width: 980px) {
  .site-header {
    padding: 20px 0;
  }

  .site-header.is-scrolled {
    padding-inline: 24px;
  }

  .nav-links {
    gap: 20px;
    margin-right: 22px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 30px;
    padding-bottom: 70px;
  }

  .hero-copy {
    max-width: 690px;
  }

  .hero-stage {
    width: min(100%, 680px);
    min-height: 620px;
    margin: 0 auto;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .section-heading > .eyebrow {
    margin-bottom: -10px;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature-large {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 360px;
  }

  .feature-wide {
    grid-column: 1 / -1;
  }

  .preview-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    max-width: 720px;
    margin: 0 auto;
  }

  .preview-card:nth-child(n) {
    transform: none;
  }

  .philosophy {
    grid-template-columns: 0.45fr 1fr;
    gap: 30px;
  }

  .philosophy-notes {
    grid-column: 2;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .download-inner {
    gap: 40px;
  }

  .faq-section {
    gap: 50px;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 15px;
    overflow-x: clip;
  }

  .section-shell,
  .site-header,
  .footer-main,
  .footer-bottom {
    width: calc(100% - 32px);
    max-width: var(--max);
  }

  .site-header {
    position: relative;
    z-index: 20;
    flex-wrap: wrap;
    gap: 14px;
    width: calc(100% - 32px);
  }

  .site-header.is-scrolled {
    position: sticky;
    width: 100%;
    padding-inline: 16px;
  }

  .brand {
    flex: 0 0 auto;
  }

  .nav-links {
    order: 3;
    flex: 0 0 100%;
    width: auto;
    gap: 20px;
    justify-content: space-between;
    margin: 0;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }

  .nav-links a {
    font-size: 12px;
  }

  .button-small {
    flex: 0 0 auto;
    margin-left: auto;
    padding: 8px 12px;
    gap: 7px;
    font-size: 11px;
  }

  .hero {
    min-height: auto;
    padding-top: 44px;
    padding-bottom: 68px;
    overflow: clip;
  }

  .title-break {
    display: block;
  }

  h1 {
    width: 100%;
    font-size: clamp(30px, 8.7vw, 40px);
    letter-spacing: -0.055em;
    overflow-wrap: anywhere;
  }

  h2 {
    font-size: clamp(29px, 8vw, 40px);
  }

  .hero-lede {
    font-size: 14px;
  }

  .hero-actions {
    gap: 18px;
  }

  .button-primary {
    padding: 13px 18px;
    font-size: 13px;
  }

  .text-link {
    font-size: 13px;
  }

  .hero-meta {
    gap: 9px;
    font-size: 10px;
  }

  .meta-divider {
    display: none;
  }

  .hero-meta span:not(.meta-divider) {
    padding: 4px 8px;
    background: rgba(255, 253, 248, 0.5);
    border-radius: 999px;
  }

  .hero-stage {
    width: 100%;
    min-height: 0;
    padding: 14px 0 18px;
    margin: 8px auto 0;
  }

  .hero {
    padding-bottom: 70px;
  }

  .intro {
    padding-top: 78px;
  }

  .stage-sun {
    width: min(78%, 390px);
  }

  .orbit-one {
    top: 5%;
    left: 2%;
    width: 96%;
  }

  .orbit-two {
    top: 14%;
    left: 14%;
    width: 72%;
  }

  .phone {
    padding: 5px;
    border-radius: 30px;
    box-shadow:
      0 24px 45px rgba(13, 41, 61, 0.24),
      0 7px 16px rgba(13, 41, 61, 0.16),
      inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  }

  .phone::after {
    inset: 3px;
    border-radius: 27px;
  }

  .phone-frame {
    border-radius: 25px;
  }

  .phone-speaker {
    top: 7px;
    height: 12px;
  }

  .phone-main {
    width: clamp(146px, 40vw, 250px);
  }

  .phone-left,
  .phone-right {
    top: 44px;
    width: clamp(118px, 31vw, 205px);
  }

  .phone-left {
    margin-right: -9.5%;
  }

  .phone-right {
    margin-left: -9.5%;
  }

  .marquee {
    width: 116%;
    margin-inline: -8%;
    transform: rotate(-2deg);
    padding: 12px 0;
  }

  .marquee-track {
    font-size: 11px;
  }

  .intro {
    padding-top: 86px;
    padding-bottom: 86px;
  }

  .section-heading {
    margin-bottom: 35px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .feature-large,
  .feature-wide {
    grid-column: auto;
    grid-row: auto;
    min-height: 0;
    padding: 28px;
    overflow-wrap: anywhere;
  }

  .section-heading > p:not(.eyebrow),
  .philosophy-copy > p:last-child,
  .faq-list details p {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .feature-large {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

  .feature-large .mini-schedule {
    align-self: stretch;
    transform: rotate(1deg);
  }

  .feature-wide {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }

  .library-stats {
    width: 100%;
  }

  .preview-section {
    padding: 82px 0 88px;
  }

  .preview-gallery {
    gap: 20px 12px;
  }

  .preview-card {
    padding: 5px;
    border-radius: 12px;
  }

  .preview-card img {
    border-radius: 8px;
  }

  .preview-card figcaption {
    padding: 8px 3px 3px;
    font-size: 9px;
  }

  .philosophy {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 88px;
    padding-bottom: 88px;
  }

  .philosophy-stamp {
    width: 145px;
    height: 145px;
  }

  .philosophy-notes {
    grid-column: auto;
  }

  .download-section {
    padding: 78px 0;
  }

  .download-inner {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .download-copy h2 {
    font-size: clamp(41px, 12vw, 55px);
  }

  .qr-card {
    align-self: flex-start;
    flex-direction: row;
    transform: rotate(-2deg);
  }

  .qr-card img {
    width: 110px;
    height: 110px;
  }

  .qr-card div {
    align-items: flex-start;
  }

  .faq-section {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 86px;
    padding-bottom: 86px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer-main nav {
    flex-wrap: wrap;
    gap: 18px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 7px;
    align-items: flex-start;
  }

  .back-to-top {
    right: 14px;
    bottom: 14px;
    padding: 10px;
    width: 42px;
    height: 42px;
    justify-content: center;
  }

  .back-to-top-label {
    display: none;
  }
}

@media (max-width: 380px) {
  .button {
    padding: 13px 17px;
    font-size: 13px;
  }

  .hero-stage {
    min-height: 0;
  }
}

/* Mobile homepage layout fixes. */
@media (max-width:980px) {
 .hero {
 grid-template-columns: minmax(0,1fr);
 min-width:0;
 overflow: clip;
 }

 .hero-copy,
 .hero-stage {
 min-width:0;
 max-width:100%;
 }

 .hero-stage {
 width: min(100%,680px);
 margin-inline: auto;
 overflow: clip;
 }

 .hero-stage .phone-main {
 width: clamp(126px,40vw,250px);
 }

 .hero-stage .phone-left,
 .hero-stage .phone-right {
 width: clamp(90px, calc(25vw - 10px),205px);
 }

 .hero-stage .phone-left {
 margin-right: -7%;
 }

 .hero-stage .phone-right {
 margin-left: -7%;
 }

 .hero-stage .stage-sun {
 width: min(80%,450px);
 }
}

.marquee {
 width: calc(100% - 2px);
 margin-inline:1px;
}
