@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/newsreader-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/newsreader-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 400; font-display: swap; src: url("/fonts/newsreader-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }

:root {
    --page: #fdfcfa;
    --ink: #1b1f24;
    --heading: #12263a;
    --muted: #555b62;
    --rule: #ddd8cf;
    --navy: #18344d;
    --brass: #a57b3f;
    --serif: "Newsreader", Georgia, serif;
    --sans: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
    --side: 64px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--page);
    color: var(--ink);
    font-family: var(--serif);
    font-size: 20px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.page { max-width: 1120px; margin: 0 auto; }

a { color: var(--navy); }
a:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 2px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; background: var(--page); padding: 6px 10px; font: 15px var(--sans); }

/* header */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 26px var(--side);
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--navy);
    text-decoration: none;
    font: 500 24px/1 var(--serif);
}
.brand svg { display: block; height: 28px; width: auto; fill: currentColor; }
.header-links { display: flex; align-items: center; gap: 22px; font: 15px/1 var(--sans); }
.header-links a { color: var(--ink); text-decoration: none; }
.header-links .mail { border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.lang { display: flex; gap: 8px; color: var(--muted); }
.lang a { color: var(--muted); }
.lang a:hover { color: var(--ink); }
.lang [aria-current] { color: var(--ink); font-weight: 600; }

/* hero */
.hero, .section {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 40px;
    padding: 44px var(--side);
}
.hero { padding-top: 64px; padding-bottom: 80px; }
.hero h1 {
    font: 400 62px/1.05 var(--serif);
    letter-spacing: -0.015em;
    color: var(--heading);
    margin: 0 0 28px;
    max-width: 13em;
}
.hero p { font-size: 22px; line-height: 1.5; max-width: 30em; margin: 0 0 14px; }
.hero .note {
    align-self: start;
    margin-top: 14px;
    padding-top: 18px;
    border-top: 2px solid var(--brass);
    font: 14px/1.5 var(--sans);
    color: var(--muted);
}
.hero .action { margin-top: 30px; font: 500 17px/1 var(--sans); }
.action a { text-decoration: none; border-bottom: 1px solid var(--navy); padding-bottom: 3px; }

/* sections */
.section { border-top: 1px solid var(--rule); }
.section h2 { font: 500 15px/1.6 var(--sans); margin: 4px 0 0; color: var(--ink); }
.section p { max-width: 34em; margin: 0 0 16px; }
.section p:last-child { margin-bottom: 0; }

.points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px 48px;
    max-width: 46em;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}
.points b { display: block; font: 600 15px/1.4 var(--sans); margin-bottom: 4px; }
.points span { font-size: 18.5px; line-height: 1.5; }

.sig { font: italic 26px/1.2 var(--serif); color: var(--navy); margin-top: 22px; }
.sig small { display: block; font: 14px/1.5 var(--sans); font-style: normal; color: var(--muted); margin-top: 6px; }

.faq { max-width: 40em; margin: 0; }
.faq dt { font: 600 15px/1.4 var(--sans); margin: 0 0 6px; }
.faq dd { margin: 0 0 26px; font-size: 18.5px; line-height: 1.55; }
.faq dd:last-child { margin-bottom: 0; }

.contact-mail { font-size: 22px; }

/* footer */
.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 26px var(--side) 34px;
    border-top: 1px solid var(--rule);
    font: 13px/1.5 var(--sans);
    color: var(--muted);
}
.site-footer nav { display: flex; gap: 18px; }
.site-footer a { color: var(--muted); }

/* legal pages */
.legal { padding: 24px var(--side) 64px; max-width: 46em; }
.legal h1 { font: 400 40px/1.15 var(--serif); color: var(--heading); margin: 0 0 28px; }
.legal h2 { font: 600 16px/1.4 var(--sans); margin: 34px 0 8px; }
.legal p, .legal li { font-size: 18px; line-height: 1.6; }
.legal p { margin: 0 0 12px; }
.legal address { font-style: normal; font-size: 18px; line-height: 1.6; margin-bottom: 12px; }

@media (max-width: 820px) {
    :root { --side: 16px; }
    body { font-size: 18.5px; }
    .site-header { padding-top: 18px; padding-bottom: 18px; }
    .header-links { gap: 14px; }
    .header-links .mail { display: none; }
    .hero, .section { grid-template-columns: 1fr; gap: 14px; }
    .hero { padding-top: 28px; padding-bottom: 48px; }
    .hero .note { order: 2; margin-top: 18px; }
    .hero h1 { font-size: clamp(30px, 9vw, 40px); hyphens: auto; overflow-wrap: break-word; }
    .hero p { font-size: 19px; }
    .points { grid-template-columns: 1fr; gap: 20px; }
    .legal h1 { font-size: 32px; }
}

/* founder note with photo */
.letter { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; max-width: 46em; align-items: start; }
.photo { display: block; width: 180px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 820px) {
    .letter { grid-template-columns: 1fr; gap: 24px; }
    .photo { order: -1; width: 140px; }
}

/* before/after schematic in "What changes" */
.shift { margin: 34px 0 34px; max-width: 46em; }
.shift-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 30px; }
.shift-step { display: flex; flex-direction: column; }
.shift h3 { font: 600 14px/1.35 var(--sans); color: var(--ink); margin: 0 0 12px; min-height: 2.7em; }
.shift-rows svg { display: block; width: 100%; height: auto; margin: 0 0 10px; overflow: visible; }
.section .shift p { max-width: none; }
.section .shift .shift-tag { font: 12.5px/1.3 var(--sans); color: var(--muted); margin: 0 0 5px; }
.section .shift .shift-tag-erf { color: var(--navy); font-weight: 500; }
.section .shift .shift-axis { display: flex; justify-content: space-between; font: 11.5px/1.2 var(--sans); color: var(--muted); margin: -4px 0 0; }
.section .shift .shift-cap { font-size: 16px; line-height: 1.45; color: var(--ink); margin: 10px 0 0; }
.section .shift .shift-note { font: 12.5px/1.4 var(--sans); color: var(--muted); margin: 18px 0 0; }
@media (max-width: 1060px) {
    .shift-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 24px; }
}

/* hero without the side note: keep text in the reading column */
.hero > div { grid-column: 2; }
/* subtle brass dash before key statements */
.section p.tick { position: relative; padding-left: 24px; }
.section p.tick::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 10px; height: 2px; background: var(--brass); }
@media (max-width: 820px) {
    .hero > div { grid-column: auto; }
    .section p.tick { padding-left: 20px; }
}
