@font-face {
  font-family: "Onest";
  src: url("fonts/Onest-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f6f0e6;
  --paper-bright: #fffaf1;
  --ink: #222722;
  --ink-soft: #525c55;
  --sea: #447263;
  --sea-dark: #27483f;
  --sea-pale: #c8d8cd;
  --sea-mist: #e6ede5;
  --blush: #d98f8b;
  --blush-focus: #a95154;
  --line: rgba(39, 72, 63, 0.18);
  --display: "Onest", sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow: 0 28px 80px rgba(39, 72, 63, 0.18);
  font-family: var(--body);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--sea) var(--paper);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
}

::selection {
  background: var(--sea-pale);
  color: var(--sea-dark);
}

a {
  color: inherit;
  text-decoration-color: rgba(39, 72, 63, 0.45);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

a:hover {
  text-decoration-color: currentColor;
}

a:focus-visible {
  outline: 3px solid var(--blush-focus);
  outline-offset: 4px;
  border-radius: 6px;
}

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

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: 10px;
  background: var(--ink);
  color: white;
}

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

.site-header {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(100% - 48px, 1380px);
  min-height: 84px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 12px;
  width: fit-content;
  font-family: var(--display);
  font-size: 0.98rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand img {
  border-radius: 11px;
  box-shadow: 0 7px 20px rgba(39, 72, 63, 0.12);
}

.site-nav,
footer nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.88rem;
  font-weight: 550;
  color: var(--ink-soft);
}

.site-nav a,
footer nav a {
  text-decoration: none;
}

.site-nav a:hover,
footer nav a:hover {
  color: var(--ink);
}

.header-cta {
  justify-self: end;
  padding: 10px 18px;
  border: 1px solid var(--sea);
  border-radius: 999px;
  color: var(--sea-dark);
  font-size: 0.86rem;
  font-weight: 650;
  text-decoration: none;
  transition: background-color 180ms ease-out, color 180ms ease-out;
}

.header-cta:hover {
  background: var(--sea-dark);
  color: var(--paper-bright);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(420px, 0.87fr);
  align-items: center;
  width: min(100% - 48px, 1380px);
  min-height: calc(100svh - 84px);
  margin: 0 auto;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  z-index: -1;
  top: 8%;
  left: -22%;
  width: 58%;
  aspect-ratio: 1;
  border: 1px solid rgba(79, 125, 109, 0.12);
  border-radius: 50%;
  content: "";
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 72px 32px 88px 0;
}

.hero h1,
.section-heading h2,
.privacy-copy h2,
.quiet-proof h2,
.russian-section h2,
.closing h2,
.legal-shell h1 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.hero h1 {
  max-width: 11ch;
  margin-bottom: 30px;
  font-size: clamp(4rem, 7vw, 6rem);
  line-height: 0.98;
}

.hero-lede {
  max-width: 57ch;
  margin-bottom: 36px;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.6vw, 1.3rem);
  line-height: 1.58;
}

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

.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid var(--sea-dark);
  border-radius: 14px;
  background: var(--sea-dark);
  box-shadow: 0 12px 28px rgba(39, 72, 63, 0.16);
  color: var(--paper-bright);
  font-size: 0.96rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 180ms ease-out, background-color 180ms ease-out;
}

.primary-action:hover {
  transform: translateY(-2px);
  background: #1f3b34;
  box-shadow: 0 16px 34px rgba(39, 72, 63, 0.22);
}

.primary-action:active {
  transform: translateY(0);
}

.text-action {
  color: var(--sea-dark);
  font-size: 0.94rem;
  font-weight: 650;
  text-decoration: none;
}

.text-action svg {
  width: 1em;
  height: 1em;
  margin-left: 5px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  vertical-align: -0.16em;
}

.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 0;
  padding: 0;
  color: var(--ink-soft);
  font-size: 0.84rem;
  list-style: none;
}

.trust-line li {
  position: relative;
  padding-left: 16px;
}

.trust-line li::before {
  position: absolute;
  top: 0.48em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blush);
  content: "";
}

.hero-stage {
  position: relative;
  align-self: stretch;
  display: grid;
  place-items: center;
  min-height: 700px;
  padding: 56px 0;
}

.orbit {
  position: absolute;
  width: min(100%, 670px);
  aspect-ratio: 1;
  border: 1px solid rgba(79, 125, 109, 0.38);
  border-radius: 50%;
}

.orbit::before {
  position: absolute;
  top: -6px;
  left: 50%;
  width: 12px;
  height: 12px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--blush);
  box-shadow: 0 6px 22px rgba(217, 143, 139, 0.36);
  content: "";
}

