﻿/* NEW 1:1 header/hero skin (ref style) */
:root {
  --ref-bg: #f1f1f1;
  --ref-ink: #2c2b33;
  --ref-ink-soft: #4a4953;
  --ref-yellow: #ffc53d;
  --ref-yellow-dark: #f2b622;
  --ref-black: #111111;
  --ref-line: #d9d9d9;
  --ref-pill: #ffffff;
  --ref-shadow: 0 12px 30px rgba(0,0,0,0.12);
  --ref-radius: 22px;
  --ref-font-head: "Chakra Petch", sans-serif;
  --ref-font-body: "Manrope", sans-serif;
}

body.dn-body {
  background: var(--ref-bg);
  color: var(--ref-ink);
}

.dn-topbar {
  background: var(--ref-black);
  border-bottom: 4px solid var(--ref-yellow);
}

.dn-topbar-row { padding: 12px 0; }

.dn-brand { color: #ffffff; }

.dn-brand small { color: rgba(255,255,255,0.7); }

.dn-nav {
  color: #ffffff;
  gap: 16px;
  font-weight: 600;
}

.dn-nav a {
  padding: 6px 10px;
  border-radius: 8px;
}

.dn-nav a.dn-active {
  background: var(--ref-yellow);
  color: #1d1d1d;
}

.dn-nav a.dn-active::after { display: none; }

.dn-nav-cta { gap: 12px; }

.dn-search {
  position: relative;
  width: min(280px, 32vw);
}

.dn-search input {
  width: 100%;
  padding: 10px 40px 10px 14px;
  border-radius: 999px;
  border: 0;
  background: #ffffff;
  font-family: var(--ref-font-body);
}

.dn-search svg {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  stroke: #2c2b33;
}

.dn-menu-toggle span {
  background: #ffffff;
}

.dn-btn {
  border-radius: 999px;
}

.dn-btn-primary {
  background: var(--ref-yellow);
  color: #1d1d1d;
  box-shadow: none;
}

.dn-btn-ghost {
  background: transparent;
  color: #ffffff;
  border: 2px solid var(--ref-yellow);
}

.dn-hero {
  padding: 50px 0 40px;
}

.dn-hero-grid {
  grid-template-columns: 1.1fr 1fr;
  gap: 30px;
  align-items: center;
}

.dn-hero-card {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.dn-hero-card h1 {
  font-family: var(--ref-font-head);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ref-ink);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
}

.dn-hero-card p {
  color: var(--ref-ink-soft);
}

.dn-hero-actions .dn-btn {
  width: min(520px, 70vw);
  justify-content: center;
  font-weight: 700;
}

.dn-hero-actions {
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.dn-hero-media {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  display: grid;
  place-items: center;
}

.dn-hero-illustration {
  position: relative;
  width: min(520px, 90%);
  aspect-ratio: 4 / 3;
}

.dn-hero-illustration img {
  position: absolute;
  max-width: 70%;
  right: 0;
  bottom: 0;
  filter: drop-shadow(0 16px 30px rgba(0,0,0,0.18));
}

.dn-hero-illustration .dn-hero-mic {
  max-width: 40%;
  left: 0;
  bottom: 20%;
}

.dn-pill { background: transparent; color: var(--ref-ink-soft); padding: 0; }

/* Lighter panorama pill on dark main */
main .dn-pill {
  color: #f4f4f4;
}

/* Panorama + Advantages 1:1 */
.dn-panorama {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: start;
}

.dn-panorama h2 {
  font-family: var(--ref-font-head);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 1.6rem;
  margin-top: 0;
}

.dn-panorama p { color: var(--ref-ink-soft); }

.dn-panorama-visual {
  display: grid;
  place-items: center;
}

.dn-panorama-visual img {
  width: min(260px, 80%);
  height: auto;
}

.dn-adv-wrap {
  margin-top: 18px;
}

.dn-adv-title {
  text-align: center;
  font-family: var(--ref-font-head);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.dn-adv-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 16px;
}

.dn-adv-card {
  background: #f6f6f6;
  border: 1.6px solid #6a6a6a;
  border-radius: 16px;
  padding: 16px;
  display: grid;
  gap: 8px;
}

.dn-adv-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #fff1c0;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #3a2f24;
  border: 1px solid #e0c06a;
}

.dn-adv-card h4 {
  margin: 0;
  font-family: var(--ref-font-head);
  font-size: 0.95rem;
}

.dn-adv-card p {
  margin: 0;
  color: var(--ref-ink-soft);
  font-size: 0.9rem;
}

/* Safety + control 1:1 */
.dn-safety {
  text-align: center;
}

.dn-safety h2 {
  font-family: var(--ref-font-head);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 1.6rem;
  margin-bottom: 18px;
}

.dn-safety-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(200px, 1fr));
  gap: 16px;
  align-items: center;
}

