:root {
  --ars-ink: #2b1d2a;
  --ars-ochre: #cb5b2e;
  --ars-gold: #d8a33c;
  --ars-green: #5b8e3e;
  --ars-blue: #2c89a0;
  --ars-sand: #f6f1e8;
  --ars-paper: #fffdfa;
  --ars-border: #e2d8ca;
  --ars-muted: #6d625b;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ars-ink);
  background: linear-gradient(180deg, var(--ars-sand), #f8f7f3 48%, #f4f2ec);
}

a { color: #126f82; text-underline-offset: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--ars-blue); outline-offset: 3px; }

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 1.25rem clamp(1.1rem, 4vw, 4rem);
  background: var(--ars-paper);
  border-bottom: 5px solid var(--ars-ochre);
  box-shadow: 0 1px 12px rgba(43, 29, 42, .07);
}

.eyebrow, .section-label {
  margin: 0 0 .35rem;
  color: var(--ars-ochre);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1 { margin: 0; font-size: clamp(1.65rem, 3.2vw, 2.7rem); line-height: 1.05; letter-spacing: -.035em; }
.subtitle { margin: .55rem 0 0; color: var(--ars-muted); }
.ars-logo { display: block; width: auto; max-width: min(330px, 38vw); max-height: 105px; object-fit: contain; }

.landing-shell {
  width: min(1160px, calc(100% - 2rem));
  margin: 2rem auto 3rem;
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.5fr);
  gap: 1.25rem;
  align-items: start;
}

.intro-card, .terms-card {
  padding: clamp(1.1rem, 2.7vw, 2rem);
  background: var(--ars-paper);
  border: 1px solid var(--ars-border);
  border-radius: 16px;
  box-shadow: 0 3px 18px rgba(43, 29, 42, .065);
}

.intro-card { border-top: 5px solid var(--ars-green); }
.terms-card { border-top: 5px solid var(--ars-blue); }
h2 { margin: 0 0 1rem; font-size: clamp(1.35rem, 2.4vw, 2rem); line-height: 1.16; }
h3 { margin: 0 0 .55rem; font-size: 1.05rem; }
p, li { line-height: 1.56; }
ul { padding-left: 1.25rem; }

.terms-section { padding: 1rem 0; border-top: 1px solid var(--ars-border); }
.terms-section:first-of-type { border-top: 0; padding-top: .25rem; }
.planned-licence { border-left: 4px solid var(--ars-gold); padding-left: 1rem; }
.cookie-notice { color: var(--ars-muted); }

.acceptance-form { margin-top: .5rem; padding: 1rem; border-radius: 12px; background: #f4f7ee; border: 1px solid #d8e2ca; }
.acceptance-check { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; font-weight: 650; line-height: 1.45; }
.acceptance-check input { width: 1.15rem; height: 1.15rem; margin-top: .12rem; }
button {
  margin-top: 1rem;
  padding: .72rem 1.05rem;
  border: 1px solid #376721;
  border-radius: 999px;
  background: var(--ars-green);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
button:hover:not(:disabled) { background: #47752f; }
button:disabled { cursor: not-allowed; opacity: .5; }
.status { min-height: 1.4em; margin: .75rem 0 0; color: #8b260c; font-weight: 650; }
.noscript { padding: .75rem; border-left: 4px solid var(--ars-ochre); background: #fff3e8; }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem clamp(1rem, 4vw, 4rem);
  color: #fffaf3;
  background: var(--ars-ink);
  font-size: .86rem;
}
.site-footer a { color: #fffaf3; }

@media (max-width: 820px) {
  .site-header { align-items: flex-start; gap: 1rem; }
  .ars-logo { max-width: 38vw; max-height: 75px; }
  .landing-shell { grid-template-columns: 1fr; margin-top: 1rem; }
}

@media (max-width: 520px) {
  .site-header { display: block; }
  .ars-logo { margin-top: 1rem; max-width: min(260px, 82vw); }
  .landing-shell { width: min(100% - 1rem, 1160px); }
  .intro-card, .terms-card { border-radius: 12px; }
  .site-footer { display: block; }
  .site-footer a { display: inline-block; margin-top: .45rem; }
}

