@font-face {
  font-family: "DayDay Manrope";
  src: url("/assets/fonts/manrope.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --ink-950: #102220;
  --ink-900: #203735;
  --ink-700: #4e6764;
  --ink-500: #78908b;
  --ink-300: #b8c6c2;
  --paper: #f6f3eb;
  --paper-warm: #f2ece2;
  --surface: #f8f5ee;
  --raised: #fffcf7;
  --tint: #f4faf8;
  --mist: #e7f1ee;
  --jade: #5d7e79;
  --jade-deep: #375c57;
  --jade-dark: #274844;
  --jade-soft: #ddeae6;
  --celadon: #92b7b0;
  --celadon-soft: #e8f3f0;
  --accent: #9b433d;
  --accent-soft: #f1dfda;
  --gold: #b89a68;
  --border: #e3ddd1;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", serif;
  --sans: "DayDay Manrope", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --page-pad: clamp(24px, 5vw, 84px);
  --max: 1440px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  background: var(--paper);
}

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

body.menu-open {
  overflow: hidden;
}

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

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

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

button {
  color: inherit;
  font: inherit;
}

h1,
h2,
h3,
p,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: .02em;
}

::selection {
  color: var(--raised);
  background: var(--jade-deep);
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: #fff;
  background: var(--jade-dark);
  border-radius: 999px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  z-index: 100;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 86px;
  padding: 0 var(--page-pad);
  gap: 24px;
}

.site-header::after {
  position: absolute;
  right: var(--page-pad);
  bottom: 0;
  left: var(--page-pad);
  height: 1px;
  content: "";
  background: rgba(55, 92, 87, .16);
}

.site-header.header-solid {
  position: relative;
  background: rgba(246, 243, 235, .94);
}

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

.brand > img {
  border-radius: 12px;
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-copy strong {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .14em;
}

.brand-copy small {
  color: var(--ink-500);
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .28em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.6vw, 42px);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  margin-left: auto;
}

.language-switch {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  padding: 3px;
  background: rgba(255, 252, 247, .72);
  border: 1px solid rgba(55, 92, 87, .20);
  border-radius: 999px;
  box-shadow: 0 8px 28px rgba(39, 72, 68, .06);
}

.language-switch button {
  min-width: 42px;
  padding: 6px 10px;
  background: transparent;
  border: 0;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
}

.language-switch button[aria-pressed="true"] {
  color: #fff;
  background: var(--jade-deep);
}

.main-nav > a:not(.nav-download) {
  position: relative;
  padding-block: 8px;
}

.main-nav > a:not(.nav-download)::after {
  position: absolute;
  right: 50%;
  bottom: 3px;
  left: 50%;
  height: 1px;
  content: "";
  background: currentColor;
  transition: right .3s var(--ease), left .3s var(--ease);
}

.main-nav > a:not(.nav-download):hover::after,
.main-nav > a[aria-current="page"]::after {
  right: 0;
  left: 0;
}

.nav-download {
  padding: 10px 19px;
  color: #fff;
  background: var(--jade-deep);
  border-radius: 999px;
  transition: background-color .25s, transform .25s;
}

.nav-download:hover {
  background: var(--jade-dark);
  transform: translateY(-2px);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 12px 10px;
  background: transparent;
  border: 0;
}

.menu-button span {
  display: block;
  width: 100%;
  height: 1.5px;
  margin: 5px 0;
  background: var(--ink-950);
  transition: transform .25s, opacity .25s;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(440px, .82fr) minmax(0, 1.18fr);
  column-gap: clamp(32px, 3.5vw, 68px);
  align-items: center;
  min-height: 100svh;
  padding: clamp(126px, 13vh, 168px) var(--page-pad) clamp(68px, 8vh, 106px);
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 18%, rgba(146, 183, 176, .30), transparent 28%),
    radial-gradient(circle at 6% 94%, rgba(184, 154, 104, .11), transparent 28%),
    linear-gradient(115deg, #f8f4eb 0%, #eff6f3 54%, #dfecea 100%);
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  opacity: .24;
  background-image:
    repeating-linear-gradient(96deg, rgba(32, 55, 53, .03) 0, rgba(32, 55, 53, .03) 1px, transparent 1px, transparent 7px);
  mix-blend-mode: multiply;
}

.hero-orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(55, 92, 87, .14);
  border-radius: 50%;
}

.hero-orbit-one {
  top: -22vw;
  right: -9vw;
  width: 58vw;
  height: 58vw;
}

.hero-orbit-two {
  right: 16vw;
  bottom: -31vw;
  width: 48vw;
  height: 48vw;
}

.hero-copy {
  z-index: 2;
  min-width: 0;
  max-width: 610px;
  animation: hero-in .95s .1s both var(--ease);
}