.dn-safety-col {
  display: grid;
  gap: 14px;
}

.dn-safety-card {
  background: #f6f6f6;
  border: 1.6px solid #6a6a6a;
  border-radius: 16px;
  padding: 16px;
  text-align: left;
  min-height: 110px;
}

.dn-safety-card.is-accent {
  background: var(--ref-yellow);
  border-color: #e6b120;
}

.dn-safety-card h4 {
  margin: 0 0 6px 0;
  font-family: var(--ref-font-head);
  font-size: 0.95rem;
  text-transform: uppercase;
}

.dn-safety-card p {
  margin: 0;
  color: var(--ref-ink-soft);
  font-size: 0.9rem;
}

.dn-safety-center {
  display: grid;
  place-items: center;
}

.dn-safety-center .dn-cup {
  width: min(220px, 80%);
  height: auto;
}

/* FAQ 1:1 */
.dn-faq-block {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
}

.dn-faq-title {
  font-family: var(--ref-font-head);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 12px 0;
}

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

.dn-faq-pill {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1.6px solid #6a6a6a;
  border-radius: 12px;
  padding: 10px 14px;
  background: #ffffff;
  font-size: 0.9rem;
}

.dn-faq-pill span {
  color: #7a6f66;
  font-weight: 700;
}

.dn-faq-visual {
  display: grid;
  place-items: center;
}

.dn-faq-visual img {
  width: min(220px, 80%);
  height: auto;
}

/* Footer 1:1 */
.dn-footer-ref {
  background: var(--ref-yellow);
  color: #2b241b;
  padding: 40px 0 24px;
}

.dn-footer-ref-top {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 22px;
  align-items: start;
  margin-bottom: 16px;
}

.dn-footer-mark {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: #f7c94f;
  display: grid;
  place-items: center;
  border: 2px solid #111111;
}

.dn-footer-mark img { width: 34px; height: 34px; }

.dn-footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: 18px;
}

.dn-footer-cols h4 {
  margin: 0 0 8px 0;
  font-family: var(--ref-font-head);
  text-transform: uppercase;
  font-size: 0.9rem;
}

.dn-footer-cols a {
  display: block;
  color: inherit;
  text-decoration: none;
  margin-bottom: 6px;
}

.dn-footer-ref-bottom {
  font-size: 0.85rem;
  color: #3b2f22;
  border-top: 1px solid rgba(0,0,0,0.15);
  padding-top: 12px;
}

.dn-footer-ref-bottom p { margin: 6px 0; }

/* Catalog list 1:1 proportions */
.dn-platforms { display: grid; gap: 14px; }

.dn-platform {
  display: grid;
  grid-template-columns: 64px 170px 1.2fr 1fr 150px;
  gap: 14px;
  align-items: center;
  background: #ffffff;
  border: 1px solid #e6e6e6;
  border-radius: 26px;
  padding: 12px 18px;
  box-shadow: 0 10px 22px rgba(0,0,0,0.08);
}

.dn-platform:hover { transform: translateY(-2px); }

.dn-rank {
  background: #5a4a63;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 6px 10px;
  border-radius: 12px;
  width: fit-content;
}

.dn-logo {
  width: 170px;
  height: 170px;
  border-radius: 16px;
  background: #f0f0f0;
  display: flex;
  place-items: center;
  overflow: hidden;
  border: 1px solid #e3e3e3;
}

