@font-face {
  font-family: "Source Serif 4";
  src: url("../shared/fonts/SourceSerif4-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4 Display";
  src: url("../shared/fonts/SourceSerif4Display-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../shared/fonts/Manrope-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../shared/fonts/Manrope-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #fbf3ea;
  --ink: #2a1420;
  --muted: #66535e;
  --plum: #753c83;
  --night: #281a16;
  --light: #fffaf3;
  --gutter: clamp(24px, 3.6vw, 72px);
  --serif: ui-serif, "Source Serif 4", "Source Serif 4 Display", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Manrope", system-ui, sans-serif;
  /* Mobile sticky call to action (../shared/cta.css): cream bar, plum button, as on the page. */
  --mcta-bg: rgb(251 243 234 / 0.95);
  --mcta-ink: #2a1420;
  --mcta-btn: #753c83;
  --mcta-btn-ink: #fffaf3;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 18px/1.55 var(--sans); }
img { display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 5px; }
a:focus-visible, summary:focus-visible { outline: 3px solid currentColor; outline-offset: 6px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3, .rings-line { font-family: var(--serif); font-weight: 600; letter-spacing: normal; text-wrap: balance; hyphens: manual; -webkit-hyphens: manual; overflow-wrap: normal; word-break: normal; }
h1 { font-size: clamp(40px, 4.6vw, 68px); line-height: 1.02; }
h2 { font-size: clamp(34px, 4.2vw, 64px); line-height: 1.08; }
h3 { font-size: clamp(30px, 3.1vw, 46px); line-height: 1.14; }
p { text-wrap: pretty; }
.skip-link { position: absolute; top: 12px; left: 16px; z-index: 20; padding: 12px 20px; background: var(--paper); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: absolute; inset: 0 0 auto; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px var(--gutter); color: var(--light); }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; font-family: ui-serif, "Source Serif 4 Display", Georgia, serif; font-size: clamp(30px, 3.4vw, 50px); line-height: 1; }
.brand img { width: 76px; height: 76px; object-fit: contain; }
.site-header nav { display: flex; align-items: center; gap: 32px; }
.nav-how { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--serif); font-size: 20px; text-decoration: none; white-space: nowrap; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 54px; padding: 16px 27px; background: var(--plum); color: var(--light); border: 1px solid transparent; border-radius: 9px; font-size: 16px; font-weight: 600; line-height: 1.25; text-align: center; text-decoration: none; transition: background 180ms; }
.button:hover { background: #5c2c68; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; margin-top: 28px; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--serif); font-size: 20px; }
.beta-note { flex-basis: 100%; margin: 0; font-size: 16px; line-height: 1.4; opacity: 0.82; }
.scene-copy .beta-note, .hero .scene-copy .beta-note { max-width: none; margin-top: 0; font-family: var(--sans); font-size: 16px; }
/* Only the image moves. Its clipping viewport and all text remain independent. */
.scene { position: relative; isolation: isolate; overflow: hidden; --wave-next: var(--paper); }
.scene-visual { position: absolute; inset: 0; overflow: hidden; }
.settle-wrap { position: absolute; inset: 0; }
.scene-image { position: absolute; inset: -8% 0; }
.scene-image img { width: 100%; height: 100%; object-fit: cover; }
.scene-copy { position: relative; z-index: 2; width: 37%; margin-left: var(--gutter); }
.scene-copy p { max-width: 390px; margin-top: 24px; font-size: 20px; }
.hero { height: min(100svh, 940px); min-height: 760px; background: var(--night); color: var(--light); }
/* The supplied artwork starts its hair at 21%, so lower the full-height
   picture viewport to keep the complete copy above the characters. */
.hero .scene-visual { top: 0; bottom: 0; }
.hero .scene-image { top: -3%; bottom: -3%; }
.hero .scene-image img { object-position: 40% 100%; }
@keyframes felt-hero-settle {
  from { transform: scale(1.03); }
  to { transform: scale(1); }
}
html.motion .hero [data-settle] { animation-name: felt-hero-settle; }
.hero .scene-copy { width: calc(56% - var(--gutter)); max-width: 56%; position: absolute; top: 12%; padding-top: 0; }
.hero h1 { font-size: clamp(40px, 3.9vw, 60px); }
.hero h1 { max-width: 800px; text-wrap: balance; }
.hero .scene-copy p { margin-top: 14px; font-family: var(--serif); font-size: clamp(22px, 1.6vw, 24px); }
.hero .actions { align-items: center; gap: 8px 24px; margin-top: 18px; }
.hero .beta-note { margin-top: 2px; }
.hero-phones { position: absolute; z-index: 2; right: var(--gutter); top: 150px; width: calc(36% - var(--gutter)); max-width: 480px; }
.hero-phone { position: absolute; width: min(60%, 285px); }
.hero-phone-today { top: 0; left: 0; z-index: 2; }
.hero-phone-together { top: 48px; right: 0; width: min(55%, 261px); z-index: 1; }
.phone { position: relative; width: 100%; padding: 7px; border: 1px solid #aaa09a; border-radius: 42px; background: #171517; box-shadow: 0 32px 65px -16px rgb(24 14 12 / 42%), 0 4px 12px rgb(24 14 12 / 28%), inset 0 0 0 2px #514943; }
.phone::after { content: ""; position: absolute; z-index: 2; top: 15px; left: 36%; width: 28%; height: 18px; border-radius: 20px; background: #080709; }
.phone img { width: 100%; height: auto; aspect-ratio: 1206 / 2622; object-fit: cover; border-radius: 34px; background: var(--paper); color: var(--ink); font-size: 14px; }
.band { padding-left: var(--gutter); padding-right: var(--gutter); }
.caption-band { padding-top: 30px; padding-bottom: 60px; text-align: center; }
.caption-band h2 { font-size: clamp(34px, 3.8vw, 58px); }
.small-print { margin-top: 16px; font-size: 18px; color: var(--muted); }
.week, .sharing { height: clamp(600px, 50vw, 780px); }
.week .scene-copy { margin-left: auto; margin-right: var(--gutter); padding-top: clamp(110px, 12vw, 190px); }
.week .scene-image img { object-position: 35% center; }
.sharing .scene-copy { padding-top: clamp(100px, 10vw, 170px); width: 40%; }
.sharing .scene-image img { object-position: 60% center; }
/* The first tactile scene resolves into a narrow cream pause before the next picture. */
.week { margin-bottom: 48px; }
.how { padding-top: 96px; padding-bottom: 90px; scroll-margin-top: 40px; }
.how-heading { max-width: 740px; }
.how-heading p { max-width: 460px; margin-top: 20px; color: var(--muted); }
.steps { display: grid; grid-template-columns: 1fr 1fr; column-gap: 8%; margin: 56px auto 0; max-width: 1130px; }
.step { grid-column: 1; display: flex; align-items: center; min-height: 540px; padding: 72px 0; }
.step-copy { max-width: 480px; }
.step p { margin-top: 20px; color: var(--muted); max-width: 390px; }
.phone-sticky { position: sticky; top: 40px; align-self: start; justify-self: center; grid-column: 2; grid-row: 1 / 4; width: 300px; }
.phone-sticky [data-step-screen] ~ [data-step-screen] { position: absolute; inset: 7px; width: calc(100% - 14px); }
.phone-mobile { display: none; }
.rings { padding-top: 90px; padding-bottom: 110px; text-align: center; }
.rings-line { max-width: 1100px; margin: 0 auto; font: 600 clamp(38px, 5.1vw, 76px)/1.12 var(--serif); text-wrap: balance; }
.rings .small-print { margin-top: 32px; }
.questions { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; padding-top: 40px; padding-bottom: 110px; }
.question-list { border-top: 1px solid #cfbdb8; }
details { border-bottom: 1px solid #cfbdb8; }
summary { position: relative; padding: 24px 32px 24px 0; cursor: pointer; list-style: none; font-weight: 600; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 22px; font-size: 24px; font-weight: 400; }
details[open] summary::after { content: "−"; }
details p { max-width: 560px; padding: 0 32px 24px 0; color: var(--muted); }
.closing { height: clamp(560px, 48vw, 740px); background: var(--night); }
.closing .scene-copy { padding-top: clamp(150px, 13vw, 210px); width: 35%; }
.closing .scene-image img { object-position: 65% center; }
.site-footer { display: flex; justify-content: space-between; gap: 24px; align-items: center; padding-top: 36px; padding-bottom: 36px; font-size: 15px; color: var(--light); background: var(--night); }
.site-footer nav { display: flex; gap: 28px; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width: 1101px) {
  .site-header { padding-top: 16px; padding-bottom: 16px; }
  .brand img { width: 60px; height: 60px; }
}
@media (min-width: 1101px) and (max-height: 780px) {
  .phone-sticky { width: 262px; top: 24px; }
  .hero-phones { top: 120px; }
}
@media (max-width: 1250px) and (min-width: 1101px) {
  .hero-phones { top: 120px; }
  .brand { font-size: 36px; }
  .brand img { width: 60px; height: 60px; }
}
@media (max-width: 1100px) {
  .site-header { padding-top: 18px; padding-bottom: 18px; gap: 12px; }
  .brand { gap: 8px; font-size: 28px; }
  .brand img { width: 48px; height: 48px; }
  .site-header nav { gap: 18px; }
  .nav-how { font-size: 18px; }
  .hero { display: flex; flex-direction: column; height: auto; min-height: 0; }
  .hero .scene-copy { position: relative; top: auto; order: 0; width: auto; max-width: 720px; margin: 0; padding: 116px var(--gutter) 38px; }
  /* «Взаимопонимание» is 9.06 em wide in Source Serif 4 (8.85 em in New York): 9.2vw keeps it on one line inside the gutters. */
  .hero h1 { font-size: clamp(28px, 9.2vw, 72px); line-height: 1.04; }
  .hero .scene-copy p { font-size: clamp(19px, 5.3vw, 26px); margin-top: 18px; }
  .hero .actions { flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 26px; }
  .hero .scene-copy .beta-note { margin-top: 0; font-size: 16px; }
  .hero .scene-visual { order: 1; position: relative; inset: auto; height: clamp(340px, 76vw, 540px); }
  .hero .scene-image img { object-position: 39% center; }
  .hero-phones { position: relative; order: 2; inset: auto; display: flex; align-items: flex-start; gap: 16px; width: calc(100% - 48px); max-width: 530px; margin: 28px auto 100px; }
  .hero-phone { position: relative; inset: auto; width: calc(50% - 8px); }
  .hero-phone-together { margin-top: 28px; }
  .phone { padding: 5px; border-radius: 28px; }
  .phone img { border-radius: 22px; }
  .phone::after { height: 12px; top: 10px; }
  .hero .cy-waves { order: 3; }
  .cy-wave { left: -7%; width: 114%; }
  .caption-band { padding-top: 28px; padding-bottom: 48px; }
  .small-print { font-size: 16px; }
  .week, .sharing, .closing { display: flex; flex-direction: column; height: auto; }
  .scene-copy, .week .scene-copy, .sharing .scene-copy, .closing .scene-copy { order: 0; width: auto; max-width: 650px; margin: 0; padding: 48px var(--gutter) 34px; }
  .week, .sharing { background: var(--paper); }
  .scene-copy p { font-size: 18px; margin-top: 18px; }
  .week .scene-visual, .sharing .scene-visual, .closing .scene-visual { order: 1; position: relative; inset: auto; height: clamp(340px, 70vw, 540px); }
  .week .scene-image img { object-position: 20% center; }
  .sharing .scene-image img { object-position: 68% center; }
  .closing .scene-image img { object-position: 75% center; }
  .week { margin-bottom: 0; }
  .closing { color: var(--light); }
  .how { padding-top: 64px; padding-bottom: 30px; }
  .steps { display: flex; flex-direction: column; gap: 0; margin-top: 40px; }
  .step { display: block; min-height: 0; padding: 0; }
  .step + .step { margin-top: 60px; }
  .step p { max-width: 480px; margin-top: 16px; }
  .phone-sticky, .phone-mobile { display: block; position: relative; top: auto; align-self: center; width: 240px; margin: 30px auto 0; }
  .phone-sticky { margin-bottom: 60px; }
  .phone-sticky [data-step-screen]:first-child { opacity: 1; }
  .phone-sticky [data-step-screen] ~ [data-step-screen] { display: none; }
  .rings { padding-top: 70px; padding-bottom: 70px; }
  .questions { grid-template-columns: 1fr; gap: 28px; padding-top: 12px; padding-bottom: 60px; }
  .site-footer { padding-top: 28px; padding-bottom: 28px; font-size: 14px; }
  .site-footer nav { gap: 20px; }
}
@media (max-width: 359px) {
  :root { --gutter: 18px; }
  .brand { font-size: 24px; gap: 6px; }
  .brand img { width: 38px; height: 38px; }
  .nav-how { font-size: 16px; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}

/* Round 6: phones first. The sticky bar (../shared/cta.css) replaces the header button; the first screen is
   brand, headline, one line, the button, then the couple. */
@media (max-width: 900px) {
  .site-header { padding-top: 14px; padding-bottom: 14px; }
  .brand img { width: 44px; height: 44px; }
  .site-header .button { display: none; }
  .brand { font-size: 26px; }
  .nav-how { font-size: 17px; }
  .hero .scene-copy { padding-top: 92px; padding-bottom: 26px; }
  .hero .scene-copy .text-link { display: none; }
  .hero .actions { margin-top: 22px; gap: 10px; }
  .hero .scene-visual { height: clamp(300px, 84vw, 540px); }
  .hero .scene-image img { object-position: 41% 62%; }
  .hero-phones { margin-top: 24px; margin-bottom: 92px; }
  .button { min-height: 52px; padding: 14px 24px; }
  /* Cost on phones: only the hero waves drift; the other wave edges stand still and leave the compositor. */
  .scene:not(.hero) .cy-wave { transform: none !important; will-change: auto; }
  /* How it works stage: smaller, still blurs; no glass behind the chips. */
  .how .hs-blob { filter: blur(24px); }
  html.motion .how .hs-blob { animation: none; }
  .how .hs-card { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .phone { box-shadow: 0 20px 40px -14px rgb(24 14 12 / 42%), inset 0 0 0 2px #514943; }
}
/* Sticky bar: the button label stays on one line on small phones. */
@media (max-width: 400px) {
  .m-cta .m-cta-button { padding: 0 12px; font-size: 15px; white-space: nowrap; }
  .m-cta .m-cta-note { max-width: 27%; }
}
/* How it works chips: on narrow phones keep the step 2 card inside the screen edge. */
@media (max-width: 480px) {
  .how .hs-g1 .hs-pos-0 { left: -20%; }
}
@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
  .hero [data-settle] { animation: none; }
}

/* r7: How it works stage */
.how { --hs-num: #9a4a7f; }