.overline,
.section-kicker {
  color: var(--jade);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.hero h1 {
  margin-top: 26px;
}

.hero h1 span {
  display: block;
  font-size: clamp(58px, 5.8vw, 108px);
  line-height: .96;
  letter-spacing: .11em;
  white-space: nowrap;
}

.hero h1 small {
  display: block;
  max-width: 12em;
  margin-top: 30px;
  font-size: clamp(28px, 2.75vw, 50px);
  line-height: 1.3;
  letter-spacing: .04em;
}

.hero-intro {
  max-width: 32em;
  margin-top: 24px;
  color: var(--ink-700);
  font-family: var(--serif);
  font-size: clamp(16px, 1.3vw, 20px);
  letter-spacing: .06em;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 12px 24px;
  border: 0;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s, box-shadow .25s;
}

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

.button-primary {
  flex-direction: column;
  min-width: 210px;
  color: #fff;
  background: var(--jade-deep);
  box-shadow: 0 14px 34px rgba(39, 72, 68, .15);
}

.button-primary:hover {
  background: var(--jade-dark);
  box-shadow: 0 18px 44px rgba(39, 72, 68, .22);
}

.button small {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .08em;
  opacity: .74;
}

.button-accent {
  min-width: 168px;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 14px 32px rgba(155, 67, 61, .18);
}

.button-accent:hover {
  background: #853833;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-block: 8px;
  color: var(--jade-deep);
  font-size: 13px;
  font-weight: 700;
  border-bottom: 1px solid rgba(55, 92, 87, .36);
}

.text-link span {
  transition: transform .25s var(--ease);
}

.text-link:hover span {
  transform: translateX(5px);
}

.hero-visual {
  position: relative;
  min-width: 0;
  width: 100%;
  max-width: 980px;
  min-height: min(72vh, 780px);
  justify-self: end;
  animation: hero-visual-in 1.15s .2s both var(--ease);
}

.phone {
  position: absolute;
  overflow: hidden;
  background: var(--raised);
  border: clamp(5px, .6vw, 9px) solid rgba(255, 252, 247, .96);
  border-radius: clamp(28px, 3.2vw, 52px);
  box-shadow:
    0 32px 70px rgba(39, 72, 68, .18),
    inset 0 0 0 1px rgba(32, 55, 53, .10);
}

.phone img {
  width: 100%;
  max-width: none;
  height: auto;
}

.phone-screen {
  top: 50%;
  aspect-ratio: 1080 / 2400;
  opacity: 1;
  filter: none;
}

.phone-screen img {
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.phone-speaker {
  position: absolute;
  z-index: 2;
  top: 9px;
  left: 50%;
  width: 28%;
  height: 17px;
  background: var(--ink-950);
  border-radius: 0 0 12px 12px;
  transform: translateX(-50%);
}

.phone-left {
  z-index: 1;
  top: 53%;
  left: 1%;
  width: clamp(150px, 13vw, 270px);
  transform: translateY(-50%);
}

.phone-main {
  z-index: 3;
  top: 49%;
  left: 49%;
  width: clamp(200px, 17.3vw, 350px);
  transform: translate(-50%, -50%);
}

.phone-right {
  z-index: 2;
  top: 55%;
  right: 0;
  width: clamp(165px, 14.4vw, 295px);
  transform: translateY(-50%);
}

.visual-note {
  position: absolute;
  right: 0;
  bottom: 0;
  color: var(--ink-500);
  font-size: 10px;
  letter-spacing: .18em;
}

.hero-scroll {
  position: absolute;
  bottom: 24px;
  left: var(--page-pad);
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-500);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .18em;
}

.hero-scroll span {
  width: 38px;
  height: 1px;
  background: var(--ink-300);
}

.section-pad {
  padding: clamp(100px, 12vw, 190px) var(--page-pad);
}

.manifesto {
  position: relative;
  display: grid;
  grid-template-areas: "copy visual body";
  grid-template-columns: minmax(400px, 1fr) minmax(230px, .46fr) minmax(260px, .58fr);
  gap: clamp(34px, 5vw, 84px);
  align-items: center;
  min-height: 820px;
  max-width: var(--max);
  margin: auto;
}

.manifesto-mark {
  position: absolute;
  z-index: -1;
  top: 48%;
  left: 50%;
  color: rgba(93, 126, 121, .055);
  font-family: var(--serif);
  font-size: clamp(320px, 41vw, 620px);
  line-height: 1;
  transform: translate(-53%, -50%);
}

.manifesto h2,
.practice h2,
.ledger h2,
.privacy h2,
.faq h2,
.install h2,
.verify h2,
.download-help h2,
.support-contact h2 {
  margin-top: 24px;
  font-size: clamp(38px, 4.8vw, 72px);
  line-height: 1.35;
}

.manifesto-copy {
  grid-area: copy;
}

.manifesto-visual {
  position: relative;
  grid-area: visual;
  min-width: 0;
  padding-block: 36px 58px;
}

.manifesto-visual::before {
  position: absolute;
  z-index: -1;
  inset: 10% -34% 4%;
  content: "";
  background: radial-gradient(circle at 50% 42%, rgba(190, 219, 211, .54), rgba(226, 237, 232, .10) 64%, transparent 72%);
}

.manifesto-phone {
  position: relative;
  width: min(100%, 280px);
  aspect-ratio: 1080 / 2400;
  margin-inline: auto;
  transform: rotate(2deg);
}

.manifesto-phone img {
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.manifesto-caption {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
  color: var(--ink-500);
  font-size: 11px;
  letter-spacing: .08em;
}

.manifesto-caption b {
  color: var(--jade);
  font-size: 9px;
  letter-spacing: .18em;
  white-space: nowrap;
}

.manifesto-body {
  grid-area: body;
  max-width: 31em;
  padding-bottom: 10px;
  color: var(--ink-700);
  font-family: var(--serif);
  font-size: clamp(17px, 1.4vw, 21px);
}

.practice {
  overflow: hidden;
  background: var(--raised);
  border-block: 1px solid var(--border);
}

.practice-heading {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(280px, .58fr);
  max-width: var(--max);
  margin: 0 auto clamp(56px, 7vw, 96px);
}

.practice-heading .section-kicker,
.practice-heading h2 {
  grid-column: 1;
}

.practice-heading h2 {
  max-width: 720px;
}

.practice-heading > p:last-child {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  max-width: 29em;
  padding-bottom: 14px;
  color: var(--ink-500);
}

.practice-carousel {
  max-width: var(--max);
  margin: auto;
}

.practice-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  cursor: grab;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

.practice-viewport::-webkit-scrollbar {
  display: none;
}

.practice-viewport.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  user-select: none;
}

.practice-track {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
}

.practice-slide {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, .72fr) minmax(420px, 1.28fr);
  flex: 0 0 100%;
  gap: clamp(38px, 7vw, 110px);
  align-items: center;
  min-width: 100%;
  min-height: 720px;
  padding: clamp(42px, 5vw, 72px) clamp(26px, 5vw, 74px);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.practice-slide::before {
  position: absolute;
  z-index: 0;
  inset: 0 0 0 45%;
  content: "";
  background:
    radial-gradient(circle at 52% 46%, rgba(179, 212, 202, .42), transparent 48%),
    linear-gradient(135deg, rgba(235, 244, 240, .48), rgba(246, 243, 235, 0) 72%);
  pointer-events: none;
}

.practice-number,
.practice-en {
  color: var(--jade);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .22em;
}

.practice-slide-copy,
.practice-slide-visual {
  position: relative;
  z-index: 1;
}

.practice-slide-copy {
  padding-left: clamp(0px, 3vw, 40px);
}

.practice-slide-copy .practice-en {
  margin-top: 30px;
}

.practice-slide h3 {
  margin-top: 12px;
  font-size: clamp(40px, 4.6vw, 66px);
  line-height: 1.12;
}

.practice-slide-copy > p:last-of-type {
  max-width: 29em;
  margin-top: 24px;
  color: var(--ink-700);
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.9;
}

.practice-glyph {
  display: block;
  margin-top: 52px;
  color: var(--accent);
  font-family: var(--serif);
  font-size: clamp(66px, 8vw, 112px);
  line-height: .8;
  opacity: .76;
}

.practice-slide-visual {
  display: grid;
  min-height: 620px;
  place-items: center;
}

.practice-slide-visual::after {
  position: absolute;
  z-index: -1;
  width: min(48vw, 580px);
  aspect-ratio: 1;
  content: "";
  border: 1px solid rgba(93, 126, 121, .16);
  border-radius: 50%;
}

.practice-phone {
  position: relative;
  width: min(100%, 300px);
  height: 620px;
  transform: rotate(1.5deg);
  transition: opacity .45s var(--ease), transform .7s var(--ease);
}

.practice-phone img {
  height: 100%;
  object-fit: cover;
  object-position: top;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.practice-slide:nth-child(even) .practice-phone {
  transform: rotate(-1.7deg);
}

.practice-slide[aria-hidden="true"] .practice-phone {
  opacity: .62;
  transform: translateX(22px) rotate(0) scale(.95);
}

.practice-slide-visual > p {
  position: absolute;
  right: 0;
  bottom: 30px;
  max-width: 16em;
  padding: 10px 0 10px 20px;
  color: var(--ink-500);
  font-size: 12px;
  text-align: right;
  border-left: 1px solid var(--celadon);
}

.practice-controls {
  display: grid;
  grid-template-columns: 52px auto 1fr 52px;
  gap: 22px;
  align-items: center;
  padding-top: 28px;
}

.practice-arrow,
.practice-pagination button {
  color: var(--ink-950);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.practice-arrow {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  font-size: 21px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  transition: color .25s, background .25s, border-color .25s;
}

.practice-arrow:hover {
  color: var(--paper);
  background: var(--jade-deep);
  border-color: var(--jade-deep);
}

.practice-pagination {
  display: flex;
  gap: 20px;
  align-items: center;
}

.practice-pagination button {
  display: grid;
  grid-template-columns: auto minmax(18px, 46px);
  gap: 8px;
  align-items: center;
  padding: 8px 0;
  color: var(--ink-500);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
}

.practice-pagination i {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--border-strong);
  transition: background .25s, transform .25s;
  transform-origin: left;
}

.practice-pagination button[aria-selected="true"] {
  color: var(--jade-deep);
}

.practice-pagination button[aria-selected="true"] i {
  background: var(--jade-deep);
  transform: scaleY(3);
}

.practice-status {
  justify-self: end;
  color: var(--ink-500);
  font-size: 11px;
  letter-spacing: .16em;
}

.bazi-spotlight {
  padding: clamp(34px, 4vw, 68px);
  background: var(--paper);
}

.bazi-canvas {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(54px, 8vw, 130px);
  align-items: center;
  min-height: min(940px, calc(100svh - 42px));
  padding: clamp(76px, 9vw, 148px) clamp(42px, 8vw, 128px);
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 34%, rgba(146, 183, 176, .26), transparent 30%),
    linear-gradient(145deg, #f5f2e9 0%, #edf3ef 54%, #dceae6 100%);
  border: 1px solid rgba(93, 126, 121, .2);
  border-radius: clamp(28px, 3vw, 52px);
}

.bazi-canvas::before {
  position: absolute;
  top: -30%;
  right: -14%;
  width: min(58vw, 860px);
  aspect-ratio: 1;
  content: "";
  border: 1px solid rgba(55, 92, 87, .14);
  border-radius: 50%;
}

.bazi-copy {
  position: relative;
  z-index: 3;
  max-width: 620px;
}

.bazi-copy h2 {
  max-width: 11em;
  margin-top: 24px;
  font-size: clamp(43px, 5vw, 76px);
  line-height: 1.3;
}

.bazi-intro {
  max-width: 35em;
  margin-top: 25px;
  color: var(--ink-700);
  font-family: var(--serif);
  font-size: clamp(17px, 1.35vw, 20px);
}

.bazi-points {
  margin: 40px 0 0;
  border-top: 1px solid rgba(55, 92, 87, .26);
}

.bazi-points > div {
  display: grid;
  grid-template-columns: minmax(170px, .78fr) 1.22fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(55, 92, 87, .2);
}

.bazi-points dt {
  display: flex;
  gap: 13px;
  align-items: baseline;
}

.bazi-points dt span {
  color: var(--accent);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
}

.bazi-points dt b {
  color: var(--ink-950);
  font-size: 15px;
}

.bazi-points dd {
  color: var(--ink-700);
  font-size: 13px;
  line-height: 1.75;
}

.bazi-privacy {
  max-width: 43em;
  padding-left: 16px;
  margin-top: 28px;
  color: var(--jade-deep);
  border-left: 2px solid var(--celadon);
  font-size: 13px;
  font-weight: 700;
}

.bazi-boundary {
  max-width: 46em;
  margin-top: 12px;
  color: var(--ink-500);
  font-size: 12px;
}

.bazi-copy .text-link {
  margin-top: 28px;
}

.bazi-visual {
  position: relative;
  min-width: 0;
  min-height: 720px;
}

.bazi-visual::before,
.bazi-visual::after {
  position: absolute;
  top: 50%;
  left: 50%;
  aspect-ratio: 1;
  content: "";
  border: 1px solid rgba(55, 92, 87, .17);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.bazi-visual::before {
  width: min(43vw, 640px);
}

.bazi-visual::after {
  width: min(34vw, 500px);
}

.phone-bazi {
  z-index: 2;
  top: 50%;
  left: 52%;
  width: clamp(280px, 24vw, 380px);
  aspect-ratio: 945 / 2048;
  transform: translate(-50%, -50%) rotate(1.6deg);
}

.phone-bazi::before {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 50%;
  width: 28%;
  height: 18px;
  content: "";
  background: var(--ink-950);
  border-radius: 0 0 12px 12px;
  transform: translateX(-50%);
}

.phone-bazi img {
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.bazi-pillars {
  position: absolute;
  z-index: 1;
  top: 13%;
  left: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  padding: 11px;
  color: var(--jade-deep);
  background: rgba(255, 252, 247, .82);
  border: 1px solid rgba(93, 126, 121, .24);
  border-radius: 22px;
  box-shadow: 0 18px 42px rgba(39, 72, 68, .1);
  backdrop-filter: blur(14px);
}

.bazi-pillars span {
  display: grid;
  width: 37px;
  min-height: 86px;
  place-items: center;
  padding: 8px;
  background: var(--celadon-soft);
  border-radius: 13px;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.1;
  writing-mode: vertical-rl;
}

.bazi-caption {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 7%;
  display: grid;
  gap: 5px;
  color: var(--jade-deep);
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: .12em;
}

.bazi-caption b {
  color: var(--ink-500);
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: .24em;
}

.experience {
  padding: clamp(36px, 4vw, 66px);
  background: var(--jade-dark);
}

.experience-canvas {
  position: relative;
  display: grid;
  grid-template-columns: .84fr 1.16fr;
  align-items: center;
  min-height: min(860px, calc(100svh - 72px));
  padding: clamp(70px, 9vw, 140px) clamp(34px, 8vw, 120px);
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 76% 48%, rgba(164, 201, 192, .20), transparent 34%),
    linear-gradient(145deg, #203936 0%, #294e49 62%, #355f59 100%);
  border-radius: clamp(28px, 3vw, 48px);
}

.experience-canvas::before {
  position: absolute;
  right: -14%;
  bottom: -58%;
  width: 74%;
  aspect-ratio: 1;
  content: "";
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
}

.experience-copy {
  position: relative;
  z-index: 2;
  max-width: 550px;
}

.experience-copy .section-kicker {
  color: var(--celadon);
}

.experience-copy h2 {
  margin-top: 24px;
  font-size: clamp(45px, 5.5vw, 80px);
  line-height: 1.3;
}

.experience-copy > p:not(.section-kicker) {
  max-width: 28em;
  margin-top: 24px;
  color: rgba(234, 242, 238, .72);
  font-family: var(--serif);
  font-size: 18px;
}

.quiet-list {
  padding: 0;
  margin: 44px 0 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, .16);
}

.quiet-list li {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 16px 0;
  color: rgba(234, 242, 238, .86);
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  font-size: 13px;
}

.quiet-list span {
  color: var(--celadon);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
}

.experience-phone {
  position: relative;
  min-height: 630px;
}

.phone-detail {
  z-index: 2;
  top: 50%;
  left: 50%;
  width: clamp(260px, 24vw, 360px);
  aspect-ratio: 9 / 19;
  transform: translate(-42%, -50%) rotate(3deg);
}

.phone-detail img {
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.breath-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  aspect-ratio: 1;
  border: 1px solid rgba(164, 201, 192, .24);
  border-radius: 50%;
  transform: translate(-42%, -50%);
  animation: breathe 5s ease-in-out infinite;
}

.breath-ring-one {
  width: min(38vw, 560px);
}

.breath-ring-two {
  width: min(50vw, 720px);
  animation-delay: .8s;
}

.ledger {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(70px, 11vw, 170px);
  align-items: center;
  max-width: var(--max);
  margin: auto;
}

.ledger-copy > p:not(.section-kicker) {
  max-width: 30em;
  margin-top: 24px;
  color: var(--ink-700);
  font-family: var(--serif);
  font-size: 18px;
}

.ledger-copy .text-link {
  margin-top: 32px;
}

.ledger-visual {
  min-height: 460px;
  padding: clamp(36px, 5vw, 72px);
  color: var(--ink-950);
  background:
    linear-gradient(180deg, rgba(231, 241, 238, .86), rgba(255, 252, 247, .84));
  border: 1px solid rgba(146, 183, 176, .36);
  border-radius: 42px;
  box-shadow: 0 30px 70px rgba(39, 72, 68, .09);
}

.ledger-stat {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.ledger-stat span {
  color: var(--ink-500);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
}

.ledger-stat strong {
  font-family: var(--serif);
  font-size: clamp(54px, 6vw, 84px);
  font-weight: 500;
  line-height: 1;
}

.ledger-stat small {
  color: var(--ink-500);
  font-family: var(--sans);
  font-size: 13px;
}

.ledger-lines {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
  align-items: end;
  height: 218px;
  margin-top: 48px;
  border-bottom: 1px solid var(--ink-300);
}

.ledger-lines i {
  display: block;
  height: var(--height);
  background: linear-gradient(180deg, var(--celadon), var(--jade-deep));
  border-radius: 999px 999px 4px 4px;
  transform-origin: bottom;
  transition: transform .4s var(--ease), opacity .4s;
}

.ledger-lines i:last-child {
  opacity: .25;
  background: var(--ink-300);
}

.ledger-visual:hover .ledger-lines i {
  transform: scaleY(1.06);
}

.ledger-caption {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  color: var(--ink-500);
  font-size: 10px;
  letter-spacing: .12em;
}

.privacy {
  position: relative;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(70px, 10vw, 170px);
  overflow: hidden;
  color: #fff;
  background: #101816;
}

.privacy::after {
  position: absolute;
  right: -12vw;
  bottom: -26vw;
  width: 62vw;
  height: 62vw;
  content: "";
  border: 1px solid rgba(164, 201, 192, .10);
  border-radius: 50%;
}

.privacy-seal {
  position: absolute;
  top: 50%;
  left: 46%;
  color: rgba(164, 201, 192, .035);
  font-family: var(--serif);
  font-size: clamp(300px, 38vw, 570px);
  line-height: 1;
  transform: translate(-50%, -50%);
}

.privacy-copy,
.privacy-points {
  position: relative;
  z-index: 1;
}

.privacy .section-kicker {
  color: var(--celadon);
}

.privacy-copy > p:not(.section-kicker) {
  max-width: 33em;
  margin-top: 24px;
  color: var(--ink-300);
}

.privacy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin-top: 36px;
}

.privacy-links a {
  padding-bottom: 4px;
  border-bottom: 1px solid var(--celadon);
  font-size: 13px;
}

.privacy-points {
  margin: 0;
  border-top: 1px solid rgba(184, 198, 194, .18);
}

.privacy-points div {
  padding: 30px 0;
  border-bottom: 1px solid rgba(184, 198, 194, .18);
}

.privacy-points dt {
  font-family: var(--serif);
  font-size: 28px;
}

.privacy-points dd {
  max-width: 34em;
  margin-top: 8px;
  color: var(--ink-300);
  font-size: 14px;
}

.download-banner {
  position: relative;
  isolation: isolate;
  min-height: min(820px, 92svh);
  display: grid;
  place-items: center;
  padding: 110px var(--page-pad);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 252, 247, .92), transparent 24%),
    linear-gradient(180deg, #eef6f3 0%, #f8f5ee 78%);
}

.download-banner-copy {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  text-align: center;
}

.download-banner-copy > img {
  margin-bottom: 32px;
  border-radius: 24px;
  box-shadow: 0 18px 48px rgba(39, 72, 68, .16);
}

.download-banner h2 {
  margin-top: 22px;
  font-size: clamp(46px, 6.7vw, 94px);
  line-height: 1.25;
}

.download-banner-copy > p:not(.section-kicker) {
  margin-top: 22px;
  color: var(--ink-500);
  font-size: 13px;
  letter-spacing: .08em;
}

.download-banner .button {
  margin-top: 32px;
}

.download-landscape {
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 0;
  left: 0;
  height: 38%;
}

.download-landscape i {
  position: absolute;
  right: -10%;
  bottom: -54%;
  left: -10%;
  height: 100%;
  background: rgba(146, 183, 176, .16);
  border-radius: 50% 50% 0 0;
  transform: rotate(-4deg);
}

.download-landscape i:nth-child(2) {
  bottom: -70%;
  background: rgba(93, 126, 121, .18);
  transform: rotate(5deg);
}

.download-landscape i:nth-child(3) {
  bottom: -84%;
  background: rgba(55, 92, 87, .16);
  transform: rotate(-1deg);
}

.faq {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: clamp(60px, 11vw, 170px);
  max-width: var(--max);
  margin: auto;
}

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

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

.faq summary {
  position: relative;
  padding: 28px 52px 28px 0;
  font-family: var(--serif);
  font-size: 21px;
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  position: absolute;
  top: 50%;
  right: 5px;
  content: "＋";
  color: var(--jade);
  font-family: var(--sans);
  font-size: 23px;
  font-weight: 300;
  transform: translateY(-50%);
  transition: transform .3s var(--ease);
}

.faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq details p {
  max-width: 46em;
  padding: 0 50px 30px 0;
  color: var(--ink-700);
  font-size: 14px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 56px;
  padding: 76px var(--page-pad) 30px;
  color: var(--ink-300);
  background: var(--ink-950);
}

.site-footer .brand-copy strong {
  color: #fff;
}

.site-footer .brand-copy small,
.site-footer p,
.site-footer span {
  color: var(--ink-300);
}

.footer-brand p {
  margin-top: 20px;
  font-family: var(--serif);
}

.site-footer nav,
.footer-contact {
  display: grid;
  align-content: start;
  gap: 10px;
  font-size: 13px;
}

.site-footer nav strong,
.footer-contact strong {
  margin-bottom: 10px;
  color: #fff;
  font-size: 11px;
  letter-spacing: .14em;
}

.site-footer nav a,
.footer-contact a {
  transition: color .2s;
}

.site-footer nav a:hover,
.footer-contact a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  grid-column: 1 / -1;
  justify-content: space-between;
  padding-top: 28px;
  margin-top: 30px;
  border-top: 1px solid rgba(184, 198, 194, .16);
  font-size: 10px;
  letter-spacing: .08em;
}

.footer-compact {
  grid-template-columns: 1fr auto;
  align-items: center;
  padding-top: 50px;
}

.footer-compact nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}

