@font-face{font-family:"Newsreader";font-style:normal;font-weight:500;font-display:swap;src:url("/assets/fonts/newsreader-500-normal.5613e2fc83.woff2") format("woff2");}
@font-face{font-family:"Newsreader";font-style:italic;font-weight:500;font-display:swap;src:url("/assets/fonts/newsreader-500-italic.3d184d574e.woff2") format("woff2");}
@font-face{font-family:"Newsreader";font-style:normal;font-weight:600;font-display:swap;src:url("/assets/fonts/newsreader-600-normal.05c91a26d1.woff2") format("woff2");}
@font-face{font-family:"Schibsted Grotesk";font-style:normal;font-weight:700;font-display:swap;src:url("/assets/fonts/schibsted-grotesk-700-normal.d656a2dcc2.woff2") format("woff2");}
@font-face{font-family:"Schibsted Grotesk";font-style:normal;font-weight:800;font-display:swap;src:url("/assets/fonts/schibsted-grotesk-800-normal.46876fbd58.woff2") format("woff2");}
@font-face{font-family:"Hanken Grotesk";font-style:normal;font-weight:400;font-display:swap;src:url("/assets/fonts/hanken-grotesk-400-normal.787b3fdd0b.woff2") format("woff2");}
@font-face{font-family:"Hanken Grotesk";font-style:normal;font-weight:600;font-display:swap;src:url("/assets/fonts/hanken-grotesk-600-normal.58f23b7ae3.woff2") format("woff2");}
@font-face{font-family:"Spline Sans Mono";font-style:normal;font-weight:500;font-display:swap;src:url("/assets/fonts/spline-sans-mono-500-normal.9179bba926.woff2") format("woff2");}
:root {
    --koma: #b33f31;
    --koma-hover: #8f3026;
    --koma-soft: #f8e7e3;
    --ink: #16141a;
    --ink-soft: #2e2b31;
    --paper: #fbf9f7;
    --sand: #f3efea;
    --card: #ffffff;
    --line: #e6e0d9;
    --muted: #5d5852;
    --font-serif: "Newsreader", Georgia, "Times New Roman", serif;
    --font-display: "Schibsted Grotesk", "Hanken Grotesk", system-ui, sans-serif;
    --font-sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-mono: "Spline Sans Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
    --radius: 16px;
    --shadow: 0 1px 2px rgb(22 20 26 / 0.06), 0 12px 32px -12px rgb(22 20 26 / 0.22);
    color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 400 1.0625rem/1.65 var(--font-sans);
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--koma); text-underline-offset: 0.18em; }
a:hover { color: var(--koma-hover); }
:focus-visible { outline: 3px solid var(--koma); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { margin: 0 0 0.55em; line-height: 1.12; }
h1, h2 { font-family: var(--font-serif); font-weight: 500; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); margin-top: 1.4em; }
h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.18rem; letter-spacing: -0.01em; }
h1 em, h2 em { font-style: italic; color: var(--koma); }
p, ul, ol { margin: 0 0 1em; }
li + li { margin-top: 0.35em; }

code, pre { font-family: var(--font-mono); font-weight: 500; font-size: 0.9em; }
:not(pre) > code { background: var(--sand); border-radius: 5px; padding: 0.08em 0.36em; overflow-wrap: anywhere; }
pre {
    background: var(--ink);
    color: #f3efe9;
    border-radius: 12px;
    padding: 1.1rem 1.25rem;
    overflow-x: auto;
    line-height: 1.55;
    margin: 0 0 1.4em;
}

.wrap { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(760px, 100% - 2.5rem); margin-inline: auto; }
.center { text-align: center; }

