:root {
    color-scheme: light;
    --paper: #f3f0e8;
    --paper-deep: #e8e3d8;
    --ink: #121212;
    --muted: #5e5a52;
    --line: #171717;
    --soft-line: #bdb8ad;
    --acid: #d9ff3f;
    --orange: #ff6947;
    --blue: #2448ff;
    --white: #fffdf7;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue); }
.wrap { width: min(1180px, calc(100% - 96px)); margin: 0 auto; }

/* ---------- Official website: editorial / poster layout ---------- */
.site-page { min-height: 100vh; background: var(--paper); }
.site-page .topbar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 30;
    width: 86px;
    background: var(--ink);
    border-right: 2px solid var(--ink);
}
.site-page .nav {
    width: 100%;
    min-height: 100vh;
    padding: 22px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 30px;
}
.site-page .brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--white);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}
.site-page .brand-mark {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    color: var(--ink);
    background: var(--acid);
    border: 2px solid var(--white);
    border-radius: 0;
    font-size: 20px;
    font-weight: 950;
    writing-mode: horizontal-tb;
    transform: rotate(0deg);
}
.site-page .nav-links {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    color: #d8d4c9;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    writing-mode: vertical-rl;
}
.site-page .nav-links a:not(.nav-button):hover { color: var(--acid); }
.site-page .nav-button {
    padding: 11px 8px;
    color: var(--ink);
    background: var(--acid);
    border: 0;
    border-radius: 0;
    writing-mode: vertical-rl;
}
.site-page .nav-button:hover { color: var(--ink); background: var(--orange); }
.site-page main, .site-page .footer { margin-left: 86px; }
.site-page main { overflow: hidden; }
.site-page .hero {
    position: relative;
    min-height: 760px;
    display: grid;
    align-items: center;
    padding: 100px 0 90px;
    background: var(--paper);
    border-bottom: 2px solid var(--ink);
}
.site-page .hero::before {
    content: "A";
    position: absolute;
    right: 3vw;
    bottom: -8vw;
    color: transparent;
    -webkit-text-stroke: 2px rgba(18,18,18,.15);
    font-family: Georgia, "Times New Roman", serif;
    font-size: min(62vw, 760px);
    font-weight: 900;
    line-height: .8;
    pointer-events: none;
}
.site-page .hero::after {
    content: "PRIVATE / CLEAR / DIRECT";
    position: absolute;
    right: 4vw;
    top: 50%;
    color: var(--orange);
    font-family: "Courier New", monospace;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .18em;
    transform: rotate(90deg) translateX(50%);
    transform-origin: right center;
}
.site-page .hero-inner { position: relative; z-index: 1; }
.site-page .kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--blue);
    font-family: "Courier New", monospace;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}
