:root {
  --ink: #07131d;
  --ink-soft: #112432;
  --deep: #04101a;
  --night: #071b2a;
  --paper: #e8e0d2;
  --paper-bright: #f4eee4;
  --mist: #b9c4c5;
  --copper: #d28b62;
  --copper-bright: #f0aa7b;
  --line-light: rgba(238, 231, 218, .22);
  --line-dark: rgba(7, 19, 29, .16);
  --display: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --sans: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  --shell: min(1180px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

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

button,
input,
textarea {
  font: inherit;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  background: var(--paper-bright);
  color: var(--ink);
  transform: translateY(-160%);
  transition: transform .2s;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: absolute;
  top: max(14px, env(safe-area-inset-top));
  left: 50%;
  z-index: 50;
  width: min(calc(100% - 28px), 1360px);
  color: #f3f1ff;
  transform: translateX(-50%);
  user-select: none;
}

.site-header__surface {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 62px;
  padding: 7px 8px 7px 18px;
  border: 1px solid rgba(222, 218, 255, .14);
  border-radius: 18px;
  background: rgba(6, 7, 18, .56);
  box-shadow:
    0 14px 44px rgba(0, 0, 0, .28),
    inset 0 1px 0 rgba(255, 255, 255, .035);
  -webkit-backdrop-filter: blur(20px) saturate(135%);
  backdrop-filter: blur(20px) saturate(135%);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.site-brand__mark {
  position: relative;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border: 1px solid rgba(209, 205, 255, .42);
  border-radius: 50%;
  background: radial-gradient(
    circle at 38% 35%,
    #f2f0ff 0 7%,
    #8c83ee 9% 24%,
    #292052 55%,
    #0b0917 76%
  );
  box-shadow: 0 0 18px rgba(130, 118, 238, .28);
}

.site-brand__mark::after {
  content: "";
  position: absolute;
  inset: 3px 2px 3px 7px;
  border-radius: 50%;
  background: #090a16;
  transform: rotate(-18deg);
}

.site-brand__name {
  font-family: var(--display);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: .015em;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .24em;
  text-decoration: none;
}

.wordmark-dot {
  width: 10px;
  height: 10px;
  border: 1px solid currentColor;
  border-radius: 50%;
  box-shadow: inset 0 -4px 0 var(--copper);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 1.8vw, 28px);
  padding: 0 26px;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
  color: rgba(231, 229, 250, .66);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .018em;
  text-decoration: none;
  white-space: nowrap;
  transition: color .22s ease, text-shadow .22s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(174, 165, 255, .9),
    transparent
  );
  opacity: 0;
  transform: scaleX(.45);
  transform-origin: center;
  transition: opacity .2s ease, transform .2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #fff;
  text-shadow: 0 0 14px rgba(164, 153, 255, .76);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.site-header__actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
}

.site-header__cta {
  width: 178px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid rgba(255, 213, 180, .42);
  border-radius: 12px;
  color: var(--ink);
  background: linear-gradient(
    135deg,
    rgba(240, 170, 123, .98),
    rgba(210, 139, 98, .96)
  );
  box-shadow:
    0 10px 28px rgba(91, 43, 22, .24),
    inset 0 1px 0 rgba(255, 242, 226, .34);
  font-size: 12px;
  font-weight: 720;
  letter-spacing: .055em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    border-color .2s ease,
    background .2s ease,
    transform .2s ease;
}

.site-header__cta:hover,
.site-header__cta:focus-visible {
  border-color: rgba(255, 231, 207, .66);
  background: linear-gradient(
    135deg,
    #ffc295,
    #efa071
  );
  transform: translateY(-1px);
}

.site-header__cta:focus-visible {
  outline-color: rgba(240, 170, 123, .92);
}

.site-menu-toggle {
  display: none;
}

.locale-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(222, 218, 255, .14);
  border-radius: 999px;
  background: rgba(6, 7, 18, .42);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.locale-button {
  width: 44px;
  min-width: 44px;
  height: 27px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(244, 238, 228, .64);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.locale-button.is-active {
  background: #f3f1ff;
  color: #090a16;
}

.site-brand:focus-visible,
.site-nav a:focus-visible,
.site-header__cta:focus-visible,
.site-menu-toggle:focus-visible {
  outline: 1px solid rgba(200, 194, 255, .82);
  outline-offset: 3px;
}

.hero {
  position: relative;
  min-height: 760px;
  height: 100svh;
  max-height: 1100px;
  overflow: hidden;
  background: #06131e;
  color: var(--paper-bright);
}

#water-canvas,
.water-fallback,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#water-canvas {
  display: block;
  touch-action: pan-y;
  user-select: none;
}

.water-fallback {
  z-index: 0;
  background:
    radial-gradient(circle at 34% 31%, rgba(245, 220, 174, .65) 0 1.5%, transparent 1.8%),
    linear-gradient(to bottom, #07111d 0, #0c2435 42%, #1b3b46 43%, #08212c 62%, #04131d 100%);
}

.webgl-ready .water-fallback {
  display: none;
}

.hero-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(2, 8, 14, .46) 0%, rgba(2, 8, 14, .16) 45%, rgba(2, 8, 14, 0) 73%),
    linear-gradient(0deg, rgba(2, 8, 14, .24), transparent 42%);
  pointer-events: none;
}

