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

:root {
    --paper:  #FFFFFF;
    --mist:   #F4F4F4;
    --ink:    #191919;
    --ink-deep: #030302;
    --text:   rgba(3,3,2,.76);
    --muted:  rgba(3,3,2,.56);
    --line:   #E2E2E0;
    --line-d: rgba(255,255,255,.14);
    --lime:   #F5FE5E;
    --font-d: 'Newsreader', 'Georgia', serif;
    --font-b: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

html { scroll-behavior: smooth; }
body {
    font-family: var(--font-b);
    font-size: 15px;
    line-height: 1.65;
    background: var(--paper);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
}
::selection { background: var(--lime); color: var(--ink-deep); }
a { color: var(--ink-deep); }
.wrap { max-width: 1210px; margin: 0 auto; padding: 0 20px; }

/* Promo + header */
.promo-bar { background: var(--lime); color: var(--ink-deep); text-align: center; font-size: 12.5px; padding: 8px 16px; }
.promo-bar span { opacity: .4; margin: 0 8px; }
.site-header { position: sticky; top: 0; z-index: 900; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
.header-inner { max-width: 1210px; margin: 0 auto; padding: 0 20px; height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { font-family: var(--font-d); font-size: 24px; letter-spacing: -.3px; color: var(--ink-deep); text-decoration: none; }
.logo i { font-style: italic; font-weight: 300; }
.h-links { display: flex; align-items: center; gap: 24px; }
.h-links a { font-size: 12.5px; text-transform: uppercase; letter-spacing: .4px; text-decoration: none; }
.h-links a:hover { text-decoration: underline; text-underline-offset: 4px; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    font-family: var(--font-b); font-size: 14px; text-transform: uppercase; letter-spacing: .3px;
    text-decoration: none; border: 0; border-radius: 8px; cursor: pointer;
}
.btn-dark { background: var(--ink); color: #fff !important; padding: 17px 44px 15px; }
.btn-dark:hover { background: #000; text-decoration: none !important; }
.h-links .btn-dark { padding: 10px 18px 9px; font-size: 12px; }

/* Page head */
.doc-head { background: var(--mist); padding: 72px 0 56px; }
.doc-head .eyebrow { display: inline-block; font-size: 11.5px; text-transform: uppercase; letter-spacing: 1.2px; color: var(--muted); margin-bottom: 14px; }
.doc-head h1 { font-family: var(--font-d); font-weight: 300; font-size: clamp(38px, 5vw, 60px); line-height: 1.06; letter-spacing: -.6px; color: var(--ink); max-width: 820px; }
.doc-head h1 em { font-style: italic; }
.doc-head p { margin-top: 18px; max-width: 640px; font-size: 16px; }
.doc-head .meta { margin-top: 22px; font-size: 12.5px; color: var(--muted); }

/* Layout with TOC */
.doc-layout { display: grid; grid-template-columns: 250px 1fr; gap: 72px; padding-top: 64px; padding-bottom: 96px; align-items: start; }
.toc { position: sticky; top: 82px; border-top: 1px solid var(--ink); padding-top: 16px; }
.toc h2 { font-size: 11px; font-weight: 400; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 12px; }
.toc ol { list-style: none; counter-reset: t; }
.toc li { counter-increment: t; margin-bottom: 8px; font-size: 13.5px; line-height: 1.4; }
.toc li::before { content: counter(t, decimal-leading-zero) ' '; color: var(--muted); font-size: 11.5px; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; text-underline-offset: 3px; }

.doc { max-width: 760px; }
.doc section { padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid var(--line); scroll-margin-top: 80px; }
.doc section:last-child { border-bottom: 0; }
.doc h2 { font-family: var(--font-d); font-weight: 300; font-size: 32px; line-height: 1.15; color: var(--ink); margin-bottom: 18px; }
.doc h2 small { display: block; font-family: var(--font-b); font-size: 11.5px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 6px; }
.doc h3 { font-size: 16px; font-weight: 500; color: var(--ink); margin: 22px 0 8px; }
.doc p { margin-bottom: 12px; }
.doc ol, .doc ul { margin: 0 0 14px 20px; }
.doc li { margin-bottom: 7px; padding-left: 4px; }
.doc strong { color: var(--ink-deep); font-weight: 500; }

.note { background: var(--mist); padding: 20px 22px; margin: 16px 0; font-size: 14.5px; }
.note.lime { background: var(--lime); color: var(--ink-deep); }
.data-table { width: 100%; border-collapse: collapse; margin: 14px 0 18px; font-size: 14px; }
.data-table th, .data-table td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); }
.data-table th { font-weight: 400; font-size: 11.5px; text-transform: uppercase; letter-spacing: .8px; color: var(--muted); border-bottom-color: var(--ink); }
.data-table td:first-child { color: var(--ink-deep); width: 34%; }

.form-template { border: 1px dashed rgba(3,3,2,.35); padding: 26px 24px; font-size: 14px; background: #fff; }
.form-template p { margin-bottom: 10px; }
.form-template .ln { display: block; border-bottom: 1px solid rgba(3,3,2,.35); height: 26px; margin-bottom: 6px; }

.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 20px; }
.contact-card { background: var(--mist); padding: 26px 24px; }
.contact-card h3 { margin-top: 0; font-size: 11.5px; font-weight: 400; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
.contact-card p { font-family: var(--font-d); font-size: 22px; font-weight: 300; line-height: 1.3; color: var(--ink); margin: 0; word-break: break-word; }
.contact-card p a { text-decoration: none; }
.contact-card span { display: block; margin-top: 8px; font-size: 13px; color: var(--muted); }

/* Footer */
footer { background: var(--ink); color: rgba(255,255,255,.6); font-size: 13px; }
footer .logo { color: #fff; }
.f-top { padding: 40px 0 20px; border-bottom: 1px solid var(--line-d); }
.f-cols { display: grid; grid-template-columns: repeat(3, 1fr) 1.4fr; gap: 32px; padding: 36px 0; }
.f-col h5 { font-size: 11px; font-weight: 400; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,.4); margin-bottom: 14px; }
.f-col ul { list-style: none; margin: 0; }
.f-col li { margin-bottom: 8px; }
.f-col a { color: #fff; text-decoration: none; }
.f-col a:hover { text-decoration: underline; text-underline-offset: 3px; }
.f-col address { font-style: normal; line-height: 1.7; }
.f-seller { border-top: 1px solid var(--line-d); padding: 22px 0; line-height: 1.7; }
.f-seller b { color: #fff; font-weight: 400; }
.f-disc { border-top: 1px solid var(--line-d); padding: 22px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 32px; font-size: 11.5px; line-height: 1.65; color: rgba(255,255,255,.48); }
.f-disc strong { color: rgba(255,255,255,.75); font-weight: 400; }
.f-bottom { border-top: 1px solid var(--line-d); padding: 18px 0 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 12px; color: rgba(255,255,255,.4); }

@media (max-width: 900px) {
    .doc-layout { grid-template-columns: 1fr; gap: 36px; padding-top: 40px; padding-bottom: 64px; }
    .toc { position: static; }
    .contact-grid { grid-template-columns: 1fr; }
    .f-cols { grid-template-columns: 1fr 1fr; }
    .f-disc { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .h-links a:not(.btn) { display: none; }
    .doc-head { padding: 48px 0 40px; }
    .doc h2 { font-size: 27px; }
    .data-table td:first-child { width: 40%; }
    .f-cols { grid-template-columns: 1fr; }
}
