*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --ivory: #FAF7F2;
  --ivory-dark: #F0EAE0;
  --burgundy: #7C1F3A;
  --burgundy-d: #5A1529;
  --gold: #C9973A;
  --gold-l: #E8BA5A;
  --terra: #C4553E;
  --charcoal: #2D1A10;
  --muted: #7A6357;
  --card-bg: #FFFFFF;
  --shadow: 0 4px 24px rgba(44, 26, 16, .10);
  --radius: 12px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--ivory);
  color: var(--charcoal);
  font-size: 16px;
  line-height: 1.6;
}

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--card-bg);
  border-bottom: 1px solid var(--ivory-dark);
  box-shadow: 0 2px 12px rgba(44, 26, 16, .06);
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .85rem 1.5rem;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--burgundy);
  text-decoration: none;
  letter-spacing: -.01em;
}

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

.nav-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  color: var(--charcoal);
  transition: color .2s;
}

.nav-links a:hover {
  color: var(--burgundy);
}

.nav-cta {
  background: var(--burgundy);
  color: #fff !important;
  padding: .45rem 1rem;
  border-radius: 6px;
}

.dwl-disclaimer {
  background: #fff;
  border-bottom: 1px solid var(--ivory-dark);
  padding: .75rem 1.5rem;
  font-size: .8rem;
  line-height: 1.55;
  color: var(--muted);
  text-align: center;
}

.dwl-disclaimer strong {
  color: var(--charcoal);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .25rem;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  margin: 5px 0;
}

.breadcrumb {
  max-width: 1160px;
  margin: 0 auto;
  padding: 1rem 1.5rem 0;
  font-size: .82rem;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--burgundy);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  margin: 0 .4rem;
  opacity: .5;
}

.platform-hero {
  max-width: 1160px;
  margin: 0 auto;
  padding: 2rem 1.5rem 2.5rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
}

.platform-hero-logo {
  width: 96px;
  height: 96px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--ivory-dark);
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}

.platform-hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.platform-hero-info h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--burgundy);
  margin-bottom: .35rem;
}

.platform-hero-tag {
  font-size: .78rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .5rem;
}

.platform-hero-rating {
  font-size: .88rem;
  color: var(--muted);
  margin-bottom: .75rem;
}

.platform-hero-rating strong {
  color: var(--charcoal);
}

.platform-hero-desc {
  color: var(--muted);
  font-size: .95rem;
  max-width: 560px;
  line-height: 1.6;
}

.platform-hero-badges {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  align-items: flex-end;
}

.badge-licensed {
  background: #EAF5EC;
  color: #2A6E3A;
  font-size: .75rem;
  font-weight: 600;
  padding: .35rem .85rem;
  border-radius: 20px;
  border: 1px solid #B8DFC0;
  white-space: nowrap;
}

.badge-age {
  background: var(--burgundy);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: .35rem .75rem;
  border-radius: 6px;
}

.platform-layout {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  align-items: start;
}

.platform-main section {
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid var(--ivory-dark);
  box-shadow: var(--shadow);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}

.platform-main h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  color: var(--burgundy);
  margin-bottom: 1rem;
  padding-bottom: .65rem;
  border-bottom: 2px solid var(--ivory-dark);
}

.platform-main p {
  color: var(--muted);
  font-size: .95rem;
  margin-bottom: .9rem;
  line-height: 1.65;
}

.platform-main p:last-child {
  margin-bottom: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.feature-card {
  background: var(--ivory);
  border-radius: 10px;
  padding: 1.1rem;
  border: 1px solid var(--ivory-dark);
}

.feature-card h3 {
  font-size: .88rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: .35rem;
}

.feature-card p {
  font-size: .82rem;
  margin-bottom: 0;
}

.info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  margin-top: .5rem;
}

.info-list li {
  font-size: .9rem;
  color: var(--charcoal);
  display: flex;
  align-items: flex-start;
  gap: .6rem;
}

.info-list li::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: .45rem;
}

.highlight-box {
  background: linear-gradient(145deg, var(--burgundy), var(--burgundy-d));
  color: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 1rem;
}

.highlight-box h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  margin-bottom: .6rem;
}

.highlight-box p {
  color: rgba(255, 255, 255, .85);
  font-size: .88rem;
  margin-bottom: 0;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: .75rem;
  font-size: .88rem;
}

.comparison-table th,
.comparison-table td {
  padding: .65rem .85rem;
  text-align: left;
  border-bottom: 1px solid var(--ivory-dark);
}

.comparison-table th {
  background: var(--ivory);
  font-weight: 600;
  color: var(--charcoal);
}

.comparison-table td {
  color: var(--muted);
}