.hero-content {
  position: absolute;
  z-index: 2;
  left: max(24px, calc((100vw - 1180px) / 2));
  top: 50%;
  width: min(650px, calc(100vw - 48px));
  transform: translateY(-46%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 24px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--copper-bright);
}

.hero h1 {
  max-width: 650px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(72px, 8.5vw, 134px);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .78;
}

.hero-copy {
  max-width: 440px;
  margin: 38px 0 0;
  color: rgba(244, 238, 228, .78);
  font-family: var(--display);
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.35;
}

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

.button {
  min-height: 51px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 25px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s, background-color .2s, border-color .2s;
}

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

.button-primary {
  background: var(--copper-bright);
  color: var(--ink);
}

.button-primary:hover {
  background: #ffc295;
}

.button-ink {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper-bright);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(244, 238, 228, .8);
  font-size: 12px;
  text-underline-offset: 5px;
}

.hero-foot {
  position: absolute;
  z-index: 2;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 35px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(244, 238, 228, .58);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero-foot-line {
  width: 52px;
  height: 1px;
  background: var(--line-light);
}

.section-shell {
  width: var(--shell);
  margin: 0 auto;
}

.intro {
  padding-top: clamp(100px, 13vw, 190px);
  padding-bottom: clamp(110px, 14vw, 200px);
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  column-gap: 9vw;
}

.section-kicker {
  color: #9d5d3d;
}

.intro h2,
.voices h2,
.closing h2,
.capture-intro h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .98;
}

.intro h2 {
  max-width: 690px;
  font-size: clamp(54px, 7vw, 94px);
}

.intro-copy {
  padding-top: 44px;
}

.intro-copy p {
  margin: 0;
  color: rgba(7, 19, 29, .72);
  font-family: var(--display);
  font-size: clamp(21px, 2.2vw, 29px);
  line-height: 1.45;
}

.steps {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: clamp(80px, 10vw, 140px);
  border-top: 1px solid var(--line-dark);
}

.step {
  min-height: 240px;
  display: grid;
  grid-template-columns: 92px 1fr;
  align-content: start;
  gap: 18px;
  padding: 38px 30px 28px 0;
  border-right: 1px solid var(--line-dark);
}

.step + .step {
  padding-left: 30px;
}

.step:last-child {
  border-right: 0;
}

.step-number {
  color: #9d5d3d;
  font-family: var(--display);
  font-size: clamp(58px, 5.5vw, 82px);
  font-variant-numeric: lining-nums tabular-nums;
  font-weight: 400;
  letter-spacing: -.07em;
  line-height: .72;
}

.step h3 {
  margin: 0 0 16px;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 400;
}

.step p {
  max-width: 270px;
  margin: 0;
  color: rgba(7, 19, 29, .62);
  font-size: 14px;
}