.phone {
  position: relative;
  width: min(370px, 82%);
  aspect-ratio: 0.486;
  overflow: hidden;
  border: 8px solid #222823;
  border-radius: 54px;
  background: #f8f3e9;
  box-shadow: var(--shadow);
}

.phone-status {
  position: relative;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 50px;
  padding: 0 24px;
  font-size: 0.7rem;
  font-weight: 700;
}

.status-island {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 92px;
  height: 27px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #101210;
}

.status-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 13px;
}

.status-bars i {
  display: block;
  width: 3px;
  border-radius: 2px;
  background: #171a17;
}

.status-bars i:nth-child(1) { height: 4px; }
.status-bars i:nth-child(2) { height: 7px; }
.status-bars i:nth-child(3) { height: 10px; }
.status-bars i:nth-child(4) { height: 13px; }

.phone-tools {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  padding: 20px 22px 0;
}

.tool-button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(39, 72, 63, 0.12);
  border-radius: 50%;
  color: #777d78;
}

.tool-button svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.ready-label {
  position: relative;
  z-index: 5;
  margin: 88px 0 20px;
  color: #59615c;
  font-size: 0.86rem;
  text-align: center;
}

.timer-orb {
  position: relative;
  z-index: 5;
  display: flex;
  width: 206px;
  height: 206px;
  margin: 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(79, 125, 109, 0.36);
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(225, 237, 226, 0.72) 0 54%, rgba(148, 190, 172, 0.52) 55% 100%);
  box-shadow: 0 16px 40px rgba(79, 125, 109, 0.14);
}

.timer-orb::after {
  position: absolute;
  top: 54%;
  left: -10%;
  width: 120%;
  height: 18px;
  transform: rotate(-2deg);
  border-radius: 50%;
  background: rgba(244, 248, 239, 0.35);
  content: "";
}

.timer-orb span {
  position: relative;
  z-index: 2;
}

.orb-title {
  margin-bottom: 6px;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 600;
}

.orb-time {
  color: #56615b;
  font-size: 1rem;
}

.orb-hint {
  margin-top: 8px;
  color: #65716a;
  font-size: 0.72rem;
}

.duration-link {
  position: relative;
  z-index: 5;
  display: block;
  margin-top: 22px;
  color: var(--sea);
  font-size: 0.78rem;
  font-weight: 650;
  text-align: center;
}

.phone-tides {
  position: absolute;
  z-index: 1;
  right: -12%;
  bottom: 62px;
  left: -12%;
  height: 250px;
  overflow: hidden;
}

.phone-tides i {
  position: absolute;
  right: -12%;
  left: -12%;
  height: 120px;
  border-radius: 50% 50% 0 0;
  transform-origin: 50% 100%;
  animation: tide 8s ease-in-out infinite alternate;
}

.phone-tides i:nth-child(1) {
  bottom: 100px;
  background: #e7eee3;
}

.phone-tides i:nth-child(2) {
  bottom: 34px;
  background: #d7e3d7;
  animation-delay: -3s;
}

.phone-tides i:nth-child(3) {
  bottom: -30px;
  background: #c6d9cb;
  animation-delay: -5s;
}

@keyframes tide {
  from { transform: translateX(-2%) rotate(-1.5deg) scaleY(0.96); }
  to { transform: translateX(2%) rotate(1.5deg) scaleY(1.03); }
}

.flow-control {
  position: absolute;
  z-index: 6;
  right: 22px;
  bottom: 28px;
  left: 22px;
  display: grid;
  grid-template-columns: 22px 1fr auto 14px;
  align-items: center;
  gap: 9px;
  height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(79, 125, 109, 0.25);
  border-radius: 999px;
  background: rgba(247, 243, 233, 0.72);
  color: #59615d;
  font-size: 0.7rem;
}

.flow-control svg {
  width: 20px;
  fill: none;
  stroke: var(--sea);
  stroke-linecap: round;
  stroke-width: 1.7;
}

.flow-control strong {
  color: var(--ink);
  font-size: 0.78rem;
}

.flow-control .chevron {
  width: 14px;
  stroke: #59615d;
  stroke-linejoin: round;
}

.home-indicator {
  position: absolute;
  z-index: 8;
  bottom: 7px;
  left: 50%;
  width: 112px;
  height: 4px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #111311;
}

