:root {
  --ink: #141414;
  --muted: #66635d;
  --paper: #fffdf8;
  --soft: #f3f0e8;
  --line: #ded9ce;
  --dark: #0b0b0d;
  --gold: #e8b940;
  --gold-light: #f7d36f;
  --white: #ffffff;
  --shell: 1180px;
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
svg { display: block; }

.shell {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  color: var(--dark);
  background: var(--gold-light);
  border-radius: 8px;
  transform: translateY(-180%);
}

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

.site-header {
  position: relative;
  z-index: 10;
  color: var(--white);
  background: var(--dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 19px;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.brand svg { width: 28px; height: 28px; fill: var(--gold); }
.site-nav { display: flex; align-items: center; gap: 32px; }

.site-nav a,
.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible { color: var(--white); }

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  color: var(--dark);
  background: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 10px;
  font-weight: 750;
  line-height: 1.25;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover,
.button:focus-visible {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
}

.button--small { min-height: 44px; padding: 10px 18px; }
.button--dark { color: var(--white); background: var(--dark); border-color: var(--dark); }

.button--dark:hover,
.button--dark:focus-visible { color: var(--dark); background: var(--gold); border-color: var(--gold); }

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: radial-gradient(circle at 75% 35%, rgba(232, 185, 64, 0.13), transparent 30%), var(--dark);
}

.hero-grid {
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: 80px;
  padding-block: 88px 104px;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(52px, 6vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.hero h1 span { color: var(--gold); }

.hero-copy > p {
  max-width: 660px;
  margin: 32px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 19px;
  line-height: 1.65;
}

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

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  transition: color 160ms ease, gap 160ms ease;
}

.text-link:hover,
.text-link:focus-visible { color: #9b7410; gap: 13px; }
.hero .text-link { color: var(--white); }
.hero .text-link:hover,
.hero .text-link:focus-visible { color: var(--gold-light); }
.text-link span { font-size: 22px; text-decoration: none; }

.order-card {
  padding: 34px;
  color: var(--ink);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
}

.order-card__header {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.star-mark,
.product-icon {
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: var(--dark);
  background: var(--gold);
  border-radius: 16px;
}

.star-mark svg,
.product-icon svg { width: 30px; height: 30px; fill: currentColor; }

.product-icon svg path + path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.order-card h2 { margin: 0; font-size: 23px; line-height: 1.25; letter-spacing: -0.03em; }
.order-card__header p { margin: 3px 0 0; color: var(--muted); }
.order-details { margin: 0; }

.order-details div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.order-details dt { color: var(--muted); }
.order-details dd { margin: 0; font-weight: 700; }
.order-details .order-total { padding-top: 24px; }
.order-total dt, .order-total dd { color: var(--ink); font-size: 20px; }
.order-note { margin: 24px 0 0; color: var(--muted); }

.facts { color: var(--dark); background: var(--gold); }

.facts-grid {
  min-height: 92px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
}

.facts p {
  margin: 0;
  padding: 8px 28px;
  text-align: center;
  border-right: 1px solid rgba(11, 11, 13, 0.25);
}

.facts p:first-child { padding-left: 0; }
.facts p:last-child { padding-right: 0; border-right: 0; }
.facts strong { font-weight: 800; }

.section { padding-block: 112px; }
.section--soft { background: var(--soft); }
.section-heading { max-width: 780px; margin-bottom: 56px; }

.section-heading h2,
.why-panel h2,
.cta-inner h2 {
  margin: 0;
  font-size: clamp(38px, 4.5vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.section-heading p,
.why-panel > div > p,
.cta-inner p {
  max-width: 680px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }

.product-card {
  display: flex;
  flex-direction: column;
  padding: 44px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.product-card h3 { margin: 30px 0 12px; font-size: 32px; line-height: 1.15; letter-spacing: -0.04em; }
.product-card > p:not(.price) { margin: 0; color: var(--muted); font-size: 17px; }
.price { min-height: 62px; margin: 28px 0 0; font-size: 18px; }
.price strong { font-size: 27px; letter-spacing: -0.03em; }

.product-card ul {
  flex: 1;
  margin: 22px 0 32px;
  padding: 24px 0 0 24px;
  border-top: 1px solid var(--line);
}

.product-card li { margin: 10px 0; }
.product-card li::marker { color: var(--gold); }

.use-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 38px;
}

.use-grid article { padding-top: 26px; border-top: 3px solid var(--gold); }

.use-grid h3,
.steps h3,
.benefits h3 { margin: 0; font-size: 23px; line-height: 1.25; letter-spacing: -0.025em; }

.use-grid p,
.steps p,
.benefits p { margin: 12px 0 0; color: var(--muted); }

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li { padding-top: 28px; border-top: 1px solid var(--line); }

.steps li > span {
  display: block;
  margin-bottom: 36px;
  color: var(--gold);
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
}

.why-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 80px;
  padding: 72px;
  color: var(--white);
  background: var(--dark);
  border-radius: var(--radius);
}

.why-panel > div > p,
.benefits p { color: rgba(255, 255, 255, 0.68); }
.why-panel .button { margin-top: 34px; }

.benefits article {
  padding: 0 0 26px;
  margin-bottom: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.benefits article:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }

.faq-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 100px;
}

.faq-section .section-heading { margin: 0; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }

.faq-list summary {
  position: relative;
  padding: 24px 48px 24px 0;
  font-size: 19px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 17px;
  right: 0;
  color: var(--muted);
  font-size: 30px;
  font-weight: 400;
}

.faq-list details[open] summary::after { content: "−"; }
.faq-list p { margin: -4px 48px 24px 0; color: var(--muted); }

.faq-list summary:focus-visible {
  outline: 3px solid rgba(232, 185, 64, 0.55);
  outline-offset: 5px;
  border-radius: 4px;
}

.legal-hero {
  color: var(--white);
  background: var(--dark);
}

.legal-hero__inner {
  padding-block: 88px 96px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 44px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
  transition: color 160ms ease, gap 160ms ease;
}

.back-link:hover,
.back-link:focus-visible {
  gap: 14px;
  color: var(--gold-light);
}

.legal-hero h1 {
  margin: 0;
  font-size: clamp(52px, 7vw, 86px);
  line-height: 1;
  letter-spacing: -0.06em;
}

.legal-hero__inner > p:not(.legal-date) {
  max-width: 680px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 19px;
}

.legal-date {
  margin: 24px 0 0;
  color: var(--gold-light);
  font-weight: 700;
}

.legal-copy {
  max-width: 860px;
  padding-block: 88px 112px;
}

.legal-copy section {
  padding-bottom: 44px;
  margin-bottom: 44px;
  border-bottom: 1px solid var(--line);
}

.legal-copy section:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.legal-copy h2 {
  margin: 0 0 20px;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.legal-copy p {
  margin: 0 0 16px;
  color: #4f4c46;
  font-size: 17px;
  line-height: 1.75;
}

.legal-copy p:last-child { margin-bottom: 0; }

.legal-copy a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(20, 20, 20, 0.35);
  text-underline-offset: 4px;
}

.legal-copy a:hover,
.legal-copy a:focus-visible {
  color: #76570b;
  text-decoration-color: currentColor;
}

.cta-section { color: var(--white); background: var(--dark); }

.cta-inner {
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
}

.cta-inner p { color: rgba(255, 255, 255, 0.68); }

.site-footer {
  padding-block: 64px 36px;
  color: var(--white);
  background: var(--dark);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 80px; }

.footer-about p {
  max-width: 520px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.62);
}

.footer-links {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 18px 28px;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding-top: 32px;
  color: rgba(255, 255, 255, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
}

@media (max-width: 960px) {
  .site-nav { display: none; }
  .hero-grid { min-height: auto; grid-template-columns: 1fr; gap: 60px; padding-block: 72px 88px; }
  .order-card { width: min(100%, 620px); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-panel { grid-template-columns: 1fr; gap: 64px; }
  .faq-section { grid-template-columns: 1fr; gap: 52px; }
}

@media (max-width: 700px) {
  .shell { width: min(calc(100% - 32px), var(--shell)); }
  .header-inner { min-height: 72px; }
  .brand { font-size: 17px; }
  .brand svg { width: 25px; height: 25px; }
  .header-inner .button { min-height: 40px; padding: 9px 13px; }
  .hero-grid { gap: 48px; padding-block: 64px 72px; }
  .hero h1 { font-size: clamp(44px, 13vw, 60px); letter-spacing: -0.06em; }
  .hero-copy > p { margin-top: 26px; font-size: 17px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 22px; margin-top: 32px; }
  .hero-actions .button { width: 100%; }
  .order-card { padding: 24px; border-radius: 18px; }
  .star-mark, .product-icon { width: 50px; height: 50px; border-radius: 14px; }
  .order-card h2 { font-size: 21px; }
  .order-details div { align-items: flex-start; flex-direction: column; gap: 2px; }
  .facts-grid { grid-template-columns: 1fr; padding-block: 10px; }

  .facts p,
  .facts p:first-child,
  .facts p:last-child {
    padding: 14px 0;
    text-align: left;
    border-right: 0;
    border-bottom: 1px solid rgba(11, 11, 13, 0.2);
  }

  .facts p:last-child { border-bottom: 0; }
  .legal-hero__inner { padding-block: 64px 72px; }
  .back-link { margin-bottom: 36px; }
  .legal-hero h1 { font-size: 48px; }
  .legal-hero__inner > p:not(.legal-date) { font-size: 17px; }
  .legal-copy { padding-block: 64px 80px; }
  .legal-copy section { padding-bottom: 36px; margin-bottom: 36px; }
  .legal-copy h2 { font-size: 27px; }
  .section { padding-block: 80px; }
  .section-heading { margin-bottom: 40px; }
  .section-heading h2, .why-panel h2, .cta-inner h2 { font-size: 38px; }
  .section-heading p, .why-panel > div > p, .cta-inner p { font-size: 17px; }
  .product-grid, .use-grid, .steps { grid-template-columns: 1fr; }
  .product-card { padding: 30px 24px; border-radius: 18px; }
  .product-card h3 { font-size: 28px; }
  .steps { gap: 38px; }
  .steps li > span { margin-bottom: 20px; }
  .why-panel { gap: 52px; padding: 48px 24px; border-radius: 18px; }
  .cta-inner { min-height: auto; align-items: flex-start; flex-direction: column; gap: 32px; padding-block: 72px; }
  .cta-inner .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { justify-content: flex-start; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