.section-note {
  grid-column: 1 / -1;
  margin: 38px 0 0;
  color: rgba(7, 19, 29, .52);
  font-size: 12px;
  text-align: center;
}

.approach-section,
.examples-section,
.symbols-section {
  padding-top: clamp(105px, 13vw, 180px);
  padding-bottom: clamp(105px, 13vw, 180px);
}

.approach-section {
  background: #dcd5c9;
}

.section-heading {
  display: grid;
  grid-template-columns: .62fr 1.38fr;
  column-gap: 8vw;
  align-items: end;
}

.section-heading .section-kicker {
  grid-column: 1;
  align-self: start;
}

.section-heading h2 {
  grid-column: 2;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(50px, 6vw, 84px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .98;
}

.section-heading h2 em,
.symbols-layout h2 em,
.intro h2 em {
  color: #9d5d3d;
  font-weight: 400;
}

.section-heading > p:last-child {
  grid-column: 2;
  max-width: 620px;
  margin: 28px 0 0;
  color: rgba(7, 19, 29, .62);
  font-family: var(--display);
  font-size: 21px;
  line-height: 1.48;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(70px, 9vw, 120px);
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}

.feature-card {
  min-height: 325px;
  padding: 34px 34px 38px;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.feature-card__visual {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.feature-index {
  color: #9d5d3d;
  font-family: var(--display);
  font-size: clamp(58px, 5vw, 78px);
  font-variant-numeric: lining-nums tabular-nums;
  font-weight: 400;
  letter-spacing: -.07em;
  line-height: .72;
}

.feature-art {
  display: block;
  width: 88px;
  height: 88px;
  flex: 0 0 auto;
  margin: -12px -8px 0 0;
  filter: drop-shadow(0 10px 18px rgba(7, 19, 29, .10));
  object-fit: contain;
}

.feature-card h3 {
  max-width: 260px;
  margin: 38px 0 17px;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.08;
}

.feature-card p {
  max-width: 300px;
  margin: 0;
  color: rgba(7, 19, 29, .62);
  font-size: 13px;
  line-height: 1.65;
}

.examples-section {
  background: var(--paper-bright);
}

.interpretation-list {
  margin-top: clamp(70px, 9vw, 120px);
  border-top: 1px solid var(--line-dark);
}

.interpretation-example {
  border-bottom: 1px solid var(--line-dark);
}

.interpretation-example summary {
  display: grid;
  grid-template-columns: 1fr 42px;
  gap: 38px;
  align-items: center;
  padding: 36px 0;
  list-style: none;
  cursor: pointer;
}

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

.interpretation-tag {
  display: block;
  margin-bottom: 13px;
  color: #9d5d3d;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.interpretation-example summary p {
  max-width: 880px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(21px, 2.2vw, 29px);
  line-height: 1.42;
}

.interpretation-chevron {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  font-size: 20px;
  transition: transform .3s ease, background-color .3s ease;
}

.interpretation-example[open] .interpretation-chevron {
  background: var(--ink);
  color: var(--paper-bright);
  transform: rotate(180deg);
}

.interpretation-body {
  max-width: 790px;
  margin: 0 auto;
  padding: 10px 0 62px;
}

.interpretation-body h3 {
  margin: 34px 0 10px;
  color: #9d5d3d;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.interpretation-body p {
  margin: 0;
  color: rgba(7, 19, 29, .7);
  font-family: var(--display);
  font-size: 20px;
  line-height: 1.62;
}

.interpretation-body p + p {
  margin-top: 18px;
}

.examples-disclaimer {
  margin: 28px 0 0;
  color: rgba(7, 19, 29, .48);
  font-size: 11px;
}

.symbols-section {
  background: var(--paper);
}

.symbols-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
}

.symbols-layout h2 {
  max-width: 580px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(50px, 5.5vw, 78px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .98;
}

.symbols-copy {
  max-width: 520px;
  margin: 43px 0 36px;
  color: rgba(7, 19, 29, .65);
  font-family: var(--display);
  font-size: 22px;
  line-height: 1.5;
}

.symbol-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.symbol-chips a {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 14px 22px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  color: rgba(7, 19, 29, .68);
  background: rgba(255, 255, 255, .12);
  font-size: 13px;
  font-weight: 620;
  letter-spacing: .015em;
  text-decoration: none;
  transition:
    border-color .2s ease,
    color .2s ease,
    background .2s ease,
    transform .2s ease;
}

.symbol-chips a span {
  color: #9d5d3d;
  font-size: 12px;
  transition: transform .2s ease;
}

.symbol-chips a:hover,
.symbol-chips a:focus-visible {
  border-color: rgba(157, 93, 61, .55);
  color: var(--ink);
  background: rgba(255, 255, 255, .42);
  transform: translateY(-1px);
}

.symbol-chips a:hover span,
.symbol-chips a:focus-visible span {
  transform: translate(2px, -2px);
}

.capture-section {
  position: relative;
  overflow: hidden;
  background: var(--ink-soft);
  color: var(--paper-bright);
}

.capture-atmosphere {
  position: absolute;
  inset: 0;
  opacity: .52;
  background:
    radial-gradient(ellipse at 78% 30%, rgba(70, 121, 124, .28), transparent 42%),
    radial-gradient(ellipse at 8% 100%, rgba(193, 104, 69, .15), transparent 38%),
    repeating-radial-gradient(ellipse at 50% 120%, transparent 0 28px, rgba(183, 217, 210, .035) 29px 30px);
}

.capture-layout {
  position: relative;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 9vw;
  align-items: center;
  min-height: 810px;
  padding-top: 110px;
  padding-bottom: 110px;
}

.capture-intro h2 {
  font-size: clamp(51px, 5.5vw, 78px);
}

.capture-intro > p:not(.section-kicker) {
  max-width: 430px;
  margin: 28px 0 0;
  color: rgba(244, 238, 228, .66);
  font-family: var(--display);
  font-size: 21px;
}

.privacy-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 44px;
  color: rgba(244, 238, 228, .52);
  font-size: 11px;
}

.privacy-mark {
  width: 16px;
  height: 16px;
  border: 1px solid rgba(244, 238, 228, .4);
  border-radius: 50%;
  box-shadow: inset 0 -6px 0 rgba(210, 139, 98, .5);
}

.dream-card {
  position: relative;
  padding: clamp(26px, 4.2vw, 54px);
  background: var(--paper-bright);
  color: var(--ink);
  box-shadow: 0 35px 100px rgba(0, 0, 0, .2);
}

.dream-card::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(7, 19, 29, .09);
  pointer-events: none;
}

.dream-card-top,
.dream-card-bottom {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.dream-card-top label,
.mood-picker > span {
  color: rgba(7, 19, 29, .56);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

#dream-date {
  width: auto;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
}

#dream-text {
  position: relative;
  width: 100%;
  min-height: 250px;
  margin: 32px 0 22px;
  padding: 18px 0;
  resize: vertical;
  border: 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  outline: none;
  background:
    repeating-linear-gradient(to bottom, transparent 0 37px, rgba(7, 19, 29, .08) 38px);
  color: var(--ink);
  font-family: var(--display);
  font-size: 22px;
  line-height: 38px;
}

#dream-text::placeholder {
  color: rgba(7, 19, 29, .32);
}