.sound-line {
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: baseline;
  gap: 48px;
  width: min(100% - 48px, 1380px);
  margin: 0 auto;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.sound-line p {
  margin: 0;
  color: var(--sea-dark);
  font-family: var(--display);
  font-size: 0.92rem;
  font-weight: 650;
}

.sound-line div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.inside {
  width: min(100% - 48px, 1220px);
  margin: 0 auto;
  padding: 160px 0 172px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.62fr);
  gap: 96px;
  align-items: end;
  margin-bottom: 100px;
}

.section-heading h2,
.privacy-copy h2,
.russian-section h2,
.closing h2 {
  margin-bottom: 0;
  font-size: clamp(3.1rem, 5.8vw, 5.5rem);
  line-height: 1.02;
}

.section-heading p {
  max-width: 50ch;
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.65;
}

.feature-ledger {
  border-top: 1px solid var(--sea-dark);
}

.feature-ledger article {
  display: grid;
  grid-template-columns: minmax(170px, 0.35fr) 1fr;
  gap: 60px;
  padding: 38px 0 42px;
  border-bottom: 1px solid var(--line);
}

.feature-value {
  margin: 0;
  color: var(--sea);
  font-family: var(--display);
  font-size: 1.15rem;
  font-variant-numeric: tabular-nums;
  font-weight: 650;
}

.feature-ledger h3 {
  margin-bottom: 10px;
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.4vw, 2.2rem);
  font-weight: 550;
  letter-spacing: -0.025em;
}

.feature-ledger article div p {
  max-width: 62ch;
  margin-bottom: 0;
  color: var(--ink-soft);
  line-height: 1.65;
}

.privacy-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 96px;
  min-height: 670px;
  padding: 110px max(24px, calc((100vw - 1220px) / 2));
  background: var(--sea-dark);
  color: #f8f4ea;
}

.privacy-copy h2 {
  margin-bottom: 30px;
}

.privacy-copy p {
  max-width: 60ch;
  margin-bottom: 28px;
  color: #d8e3dc;
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
  line-height: 1.68;
}

.privacy-copy a {
  color: #f8f4ea;
  font-weight: 650;
  text-decoration-color: rgba(248, 244, 234, 0.46);
}

.privacy-copy a:focus-visible {
  outline-color: #f1a7a1;
}