.footer-compact .footer-bottom {
  grid-column: 1 / -1;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(32px);
}

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

/* Download page */
.download-page,
.utility-page {
  background:
    radial-gradient(circle at 88% 9%, rgba(146, 183, 176, .22), transparent 24%),
    var(--paper);
}

.download-hero {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: clamp(60px, 10vw, 150px);
  align-items: center;
  min-height: calc(100svh - 86px);
  padding: clamp(84px, 10vw, 150px) var(--page-pad);
  overflow: hidden;
}

.download-copy {
  max-width: 620px;
}

.download-title-row {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-top: 24px;
}

.download-title-row img {
  width: clamp(94px, 10vw, 156px);
  border-radius: 28%;
  box-shadow: 0 22px 60px rgba(39, 72, 68, .16);
}

.download-title-row h1 {
  font-size: clamp(48px, 6.2vw, 88px);
  line-height: 1;
  letter-spacing: .10em;
  white-space: nowrap;
}

.download-title-row p {
  margin-top: 14px;
  color: var(--ink-700);
  font-family: var(--serif);
  font-size: 17px;
}

.platform-tabs {
  display: flex;
  gap: 10px;
  margin-top: 42px;
}

.platform-tabs button {
  min-width: 124px;
  padding: 10px 18px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12px;
}