.mood-picker {
  position: relative;
  display: flex;
  align-items: center;
  gap: 22px;
  padding-bottom: 30px;
}

.mood-options {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.mood-options label {
  cursor: pointer;
}

.mood-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.mood-options span {
  display: inline-block;
  padding: 7px 12px;
  border: 1px solid rgba(7, 19, 29, .18);
  border-radius: 999px;
  color: rgba(7, 19, 29, .62);
  font-size: 11px;
  transition: color .2s, background-color .2s;
}

.mood-options input:checked + span,
.mood-options input:focus-visible + span {
  background: var(--ink);
  color: var(--paper-bright);
}

.entry-count {
  color: rgba(7, 19, 29, .47);
  font-size: 11px;
}

.form-status {
  min-height: 22px;
  margin: 17px 0 -22px;
  color: #835033;
  font-size: 12px;
  text-align: right;
}

.telegram-section {
  position: relative;
  overflow: hidden;
  background: var(--ink-soft);
  color: var(--paper-bright);
}

.telegram-atmosphere {
  position: absolute;
  inset: 0;
  opacity: .58;
  background:
    radial-gradient(ellipse at 74% 34%, rgba(70, 121, 124, .3), transparent 43%),
    radial-gradient(ellipse at 8% 100%, rgba(193, 104, 69, .17), transparent 38%),
    repeating-radial-gradient(ellipse at 50% 120%, transparent 0 28px, rgba(183, 217, 210, .035) 29px 30px);
}

.telegram-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .72fr);
  gap: clamp(70px, 10vw, 150px);
  align-items: center;
  min-height: 760px;
  padding-top: 110px;
  padding-bottom: 110px;
}

