/* Marvel Capital, Inc. website: one small stylesheet, no web fonts, no scripts. */
:root {
  color-scheme: dark;
  --bg: #0b0b0c;
  --surface: #151517;
  --surface-2: #1c1c1f;
  --line: #2c2c31;
  --text: #f4f4f5;
  --silver: #c9ccd2;
  --muted: #a4a8b0;
  --gold: #d4af37;
  --gold-light: #ecd27a;
  --focus: #ecd27a;
  --radius: 14px;
  --wrap: 68rem;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--sans);
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--gold-light); text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 48rem) { .wrap { padding: 0 32px; } }

.skip {
  position: absolute; left: 16px; top: -100px; z-index: 10;
  background: var(--gold); color: #000; padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(11, 11, 12, 0.92);
  position: sticky; top: 0; z-index: 5;
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
}
.header-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 20px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.brand:hover { color: var(--text); }
.brand svg { width: 36px; height: 36px; flex: none; }
.brand-name { font: 600 1.125rem/1.1 var(--serif); letter-spacing: 0.02em; }
.brand-name span { color: var(--gold); }

.site-nav ul { display: flex; flex-wrap: wrap; gap: 2px; list-style: none; margin: 0 -10px; padding: 0; }
.site-nav a {
  display: inline-block; padding: 10px; min-height: 44px;
  color: var(--silver); text-decoration: none; font-size: 0.95rem; font-weight: 500;
}
.site-nav a:hover { color: #fff; }
.site-nav a[aria-current="page"] { color: var(--gold-light); box-shadow: inset 0 -2px 0 var(--gold); }

/* Draft notice */
.draft-banner {
  border-bottom: 1px solid #5a4a14;
  background: #1d180a;
  color: #f1e3b0;
  font-size: 0.9rem;
}
.draft-banner p { margin: 0; padding: 10px 0; }
.draft-banner strong { color: var(--gold-light); }

/* Hero */
.hero { position: relative; padding: 72px 0 64px; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero::before {
  content: ""; position: absolute; inset: -40% -20% auto auto; width: 70vw; height: 70vw; max-width: 720px; max-height: 720px;
  background: radial-gradient(closest-side, rgba(212, 175, 55, 0.16), transparent 70%);
  pointer-events: none;
}
.eyebrow {
  margin: 0 0 14px; color: var(--silver); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
}
.eyebrow::before { content: ""; display: inline-block; width: 28px; height: 1px; background: var(--gold); vertical-align: middle; margin-right: 10px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 8vw, 4rem); letter-spacing: -0.01em; }
h1 .gold, h2 .gold { color: var(--gold); }
h2 { font-size: clamp(1.6rem, 5vw, 2.25rem); }
h3 { font-size: 1.2rem; }
.lead { font-size: clamp(1.1rem, 3.4vw, 1.3rem); color: var(--silver); max-width: 40rem; margin: 0 0 28px; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px;
  border-radius: 999px; font-weight: 600; text-decoration: none; border: 1px solid transparent;
}
.btn-gold { background: linear-gradient(180deg, var(--gold-light), var(--gold)); color: #111; }
.btn-gold:hover { color: #000; filter: brightness(1.06); }
.btn-ghost { border-color: #4a4a52; color: var(--text); }
.btn-ghost:hover { border-color: var(--silver); color: #fff; }

/* Sections */
section { padding: 64px 0; border-bottom: 1px solid var(--line); }
section:last-of-type { border-bottom: 0; }
.section-intro { color: var(--silver); max-width: 42rem; }

.grid { display: grid; gap: 16px; margin-top: 28px; }
@media (min-width: 40rem) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 60rem) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
}
.card h3 { color: var(--text); }
.card p { margin: 0; color: var(--silver); }
.card .tag { display: inline-block; margin-bottom: 10px; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); font-weight: 700; }

.product {
  display: grid; gap: 28px; align-items: center;
  background: radial-gradient(120% 140% at 100% 0%, rgba(212, 175, 55, 0.12), transparent 55%), var(--surface);
  border: 1px solid #3a3420; border-radius: 20px; padding: 28px 22px;
}
@media (min-width: 56rem) { .product { grid-template-columns: 1.3fr 1fr; padding: 44px; } }
.status {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 6px 12px;
  border: 1px solid #5a4a14; border-radius: 999px; background: #1d180a; color: var(--gold-light); font-size: 0.85rem; font-weight: 600;
}
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.checks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 28px; color: var(--silver); }
.checks li::before { content: ""; position: absolute; left: 4px; top: 0.55em; width: 12px; height: 7px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }

.languages { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.languages li { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.9rem; color: var(--silver); background: var(--bg); }
.fine { font-size: 0.875rem; color: var(--muted); }

.contact-box { text-align: center; }
.contact-box .email { font: 600 clamp(1.1rem, 4.6vw, 1.6rem)/1.3 var(--serif); word-break: break-word; }

/* Long-form pages (Privacy, Support) */
.page-head { padding: 48px 0 28px; border-bottom: 1px solid var(--line); }
.page-head p { color: var(--silver); margin: 0; }
.prose { max-width: 46rem; padding-top: 36px; padding-bottom: 64px; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; padding-top: 0.5em; border-top: 1px solid var(--line); }
.prose h2:first-of-type { border-top: 0; margin-top: 1em; }
.prose p, .prose li { color: #e3e4e7; }
.prose ul { padding-left: 1.25em; }
.prose li { margin: 0.35em 0; }
.prose strong { color: #fff; }

.note {
  border: 1px solid #5a4a14; border-left: 4px solid var(--gold); background: #1d180a; color: #f1e3b0;
  border-radius: 10px; padding: 16px 18px; margin: 0 0 28px;
}
.note p { color: #f1e3b0; margin: 0.3em 0; }
.note strong { color: var(--gold-light); }

/* A detail the owner still has to supply or approve. */
.todo {
  background: #2a2208; color: var(--gold-light); border: 1px dashed var(--gold); border-radius: 6px;
  padding: 0 6px; font-weight: 600; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

.table-wrap { overflow-x: auto; margin: 1em 0; border: 1px solid var(--line); border-radius: 10px; }
table { border-collapse: collapse; width: 100%; min-width: 34rem; font-size: 0.95rem; }
th, td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
th { color: var(--gold-light); font-weight: 600; background: var(--surface); }
tr:last-child td { border-bottom: 0; }

details { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); margin: 10px 0; }
summary { cursor: pointer; padding: 16px 18px; font-weight: 600; list-style: none; min-height: 44px; position: relative; padding-right: 44px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 18px; top: 12px; color: var(--gold); font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details > div { padding: 0 18px 16px; }
details > div p:first-child { margin-top: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: #070708; padding: 36px 0 44px; color: var(--muted); font-size: 0.9rem; }
.footer-row { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.site-footer a { color: var(--silver); display: inline-block; padding: 6px 0; }
.site-footer a:hover { color: #fff; }
.rule { height: 1px; margin: 0 0 24px; background: linear-gradient(90deg, transparent, var(--gold), #9a9ea6, transparent); border: 0; }
.footer-name { margin: 0 0 6px; color: var(--text); font-family: var(--serif); font-size: 1.05rem; }
.footer-text { margin: 0; }
.footer-legal { margin-top: 24px; }
main:focus { outline: none; }