.site-page .kicker::before { content: "["; color: var(--orange); font-size: 20px; }
.site-page .kicker::after { content: "]"; color: var(--orange); font-size: 20px; }
.site-page h1 {
    max-width: 900px;
    margin: 22px 0 24px;
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(66px, 12vw, 166px);
    font-weight: 900;
    letter-spacing: -.09em;
    line-height: .83;
}
.site-page .hero-copy { max-width: 510px; margin: 0; color: var(--muted); font-size: 19px; }
.site-page .hero-actions { display: flex; flex-wrap: wrap; gap: 0; margin-top: 34px; }
.site-page .button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 19px;
    border: 2px solid var(--ink);
    border-radius: 0;
    font-family: "Courier New", monospace;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .02em;
}
.site-page .button + .button { border-left: 0; }
.site-page .button-primary { color: var(--white); background: var(--ink); }
.site-page .button-primary:hover { color: var(--ink); background: var(--acid); }
.site-page .button-ghost { color: var(--ink); background: transparent; }
.site-page .button-ghost:hover { color: var(--white); background: var(--blue); }
.site-page .summary-band { position: relative; z-index: 2; margin-top: 0; }
.site-page .summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 2px solid var(--ink);
    background: var(--acid);
}
.site-page .summary-item { min-height: 132px; padding: 23px 26px; border-right: 2px solid var(--ink); }
.site-page .summary-item:last-child { border-right: 0; }
.site-page .label, .site-page .info-title {
    display: block;
    margin-bottom: 12px;
    color: var(--blue);
    font-family: "Courier New", monospace;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.site-page .value { color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: 21px; font-weight: 900; overflow-wrap: anywhere; }
.site-page .section {
    position: relative;
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    column-gap: 44px;
    padding: 112px 0 0;
    border-bottom: 2px solid var(--ink);
}
.site-page .section::before {
    display: block;
    color: var(--orange);
    font-family: "Courier New", monospace;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .08em;
}
.site-page #product::before { content: "01 / PRODUCT"; }
.site-page #developer::before { content: "02 / PEOPLE"; }
.site-page .section-header { display: block; padding-bottom: 30px; }
.site-page h2 {
    max-width: 730px;
    margin: 0;
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 6vw, 76px);
    font-weight: 900;
    letter-spacing: -.07em;
    line-height: .95;
}
.site-page .section-note { max-width: 540px; margin: 22px 0 0; color: var(--muted); font-size: 16px; }
.site-page .product-panel, .site-page .info-layout, .site-page .contact-panel { grid-column: 2; }
.site-page .product-panel { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(230px, .8fr); gap: 0; margin-bottom: 42px; border-top: 2px solid var(--ink); }
.site-page .product-lead { min-height: 300px; display: flex; flex-direction: column; justify-content: space-between; padding: 26px 28px 28px 0; border-right: 2px solid var(--ink); }
.site-page .product-lead p { max-width: 540px; margin: 0; color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: 28px; line-height: 1.14; }
.site-page .product-note { display: inline-flex; align-self: flex-start; padding: 7px 10px; color: var(--white); background: var(--blue); font-family: "Courier New", monospace; font-size: 11px; font-weight: 900; }
.site-page .metric-row { display: grid; grid-template-columns: 1fr; }
.site-page .metric { min-height: 100px; display: flex; flex-direction: column; justify-content: center; padding: 18px 22px; border-bottom: 2px solid var(--ink); }
.site-page .metric:last-child { border-bottom: 0; }
.site-page .metric strong { color: var(--orange); font-family: "Courier New", monospace; font-size: 14px; }
.site-page .metric span { color: var(--muted); font-size: 13px; }
.site-page .info-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-bottom: 22px; border-top: 2px solid var(--ink); }
.site-page .info-panel { padding: 25px 26px 26px 0; border-right: 2px solid var(--ink); }
.site-page .info-panel + .info-panel { padding-left: 26px; border-right: 0; }
.site-page .info-title { padding-bottom: 16px; border-bottom: 2px solid var(--ink); }
.site-page .info-row { display: grid; grid-template-columns: 118px 1fr; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--soft-line); }
.site-page .info-row > span { color: var(--muted); font-family: "Courier New", monospace; font-size: 11px; }
.site-page .info-row strong { color: var(--ink); font-size: 14px; overflow-wrap: anywhere; }
.site-page .legal-list { display: grid; gap: 0; }
.site-page .legal-link { display: flex; flex-direction: column; gap: 7px; padding: 17px 0; border-bottom: 1px solid var(--soft-line); }
.site-page .legal-link strong { color: var(--blue); font-family: Georgia, "Times New Roman", serif; font-size: 21px; }
.site-page .legal-link span { color: var(--muted); font-family: "Courier New", monospace; font-size: 11px; overflow-wrap: anywhere; }
.site-page .contact-panel { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 42px; padding: 23px 0; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.site-page .contact-panel strong { display: block; color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: 22px; }
.site-page .contact-panel span { display: block; margin-top: 5px; color: var(--muted); font-size: 13px; }
.site-page .contact-panel a { color: var(--blue); font-family: "Courier New", monospace; font-size: 13px; font-weight: 900; white-space: nowrap; }
.site-page .footer { display: flex; justify-content: space-between; gap: 20px; padding: 25px 0 30px; color: var(--muted); font-family: "Courier New", monospace; font-size: 11px; }

/* ---------- Legal documents: newspaper / grid layout ---------- */
.legal-page {
    min-height: 100vh;
    padding: 0 0 70px;
    color: var(--ink);
    background:
        linear-gradient(90deg, transparent 0 49px, rgba(18,18,18,.08) 49px 50px, transparent 50px),
        var(--paper);
}
.legal-page .page { width: min(1160px, calc(100% - 96px)); margin: 0 auto; }
.legal-page .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(310px, .62fr);
    grid-template-areas:
        "title meta"
        "summary meta";
    gap: 0 58px;
    min-height: 430px;
    margin: 0 0 58px;
    padding: 72px 0 44px;
    color: var(--white);
    background: var(--ink);
    border-bottom: 14px solid var(--orange);
}
.legal-page .hero::after { content: "AEVORIA / LEGAL"; position: absolute; right: 34px; bottom: 22px; color: var(--acid); font-family: "Courier New", monospace; font-size: 11px; font-weight: 900; letter-spacing: .16em; }
.legal-page .eyebrow { grid-area: title; align-self: start; display: inline-flex; width: max-content; padding: 5px 9px; color: var(--ink); background: var(--acid); font-family: "Courier New", monospace; font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.legal-page h1 { grid-area: title; align-self: end; max-width: 700px; margin: 50px 0 0; color: var(--white); font-family: Georgia, "Times New Roman", serif; font-size: clamp(54px, 8vw, 108px); font-weight: 900; letter-spacing: -.09em; line-height: .83; }
.legal-page .summary { grid-area: summary; max-width: 580px; margin: 24px 0 0; color: #c6c2b9; font-size: 16px; }
.legal-page .meta-grid { grid-area: meta; align-self: stretch; display: grid; grid-template-columns: 1fr; gap: 0; margin: 0; background: var(--acid); border: 0; border-radius: 0; }
.legal-page .meta-card { min-height: 0; padding: 20px 22px; background: transparent; border-bottom: 2px solid var(--ink); }
.legal-page .meta-card:last-child { border-bottom: 0; }
.legal-page .meta-label { display: block; margin-bottom: 9px; color: #5e670b; font-family: "Courier New", monospace; font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.legal-page .meta-value { color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: 18px; font-weight: 900; overflow-wrap: anywhere; }
.legal-page .section {
    display: grid;
    grid-template-columns: 120px minmax(0, 780px);
    gap: 40px;
    margin: 0;
    padding: 38px 0 42px;
    background: transparent;
    border: 0;
    border-top: 2px solid var(--ink);
    border-radius: 0;
    box-shadow: none;
    counter-increment: legal-section;
}
.legal-page .section::before {
    content: counter(legal-section, decimal-leading-zero);
    position: static;
    width: auto;
    height: auto;
    display: block;
    color: var(--orange);
    background: transparent;
    border: 0;
    border-radius: 0;
    font-family: "Courier New", monospace;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: .08em;
}
.legal-page h2 { margin: 0 0 18px; color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: 32px; line-height: 1; letter-spacing: -.05em; }
.legal-page p, .legal-page li { color: #4e4a43; font-family: Georgia, "Times New Roman", serif; font-size: 16px; }
.legal-page p { margin: 0 0 16px; }
.legal-page p:last-child, .legal-page ul:last-child { margin-bottom: 0; }
.legal-page ul { margin: 0 0 16px; padding-left: 22px; }
.legal-page li + li { margin-top: 8px; }
.legal-page li::marker { color: var(--blue); }
.legal-page a { color: var(--blue); border-bottom: 1px solid currentColor; font-weight: 700; overflow-wrap: anywhere; }
.legal-page .note { margin: 22px 0 16px; padding: 20px 22px; background: var(--white); border: 2px solid var(--ink); border-left: 12px solid var(--blue); border-radius: 0; }
.legal-page .contact-card { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 16px 0 22px; background: var(--white); border: 2px solid var(--ink); border-radius: 0; }
.legal-page .contact-card p { margin: 0; padding: 17px 18px; border-bottom: 1px solid var(--soft-line); }
.legal-page .contact-card p:nth-child(odd) { border-right: 1px solid var(--soft-line); }
.legal-page .contact-card p:nth-last-child(-n+2) { border-bottom: 0; }
.legal-page .contact-card strong { color: var(--blue); font-family: "Courier New", monospace; font-size: 12px; }
.legal-page hr { margin: 30px 0 0; border: 0; border-top: 2px solid var(--ink); }

@media (max-width: 900px) {
    .wrap, .legal-page .page { width: min(100% - 48px, 1180px); }
    .site-page .nav-links a:not(.nav-button) { display: none; }
    .site-page .hero h1 { font-size: clamp(62px, 14vw, 130px); }
    .site-page .section { grid-template-columns: 120px minmax(0, 1fr); gap: 26px; }
    .legal-page .hero { grid-template-columns: 1fr; grid-template-areas: "title" "summary" "meta"; gap: 0; }
    .legal-page .meta-grid { grid-template-columns: repeat(2, 1fr); margin-top: 34px; }
    .legal-page .meta-card:nth-child(odd) { border-right: 2px solid var(--ink); }
    .legal-page .meta-card:nth-last-child(-n+2) { border-bottom: 0; }
}

@media (max-width: 620px) {
    .wrap, .legal-page .page { width: calc(100% - 28px); }
    .site-page .topbar { position: static; width: 100%; height: auto; border-right: 0; border-bottom: 2px solid var(--ink); }
    .site-page .nav { min-height: 66px; padding: 10px 14px; flex-direction: row; justify-content: space-between; }
    .site-page .brand { flex-direction: row; writing-mode: horizontal-tb; transform: none; font-size: 12px; }
    .site-page .brand-mark { width: 38px; height: 38px; }
    .site-page .nav-links { margin-top: 0; flex-direction: row; writing-mode: horizontal-tb; }
    .site-page .nav-button { writing-mode: horizontal-tb; padding: 9px 11px; }
    .site-page main, .site-page .footer { margin-left: 0; }
    .site-page .hero { min-height: 670px; padding: 92px 0 72px; }
    .site-page .hero::after { display: none; }
    .site-page h1 { font-size: 68px; }
    .site-page .hero-actions { display: grid; grid-template-columns: 1fr; }
    .site-page .button + .button { border-left: 2px solid var(--ink); border-top: 0; }
    .site-page .summary-grid { grid-template-columns: 1fr; }
    .site-page .summary-item { min-height: 0; border-right: 0; border-bottom: 2px solid var(--ink); }
    .site-page .summary-item:last-child { border-bottom: 0; }
    .site-page .section { display: block; padding-top: 72px; }
    .site-page .section::before { margin-bottom: 18px; }
    .site-page .product-panel { display: block; }
    .site-page .product-lead { min-height: 250px; padding-right: 0; border-right: 0; border-bottom: 2px solid var(--ink); }
    .site-page .product-lead p { font-size: 25px; }
    .site-page .info-layout { display: block; }
    .site-page .info-panel, .site-page .info-panel + .info-panel { padding: 24px 0; border-right: 0; border-bottom: 2px solid var(--ink); }
    .site-page .contact-panel, .site-page .footer { display: block; }
    .site-page .contact-panel a { display: inline-block; margin-top: 16px; }
    .site-page .footer span + span { display: block; margin-top: 9px; }
    .legal-page { padding-bottom: 40px; }
    .legal-page .hero { min-height: 0; margin-bottom: 28px; padding: 42px 14px 0; border-bottom-width: 9px; }
    .legal-page .hero::after { right: 10px; bottom: 12px; font-size: 9px; }
    .legal-page h1 { margin-top: 38px; font-size: 60px; }
    .legal-page .meta-grid { grid-template-columns: 1fr; margin-left: 0; margin-right: 0; }
    .legal-page .meta-card, .legal-page .meta-card:nth-child(odd) { border-right: 0; border-bottom: 2px solid var(--ink); }
    .legal-page .meta-card:last-child { border-bottom: 0; }
    .legal-page .section { display: block; padding: 28px 0 32px; }
    .legal-page .section::before { margin-bottom: 16px; }
    .legal-page h2 { font-size: 30px; }
    .legal-page p, .legal-page li { font-size: 15px; }
    .legal-page .contact-card { grid-template-columns: 1fr; }
    .legal-page .contact-card p:nth-child(odd) { border-right: 0; }
    .legal-page .contact-card p:nth-last-child(-n+2) { border-bottom: 1px solid var(--soft-line); }
    .legal-page .contact-card p:last-child { border-bottom: 0; }
}