/* Presentation skin derived from Themes/DnDeadTheme.xaml.
   Layout, section order and product content remain in styles.css / index.html. */
:root {
  --site-header-height: 73px;
  --bg: #0d0d10;
  --bg2: #17171c;
  --panel: #171217;
  --panel2: #222229;
  --text: #f1ece6;
  --muted: #b5ada6;
  --soft: #a59b94;
  --border: rgba(149, 105, 105, .3);
  --accent: #9d2727;
  --accent-bright: #e17c84;
  --gold: #d6c18a;
  --serif: Georgia, 'Book Antiqua', 'Palatino Linotype', serif;
  --sans: 'Segoe UI', Arial, sans-serif;
  --chrome-texture: url('assets/app-chrome-texture.webp');
  --ornate-frame: url('assets/app-ornate-frame.svg');
}

body {
  background: radial-gradient(ellipse at 50% 0, #2c141c 0, transparent 760px), var(--bg);
  color: var(--text);
  overflow-x: clip;
}
html { scrollbar-color: #8a4049 #17171c; scroll-padding-top: calc(var(--site-header-height) + 12px); }
.nav-ready body { padding-top: var(--site-header-height); }
.nav-ready .site-header { position: fixed; top: 0; left: 0; right: 0; }
::selection { background: #651f25; color: #fff8e9; }
button:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 2px solid #f2d36b;
  outline-offset: 5px;
}
.site-header {
  background: linear-gradient(rgba(13,13,16,.8), rgba(13,13,16,.94)), var(--chrome-texture) center / cover;
  border-bottom: 1px solid #71333b;
  box-shadow: 0 5px 24px rgba(0,0,0,.45);
}
.site-header::before {
  content: '';
  position: absolute;
  bottom: -4px;
  left: calc(50% - 4px);
  width: 7px;
  height: 7px;
  transform: rotate(45deg);
  border: 1px solid #c6757d;
  background: #651f25;
  pointer-events: none;
}
.site-header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  transform: scaleX(var(--reading-progress, 0));
  transform-origin: left;
  background: linear-gradient(90deg, #9d2727, #d6c18a);
  pointer-events: none;
}
.navigation { gap: 24px; }
.site-header .navigation { min-height: 72px; height: auto; padding-block: 5px; }
.site-header .brand-emblem { width: 54px; height: 54px; }
.site-header .brand-wordmark { font-size: 24px; }
.nav-links { gap: 10px; }
.nav-links a {
  padding: 9px 10px;
  border: 1px solid transparent;
  color: #d8d0c8;
  font: 600 12px/1.4 var(--serif);
  transition: background .2s, color .2s, box-shadow .2s;
}
.nav-links a:hover, .nav-links a[aria-current='location'] {
  color: #fff3de;
  background: linear-gradient(rgba(101,31,37,.75), rgba(35,19,26,.9)), var(--chrome-texture) center / cover;
  border-image: var(--ornate-frame) 12 / 8px;
  box-shadow: 0 0 18px rgba(157,39,39,.17);
}
.brand-wordmark { color: #f1ece6; text-shadow: 0 2px 5px #000; }
.brand-wordmark .brand-light { color: var(--gold); }

/* Bold serif headings and the small gold diamonds used by the app's groups. */
h1, h2 { font-weight: 700; letter-spacing: -.04em; line-height: 1.14; }
h1 em, h2 em { color: var(--gold); font-style: normal; font-weight: 700; }
.hero h1 { font-size: clamp(40px,3.7vw,53px); text-shadow: 0 3px 18px rgba(0,0,0,.6); }
.section h2 { font-size: clamp(35px,4.2vw,50px); }
.kicker { color: var(--gold); letter-spacing: .14em; font-size: 10px; }
.kicker::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 11px 1px 2px;
  transform: rotate(45deg);
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(214,193,138,.08);
}
.eyebrow {
  display: inline-block;
  padding: 7px 12px;
  border: 1px solid #583c43;
  background: #21161b;
  color: #d8c6b2;
  font-size: 9px;
  letter-spacing: .15em;
}
.hero { isolation: isolate; }
.hero::before {
  content: '';
  position: absolute;
  inset: 0 -24px 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(13,13,16,.48), #0d0d10 96%), var(--chrome-texture) center / cover;
  pointer-events: none;
}
.hero-description, .overview-copy p, .tour-copy p, .engineering-lead,
.creator-content p, .contact-intro p { color: #c1b8b1; }
.hero-credit { color: #b5ada6; }
.release-version { color: #d6b2a2; }
.hero-highlights { border-color: #49333b; }
.hero-highlights div { border-color: #49333b; }
.hero-highlights strong { color: var(--gold); font-family: var(--serif); font-weight: 700; }
.hero-highlights span { color: var(--muted); }

/* Fixed bevel corners stay crisp at every panel and button size. */
.button, .nav-cta, .screenshot-close {
  border: 1px solid transparent;
  border-image: var(--ornate-frame) 12 / 10px;
  border-radius: 0;
  background: linear-gradient(180deg, #29242b, #171217);
  color: #eee5de;
  font-family: var(--serif);
  font-weight: 700;
  box-shadow: inset 0 1px rgba(255,255,255,.05), 0 4px 14px rgba(0,0,0,.25);
}
.button-primary {
  background: linear-gradient(rgba(128,30,42,.7), rgba(69,17,27,.88)), var(--chrome-texture) center / cover;
  box-shadow: 0 0 24px rgba(157,39,39,.22), inset 0 1px rgba(236,155,157,.12);
}
.button-primary:hover {
  background: linear-gradient(rgba(154,38,51,.62), rgba(88,24,35,.86)), var(--chrome-texture) center / cover;
  box-shadow: 0 0 30px rgba(190,52,67,.3);
}
.button-outline:hover, .nav-cta:hover, .screenshot-close:hover { background: #30212a; }
.button span, .nav-cta span { color: #e4b49d; }

.section { position: relative; border-top: 1px solid #3b282f; }
.section::before {
  content: '';
  position: absolute;
  top: -4px;
  left: calc(50% - 4px);
  width: 7px;
  height: 7px;
  transform: rotate(45deg);
  border: 1px solid #85515a;
  background: #23151c;
  pointer-events: none;
}
.overview-section, .features-section, .faq-section { background: #101014; }
.showcase-section { background: linear-gradient(180deg, #141117, #0d0d10); }
.engineering-section { background: linear-gradient(120deg, #1d141b, #101014); }
.creator-section { background: #0d0d10; }
.contact-section { background: radial-gradient(ellipse at 65% 50%, #29141d, transparent 70%), #101014; }
.overview-copy { border-left: 1px solid #67444a; padding-left: 30px; }
.overview-copy strong, .tour-bullets { color: #ddc6a6; }
.tour-number { font-family: var(--serif); color: #d6b2a2; letter-spacing: .14em; }
.tour-copy h3 { color: var(--gold); font-weight: 700; }
.tour-item { border-color: #49333b; }

.hero-art, .tour-visual, .gallery-item, .creator-panel, .contact-panel,
.engineering-note, .feature-card, .showcase-details, .screenshot-dialog {
  border: 1px solid transparent;
  border-image: var(--ornate-frame) 12 / 12px;
  border-radius: 0;
  box-shadow: 0 14px 34px rgba(0,0,0,.27);
}
.hero-art, .tour-visual { padding: 12px; background: linear-gradient(145deg, #292029, #111014); }
.hero-art-topline {
  color: var(--gold);
  background: #151117;
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: .12em;
}
.hero-art-footer, .tour-visual figcaption { color: #c4b7aa; }
.hero-art-footer { background: #151117; }
.hero-art:hover, .tour-visual:hover, .gallery-item:hover,
.hero-art:focus-within, .tour-visual:focus-within, .gallery-item:focus-within {
  box-shadow: 0 14px 34px rgba(0,0,0,.4), 0 0 22px rgba(157,39,39,.16);
}
.screenshot-hint {
  border: 1px solid transparent;
  border-image: var(--ornate-frame) 12 / 7px;
  border-radius: 0;
  padding: 7px 11px;
  background: #171217;
  font-family: var(--serif);
  color: #eee5de;
}
.gallery-item { background: #171217; }
.gallery-item figcaption { color: #e1c599; border-top: 1px solid #49333b; font-family: var(--serif); }
.gallery-item figcaption small { color: #bfa9a0; font-family: var(--sans); }
.feature-card {
  background: linear-gradient(140deg, rgba(34,27,34,.94), rgba(17,16,21,.98)), var(--chrome-texture) center / cover;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.feature-card::after {
  content: '';
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 5px;
  height: 5px;
  transform: rotate(45deg);
  background: #381c24;
  border: 1px solid #9b4a52;
  pointer-events: none;
}
.feature-card:hover {
  transform: translateY(-3px);
  background: linear-gradient(140deg, rgba(66,27,36,.9), rgba(22,18,25,.96)), var(--chrome-texture) center / cover;
  box-shadow: 0 15px 30px rgba(0,0,0,.4), 0 0 24px rgba(157,39,39,.16);
}
.feature-symbol {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 0 12px 13px 0;
  vertical-align: middle;
  border: 1px solid #6b563e;
  background: linear-gradient(145deg, #31242b, #171217);
  box-shadow: inset 0 0 0 3px #171217;
  color: var(--gold);
  font-size: 24px;
}
.feature-symbol svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.feature-index { color: #d19595; font-size: 9px; letter-spacing: .12em; vertical-align: middle; }
.feature-card h3 { margin-top: 6px; color: #e3c99f; font-family: var(--serif); font-weight: 700; }
.feature-card p { color: #c1b8b1; font-size: 13px; }
.showcase-details { background: #171217; }
.showcase-details > summary {
  background: linear-gradient(rgba(33,23,30,.88), rgba(18,16,22,.96)), var(--chrome-texture) center / cover;
  color: #e6cfa9;
  font-family: var(--serif);
  font-size: 16px;
}
.showcase-details > summary:hover { color: #fff0ce; box-shadow: inset 0 0 24px rgba(157,39,39,.13); }
.showcase-details > summary small { color: #b5ada6; font-family: var(--sans); font-size: 12px; }
.details-body { background: #121116; border-color: #49333b; }
.details-symbol { color: #e3c99f; }
.technology-list, .technology-list > div { border-color: #49333b; }
.technology-list > div { padding: 17px 12px; background: linear-gradient(90deg, rgba(32,25,32,.6), transparent); }
.technology-list strong { color: #eadbc8; }
.technology-list small { color: #b5ada6; }
.tech-icon { border-color: #73513c; color: #dcc18b; background: #20171f; box-shadow: inset 0 0 0 3px #171217; font-weight: 700; }
.engineering-note { background: #171217; }
.engineering-note h3 { color: #e3c99f; font-family: var(--serif); }
.creator-panel {
  background: linear-gradient(90deg, rgba(18,14,20,.78), rgba(13,13,16,.97) 62%), url('assets/app-campaign-backdrop.webp') center / cover;
}
.creator-monogram {
  color: #e8cc94;
  border: 1px solid transparent;
  border-image: var(--ornate-frame) 12 / 14px;
  background: linear-gradient(rgba(48,20,29,.72), rgba(16,14,20,.84));
  text-shadow: 0 3px 8px #000, 0 0 30px rgba(157,39,39,.55);
}
.creator-monogram::before { border-color: #553039; }
.creator-name { color: #f1ece6 !important; }
.creator-bottom { border-color: #67444a; }
.creator-bottom > span { color: #bba58f; }
.faq-list, .faq-list details { border-color: #49333b; }
.faq-list summary { color: #e1d3bf; font-family: var(--serif); font-size: 15px; }
.faq-list summary span { color: #d6b2a2; }
.faq-list details p { color: #bfb5ad; }
.contact-panel { background: linear-gradient(130deg, rgba(35,24,31,.88), rgba(16,14,21,.96)), var(--chrome-texture) center / cover; }
.contact-profile { border: 1px solid #73513c; background: linear-gradient(140deg, #29202a, #171217); box-shadow: inset 0 0 0 4px #171217; }
.contact-profile:hover { border-color: #d6c18a; background: linear-gradient(140deg, #39232d, #1e1720); }
.profile-label, .profile-role { color: #c2ada0; }
.contact-profile > strong { color: #e8cc94; }
.profile-link { color: #e3c99f; }
.contact-privacy-note { color: #a59b94; }
.screenshot-dialog { background: #171217; }
.screenshot-dialog-header h2 { color: #e3c99f; }
.site-footer { background: #0d0d10; border-color: #49333b; }
.footer-inner p, .footer-small { color: #aaa3a0; }
.footer-small { border-color: #49333b; }
.footer-links a { color: #d8c6b2; }

/* One concise creator profile also supplies the professional contact link. */
.creator-contact-anchor { position: absolute; top: 0; left: 0; }
.creator-compact { grid-template-columns: 120px minmax(0,1fr); padding: 30px 34px; gap: 28px; }
.creator-compact .creator-monogram { width: 110px; height: 110px; font-size: 54px; }
.creator-compact .creator-monogram span { right: 10px; bottom: 8px; font-size: 23px; }
.creator-compact .creator-content h2 { margin: 9px 0 5px; font-size: clamp(28px,3vw,38px); }
.creator-compact .creator-role { margin: 0 0 12px; color: var(--gold); font-size: 14px; }
.creator-compact .creator-bio { max-width: 800px; margin: 0 0 18px; font-size: 14px; line-height: 1.8; }
.creator-compact .creator-profile-note { margin: 10px 0 0; color: var(--muted); font-size: 12px; }

@media (max-width: 1000px) {
  .nav-links { gap: 5px; }
  .nav-links a { padding-inline: 8px; }
}
@media (max-width: 740px) {
  :root { --site-header-height: 61px; }
  /* The no-script navigation wraps into rows; keep anchor headings clear. */
  :root:not(.nav-ready) { --site-header-height: 160px; }
  .site-header .navigation { min-height: 60px; }
  .site-header .brand-emblem { width: 46px; height: 46px; }
  .site-header .brand-wordmark { font-size: 22px; }
  .creator-compact { grid-template-columns: minmax(0,1fr); padding: 26px 24px; gap: 22px; }
  .creator-compact .creator-monogram { display: none; }
  .hero h1 { font-size: clamp(34px,9.5vw,40px); }
  .section h2 { font-size: clamp(33px,9vw,42px); }
  .eyebrow { font-size: 8px; letter-spacing: .1em; padding-inline: 9px; }
  .hero::before { inset-inline: 0; }
  .overview-copy { padding-left: 18px; }
  .nav-ready .nav-links { background: #171217; border-color: #71333b; }
  .nav-ready .nav-links a { padding: 12px; font-size: 14px; }
  .nav-links { gap: 8px; }
  .feature-symbol { margin-right: 10px; }
  .hero-art, .tour-visual { padding: 9px; }
  .hero-art-topline { font-size: 8px; letter-spacing: .06em; }
  .showcase-details > summary { font-size: 15px; }
}
@media (max-width: 380px) {
  .site-header .brand-emblem { width: 42px; height: 42px; }
  .site-header .brand-wordmark { font-size: 20px; }
  .hero h1 { font-size: 32px; }
  .feature-index { letter-spacing: .07em; }
}
@media (prefers-reduced-motion: reduce) {
  .feature-card:hover, .button:hover, .contact-profile:hover { transform: none; }
}
@media (forced-colors: active) {
  .hero-art, .tour-visual, .gallery-item, .creator-panel, .contact-panel,
  .engineering-note, .feature-card, .showcase-details, .screenshot-dialog,
  .button, .nav-cta, .screenshot-close, .screenshot-hint, .creator-monogram {
    border-image: none;
    border-color: CanvasText;
  }
  .nav-links a[aria-current='location'] { border-image: none; border-color: Highlight; }
}