.telegram-copy {
  max-width: 650px;
}

.telegram-copy h2 {
  max-width: 640px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(51px, 5.5vw, 78px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.045em;
}

.telegram-copy > p:not(.section-kicker) {
  max-width: 490px;
  margin: 28px 0 0;
  color: rgba(244, 238, 228, .68);
  font-family: var(--display);
  font-size: 21px;
  line-height: 1.45;
}

.telegram-copy .button {
  margin-top: 42px;
}

.telegram-copy .button span {
  margin-left: 11px;
  font-size: 13px;
}

.telegram-qr {
  display: grid;
  justify-items: center;
  justify-self: end;
  width: min(100%, 390px);
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(244, 238, 228, .18);
  color: var(--paper-bright);
  text-align: center;
  text-decoration: none;
  transition: border-color .25s ease, transform .25s ease, background-color .25s ease;
}

.telegram-qr:hover,
.telegram-qr:focus-visible {
  border-color: rgba(210, 139, 98, .72);
  background: rgba(255, 255, 255, .035);
  transform: translateY(-3px);
}

.telegram-qr__frame {
  position: relative;
  display: block;
  width: 100%;
  padding: 10px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .22);
}

.telegram-qr__frame img {
  display: block;
  width: 100%;
  height: auto;
}

.telegram-qr__logo {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 23%;
  aspect-ratio: 1;
  place-items: center;
  border: clamp(5px, .8vw, 9px) solid #fff;
  border-radius: 50%;
  background: #2aabee;
  transform: translate(-50%, -50%);
}

.telegram-qr__logo svg {
  width: 76%;
  height: 76%;
  fill: #fff;
}

.telegram-qr__caption,
.telegram-qr__handle {
  display: block;
}

.telegram-qr__caption {
  margin-top: 22px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.telegram-qr__handle {
  margin-top: 7px;
  color: rgba(244, 238, 228, .55);
  font-size: 12px;
}

.voices {
  padding-top: clamp(110px, 14vw, 190px);
  padding-bottom: clamp(110px, 14vw, 190px);
}

.voices-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  padding-bottom: 54px;
}

.voices-heading .section-kicker {
  margin-bottom: 9px;
}

.voices h2 {
  max-width: 640px;
  font-size: clamp(51px, 6vw, 84px);
  text-align: right;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.testimonial {
  min-height: 410px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 0;
  padding: 43px 36px 38px 0;
  border-right: 1px solid var(--line-dark);
}

.testimonial + .testimonial {
  padding-left: 36px;
}

.testimonial:last-child {
  border-right: 0;
}

.testimonial blockquote {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(21px, 2vw, 28px);
  line-height: 1.4;
}

.testimonial figcaption {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 50px;
}

.testimonial img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 50%;
  filter: saturate(.82) contrast(.96);
}

.testimonial figcaption span {
  display: flex;
  flex-direction: column;
}

.testimonial strong {
  font-size: 12px;
}

.testimonial small {
  margin-top: 2px;
  color: rgba(7, 19, 29, .5);
  font-size: 10px;
}