.platform-tabs button[aria-selected="true"] {
  color: #fff;
  background: var(--jade-deep);
  border-color: var(--jade-deep);
}

.platform-tabs button:disabled {
  color: var(--ink-500);
  cursor: not-allowed;
}

.download-button {
  width: min(100%, 330px);
  margin-top: 20px;
}

.download-device-note {
  margin-top: 15px;
  color: var(--ink-500);
  font-size: 12px;
}

.version-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}

.version-facts div {
  display: grid;
  gap: 5px;
}

.version-facts dt {
  color: var(--ink-500);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
}

.version-facts dd {
  color: var(--ink-900);
  font-family: var(--serif);
  font-size: 13px;
}

.download-visual {
  position: relative;
  min-height: 660px;
}

.download-visual::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(46vw, 650px);
  aspect-ratio: 1;
  content: "";
  background: rgba(146, 183, 176, .16);
  border-radius: 50%;
  transform: translate(-45%, -50%);
}

.download-phone {
  z-index: 2;
  top: 50%;
  left: 53%;
  width: clamp(260px, 25vw, 370px);
  aspect-ratio: 1080 / 2400;
  transform: translate(-50%, -50%) rotate(3deg);
}

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

.qr-panel {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 9%;
  display: grid;
  justify-items: center;
  width: 260px;
  padding: 22px 22px 18px;
  background: rgba(255, 252, 247, .96);
  border: 1px solid var(--border);
  border-radius: 30px;
  box-shadow: 0 22px 60px rgba(39, 72, 68, .16);
}