.skip {
    position: absolute; left: 1rem; top: -4rem; z-index: 20;
    background: var(--ink); color: #fff; padding: 0.6rem 1rem; border-radius: 8px;
}
.skip:focus { top: 1rem; color: #fff; }

/* Buttons */
.button {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    border-radius: 999px; padding: 0.85rem 1.5rem;
    font: 700 1rem/1.1 var(--font-sans); text-decoration: none;
    border: 2px solid var(--ink); color: var(--ink); background: transparent;
}
.button:hover { background: var(--ink); color: #fff; }
.button.dark { background: var(--ink); color: #fff; }
.button.dark:hover { background: var(--koma); border-color: var(--koma); color: #fff; }
.button.light { background: #fff; border-color: #fff; color: var(--ink); }
.button.light:hover { background: var(--koma-soft); border-color: var(--koma-soft); color: var(--ink); }
.button.small { padding: 0.6rem 1.1rem; font-size: 0.95rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.8rem; }
.actions.centered { justify-content: center; }
.text-link { font-weight: 700; text-decoration: none; }
.text-link::after { content: " →"; }
.text-link:hover { text-decoration: underline; }

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 10;
    background: rgb(251 249 247 / 0.94);
    border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 68px; }
.brand {
    display: inline-flex; align-items: center; gap: 0.55rem;
    color: var(--ink); text-decoration: none;
    font: 800 1.15rem/1 var(--font-display); letter-spacing: -0.01em;
}
.brand:hover { color: var(--ink); }
.nav { display: flex; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.nav li + li { margin-top: 0; }
.nav a {
    display: block; padding: 0.5rem 0.75rem; border-radius: 999px;
    color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: 0.97rem;
}
.nav a:hover { background: var(--sand); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--koma-soft); color: var(--koma-hover); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 1rem; }
.header-link { color: var(--ink-soft); font-weight: 600; text-decoration: none; }
.header-link:hover { color: var(--ink); text-decoration: underline; }
.nav-mobile { display: none; }

@media (max-width: 960px) {
    .nav-desktop, .header-link { display: none; }
    .header-inner { flex-wrap: wrap; gap: 0.75rem 1rem; padding: 0.7rem 0; }
    .nav-mobile { display: block; order: 3; flex-basis: 100%; }
    .nav-mobile summary {
        display: inline-block; cursor: pointer; list-style: none;
        font-weight: 700; padding: 0.45rem 0.9rem; border: 2px solid var(--ink); border-radius: 999px;
    }
    .nav-mobile summary::-webkit-details-marker { display: none; }
    .nav-mobile summary::after { content: " ▾"; }
    .nav-mobile[open] summary::after { content: " ▴"; }
    .nav-mobile ul { list-style: none; margin: 0.75rem 0 0.25rem; padding: 0; display: grid; gap: 0.15rem; }
    .nav-mobile li + li { margin-top: 0; }
    .nav-mobile a { display: block; padding: 0.55rem 0; color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); }
    .nav-mobile a[aria-current="page"] { color: var(--koma); }
}

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(3.5rem, 8vw, 6.5rem) 0 0; }
.hero-glow {
    position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(60rem 30rem at 15% 0%, #fbe1db 0%, transparent 60%),
        radial-gradient(50rem 28rem at 90% 10%, #f6e9d4 0%, transparent 65%),
        linear-gradient(180deg, #fdf7f3 0%, var(--paper) 70%);
}
.hero-copy { text-align: center; max-width: 880px; }
.kicker {
    display: inline-block; margin-bottom: 1.3rem;
    font: 600 0.82rem/1.35 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--koma-hover); background: #fff; border: 1px solid #f1d3cc; border-radius: 999px; padding: 0.4rem 0.9rem;
}
@media (max-width: 520px) { .kicker { font-size: 0.7rem; letter-spacing: 0.03em; } }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); line-height: 1.04; }
.hero .lead { margin-inline: auto; }
.lead { font-size: clamp(1.1rem, 1.7vw, 1.3rem); color: var(--ink-soft); max-width: 40em; }
.reassure { margin-top: 1rem; color: var(--muted); font-size: 0.95rem; }

.hero-stage { position: relative; margin-top: clamp(2.5rem, 6vw, 4rem); padding-bottom: clamp(2rem, 5vw, 4rem); }
.browser {
    margin: 0 auto; max-width: 1040px;
    background: var(--card); border: 1px solid var(--line); border-radius: 14px;
    box-shadow: var(--shadow); overflow: hidden;
}
.browser-bar { display: flex; align-items: center; gap: 0.4rem; padding: 0.6rem 0.9rem; background: var(--sand); border-bottom: 1px solid var(--line); }
.browser-bar span { width: 10px; height: 10px; border-radius: 50%; background: #d9d2ca; }
.browser-bar p { margin: 0 auto; font: 500 0.78rem/1 var(--font-mono); color: var(--muted); }
.float { position: absolute; margin: 0; }
.float.phone { left: max(0px, calc(50% - 600px)); bottom: 0; width: clamp(150px, 17vw, 210px); }
.float.phone img { border-radius: 22px; border: 6px solid var(--ink); box-shadow: var(--shadow); }
.ui-card {
    background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
    padding: 0.85rem 1rem; font-size: 0.9rem; line-height: 1.35;
}
.ui-card strong { display: block; font-family: var(--font-display); }
.ui-card .meta { color: var(--muted); font-size: 0.82rem; }
.ui-card .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #2f8a4a; margin-right: 0.4rem; }
.float.schedule { right: max(0px, calc(50% - 620px)); top: 12%; width: 230px; }
.float.signed { right: max(0px, calc(50% - 580px)); bottom: 14%; width: 220px; }

@media (max-width: 960px) {
    .float.schedule, .float.signed { display: none; }
    .float.phone { position: static; margin: 1.5rem auto 0; width: 180px; }
}

/* Facts */
.facts-strip { margin-top: -1rem; position: relative; }
.facts-strip ul {
    list-style: none; margin: 0 auto; padding: 1.2rem; max-width: 1040px;
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.5rem;
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.facts-strip li { margin: 0; text-align: center; padding: 0.4rem 0.6rem; }
.facts-strip li + li { border-left: 1px solid var(--line); }
.facts-strip strong { display: block; font: 600 clamp(1.5rem, 2.6vw, 2.1rem)/1.1 var(--font-serif); color: var(--koma); }
.facts-strip span { color: var(--muted); font-size: 0.93rem; }
@media (max-width: 700px) {
    .facts-strip ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .facts-strip li + li { border-left: 0; }
}

/* Sections */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section.sand { background: var(--sand); }
.section.dark { background: var(--ink); color: #f1ede8; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark a:not(.button) { color: #ffb4a8; }
.section.dark .lead { color: #d8d2cb; }
.section-head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.centered { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: 0; }

.columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.25rem); }
.column figure { margin: 0 0 1.2rem; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--card); aspect-ratio: 4 / 3; }
.column figure img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.column p { color: var(--ink-soft); }
@media (max-width: 860px) { .columns { grid-template-columns: 1fr; } }

.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2rem); }
.theme-card { margin: 0; }
.theme-card .browser { max-width: none; }
.theme-card figcaption { margin-top: 0.9rem; }
.theme-card figcaption strong { font: 700 1.1rem/1.2 var(--font-display); display: block; }
.theme-card figcaption span { color: var(--muted); }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr; } }