.closing {
  position: relative;
  min-height: 690px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 33%, rgba(228, 174, 122, .18) 0 1%, transparent 1.5%),
    radial-gradient(ellipse at 50% 80%, rgba(38, 88, 97, .56), transparent 43%),
    linear-gradient(#08141f, #031018);
  color: var(--paper-bright);
}

.closing::before,
.closing::after {
  content: "";
  position: absolute;
  left: 50%;
  border: 1px solid rgba(229, 237, 228, .1);
  border-radius: 50%;
  transform: translateX(-50%);
}

.closing::before {
  bottom: -210px;
  width: 1000px;
  height: 430px;
}

.closing::after {
  bottom: -170px;
  width: 720px;
  height: 320px;
}

.closing-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.closing .section-kicker {
  color: var(--copper-bright);
}

.closing h2 {
  margin-bottom: 42px;
  font-size: clamp(60px, 8vw, 112px);
}

.closing .closing-thought {
  width: min(1120px, calc(100vw - 32px));
  min-height: 2.08em;
  display: grid;
  align-items: center;
  margin-right: auto;
  margin-left: auto;
  font-size: clamp(48px, 6.3vw, 92px);
  line-height: .91;
  transition:
    opacity .46s ease,
    filter .46s ease,
    transform .46s cubic-bezier(.22, .7, .25, 1);
}

.closing-thought > span {
  display: block;
  color: transparent;
  background:
    linear-gradient(
      100deg,
      var(--paper-bright) 0%,
      var(--paper-bright) 38%,
      #fff8e9 48%,
      var(--copper-bright) 54%,
      var(--paper-bright) 66%,
      var(--paper-bright) 100%
    );
  background-position: 115% 0;
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  text-wrap: balance;
  animation: closing-thought-light 6.2s ease both;
}

.closing-thought[data-phase="out"] {
  opacity: 0;
  filter: blur(9px);
  transform: translateY(-10px) scale(.985);
}

.closing-thought[data-phase="in"] {
  opacity: 1;
  filter: blur(0);
  transform: none;
}

@keyframes closing-thought-light {
  0% {
    background-position: 115% 0;
  }
  32%,
  100% {
    background-position: -115% 0;
  }
}

.footer {
  min-height: 135px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 20px;
  color: rgba(244, 238, 228, .52);
  font-size: 10px;
}

@media (max-width: 640px) {
  .closing .closing-thought {
    min-height: 3.2em;
    font-size: clamp(38px, 11.5vw, 49px);
    line-height: .96;
  }
}

@media (prefers-reduced-motion: reduce) {
  .closing .closing-thought {
    transition: none;
  }

  .closing-thought > span {
    animation: none;
  }
}

.footer p {
  margin: 0;
  text-align: center;
}

.footer p:last-child {
  text-align: right;
}

.footer .wordmark {
  color: var(--paper-bright);
}

.back-to-top {
  position: fixed;
  z-index: 49;
  top: max(94px, calc(env(safe-area-inset-top) + 84px));
  left: max(22px, env(safe-area-inset-left));
  height: 60px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 0 20px 0 9px;
  border: 1px solid rgba(240, 170, 123, .48);
  border-radius: 18px;
  color: var(--paper-bright);
  background:
    radial-gradient(circle at 28% 15%, rgba(135, 116, 210, .3), transparent 46%),
    linear-gradient(135deg, rgba(22, 27, 48, .96), rgba(5, 13, 25, .96));
  box-shadow:
    0 16px 40px rgba(0, 0, 0, .34),
    0 0 28px rgba(210, 139, 98, .13),
    inset 0 1px 0 rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  opacity: 0;
  pointer-events: none;
  text-decoration: none;
  transform: translateY(-12px) scale(.9);
  transition:
    opacity .2s ease,
    transform .2s ease,
    border-color .2s ease,
    background .2s ease;
}