.qr-panel img {
  width: 184px;
}

.qr-panel strong {
  margin-top: 10px;
  font-family: var(--serif);
}

.qr-panel span {
  margin-top: 2px;
  color: var(--ink-500);
  font-size: 10px;
  letter-spacing: .08em;
}

.install {
  background: var(--raised);
  border-block: 1px solid var(--border);
}

.install-heading {
  max-width: 760px;
}

.install-heading > p:last-child {
  margin-top: 20px;
  color: var(--ink-700);
}

.install-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 0;
  margin: 70px 0 0;
  list-style: none;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.install-steps li {
  min-height: 260px;
  padding: 34px clamp(22px, 4vw, 56px) 38px 0;
  border-right: 1px solid var(--border);
}

.install-steps li + li {
  padding-left: clamp(22px, 4vw, 56px);
}

.install-steps li:last-child {
  border-right: 0;
}

.install-steps > li > span {
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
}

.install-steps h3 {
  margin-top: 50px;
  font-size: 27px;
}

.install-steps p {
  margin-top: 12px;
  color: var(--ink-500);
  font-size: 14px;
}

.verify {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(60px, 10vw, 150px);
  align-items: end;
}

.verify > div:first-child > p:last-child {
  max-width: 30em;
  margin-top: 22px;
  color: var(--ink-700);
}

