:root {
  color-scheme: dark;
  --bg: #151411;
  --panel: #201e19;
  --ink: #f6f0e5;
  --muted: #c6bfb1;
  --bronze: #dfbd7c;
  --heading-red: #f47179;
  --line: #39342b;
  --reading-width: 46rem;
  font-family: "Segoe UI", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); line-height: 1.6; }
main { overflow-x: clip; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 5px; }
.wrap { width: min(1180px, calc(100% - 112px)); margin-inline: auto; }
.skip { position: fixed; z-index: 4; top: 10px; left: 10px; padding: 10px 18px; background: var(--ink); color: var(--bg); transform: translateY(-150%); }
.skip:focus { transform: none; }
.top { border-bottom: 1px solid var(--line); }
.top-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.top-inner { min-height: 76px; }
.wordmark { display: inline-flex; align-items: center; gap: 11px; white-space: nowrap; font-weight: 690; letter-spacing: -0.025em; font-size: 21px; }
.site-logo { display: block; width: 60px; height: 60px; object-fit: contain; border-radius: 7px; }
nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 42px); color: var(--muted); }
nav a, .top-help, .footer-links a { font-size: 14px; }
nav a:hover, .top-help:hover, .footer-links a:hover { color: var(--bronze); }
.top-help { border: 1px solid #65553a; padding: 8px 14px; border-radius: 5px; white-space: nowrap; }
.top-help span { margin-left: 8px; color: var(--bronze); }
.homepage-layout {
  display: grid;
  grid-template-columns: clamp(184px, 20vw, 226px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-top: 18px;
}
.homepage-layout main > .wrap { width: 100%; }
.sidebar { position: sticky; top: 18px; }
.sidebar-panel {
  overflow: hidden;
  border: 1px solid #464141;
  border-radius: 11px;
  background: #201e1f;
}
.sidebar-panel summary {
  min-height: 48px;
  padding: 12px 38px 12px 16px;
  background: #2a2729;
  font-size: 14px;
}
.sidebar-panel summary::after { top: 8px; right: 15px; color: #ff8897; }
.sidebar-nav { display: block; padding: 8px; color: #e0d9d8; }
.sidebar-group + .sidebar-group { margin-top: 6px; padding-top: 6px; border-top: 1px solid #403b3d; }
.sidebar-nav a { display: flex; align-items: center; gap: 9px; padding: 8px; border-radius: 6px; }
.sidebar-nav a:hover, .sidebar-nav a:focus-visible { color: #fff; background: #3b282d; }
.sidebar-nav a span { display: grid; place-items: center; width: 23px; height: 23px; flex: none; color: #ff96a2; }
.hero-showcase { margin-bottom: 4px; }
.hero-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, 1fr);
  align-items: center;
  min-height: 320px;
  overflow: hidden;
  border: 1px solid #3b453b;
  border-radius: 12px;
  background: radial-gradient(ellipse at 89% 38%, #20352d 0%, transparent 52%), #202321;
}
.hero-copy { padding: 36px 12px 36px clamp(24px, 4vw, 54px); }
.hero-copy h1 {
  margin: 0;
  color: #f6f8f3;
  font: 800 clamp(2rem, 3.75vw, 3.65rem)/1.04 "Segoe UI", Arial, sans-serif;
  letter-spacing: -.052em;
}
.hero-copy h1 span { display: block; color: #87e397; }
.hero-copy p { max-width: 43ch; margin: 15px 0 22px; color: #e0e8dd; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.hero-copy .hero-button { background: #52cc70; color: #112818; font-weight: 750; }
.hero-copy .hero-button:hover { background: #7de692; }
.hero-copy .hero-button-secondary { color: #e7ffe9; border-color: #72997b; }
.hero-copy .hero-button-secondary:hover { background: #304e36; }
.hero-feature :focus-visible { outline-color: #a0f5a8; }
.hero-art {
  position: relative;
  justify-self: center;
  width: min(100% - 24px, 345px);
  aspect-ratio: 330 / 244;
  margin: 16px 0;
  overflow: hidden;
  mix-blend-mode: screen;
  mask-image: linear-gradient(to bottom, #000 82%, transparent);
}
.hero-art img { display: block; width: 100%; height: auto; }
.hero-tiles a:focus-visible { outline-color: #d0baff; outline-offset: -3px; }
.hero-tiles {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;
  margin-top: 9px;
}
.hero-tiles a {
  display: grid;
  isolation: isolate;
  align-items: end;
  position: relative;
  min-width: 0;
  min-height: 106px;
  aspect-ratio: 1.45;
  overflow: hidden;
  color: #fff;
  background: #272036;
  border: 1px solid #4c415e;
  border-radius: 9px;
  text-align: center;
  font-weight: 650;
  line-height: 1.25;
}
.hero-tiles img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 47%;
}
.hero-tiles a::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(transparent 24%, #110c19cf 72%, #110c19); }
.hero-tiles a:hover { border-color: #bc9efa; color: #e6d7ff; }
.hero-tiles span { padding: 10px 5px; }
.kicker { display: flex; align-items: center; gap: 11px; color: var(--bronze); font-size: 12px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 17px; }
h2 { color: var(--heading-red); font-family: Georgia, "Times New Roman", serif; font-weight: 400; line-height: 1.02; letter-spacing: -.052em; margin: 0; font-size: clamp(2.35rem, 4vw, 3.65rem); }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 15px; padding: 10px 17px; border-radius: 5px; border: 1px solid transparent; font-size: 14px; font-weight: 650; line-height: 1.35; }
.primary { background: var(--bronze); color: #231b0d; }
.primary:hover { background: #f2d698; }
.secondary { border-color: #6b5a42; color: var(--ink); background: transparent; }
.secondary:hover { background: #352c20; }
.section { padding-block: clamp(45px, 6.5vw, 86px); scroll-margin-top: 16px; }
.section + .section { border-top: 1px solid var(--line); }
.rule-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 50px; }
.body-copy p, .checker p, .support p, details p { color: var(--muted); }
.body-copy p:first-child { margin-top: 0; }
.body-copy h3 { margin: 22px 0 6px; font-size: 1.05rem; }
.body-copy h3 + p { margin-top: 0; }
.text-link { color: var(--bronze); display: inline-block; text-decoration: underline; text-underline-offset: 5px; margin-top: 5px; }
.checker, .support { border: 1px solid #524636; border-radius: 10px; background: radial-gradient(ellipse at top left, #2d2518, var(--panel) 75%); padding: clamp(22px, 4vw, 50px); display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.checker .kicker, .support .kicker { color: var(--bronze); }
.checker p:last-child, .support p:last-child { margin-bottom: 0; }
.domain-tools label { display: block; margin-bottom: 7px; font-size: 14px; }
.domain-tools input { width: 100%; min-width: 0; border: 1px solid #6b5a42; border-radius: 5px; color: var(--ink); background: var(--bg); padding: 10px 13px; }
.status { margin: 8px 0 13px; min-height: 2em; font-size: 13px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.questions { border-bottom: 1px solid var(--line); }
details { border-top: 1px solid var(--line); }
summary { cursor: pointer; padding: 16px 32px 16px 0; position: relative; list-style: none; font-weight: 600; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 13px; color: var(--bronze); font-size: 20px; }
details[open] summary::after { content: "−"; }
details p { margin: 0 0 20px; }
.support { grid-template-columns: minmax(0, 1.4fr) auto; }
footer { border-top: 1px solid var(--line); padding-block: 28px; }
.footer-inner p, .footer-links { color: var(--muted); font-size: 13px; }
.footer-inner p { margin: 10px 0 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
@media (max-width: 940px) {
  .wrap { width: calc(100% - 64px); }
  .homepage-layout { gap: 12px; }
  .rule-grid { gap: 26px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .top-inner { display: grid; grid-template-columns: 1fr auto; padding-block: 12px; gap: 12px; }
  .top nav { grid-column: 1 / -1; grid-row: 2; gap: 18px; flex-wrap: wrap; }
  .homepage-layout { grid-template-columns: minmax(0, 1fr); margin-top: 12px; }
  .sidebar { position: static; }
  .sidebar-group { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sidebar-nav a { gap: 4px; }
  .hero-feature { grid-template-columns: 1fr; }
  .hero-copy { padding: 25px 20px 0; }
  .hero-copy h1 { font-size: clamp(2rem, 7vw, 3.2rem); }
  .hero-art { width: min(100% - 38px, 310px); margin: 14px 0 0; }
  .hero-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-tiles a { aspect-ratio: auto; min-height: 96px; }
  .hero-tiles span { padding-inline: 3px; font-size: .875rem; }
  .rule-grid, .checker, .support { grid-template-columns: 1fr; gap: 22px; }
  .support .button { justify-self: start; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

.top nav a[aria-current="page"], .sidebar-nav a[aria-current="page"] { color: var(--bronze); }
.sidebar-nav a[aria-current="page"] { background: #322920; }
.content-hero h1 { font-size: clamp(1.9rem, 3.35vw, 3.35rem); }
.content-hero .hero-copy p { max-width: 50ch; }
.document-head,
.market-note,
.market-link,
.document-copy,
.homepage-layout main > #domena {
  width: min(100%, var(--reading-width));
  margin-inline: auto;
}
.document-head {
  padding-block: clamp(18px, 3vw, 32px) .6rem;
}
.document-head h1 {
  margin: 0;
  font-size: clamp(1.85rem, 3.3vw, 2.85rem);
  line-height: 1.16;
  letter-spacing: -.035em;
}
.market-note {
  margin-top: 18px;
  padding: 17px 20px;
  border: 1px solid #403e32;
  border-radius: 8px;
  background: #242219;
}
.market-note h2 { font: 700 1rem/1.3 "Segoe UI", Arial, sans-serif; letter-spacing: normal; }
.market-note p { margin: 5px 0; color: var(--muted); }
.market-note a, .market-link a, .document-copy a:not(.button) {
  color: var(--bronze);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.market-link { margin-block: 0 1rem; }
.document-copy {
  padding-block: clamp(24px, 4vw, 42px);
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.68;
  overflow-wrap: break-word;
}
.document-copy :is(p, ol, ul) { margin-block: 0 .95rem; }
.document-copy :is(ol, ul) { padding-inline-start: 1.4rem; }
.document-copy li + li { margin-top: .35em; }
.document-copy :is(h2, h3, h4)[id] { scroll-margin-top: 1rem; }
.document-copy :is(h3, h4) { color: var(--ink); line-height: 1.35; }
.copy-pointers li::marker { color: var(--heading-red); }
.copy-section { padding-block: clamp(22px, 3vw, 34px); }
.copy-section:first-child { padding-block-start: 0; }
.copy-section:last-child { padding-block-end: 0; }
.copy-section + .copy-section { border-top: 1px solid var(--line); }
.copy-section > h2 { font-size: clamp(1.5rem, 2.6vw, 2.15rem); line-height: 1.19; margin-block-end: .7rem; }
.copy-section h3 { font-size: 1.2rem; margin-block: 1.15rem .45rem; }
.copy-subsection { margin-block-start: 1.5rem; }
.copy-subsection > h3 { margin-block-start: 0; }
.copy-subsection h4 { font-size: 1rem; margin-block: 1.05rem .4rem; }
.document-copy :is(p, ol, ul):last-child { margin-block-end: 0; }
.content-media {
  width: fit-content;
  max-width: min(100%, 620px);
  margin: .75rem 0 1.1rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}
.content-media img { display: block; max-width: 100%; height: auto; }
.document-copy .context-cta { margin-block: 1.2rem; }
.document-copy .content-play { background: #52cc70; color: #112818; font-weight: 750; }
.document-copy .content-play:hover { background: #7de692; }
.copy-faq details[open] summary { color: var(--ink); }
.copy-faq details p { padding-inline-end: 14px; }
.copy-faq details[open] { padding-block-end: .9rem; }
.content-table {
  overflow: auto;
  margin: 1.15rem 0;
  border: 1px solid #4c4539;
  border-radius: 9px;
}
.content-table table { width: 100%; min-width: 420px; border-collapse: collapse; }
.content-table :is(th, td) { padding: 12px 14px; text-align: left; vertical-align: top; }
.content-table th { color: var(--ink); background: #342e23; }
.content-table td { border-top: 1px solid #433b2f; }
.content-table tbody tr:nth-child(2n) { background: #201e18; }
.homepage-layout main > #domena { padding-block: 0 2.25rem; }
#domena .checker { grid-template-columns: minmax(0, 1fr); gap: 1.1rem; padding: clamp(18px, 3vw, 30px); }
#domena h2 { font-size: clamp(1.55rem, 2.7vw, 2.1rem); line-height: 1.2; }
.footer-links { justify-content: flex-end; }
@media (max-width: 760px) {
  .content-hero .hero-copy { padding-inline: 20px; }
  .footer-links { justify-content: flex-start; }
}