.back-to-top[data-visible="true"],
.back-to-top:focus-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.back-to-top:hover {
  border-color: rgba(255, 213, 180, .82);
  background:
    radial-gradient(circle at 28% 15%, rgba(151, 131, 232, .38), transparent 46%),
    linear-gradient(135deg, rgba(36, 40, 68, .98), rgba(9, 19, 34, .98));
  transform: translateY(-2px);
}

.back-to-top__icon {
  width: 42px;
  height: 42px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(240, 170, 123, .34);
  border-radius: 13px;
  background: rgba(3, 8, 19, .4);
}

.back-to-top__icon svg {
  width: 28px;
  height: 28px;
  overflow: visible;
  fill: none;
  stroke: #f2ad7f;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 5px rgba(240, 170, 123, .28));
  transition: transform .2s ease;
}

.back-to-top:hover .back-to-top__icon svg,
.back-to-top:focus-visible .back-to-top__icon svg {
  transform: translateY(-2px);
}

.back-to-top__label {
  font-size: 10px;
  font-weight: 760;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-footer {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  min-height: 0;
  display: block;
  margin: 0;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  background: var(--ink);
}

.site-footer__inner {
  width: 100%;
  min-height: 135px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 20px;
}

.site-footer__inner p {
  margin: 0;
  text-align: center;
}

.site-footer__inner p:last-child {
  text-align: right;
}

@media (max-width: 1080px) {
  .site-header {
    top: max(8px, env(safe-area-inset-top));
    width: calc(100% - 16px);
  }

  .site-header__surface {
    grid-template-columns: auto 1fr auto;
    min-height: 56px;
    padding: 6px 6px 6px 14px;
    border-radius: 16px;
  }

  .back-to-top {
    top: max(78px, calc(env(safe-area-inset-top) + 70px));
    left: max(10px, env(safe-area-inset-left));
    width: 56px;
    height: 56px;
    justify-content: center;
    padding: 0;
    border-radius: 16px;
  }

  .back-to-top__icon {
    width: 42px;
    height: 42px;
  }

  .back-to-top__label {
    display: none;
  }

  .site-header__actions {
    grid-column: 3;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 8px;
    border: 1px solid rgba(222, 218, 255, .14);
    border-radius: 16px;
    background: rgba(6, 7, 18, .92);
    box-shadow: 0 18px 46px rgba(0, 0, 0, .38);
    -webkit-backdrop-filter: blur(22px) saturate(130%);
    backdrop-filter: blur(22px) saturate(130%);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px) scale(.985);
    transform-origin: top;
    transition: opacity .18s ease, transform .18s ease;
  }

  .site-header[data-open="true"] .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .site-nav a {
    padding: 12px 13px;
    border-radius: 10px;
    font-size: 16px;
  }

  .site-nav a::after {
    display: none;
  }

  .site-nav a:hover {
    background: rgba(255, 255, 255, .05);
  }

  .site-header__cta {
    min-height: 42px;
  }

  .site-menu-toggle {
    position: relative;
    width: 42px;
    height: 42px;
    display: block;
    margin-left: 0;
    padding: 0;
    border: 0;
    border-radius: 11px;
    color: #fff;
    background: rgba(255, 255, 255, .055);
    cursor: pointer;
  }

  .site-menu-toggle span {
    position: absolute;
    left: 13px;
    width: 16px;
    height: 1px;
    background: currentColor;
    transition: transform .18s ease, top .18s ease;
  }

  .site-menu-toggle span:first-child {
    top: 17px;
  }

  .site-menu-toggle span:last-child {
    top: 24px;
  }

  .site-header[data-open="true"] .site-menu-toggle span:first-child {
    top: 21px;
    transform: rotate(45deg);
  }

  .site-header[data-open="true"] .site-menu-toggle span:last-child {
    top: 21px;
    transform: rotate(-45deg);
  }
}