.hash-panel {
  padding: clamp(28px, 4vw, 52px);
  background: var(--ink-950);
  border-radius: 32px;
}

.hash-panel code {
  display: block;
  color: var(--celadon);
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 13px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.domain-seal {
  display: grid;
  min-height: 220px;
  place-content: center;
  padding: 34px;
  color: var(--celadon-soft);
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(146, 183, 176, .24), transparent 58%),
    var(--ink-950);
  border-radius: 32px;
}

.domain-seal span,
.domain-seal small {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .36em;
}

.domain-seal strong {
  margin: 4px 0;
  font-family: var(--serif);
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: .08em;
}

.copy-button {
  margin-top: 20px;
  padding: 9px 16px;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(164, 201, 192, .34);
  border-radius: 999px;
  font-size: 11px;
  cursor: pointer;
}

.download-help {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  color: #fff;
  background: var(--jade-deep);
}

.download-help .section-kicker {
  color: var(--celadon);
}

.download-help > div:last-child {
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, .18);
}

.download-help > div:last-child a {
  display: flex;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}

.toast {
  position: fixed;
  z-index: 500;
  right: 24px;
  bottom: 24px;
  padding: 12px 18px;
  color: #fff;
  background: var(--ink-950);
  border-radius: 999px;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .25s, transform .25s;
}

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

/* Support, status, and utility pages */
.utility-main {
  padding: clamp(84px, 10vw, 150px) var(--page-pad);
}

.utility-hero {
  display: grid;
  grid-template-columns: 1fr .8fr;
  column-gap: 10vw;
  align-items: end;
  max-width: var(--max);
  margin: auto;
  padding-bottom: 86px;
}

.utility-hero .section-kicker,
.utility-hero h1 {
  grid-column: 1;
}

.utility-hero h1 {
  margin-top: 22px;
  font-size: clamp(54px, 7vw, 100px);
  line-height: 1.18;
}

.utility-hero > p:not(.section-kicker) {
  grid-column: 2;
  grid-row: 1 / span 2;
  max-width: 32em;
  align-self: center;
  color: var(--ink-700);
  font-family: var(--serif);
  font-size: 18px;
}