.privacy-seal {
  display: flex;
  width: 330px;
  height: 330px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(248, 244, 234, 0.46);
  border-radius: 50%;
  color: #d8e3dc;
  font-family: var(--display);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.privacy-seal strong {
  margin: 4px 0;
  color: #fffaf1;
  font-size: 2.6rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  text-transform: none;
}

.quiet-proof {
  display: grid;
  grid-template-columns: 1fr minmax(360px, 0.8fr);
  align-items: center;
  gap: 100px;
  width: min(100% - 48px, 1220px);
  margin: 0 auto;
  padding: 170px 0;
}

.practice-path {
  display: flex;
  align-items: center;
  color: var(--sea-dark);
  font-family: var(--display);
  font-size: clamp(1rem, 1.8vw, 1.28rem);
  font-weight: 600;
}

.practice-path i {
  height: 1px;
  min-width: 30px;
  margin: 0 12px;
  flex: 1;
  background: var(--line);
}

.quiet-proof h2 {
  margin-bottom: 24px;
  font-size: clamp(2.6rem, 4.5vw, 4.4rem);
  line-height: 1.05;
}

.quiet-proof p {
  max-width: 50ch;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.65;
}

.russian-section {
  display: grid;
  grid-template-columns: 220px minmax(0, 760px);
  justify-content: center;
  gap: 74px;
  margin: 0 24px;
  padding: 118px max(24px, calc((100vw - 1100px) / 2));
  border-radius: 16px;
  background: var(--sea-mist);
}

.russian-section img {
  width: 180px;
  border-radius: 40px;
  box-shadow: 0 20px 48px rgba(39, 72, 63, 0.16);
}

.russian-section h2 {
  margin-bottom: 24px;
}

.russian-section p {
  max-width: 64ch;
  margin-bottom: 32px;
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.68;
}

.closing {
  display: flex;
  min-height: 720px;
  padding: 130px 24px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.closing img {
  width: 112px;
  margin-bottom: 42px;
  border-radius: 27px;
  box-shadow: 0 18px 44px rgba(39, 72, 63, 0.16);
}

.closing h2 {
  max-width: 12ch;
  margin-bottom: 24px;
}

.closing p {
  margin-bottom: 34px;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(100% - 48px, 1380px);
  min-height: 120px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}

footer p {
  justify-self: end;
  margin: 0;
  font-size: 0.78rem;
}

.footer-brand {
  color: var(--ink);
}

.legal-page .site-header {
  grid-template-columns: 1fr auto;
}

.legal-page .site-header .header-cta {
  grid-column: 2;
}

.legal-shell {
  width: min(100% - 48px, 780px);
  min-height: calc(100svh - 204px);
  margin: 0 auto;
  padding: 110px 0 140px;
}

.legal-shell > h1,
.legal-shell section > h1 {
  margin-bottom: 46px;
  font-size: clamp(3.2rem, 8vw, 5.5rem);
  line-height: 1;
}

.legal-shell section[lang="ru"] > h1 {
  overflow-wrap: anywhere;
  font-size: clamp(2.55rem, 6vw, 4.4rem);
  hyphens: manual;
}

.legal-shell h2 {
  margin-top: 52px;
  margin-bottom: 14px;
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.legal-shell p {
  max-width: 72ch;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.72;
}

.legal-shell hr {
  margin: 100px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.legal-shell .muted {
  color: #68736b;
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.75fr);
  }

  .hero h1 {
    font-size: clamp(3.8rem, 8vw, 5.2rem);
  }

  .section-heading,
  .privacy-block,
  .quiet-proof {
    gap: 58px;
  }

  .privacy-block {
    grid-template-columns: minmax(0, 1fr) 280px;
  }

  .privacy-seal {
    width: 270px;
    height: 270px;
  }

  .russian-section {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 46px;
  }

  .russian-section img {
    width: 140px;
  }
}

@media (max-width: 760px) {
  .site-header,
  .hero,
  .sound-line,
  .inside,
  .quiet-proof,
  footer,
  .legal-shell {
    width: min(100% - 32px, 680px);
  }

  .site-header {
    min-height: 72px;
  }

  .brand span {
    font-size: 0.9rem;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .header-cta {
    padding: 9px 14px;
  }

  .hero {
    display: block;
    min-height: 0;
  }

  .hero-copy {
    padding: 78px 0 56px;
  }

  .hero h1 {
    margin-bottom: 24px;
    font-size: clamp(3.3rem, 15vw, 4.7rem);
  }

  .hero-lede {
    font-size: 1.05rem;
  }

  .hero-stage {
    min-height: 700px;
    padding: 18px 0 70px;
  }

  .orbit {
    width: 100%;
  }

  .phone {
    width: min(350px, 90%);
  }

  .sound-line {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 28px 0;
  }

  .inside {
    padding: 112px 0 120px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 72px;
  }

  .section-heading h2,
  .privacy-copy h2,
  .russian-section h2,
  .closing h2 {
    font-size: clamp(2.8rem, 13vw, 4.4rem);
  }

  .feature-ledger article {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 32px 0 36px;
  }

  .privacy-block {
    grid-template-columns: 1fr;
    gap: 72px;
    min-height: 0;
    padding-top: 100px;
    padding-bottom: 110px;
  }

  .privacy-seal {
    width: min(78vw, 300px);
    height: min(78vw, 300px);
    justify-self: center;
  }

  .quiet-proof {
    grid-template-columns: 1fr;
    padding: 116px 0;
  }

  .practice-path {
    display: grid;
    grid-template-columns: max-content minmax(12px, 1fr) max-content minmax(12px, 1fr) max-content minmax(12px, 1fr) max-content;
    order: 2;
    width: 100%;
  }

  .practice-path i {
    min-width: 0;
    margin: 0 8px;
  }

  .russian-section {
    grid-template-columns: 1fr;
    margin: 0 16px;
    padding: 84px 28px;
  }

  .russian-section img {
    width: 112px;
    border-radius: 27px;
  }

  .closing {
    min-height: 640px;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 40px 0;
  }

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

  footer p {
    justify-self: start;
  }

  .legal-shell {
    padding: 78px 0 110px;
  }
}

@media (max-width: 430px) {
  .brand span {
    max-width: 92px;
    line-height: 1.08;
  }

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

  .primary-action {
    width: 100%;
  }

  .trust-line {
    gap: 10px 18px;
  }

  .hero-stage {
    min-height: 640px;
  }

  .ready-label {
    margin-top: 68px;
  }

  .timer-orb {
    width: 190px;
    height: 190px;
  }

  .practice-path {
    font-size: 0.9rem;
  }

  .practice-path i {
    min-width: 12px;
    margin: 0 4px;
  }
}

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

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

@media (prefers-contrast: more) {
  :root {
    --ink-soft: #343c36;
    --line: rgba(20, 42, 35, 0.38);
  }

  .primary-action,
  .header-cta,
  .phone,
  .tool-button,
  .flow-control {
    border-width: 2px;
  }
}