.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.rows li { margin: 0; border-bottom: 1px solid var(--line); }
.rows a {
    display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr) auto; gap: 1.5rem; align-items: center;
    padding: 1.4rem 0.25rem; color: var(--ink); text-decoration: none;
}
.rows a:hover { background: var(--card); }
.rows h3 { margin: 0; font-size: 1.25rem; }
.rows p { margin: 0; color: var(--muted); }
.rows .arrow {
    display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
    border: 1px solid var(--line); font-size: 1.2rem; background: var(--card);
}
.rows a:hover .arrow { background: var(--ink); color: #fff; border-color: var(--ink); }
@media (max-width: 760px) {
    .rows a { grid-template-columns: minmax(0, 1fr) auto; }
    .rows p { grid-column: 1 / 2; grid-row: 2; }
    .rows .arrow { grid-row: 1 / 3; grid-column: 2; }
}

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split .browser { max-width: none; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1.1rem; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.5rem 1.2rem; }
.card h3 { margin-bottom: 0.4em; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card ul { padding-left: 1.1em; }
.card.link-card { display: block; color: var(--ink); text-decoration: none; transition: border-color 120ms ease; }
.card.link-card:hover { border-color: var(--ink); }
.card.link-card p { color: var(--muted); }

.pill {
    display: inline-block; margin-bottom: 0.8rem;
    font: 600 0.75rem/1 var(--font-mono); letter-spacing: 0.05em; text-transform: uppercase;
    border-radius: 999px; padding: 0.38rem 0.65rem; background: var(--sand); color: var(--ink-soft);
}
.pill.done { background: #dcebdd; color: #1f5a2b; }
.pill.planned { background: var(--koma-soft); color: var(--koma-hover); }

.closer { text-align: center; }
.closer .lead, .section-head.centered .lead { margin-inline: auto; }
.closer .cards { text-align: left; margin-top: 2rem; }

/* Inner pages */
.page-head { padding: clamp(3rem, 7vw, 5rem) 0 1.5rem; background: linear-gradient(180deg, #fdf3ef 0%, var(--paper) 100%); }
.page-head .lead { margin-bottom: 0; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.prose h2:first-child { margin-top: 0.3em; }
.prose ul { padding-left: 1.2em; }
.notice { background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--koma); border-radius: 10px; padding: 1.1rem 1.3rem; margin: 0 0 1.6rem; }
.notice p:last-child { margin-bottom: 0; }
.facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 0.5rem 1.5rem; margin: 0 0 1.6rem; }
.facts dt { font-weight: 700; }
.facts dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 760px) {
    .facts { grid-template-columns: 1fr; }
    .facts dd { margin-bottom: 0.6rem; }
}

/* Footer */
.site-footer { margin-top: 0; background: var(--ink); color: #d8d2cb; padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; font-size: 0.95rem; }
.site-footer .brand { color: #fff; margin-bottom: 0.9rem; }
.site-footer a { color: #f1ede8; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); gap: 2rem; }
.footer-about p { max-width: 24em; }
.footer-col h2 { font: 700 0.8rem/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: #a39c94; margin: 0.4rem 0 1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }
.footer-col a[aria-current="page"] { color: #ffb4a8; }
.site-footer .fine { margin: 2.5rem 0 0; padding-top: 1.5rem; border-top: 1px solid #3a363d; color: #a39c94; font-size: 0.86rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-about { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: no-preference) {
    .button, .nav a, .rows a, .rows .arrow { transition: background-color 120ms ease, color 120ms ease, border-color 120ms ease; }
}