.utility-hero .button {
  grid-column: 2;
  justify-self: start;
  margin-top: 28px;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: var(--max);
  margin: auto;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.support-grid article {
  min-height: 310px;
  padding: clamp(30px, 5vw, 68px);
  background: rgba(255, 252, 247, .56);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.support-grid article > span {
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
}

.support-grid h2 {
  margin-top: 44px;
  font-size: 32px;
}

.support-grid p {
  max-width: 34em;
  margin-top: 14px;
  color: var(--ink-700);
  font-size: 14px;
}

.support-grid a {
  display: inline-block;
  padding-bottom: 4px;
  margin-top: 24px;
  color: var(--jade-deep);
  border-bottom: 1px solid var(--celadon);
  font-size: 13px;
  font-weight: 700;
}

.support-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  max-width: var(--max);
  padding: 90px 0 0;
  margin: auto;
}

.support-contact h2 {
  font-family: var(--sans);
  font-size: clamp(24px, 3vw, 42px);
  overflow-wrap: anywhere;
}

.support-contact > p {
  max-width: 36em;
  align-self: end;
  color: var(--ink-700);
}

.status-page {
  min-height: 100svh;
  background:
    radial-gradient(circle at 50% 38%, rgba(146, 183, 176, .24), transparent 30%),
    var(--paper);
}

.status-language {
  position: absolute;
  z-index: 10;
  top: 32px;
  right: 34px;
}

html[lang="en"] .brand-copy strong,
html[lang="en"] h1,
html[lang="en"] h2,
html[lang="en"] h3 {
  letter-spacing: .01em;
}

html[lang="en"] .hero h1 span,
html[lang="en"] .download-title-row h1 {
  white-space: normal;
}

.status-shell {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 110px 24px 72px;
}

.status-brand {
  position: absolute;
  top: 30px;
  left: 34px;
}

.status-card {
  width: min(100%, 640px);
  padding: clamp(42px, 7vw, 84px);
  text-align: center;
  background: rgba(255, 252, 247, .88);
  border: 1px solid var(--border);
  border-radius: 40px;
  box-shadow: 0 30px 80px rgba(39, 72, 68, .10);
}

.status-symbol {
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  margin: 0 auto 30px;
  font-family: var(--serif);
  font-size: 28px;
  border: 1px solid var(--celadon);
  border-radius: 50%;
}

.status-success {
  color: var(--jade-deep);
  background: var(--celadon-soft);
}

.status-cancelled {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: rgba(155, 67, 61, .22);
}

.status-card h1 {
  margin-top: 14px;
  font-size: clamp(42px, 6vw, 66px);
}

.status-card > p:not(.section-kicker) {
  max-width: 34em;
  margin: 18px auto 0;
  color: var(--ink-700);
}

.status-actions {
  display: flex;
  justify-content: center;
  gap: 24px;
  align-items: center;
  margin-top: 34px;
}

.status-card > small {
  display: block;
  margin-top: 28px;
  color: var(--ink-500);
}

@keyframes hero-in {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-visual-in {
  from { opacity: 0; transform: translateX(36px) scale(.96); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes phone-float {
  0%, 100% { transform: translate(-48%, -48%) rotate(-1.4deg); }
  50% { transform: translate(-48%, calc(-48% - 12px)) rotate(.2deg); }
}

@keyframes breathe {
  0%, 100% { opacity: .34; transform: translate(-42%, -50%) scale(.92); }
  50% { opacity: .9; transform: translate(-42%, -50%) scale(1.05); }
}

@media (max-width: 1190px) {
  .hero {
    display: block;
    min-height: auto;
    padding-bottom: 92px;
  }

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

  .hero h1 span {
    font-size: clamp(56px, 7.8vw, 80px);
  }

  .hero-visual {
    width: min(100%, 940px);
    min-height: 720px;
    margin: 42px auto 0;
  }

  .phone-left {
    width: clamp(190px, 20vw, 230px);
  }

  .phone-main {
    width: clamp(240px, 24vw, 280px);
  }

  .phone-right {
    width: clamp(205px, 21.5vw, 245px);
  }

  .manifesto {
    grid-template-areas:
      "copy visual"
      "body visual";
    grid-template-columns: minmax(390px, 1fr) minmax(240px, .52fr);
  }

  .practice-slide {
    grid-template-columns: minmax(280px, .8fr) minmax(370px, 1.2fr);
  }

  .download-hero {
    gap: 50px;
  }

  .qr-panel {
    right: -5%;
  }
}

@media (max-width: 820px) {
  :root {
    --page-pad: 24px;
  }

  .site-header {
    height: 74px;
  }

  .site-header::after {
    right: 24px;
    left: 24px;
  }

  .brand > img {
    width: 40px;
    height: 40px;
  }

  .brand-copy strong {
    font-size: 15px;
  }

  .menu-button {
    z-index: 102;
    display: block;
  }

  .site-header .language-switch {
    margin-left: auto;
  }

  .menu-open .menu-button span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }

  .menu-open .menu-button span:nth-child(2) {
    opacity: 0;
  }

  .menu-open .menu-button span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    z-index: 101;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 22px;
    margin-left: 0;
    padding: 100px 24px 60px;
    background: rgba(246, 243, 235, .98);
    backdrop-filter: blur(18px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-18px);
    transition: opacity .3s, transform .3s var(--ease);
  }

  .menu-open .main-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav > a {
    font-family: var(--serif);
    font-size: 24px;
  }

  .nav-download {
    margin-top: 10px;
    font-family: var(--sans) !important;
    font-size: 14px !important;
  }

  .hero {
    display: block;
    min-height: auto;
    padding: 118px 24px 74px;
  }

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

  .hero h1 span {
    font-size: clamp(53px, 15vw, 78px);
    white-space: normal;
  }

  .hero h1 small {
    margin-top: 24px;
    font-size: clamp(30px, 8.2vw, 44px);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    margin-top: 30px;
  }

  .hero-visual {
    min-height: 760px;
    margin-top: 26px;
  }

  .phone-main {
    top: 0;
    width: min(68vw, 330px);
    transform: translateX(-50%);
  }

  .phone-left,
  .phone-right {
    display: none;
  }

  .visual-note,
  .hero-scroll {
    display: none;
  }

  .manifesto {
    grid-template-areas:
      "copy visual"
      "body visual";
    grid-template-columns: minmax(0, 1fr) minmax(220px, .7fr);
    gap: 42px;
    min-height: auto;
  }

  .manifesto-body {
    max-width: 38em;
  }

  .manifesto-phone {
    width: min(100%, 250px);
  }

  .practice-heading {
    display: block;
  }

  .practice-heading > p:last-child {
    max-width: 38em;
    margin-top: 24px;
    padding-bottom: 0;
  }

  .practice-slide {
    grid-template-columns: minmax(230px, .8fr) minmax(290px, 1.2fr);
    gap: 24px;
    min-height: 650px;
    padding-inline: 24px;
  }

  .practice-slide-copy {
    padding-left: 0;
  }

  .practice-slide-visual {
    min-height: 560px;
  }

  .practice-phone {
    width: min(100%, 260px);
    height: 560px;
  }

  .practice-slide-visual > p {
    display: none;
  }

  .practice-controls {
    grid-template-columns: 46px auto 1fr 46px;
    gap: 14px;
  }

  .practice-arrow {
    width: 46px;
    height: 46px;
  }

  .bazi-spotlight {
    padding: 16px;
  }

  .bazi-canvas {
    grid-template-columns: 1fr;
    gap: 26px;
    min-height: auto;
    padding: 72px 28px;
  }

  .bazi-copy {
    max-width: 620px;
  }

  .bazi-visual {
    min-height: 720px;
    margin-top: 18px;
  }

  .phone-bazi {
    left: 50%;
    width: min(68vw, 340px);
    transform: translate(-50%, -50%) rotate(1.2deg);
  }

  .bazi-visual::before {
    width: 86vw;
  }

  .bazi-visual::after {
    width: 68vw;
  }

  .bazi-pillars {
    display: none;
  }

  .experience {
    padding: 16px;
  }

  .experience-canvas {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 72px 28px;
  }

  .experience-phone {
    min-height: 610px;
    margin-top: 42px;
  }

  .phone-detail {
    width: min(72vw, 340px);
    transform: translate(-50%, -50%) rotate(2deg);
  }

  .breath-ring {
    transform: translate(-50%, -50%);
  }

  .breath-ring-one {
    width: 86vw;
  }

  .breath-ring-two {
    width: 112vw;
  }

  .ledger,
  .privacy,
  .faq,
  .verify {
    grid-template-columns: 1fr;
  }

  .ledger-visual {
    min-height: 390px;
  }

  .privacy-seal {
    left: 50%;
  }

  .faq {
    gap: 54px;
  }

  .download-banner {
    min-height: 740px;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand,
  .footer-contact {
    grid-column: span 2;
  }

  .footer-compact {
    grid-template-columns: 1fr;
  }

  .footer-compact nav {
    margin-top: 28px;
  }

  .download-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .download-visual {
    min-height: 650px;
  }

  .download-title-row h1 {
    font-size: clamp(43px, 11vw, 72px);
  }

  .install-steps {
    grid-template-columns: 1fr;
  }

  .install-steps li,
  .install-steps li + li {
    min-height: auto;
    padding: 30px 0;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .install-steps li:last-child {
    border-bottom: 0;
  }

  .install-steps h3 {
    margin-top: 20px;
  }

  .download-help {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .utility-hero {
    grid-template-columns: 1fr;
  }

  .utility-hero .section-kicker,
  .utility-hero h1,
  .utility-hero > p:not(.section-kicker),
  .utility-hero .button {
    grid-column: 1;
    grid-row: auto;
  }

  .utility-hero > p:not(.section-kicker) {
    margin-top: 28px;
  }

  .support-contact {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 540px) {
  .brand-copy strong {
    letter-spacing: .08em;
  }

  .section-pad {
    padding-block: 88px;
  }

  .hero {
    padding-top: 108px;
  }

  .hero h1 span {
    font-size: 53px;
    letter-spacing: .08em;
  }

  .hero-intro {
    font-size: 16px;
  }

  .hero-visual {
    min-height: 650px;
    margin-inline: -12px;
  }

  .phone-main {
    width: min(72vw, 300px);
  }

  .manifesto {
    grid-template-areas:
      "copy"
      "visual"
      "body";
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .manifesto-visual {
    width: min(100%, 330px);
    margin-inline: auto;
  }

  .manifesto-phone {
    width: min(72vw, 260px);
  }

  .manifesto h2,
  .practice h2,
  .ledger h2,
  .privacy h2,
  .faq h2,
  .install h2,
  .verify h2,
  .download-help h2 {
    font-size: 38px;
  }

  .practice-slide {
    grid-template-columns: 1fr;
    gap: 18px;
    min-height: auto;
    padding: 44px 18px 36px;
  }

  .practice-glyph {
    position: absolute;
    top: 4px;
    right: 0;
    margin-top: 0;
    font-size: 66px;
    opacity: .3;
  }

  .practice-slide h3 {
    font-size: 38px;
  }

  .practice-slide-copy > p:last-of-type {
    margin-top: 16px;
    font-size: 15px;
  }

  .practice-slide-visual {
    min-height: 520px;
  }

  .practice-phone {
    width: min(70vw, 250px);
    height: 520px;
  }

  .practice-slide::before {
    inset: 42% -20% 0;
  }

  .practice-controls {
    grid-template-columns: 42px 1fr auto 42px;
    gap: 10px;
    padding-top: 20px;
  }

  .practice-arrow {
    width: 42px;
    height: 42px;
  }

  .practice-pagination {
    justify-content: center;
    gap: 12px;
  }

  .practice-pagination button {
    grid-template-columns: auto;
  }

  .practice-pagination i {
    display: none;
  }

  .practice-status {
    display: none;
  }

  .experience-copy h2 {
    font-size: 42px;
  }

  .bazi-copy h2 {
    font-size: 40px;
  }

  .bazi-points > div {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .bazi-visual {
    min-height: 620px;
  }

  .phone-bazi {
    width: min(72vw, 300px);
  }

  .bazi-pillars {
    top: 10%;
    transform: scale(.82);
    transform-origin: top left;
  }

  .bazi-caption {
    display: none;
  }

  .experience-phone {
    min-height: 535px;
  }

  .ledger-visual {
    min-height: 340px;
    padding: 28px;
    border-radius: 30px;
  }

  .ledger-lines {
    gap: 9px;
    height: 170px;
    margin-top: 38px;
  }

  .privacy {
    gap: 54px;
  }

  .privacy-points dt {
    font-size: 24px;
  }

  .download-banner {
    min-height: 680px;
  }

  .faq summary {
    font-size: 18px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .footer-brand,
  .footer-contact {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }

  .download-hero {
    padding-block: 72px 90px;
  }

  .download-title-row {
    align-items: flex-start;
    gap: 18px;
  }

  .download-title-row img {
    width: 78px;
    border-radius: 22px;
  }

  .download-title-row h1 {
    font-size: 42px;
    white-space: normal;
  }

  .download-title-row p {
    font-size: 13px;
  }

  .version-facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .download-visual {
    min-height: 560px;
  }

  .download-phone {
    left: 42%;
    width: min(70vw, 320px);
  }

  .qr-panel {
    right: -8px;
    bottom: 4%;
    width: 180px;
    padding: 16px;
    border-radius: 22px;
  }

  .qr-panel img {
    width: 130px;
  }

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

  .utility-hero h1 {
    font-size: 52px;
  }

  .status-brand {
    top: 24px;
    left: 24px;
  }

  .status-language {
    top: 24px;
    right: 24px;
  }

  .status-card {
    padding: 42px 24px;
    border-radius: 28px;
  }

  .status-actions {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .site-header {
    gap: 10px;
    padding-inline: 16px;
  }

  .site-header::after {
    right: 16px;
    left: 16px;
  }

  .site-header .brand {
    gap: 8px;
  }

  .site-header .brand > img {
    width: 36px;
    height: 36px;
  }

  .site-header .brand-copy strong {
    font-size: 13px;
    letter-spacing: .04em;
    white-space: nowrap;
  }

  .site-header .brand-copy small {
    font-size: 6px;
    letter-spacing: .16em;
  }

  .site-header .language-switch button {
    min-width: 35px;
    padding: 5px 7px;
  }

  .site-header .menu-button {
    width: 40px;
    padding-inline: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .reveal,
  .reveal-ready .reveal {
    opacity: 1;
    transform: none;
  }
}
