:root {
  --ink: #101014;
  --panel: #18141f;
  --panel-2: #22182b;
  --line: rgba(255, 255, 255, .14);
  --text: #f8f4ec;
  --muted: #c9bfaf;
  --orange: #f19a20;
  --gold: #ffd463;
  --red: #e53e35;
  --purple: #7517c9;
  --white: #fffaf0;
  --shadow: 0 24px 70px rgba(27, 10, 2, .32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #2b2928;
  background: #fff7eb;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #151515;
  color: var(--text);
  box-shadow: 0 10px 32px rgba(0, 0, 0, .22);
}

.topbar {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-weight: 1000;
  font-style: italic;
  letter-spacing: 0;
  color: var(--white);
}

.brand span {
  font-size: clamp(32px, 4vw, 48px);
  color: var(--orange);
  text-shadow: 0 2px 0 #6a2500;
}

.brand small {
  color: var(--gold);
  font-size: 20px;
}

.account-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.primary-btn,
.ghost-btn,
.outline-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 800;
  white-space: nowrap;
}

.primary-btn {
  color: #1b1110;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  box-shadow: 0 12px 26px rgba(241, 154, 32, .32);
}

.primary-btn.small,
.ghost-btn {
  min-height: 38px;
  padding-inline: 18px;
  font-size: 14px;
}

.ghost-btn,
.outline-btn {
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, .34);
  background: rgba(255, 255, 255, .08);
}

.main-nav {
  background: linear-gradient(90deg, #d9412f, #ef9d20 35%, #ffd05c 70%, #f1a021);
  color: #2a1505;
}

.nav-scroll {
  display: flex;
  justify-content: center;
  gap: 2px;
  overflow-x: auto;
}

.nav-scroll a {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  color: #2b1607;
}

.nav-scroll a:hover,
.nav-scroll a:first-child {
  background: rgba(255, 255, 255, .25);
}

.hero {
  color: var(--text);
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 211, 88, .35), transparent 20%),
    radial-gradient(circle at 70% 24%, rgba(229, 62, 53, .32), transparent 24%),
    linear-gradient(135deg, #230e42 0%, #6a0fba 38%, #bb1593 68%, #f19320 100%);
  overflow: hidden;
}

.hero-grid {
  min-height: 540px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .92fr);
  gap: 34px;
  align-items: center;
  padding: 58px 0;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--orange);
}

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

h1 {
  max-width: 700px;
  margin-bottom: 18px;
  font-size: clamp(38px, 5.4vw, 68px);
  line-height: 1.05;
  letter-spacing: 0;
}

.lead {
  max-width: 610px;
  margin-bottom: 28px;
  color: rgba(255, 250, 240, .88);
  font-size: 18px;
}

.hero-media {
  position: relative;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 8% -4% 0 6%;
  background: rgba(0, 0, 0, .24);
  filter: blur(28px);
  border-radius: 40px;
}

.hero-media img {
  position: relative;
  width: 100%;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: var(--shadow);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.hero-stats div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 16px;
  background: rgba(13, 9, 17, .42);
  backdrop-filter: blur(8px);
}

.hero-stats strong {
  display: block;
  color: var(--gold);
  font-size: 24px;
  line-height: 1.1;
}

.hero-stats span {
  color: rgba(255, 250, 240, .78);
  font-size: 13px;
}

.intro-section,
.news-section,
.about-section {
  padding: 66px 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, .75fr);
  gap: 28px;
  align-items: stretch;
}

.intro-copy h2,
.section-heading h2,
.promo-panel h2,
.about-grid h2 {
  color: #2b2622;
  font-size: clamp(28px, 3.1vw, 42px);
  line-height: 1.18;
  letter-spacing: 0;
}

.intro-copy p {
  color: #665c54;
  font-size: 17px;
}

.signal-card {
  color: var(--text);
  padding: 30px;
  border-radius: 22px;
  background: linear-gradient(145deg, #1b141c, #341a33);
  box-shadow: var(--shadow);
}

.signal-card h3 {
  font-size: 26px;
}

.signal-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.product-band {
  padding: 68px 0;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 20%, rgba(241, 154, 32, .18), transparent 28%),
    linear-gradient(135deg, var(--ink), #21122b 58%, #130c18);
}

.product-band .section-heading h2,
.promo-section h2,
.product-band .section-kicker {
  color: var(--text);
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading.split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

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

.product-card {
  min-height: 210px;
  padding: 24px;
  border: 1px solid rgba(255, 212, 99, .28);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)),
    rgba(255, 255, 255, .04);
  transition: transform .2s ease, border-color .2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 212, 99, .65);
}

.product-card span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 36px;
  border-radius: 13px;
  color: #211105;
  font-weight: 1000;
  background: linear-gradient(135deg, var(--gold), var(--orange));
}

.product-card h3 {
  margin-bottom: 8px;
  font-size: 21px;
}

.product-card p {
  margin: 0;
  color: rgba(255, 250, 240, .72);
  font-size: 14px;
}

.promo-section {
  padding: 70px 0;
  color: var(--text);
  background: linear-gradient(135deg, #de412d, #f19a20 45%, #5821b7);
}

.promo-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.2fr);
  gap: 20px;
  align-items: stretch;
}

.promo-panel,
.promo-metrics {
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(16, 16, 20, .22);
  backdrop-filter: blur(10px);
}

.promo-panel {
  padding: 32px;
}

.promo-panel p {
  margin-bottom: 0;
  color: rgba(255, 250, 240, .84);
}

.promo-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
}

.promo-metrics div {
  display: flex;
  min-height: 146px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(0, 0, 0, .22);
  text-align: center;
}

.promo-metrics strong {
  color: var(--gold);
  font-size: 32px;
  line-height: 1.1;
}