@media (max-width: 900px) {
  :root {
    --shell: min(100% - 34px, 700px);
  }

  .intro,
  .capture-layout,
  .telegram-layout,
  .section-heading,
  .symbols-layout {
    grid-template-columns: 1fr;
  }

  .intro-copy {
    max-width: 620px;
    padding-top: 30px;
  }

  .section-heading h2,
  .section-heading > p:last-child {
    grid-column: 1;
  }

  .section-heading h2 {
    margin-top: 10px;
  }

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

  .symbols-layout {
    gap: 28px;
  }

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

  .step,
  .step + .step {
    min-height: 0;
    padding: 36px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .capture-layout {
    gap: 60px;
  }

  .telegram-layout {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .telegram-qr {
    justify-self: start;
    width: min(100%, 380px);
  }

  .capture-intro {
    max-width: 560px;
  }

  .voices-heading {
    display: block;
  }

  .voices h2 {
    text-align: left;
  }

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

  .testimonial,
  .testimonial + .testimonial {
    min-height: 290px;
    padding: 34px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }
}

@media (max-width: 620px) {
  :root {
    --shell: calc(100vw - 32px);
  }

  .site-brand__name {
    display: none;
  }

  .site-header__actions {
    gap: 5px;
  }

  .step {
    grid-template-columns: 74px 1fr;
    gap: 14px;
  }

  .step-number,
  .feature-index {
    font-size: 56px;
  }

  .feature-art {
    width: 74px;
    height: 74px;
    margin-top: -8px;
  }

  .site-header__cta {
    width: 126px;
    padding: 0 8px;
    font-size: 10px;
  }

  .locale-button {
    width: 30px;
    min-width: 30px;
    padding: 0;
    font-size: 8px;
  }

  .symbol-chips {
    gap: 8px;
  }

  .symbol-chips a {
    flex: 1 1 calc(50% - 4px);
    justify-content: space-between;
    min-height: 52px;
    padding: 13px 16px;
  }

  .hero {
    min-height: 700px;
  }

  .hero-content {
    left: 16px;
    width: calc(100vw - 32px);
  }

  .hero h1 {
    font-size: clamp(60px, 20vw, 88px);
    line-height: .83;
  }

  .hero-copy {
    max-width: 330px;
    margin-top: 28px;
    font-size: 19px;
  }

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

  .hero-foot {
    left: 16px;
    right: auto;
    bottom: 22px;
  }

  .hero-foot-line,
  .hero-foot span:last-child {
    display: none;
  }

  .intro h2 {
    font-size: clamp(50px, 15vw, 72px);
  }

  .approach-section,
  .examples-section,
  .symbols-section {
    padding-top: 92px;
    padding-bottom: 92px;
  }

  .section-heading h2,
  .symbols-layout h2 {
    font-size: clamp(46px, 14vw, 66px);
  }

  .feature-grid {
    grid-template-columns: 1fr;
    margin-top: 64px;
  }

  .feature-card {
    min-height: 0;
    padding: 28px 24px 32px;
  }

  .feature-card h3 {
    margin-top: 34px;
  }

  .interpretation-list {
    margin-top: 64px;
  }

  .interpretation-example summary {
    grid-template-columns: 1fr 34px;
    gap: 15px;
    padding: 29px 0;
  }

  .interpretation-chevron {
    width: 32px;
    height: 32px;
  }

  .interpretation-body {
    padding-bottom: 46px;
  }

  .interpretation-body p {
    font-size: 18px;
  }

  .dream-card {
    margin: 0 -3px;
    padding: 34px 24px;
  }

  .dream-card-top,
  .dream-card-bottom,
  .mood-picker {
    align-items: flex-start;
    flex-direction: column;
  }

  .dream-card-bottom .button {
    width: 100%;
  }

  .form-status {
    text-align: left;
  }

  .footer {
    min-height: 210px;
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 38px 0;
  }

  .site-footer {
    min-height: 0;
    display: block;
    padding: 0 22px;
  }

  .site-footer__inner {
    min-height: 210px;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 18px;
    padding: 38px 0;
  }

  .footer p:last-child {
    text-align: center;
  }
}

@media (max-width: 760px), (hover: none) and (pointer: coarse) {
  .telegram-layout {
    min-height: 680px;
    padding-top: 96px;
    padding-bottom: 96px;
  }

  .telegram-qr {
    display: none;
  }
}

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

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