.platform-sidebar {
  position: sticky;
  top: 80px;
}

.sidebar-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid var(--ivory-dark);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

.sidebar-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--burgundy);
  margin-bottom: 1rem;
}

.sidebar-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .55rem 0;
  border-bottom: 1px solid var(--ivory-dark);
  font-size: .85rem;
}

.sidebar-stat:last-of-type {
  border-bottom: none;
}

.sidebar-stat span:first-child {
  color: var(--muted);
}

.sidebar-stat span:last-child {
  font-weight: 600;
  color: var(--charcoal);
}

.btn-primary {
  display: block;
  width: 100%;
  padding: .85rem;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  background: var(--burgundy);
  color: #fff;
  transition: background .2s;
  margin-top: 1rem;
}

.btn-primary:hover {
  background: var(--burgundy-d);
}

.btn-back {
  display: block;
  width: 100%;
  padding: .72rem;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  font-size: .88rem;
  background: transparent;
  color: var(--burgundy);
  border: 2px solid var(--burgundy);
  transition: background .2s, color .2s;
  margin-top: .6rem;
}

.btn-back:hover {
  background: var(--burgundy);
  color: #fff;
}

.sidebar-warning {
  font-size: .75rem;
  color: var(--muted);
  text-align: center;
  margin-top: .75rem;
  line-height: 1.5;
}

.related-links {
  list-style: none;
}

.related-links li {
  margin-bottom: .45rem;
}

.related-links a {
  font-size: .85rem;
  color: var(--burgundy);
  text-decoration: none;
}

.related-links a:hover {
  text-decoration: underline;
}

.faq-mini {
  margin-top: .5rem;
}

.faq-mini details {
  border-bottom: 1px solid var(--ivory-dark);
  padding: .75rem 0;
}

.faq-mini details:last-child {
  border-bottom: none;
}

.faq-mini summary {
  font-size: .9rem;
  font-weight: 600;
  color: var(--charcoal);
  cursor: pointer;
  list-style: none;
}

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

.faq-mini p {
  font-size: .85rem;
  margin-top: .5rem;
  margin-bottom: 0;
}

footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, .75);
  padding: 3rem 1.5rem 1.5rem;
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand p {
  font-size: .85rem;
  margin-top: .75rem;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: .85rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: .75rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: .4rem;
}

.footer-col a {
  color: rgba(255, 255, 255, .6);
  text-decoration: none;
  font-size: .85rem;
}

.footer-col a:hover {
  color: var(--gold-l);
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin: 1.5rem 0;
}

.footer-warning {
  background: rgba(124, 31, 58, .3);
  border: 1px solid rgba(201, 151, 58, .3);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  font-size: .8rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-warning a {
  color: var(--gold-l);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
  font-size: .75rem;
  color: rgba(255, 255, 255, .4);
}

.age-badge {
  display: inline-block;
  background: var(--burgundy);
  color: #fff;
  font-weight: 700;
  font-size: .75rem;
  padding: .2rem .55rem;
  border-radius: 4px;
}

.srij-badge {
  font-size: .75rem;
  color: var(--gold-l);
}

.dwl-footer-rg {
  background: var(--burgundy-d);
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 1.25rem 1.5rem;
}

.dwl-footer-rg__lead {
  font-size: .82rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, .88);
  margin-bottom: 1rem;
  text-align: center;
}

.dwl-footer-rg__grid {
  position: static;
  z-index: auto;
  background: transparent;
  border-bottom: none;
  box-shadow: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem .75rem;
  margin-bottom: .85rem;
}

.dwl-footer-rg__grid a {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  padding: .4rem .75rem;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
  background: rgba(0, 0, 0, .18);
  color: #fff;
  font-size: .72rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s, border-color .15s, color .15s;
}

.dwl-footer-rg__grid a:hover {
  background: rgba(0, 0, 0, .28);
  border-color: var(--gold-l);
  color: var(--gold-l);
}

.dwl-footer-rg__note {
  text-align: center;
  font-size: .72rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, .5);
}

@media (max-width: 900px) {
  .platform-layout {
    grid-template-columns: 1fr;
  }

  .platform-sidebar {
    position: static;
  }

  .platform-hero {
    grid-template-columns: auto 1fr;
  }

  .platform-hero-badges {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
  }

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--card-bg);
    border-bottom: 1px solid var(--ivory-dark);
    padding: 1rem 1.5rem;
  }

  .nav-links.open {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  .nav-inner {
    position: relative;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .platform-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .platform-hero-logo {
    margin: 0 auto;
  }

  .platform-hero-desc {
    max-width: none;
  }

  .platform-hero-badges {
    justify-content: center;
  }
}
