:root {
  --paper: #f2eee7;
  --paper-deep: #e7dfd5;
  --ink: #272721;
  --muted: #706d64;
  --sage: #687460;
  --sage-dark: #3e4a3c;
  --rose: #ad776e;
  --cream: #fbf8f2;
  --line: rgba(39, 39, 33, 0.16);
  --serif: Iowan Old Style, Baskerville, "Times New Roman", serif;
  --sans: Inter, Avenir, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; }
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: white;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  min-height: 78px;
  padding: 12px clamp(22px, 4vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(242, 238, 231, 0.88);
  backdrop-filter: blur(14px);
}
.brand {
  display: inline-flex;
  width: max-content;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.05;
}
.brand span { font-family: var(--serif); font-size: 18px; }
.brand small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
nav { display: flex; gap: 28px; }
nav a { color: var(--muted); font-size: 13px; text-decoration: none; }
.topbar > .button { justify-self: end; }

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 25px;
  border: 1px solid var(--sage-dark);
  border-radius: 999px;
  background: var(--sage-dark);
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.button:hover { transform: translateY(-2px); background: transparent; color: var(--sage-dark); }
.button:focus-visible, .text-link:focus-visible, .mood-tab:focus-visible, summary:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 4px;
}
.button-small { min-height: 48px; padding: 0 24px; font-size: 11px; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  cursor: pointer;
  font-size: 13px;
  text-underline-offset: 6px;
}
.text-link span { font-size: 18px; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(54px, 8vw, 120px) clamp(22px, 6vw, 94px) 0;
}
.hero-copy { align-self: center; max-width: 680px; padding: 30px 7vw 30px 0; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 25px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow > span { width: 28px; height: 1px; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, blockquote { font-family: var(--serif); font-weight: 400; }
h1 { margin-bottom: 26px; font-size: clamp(52px, 6.2vw, 92px); line-height: .94; letter-spacing: -.045em; }
.lead { max-width: 580px; margin-bottom: 36px; color: #55534c; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.55; }
.hero-actions { display: flex; align-items: center; gap: 28px; }
.ratio { max-width: 400px; margin-top: 66px; }
.ratio-bar { height: 2px; background: #d2cbc1; }
.ratio-bar span { display: block; width: 60%; height: 100%; background: var(--sage); }
.ratio p { display: flex; justify-content: space-between; margin-top: 10px; color: var(--muted); font-size: 11px; text-transform: uppercase; }
.ratio strong { color: var(--sage-dark); font-weight: 650; }

.hero-visual {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border-radius: 52% 52% 4px 4px;
  background: linear-gradient(155deg, #b8bda9 0%, #878f79 45%, #596451 100%);
  isolation: isolate;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: repeating-linear-gradient(97deg, transparent 0 7px, rgba(255,255,255,.03) 7px 9px);
  opacity: .65;
}
.hero-visual > p {
  position: absolute;
  right: 34px;
  bottom: 28px;
  z-index: 3;
  margin: 0;
  color: rgba(255,255,255,.75);
  font-family: var(--sans);
  font-size: 10px;
  font-style: normal;
  font-weight: 650;
  letter-spacing: .12em;
  line-height: 1.6;
  text-align: right;
  text-transform: uppercase;
}
.sun { position: absolute; top: 60px; right: 60px; width: 130px; height: 130px; border-radius: 50%; background: rgba(247,224,180,.42); filter: blur(2px); }
.art-frame { position: absolute; top: 118px; left: 50%; width: 142px; height: 185px; padding: 12px; border: 1px solid rgba(44,51,41,.45); background: #d9d3c5; transform: translateX(-50%); box-shadow: 0 18px 35px rgba(33,37,31,.16); }
.art-frame span { display: block; width: 100%; height: 100%; background: linear-gradient(145deg, #a2796d 0 42%, #d6b8a4 42% 60%, #65705e 60%); clip-path: polygon(0 10%, 80% 0, 100% 70%, 35% 100%, 0 75%); }
.bed { position: absolute; left: 7%; right: 7%; bottom: 76px; height: 270px; }
.headboard { position: absolute; inset: 0 3% 45px; border-radius: 4px 4px 0 0; background: #c2ad91; box-shadow: 0 20px 48px rgba(30,35,29,.22); }
.duvet { position: absolute; left: -2%; right: -2%; bottom: 0; height: 150px; border-radius: 17px 17px 2px 2px; background: linear-gradient(180deg, #f4eee3, #d7cdbf); box-shadow: 0 18px 35px rgba(30,35,29,.2); transform: perspective(600px) rotateX(5deg); }
.pillows { position: absolute; z-index: 2; left: 13%; right: 13%; bottom: 112px; height: 92px; display: flex; align-items: flex-end; justify-content: center; gap: 8px; }
.pillows i { width: 38%; height: 82px; border-radius: 40% 40% 12px 12px; background: #ece4d6; box-shadow: inset 0 0 18px rgba(112,93,72,.12); }
.pillows i:nth-child(2) { position: absolute; width: 28%; height: 68px; background: #7f8975; transform: translateY(14px); }
.lamp { position: absolute; left: 3%; bottom: 193px; z-index: 4; width: 95px; height: 180px; }
.lamp::before { content: ""; position: absolute; left: 44px; top: 54px; width: 2px; height: 118px; background: #4d4b43; }
.lamp::after { content: ""; position: absolute; left: 18px; bottom: 0; width: 58px; height: 5px; border-radius: 50%; background: #4d4b43; }
.lamp i { position: absolute; left: 10px; top: 0; width: 76px; height: 66px; background: #e7d5b6; clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%); filter: drop-shadow(0 0 20px rgba(255,221,166,.48)); }

.mood-lab {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: clamp(38px, 8vw, 120px);
  margin-top: 110px;
  padding: clamp(42px, 6vw, 76px);
  background: var(--cream);
}
.mood-intro h2, .section-heading h2, .fit-wrap h2, .launch-heading h2 { font-size: clamp(36px, 4.3vw, 62px); line-height: 1.02; letter-spacing: -.035em; }
.mood-intro > p:last-child, .section-heading > p:last-child, .launch-heading > p:last-child { color: var(--muted); }
.mood-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.mood-tab { padding: 10px 15px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; font-size: 12px; transition: .2s ease; }
.mood-tab:hover, .mood-tab.active { border-color: var(--sage-dark); background: var(--sage-dark); color: white; }
.mood-result { display: grid; grid-template-columns: 128px 1fr; gap: 28px; padding-top: 26px; border-top: 1px solid var(--line); }
.mood-swatch { min-height: 254px; border-radius: 50% 50% 4px 4px; background: linear-gradient(145deg, #f2eee6 0 33%, #b8c2c0 33% 66%, #cbbda9 66%); transition: background .35s ease; }
.mood-phrase { max-width: 490px; margin-bottom: 22px; font-family: var(--serif); font-size: 22px; line-height: 1.3; }
dl { margin: 0; }
dl > div { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
dt { color: var(--muted); font-size: 10px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
dd { margin: 0; font-size: 13px; }

.content-section, .closing-section { max-width: 1440px; margin: 0 auto; padding: clamp(100px, 12vw, 180px) clamp(22px, 6vw, 94px); }
.section-heading { display: grid; grid-template-columns: .7fr 1.3fr; column-gap: 8vw; align-items: end; margin-bottom: 66px; }
.section-heading .eyebrow { grid-column: 1 / -1; }
.section-heading h2, .section-heading > p:last-child { margin-bottom: 0; }
.section-heading > p:last-child { max-width: 510px; justify-self: end; font-size: 17px; }
.inside-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.inside-card { min-height: 255px; padding: 28px 26px; border-right: 1px solid var(--line); }
.inside-card:last-child { border-right: 0; }
.card-number { color: var(--rose); font-family: var(--serif); font-size: 13px; }
.inside-card h3 { margin: 74px 0 14px; font-family: var(--serif); font-size: 25px; font-weight: 400; }
.inside-card p { margin: 0; color: var(--muted); font-size: 13px; }
.fit-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 10vw; align-items: start; margin-top: 110px; }
.fit-wrap ul { margin: 0; padding: 0; list-style: none; counter-reset: fit; }
.fit-wrap li { position: relative; padding: 20px 0 20px 42px; border-bottom: 1px solid var(--line); color: #56544d; }
.fit-wrap li::before { content: "✓"; position: absolute; left: 5px; color: var(--sage); }
.offer-card { display: grid; grid-template-columns: 1.3fr .7fr; gap: 8vw; align-items: center; margin-top: 130px; padding: clamp(42px, 7vw, 92px); background: var(--sage-dark); color: white; }
.eyebrow.light { color: rgba(255,255,255,.65); }
.offer-card h2 { max-width: 720px; margin-bottom: 18px; font-size: clamp(38px, 5vw, 70px); line-height: .98; letter-spacing: -.04em; }
.offer-note { margin: 0; color: rgba(255,255,255,.64); font-size: 13px; }
.price-box { display: flex; flex-direction: column; align-items: flex-start; padding-left: 50px; border-left: 1px solid rgba(255,255,255,.22); }
.price-box > span { color: rgba(255,255,255,.64); font-size: 11px; text-transform: uppercase; }
.price-box strong { margin: 5px 0 18px; font-family: var(--serif); font-size: 88px; font-weight: 400; line-height: 1; }
.button-light { width: 100%; border-color: var(--cream); background: var(--cream); color: var(--sage-dark); }
.button-light:hover { background: transparent; color: var(--cream); }
.price-box small { align-self: center; margin-top: 10px; color: rgba(255,255,255,.55); }

.closing-section { padding-top: 20px; }
.faq-wrap { display: grid; grid-template-columns: .7fr 1.3fr; gap: 8vw; }
.faq-wrap .section-heading { display: block; }
.accordion details { border-top: 1px solid var(--line); }
.accordion details:last-child { border-bottom: 1px solid var(--line); }
summary { position: relative; padding: 25px 46px 25px 0; cursor: pointer; list-style: none; font-family: var(--serif); font-size: 22px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 8px; color: var(--sage); font-family: var(--sans); font-size: 23px; font-weight: 300; }
details[open] summary::after { content: "−"; }
details p { max-width: 620px; padding: 0 46px 24px 0; margin: 0; color: var(--muted); font-size: 14px; }
.launch-map { margin-top: 150px; padding: clamp(36px, 6vw, 78px); border: 1px solid var(--line); background: rgba(255,255,255,.25); }
.launch-heading { display: grid; grid-template-columns: 1.25fr .75fr; column-gap: 8vw; align-items: end; }
.launch-heading .eyebrow { grid-column: 1 / -1; }
.launch-heading > p:last-child { font-size: 13px; }
.launch-map ol { display: grid; grid-template-columns: repeat(4, 1fr); margin: 58px 0 26px; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.launch-map li { padding: 25px 22px 20px 0; }
.launch-map li + li { padding-left: 22px; border-left: 1px solid var(--line); }
.launch-map li > span { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; margin-bottom: 45px; border: 1px solid var(--sage); border-radius: 50%; color: var(--sage); font-family: var(--serif); }
.launch-map strong { font-family: var(--serif); font-size: 20px; font-weight: 400; }
.launch-map li p { margin: 8px 0 0; color: var(--muted); font-size: 12px; }
.launch-footnote { margin: 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
footer { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: end; gap: 40px; margin-top: 120px; padding-top: 34px; border-top: 1px solid var(--line); }
footer > p { max-width: 350px; margin: 0; color: var(--muted); font-family: var(--serif); font-style: italic; }
footer > :last-child { justify-self: end; }

.telegram-dialog { width: min(560px, calc(100% - 30px)); padding: 48px; border: 0; border-radius: 2px; background: var(--cream); color: var(--ink); box-shadow: 0 28px 90px rgba(24,24,20,.35); }
.telegram-dialog::backdrop { background: rgba(38,39,33,.58); backdrop-filter: blur(5px); }
.telegram-dialog h2 { margin-bottom: 20px; font-size: 38px; line-height: 1.05; }
.telegram-dialog > p:not(.eyebrow):not(.copy-status) { color: var(--muted); }
.dialog-close { position: absolute; top: 16px; right: 19px; width: 36px; height: 36px; border: 0; background: transparent; cursor: pointer; color: var(--muted); font-size: 28px; font-weight: 200; }
.copy-status { min-height: 22px; margin: 12px 0 0; color: var(--sage); font-size: 12px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .topbar { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding-right: 0; }
  .hero-visual { min-height: 560px; margin-top: 28px; }
  .mood-lab { grid-template-columns: 1fr; }
  .inside-grid { grid-template-columns: 1fr 1fr; }
  .inside-card:nth-child(2) { border-right: 0; }
  .inside-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .faq-wrap { grid-template-columns: 1fr; }
  .launch-map ol { grid-template-columns: 1fr 1fr; }
  .launch-map li:nth-child(3) { border-left: 0; }
  .launch-map li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 680px) {
  .topbar { min-height: 66px; padding: 10px 18px; }
  .topbar .brand small { display: none; }
  .button-small { min-height: 44px; padding: 0 15px; }
  .hero { padding: 52px 18px 0; }
  h1 { font-size: 52px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .ratio { margin-top: 44px; }
  .hero-visual { min-height: 450px; border-radius: 48% 48% 3px 3px; }
  .art-frame { top: 80px; width: 108px; height: 142px; }
  .bed { bottom: 58px; }
  .hero-visual > p { display: none; }
  .mood-lab { margin-top: 72px; padding: 36px 22px; }
  .mood-result { grid-template-columns: 1fr; }
  .mood-swatch { min-height: 78px; border-radius: 999px; }
  dl > div { grid-template-columns: 78px 1fr; }
  .content-section, .closing-section { padding-left: 18px; padding-right: 18px; }
  .section-heading, .fit-wrap, .offer-card, .launch-heading { grid-template-columns: 1fr; }
  .section-heading > p:last-child { justify-self: start; margin-top: 24px; }
  .inside-grid { grid-template-columns: 1fr; }
  .inside-card { min-height: 210px; border-right: 0; border-bottom: 1px solid var(--line); }
  .inside-card:last-child { border-bottom: 0; }
  .inside-card h3 { margin-top: 42px; }
  .fit-wrap { gap: 34px; margin-top: 80px; }
  .offer-card { gap: 50px; margin-top: 90px; padding: 48px 24px; }
  .price-box { padding: 38px 0 0; border-top: 1px solid rgba(255,255,255,.22); border-left: 0; }
  .launch-map { margin-top: 100px; padding: 38px 22px; }
  .launch-heading > p:last-child { margin-top: 22px; }
  .launch-map ol { grid-template-columns: 1fr; }
  .launch-map li + li { padding-left: 0; border-left: 0; }
  .launch-map li { display: grid; grid-template-columns: 48px 1fr; gap: 12px; border-bottom: 1px solid var(--line); }
  .launch-map li > span { margin: 0; }
  footer { grid-template-columns: 1fr; align-items: start; }
  footer > :last-child { justify-self: start; }
  .telegram-dialog { padding: 42px 24px 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