.dn-logo img { width: 100%; height: 100%; object-fit: cover; }

.dn-platform h4 { margin: 0; font-family: var(--ref-font-head); font-size: 1rem; }

.dn-platform p { margin: 6px 0 0; color: var(--ref-ink-soft); font-size: 0.9rem; }

.dn-features {
  display: grid;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--ref-ink-soft);
}

.dn-features span::before {
  content: "✓";
  color: var(--ref-yellow-dark);
  font-weight: 900;
  margin-right: 6px;
}

.dn-cta-pill {
  justify-self: end;
  background: var(--ref-yellow);
  color: #1d1d1d;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 800;
  border: 0;
  text-align: center;
}

.dn-platform.is-highlight {
  background: var(--ref-yellow);
  border-color: #e6b120;
}

.dn-platform.is-highlight .dn-cta-pill {
  background: #ffffff;
  color: #1d1d1d;
  border: 2px solid #1d1d1d;
}

.dn-platform.is-highlight .dn-features span::before {
  color: #1d1d1d;
}

/* Darken review text on dark main background */
main .dn-review {
  color: #c7c7c7;
}

main .dn-review p {
  color: #c0c0c0;
}

main .dn-review strong {
  color: #d2d2d2;
}

main .dn-review-hero p {
  color: rgba(210, 210, 210, 0.85);
}

/* Make key descriptive text lighter on dark main background */
main .dn-hero-card p,
main .dn-section-title p,
main .dn-panorama p,
main .dn-adv-card p,
main .dn-safety-card p {
  color: #f0f0f0;
}

/* Hero headline light per request */
main .dn-hero-card h1 {
  color: #f4f4f4;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.65);
}

@media (max-width: 980px) {
  .dn-platform { grid-template-columns: 64px 1fr; }
  .dn-logo { width: 100%; height: 160px; }
  .dn-features, .dn-cta-pill { grid-column: span 2; justify-self: start; }
}

@media (max-width: 980px) {
  .dn-hero-grid { grid-template-columns: 1fr; }
  .dn-hero-actions .dn-btn { width: 100%; }
  .dn-search { display: none; }
  .dn-panorama { grid-template-columns: 1fr; }
  .dn-adv-grid { grid-template-columns: 1fr; }
  .dn-safety-grid { grid-template-columns: 1fr; }
  .dn-safety-center { order: -1; }
  .dn-faq-block { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .dn-nav { background: #111111; border: 1px solid #222; }
}

@media (max-width: 860px) {
  .dn-hero { padding: 36px 0 28px; }
  .dn-hero-illustration { width: min(420px, 92%); }
  .dn-hero-illustration img { max-width: 78%; }
  .dn-platform {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px 16px;
  }
  .dn-logo { width: 100%; height: 160px; }
  .dn-platform > div { width: 100%; }
  .dn-platform-info {
    grid-column: 1 / -1;
    width: 100%;
  }
  .dn-features,
  .dn-cta-pill {
    justify-self: start;
  }
  .dn-footer-ref-top { grid-template-columns: 1fr; }
  .dn-footer-cols { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .dn-topbar-row { padding: 10px 0; }
  .dn-brand strong { font-size: 0.95rem; }
  .dn-hero-card h1 { font-size: clamp(1.8rem, 7vw, 2.4rem); }
  .dn-hero-actions { width: 100%; }
  .dn-hero-card,
  .dn-hero-media {
    width: 100%;
  }
  .dn-hero-card { padding-left: 0; }
  .dn-panorama-visual img,
  .dn-faq-visual img,
  .dn-safety-center .dn-cup { width: min(200px, 85%); }
  .dn-adv-card,
  .dn-safety-card,
  .dn-faq-pill { border-radius: 12px; }
}

@media (max-width: 520px) {
  .dn-hero { padding: 28px 0 22px; }
  .dn-hero-card p { font-size: 0.95rem; }
  .dn-platform > * { width: 100%; }
  .dn-rank { justify-self: start; }
  .dn-cta-pill { width: 100%; text-align: center; justify-self: stretch; }
  .dn-platform { border-radius: 18px; }
  .dn-faq-pill { font-size: 0.85rem; }
}