.promo-metrics span {
  color: rgba(255, 250, 240, .78);
  font-weight: 700;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(43, 38, 34, .18);
  color: #5b2b03;
  font-weight: 900;
  background: #fff;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.news-card {
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(33, 21, 9, .12);
}

.news-card a {
  display: block;
  height: 100%;
}

.news-card img {
  width: 100%;
  aspect-ratio: 1.58;
  object-fit: cover;
}

.news-card time {
  display: inline-flex;
  margin: -24px 0 12px 20px;
  position: relative;
  z-index: 2;
  min-width: 58px;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #2a1605;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  font-weight: 1000;
}

.news-card span,
.news-card h3,
.news-card p {
  display: block;
  padding-inline: 22px;
}

.news-card span {
  margin-bottom: 8px;
  color: var(--red);
  font-size: 12px;
  font-weight: 1000;
  text-transform: uppercase;
}

.news-card h3 {
  margin-bottom: 10px;
  color: #2b2622;
  font-size: 20px;
  line-height: 1.28;
}

.news-card p {
  margin-bottom: 24px;
  color: #6e645c;
  font-size: 14px;
}

.about-section {
  background:
    radial-gradient(circle at 80% 0%, rgba(241, 154, 32, .12), transparent 30%),
    #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(260px, .75fr) minmax(0, 1.4fr);
  gap: 32px;
}

.about-list {
  display: grid;
  gap: 14px;
}

.about-list article {
  padding: 22px;
  border-radius: 18px;
  border: 1px solid rgba(43, 38, 34, .1);
  background: #fff7eb;
}

.about-list h3 {
  margin-bottom: 6px;
  color: #2b2622;
}

.about-list p {
  margin: 0;
  color: #6e645c;
}

.site-footer {
  color: var(--text);
  background: #151515;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(150px, .5fr));
  gap: 28px;
  padding: 46px 0;
}

.footer-brand span {
  font-size: 42px;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 250, 240, .72);
}

.site-footer h3 {
  margin-bottom: 12px;
  color: var(--gold);
}

.site-footer a:not(.brand) {
  display: block;
  margin: 8px 0;
}

.copyright {
  padding: 18px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 250, 240, .54);
  font-size: 13px;
}

.article-hero {
  color: var(--text);
  padding: 72px 0 64px;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 211, 99, .22), transparent 28%),
    radial-gradient(circle at 76% 20%, rgba(229, 62, 53, .28), transparent 25%),
    linear-gradient(135deg, #1a101c, #5a1397 55%, #e65525);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  color: rgba(255, 250, 240, .72);
  font-size: 14px;
}

.breadcrumbs a {
  color: var(--gold);
  font-weight: 900;
}

.article-hero h1 {
  max-width: 920px;
  margin-bottom: 18px;
  font-size: clamp(34px, 4.2vw, 56px);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.article-meta span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border-radius: 999px;
  padding: 0 14px;
  color: #2a1605;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  font-size: 13px;
  font-weight: 900;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 28px;
  padding: 58px 0 72px;
}

.article-content,
.sidebar-card {
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(33, 21, 9, .1);
}

.article-content {
  overflow: hidden;
}

.article-cover {
  width: 100%;
  aspect-ratio: 2.2;
  object-fit: cover;
}

.article-body {
  padding: 34px;
  color: #5f554e;
  font-size: 17px;
}

.article-body h2,
.article-body h3 {
  color: #2b2622;
  line-height: 1.22;
}

.article-body h2 {
  margin-top: 34px;
  font-size: 29px;
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body p,
.article-body li {
  margin-bottom: 16px;
}

.article-body ul {
  padding-left: 22px;
}

.article-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0 34px 34px;
}

.article-nav a {
  display: flex;
  min-height: 62px;
  align-items: center;
  border-radius: 16px;
  padding: 14px 16px;
  color: #2a1605;
  background: #fff3df;
  font-weight: 900;
}

.sidebar-card {
  padding: 24px;
  margin-bottom: 18px;
}

.sidebar-card h2 {
  margin-bottom: 12px;
  color: #2b2622;
  font-size: 23px;
}

.sidebar-card p {
  color: #6e645c;
}

.related-list {
  display: grid;
  gap: 10px;
}

.related-list a {
  display: block;
  border-radius: 14px;
  padding: 12px 14px;
  color: #3b2410;
  background: #fff3df;
  font-weight: 800;
}

.page-list {
  display: flex;
  justify-content: center;
  margin-top: 26px;
  color: #4b3524;
  font-weight: 900;
}

@media (max-width: 900px) {
  .wrap {
    width: min(100% - 28px, 760px);
  }

  .topbar {
    min-height: 64px;
  }

  .brand span {
    font-size: 34px;
  }

  .account-actions {
    gap: 8px;
  }

  .ghost-btn,
  .primary-btn.small {
    min-height: 34px;
    padding-inline: 12px;
    font-size: 12px;
  }

  .nav-scroll {
    justify-content: flex-start;
  }

  .hero-grid,
  .intro-grid,
  .promo-grid,
  .about-grid,
  .article-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: 0;
    padding: 44px 0;
  }

  .hero-stats,
  .promo-metrics,
  .news-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  .wrap {
    width: min(100% - 24px, 420px);
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 0;
  }

  .nav-scroll a {
    min-height: 52px;
    padding-inline: 14px;
    font-size: 12px;
  }

  h1 {
    font-size: 38px;
  }

  .lead {
    font-size: 16px;
  }

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

  .section-heading.split {
    align-items: flex-start;
    flex-direction: column;
  }

  .article-body {
    padding: 24px;
    font-size: 16px;
  }

  .article-nav {
    grid-template-columns: 1fr;
    padding: 0 24px 24px;
  }
}
