/* The one owner of the look, shared by the landing (landing.css) and the takstmann app and its login (web/client/app.css,
   http/auth.ts): faces, colours, radii, type, links, focus ring, header, card, inputs and buttons. The pages add layout
   on top and never name a colour or a face: they read these variables (src/landing/tokens.test.ts fails when they do).
   Each text colour below holds WCAG AA (4.5:1) on white, cream and tint; the test proves it. */
@font-face{font-family:"Bricolage Grotesque";font-weight:500;font-style:normal;font-display:swap;src:url("/landing/fonts/BricolageGrotesque-500.woff2") format("woff2")}
@font-face{font-family:"Bricolage Grotesque";font-weight:700;font-style:normal;font-display:swap;src:url("/landing/fonts/BricolageGrotesque-700.woff2") format("woff2")}
@font-face{font-family:"Bricolage Grotesque";font-weight:800;font-style:normal;font-display:swap;src:url("/landing/fonts/BricolageGrotesque-800.woff2") format("woff2")}
@font-face{font-family:"Inter";font-weight:400;font-style:normal;font-display:swap;src:url("/landing/fonts/Inter-400.woff2") format("woff2")}
@font-face{font-family:"Inter";font-weight:500;font-style:normal;font-display:swap;src:url("/landing/fonts/Inter-500.woff2") format("woff2")}
@font-face{font-family:"Inter";font-weight:600;font-style:normal;font-display:swap;src:url("/landing/fonts/Inter-600.woff2") format("woff2")}

:root {
    /* palette */
    --forest: #16302B;
    --forest-2: #2E5245;
    --cream: #F3F1EA;
    --mist: #D7DED8;
    --gold: #E0A93B;
    --gold-2: #E8B652;
    --orange: #FF5B24;
    --orange-2: #FF7A4A;
    --white: #FFFFFF;
    /* a pale green-grey for table heads and quiet fills; the border of an input */
    --tint: #EAEEE8;
    --line: #B9BFB6;
    /* the dark band's quiet greens (text on forest) and the example photo's field */
    --sage: #9FB0A8;
    --sage-2: #B9C4BE;
    --blush: #FFD2C4;
    --meadow: #7F9A4B;
    /* the landscape drawing of the landing (its colours; the rest of its fills are the palette above) */
    --art-hill: #244239;
    --art-pine: #1B3830;
    --art-field-gold: #C9AE4F;
    --art-field-green: #A9B55A;
    --art-furrow: #B89B3E;
    --art-roof: #2A2220;
    --art-barn: #8F3324;
    /* secondary text, from the strongest to the quietest */
    --text-2: #3F4F49;
    --text-3: #4A5A54;
    --text-4: #5F6E68;
    /* states, as text: error, warning, ok (and their pale backgrounds are mixes of these with white) */
    --error: #A23B2A;
    --warning: #7A5200;
    --ok: #2E6B45;
    /* faces */
    --display: "Bricolage Grotesque", sans-serif;
    --sans: Inter, system-ui, sans-serif;
    --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
    /* shape and space */
    --radius-control: 12px;
    --radius-card: 18px;
    --shadow-card: 0 20px 50px rgba(22,48,43,.12);
    --shadow-teaser: 0 20px 50px rgba(22,48,43,.15);
    --shadow-report: 0 30px 60px rgba(22,48,43,.18);
    --shadow-deep: 0 30px 60px rgba(0,0,0,.28);
    --shadow-pop: 0 6px 24px rgba(22,48,43,.18);
    --gutter: 32px;
}
@media (max-width: 720px) {
    :root { --gutter: 20px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--forest); font-family: var(--sans); }
a { color: var(--forest); }
a:hover { color: var(--forest-2); }
h1, h2, h3, p, ul { margin: 0; }
:focus-visible, input:focus, select:focus, textarea:focus { outline: 3px solid var(--gold); outline-offset: 1px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* header: the forest bar with the house and the name, then the page's own links */
.site-header { background: var(--forest); color: var(--cream); }
.header-row { padding-top: 22px; padding-bottom: 22px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--cream); text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 22px; }
.brand:hover { color: var(--cream); }
.brand svg { color: var(--gold); }
.nav { display: flex; gap: 28px; flex-wrap: wrap; font-size: 15px; }
.nav a { color: var(--mist); text-decoration: none; }
.nav a:hover { color: var(--white); text-decoration: underline; }

/* a white card on the cream page */
.card { background: var(--white); border-radius: var(--radius-card); padding: 28px; }

/* inputs: one look; each page sets its own size */
input:is([type="text"], [type="password"], [type="search"], [type="email"], [type="date"], [type="number"]), select, textarea {
    font: inherit; color: var(--forest); background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius-control);
}
input[aria-invalid="true"] { border-color: var(--error); }

/* buttons: orange with forest text (white on this orange is 3.1:1, forest is 4.5:1) and the quiet outline beside it.
   The app's .btn.primary is the orange one and its .btn the quiet one: same look, a smaller size (app.css). */
.cta, .btn { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 16px; text-align: center; border: 1.5px solid transparent; border-radius: var(--radius-control); font: inherit; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; }
.cta, .btn.primary { background: var(--orange); color: var(--forest); }
.cta:hover, .btn.primary:hover { background: var(--orange-2); color: var(--forest); }
.cta-quiet, .cta-quiet:hover, .btn:not(.primary), .btn:not(.primary):hover { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn:not(.primary):hover { background: var(--tint); }
