/* v1 "Screening room" - Kroon Optimi for-sale and parked pages. Self-hosted font, no external requests. */
@font-face {
  font-family: "Sora";
  src: url("fonts/sora.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --night: #081827;      /* the film's own background */
  --deep: #0d2236;       /* raised panels */
  --well: #06121f;       /* input wells */
  --rule: #22405e;
  --rule-strong: #35597d;
  --paper: #f0eee7;      /* wordmark cream */
  --mist: #a8b6c6;       /* secondary text */
  --gold: #daae42;       /* Kroon gold, the one accent */
  --gold-hi: #e8c463;
  --error: #ffab9e;
  --error-bg: #3a1a1f;
  --wrap: 72rem;
  --pad: clamp(1.25rem, 4vw, 3rem);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--night); }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Sora", "Segoe UI", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--paper);
  background: var(--night);
}
main { flex: 1; }
img, video { display: block; max-width: 100%; }
figure { margin: 0; }
h1, h2, h3, p { margin: 0; }
a { color: var(--gold); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--pad)); margin-inline: auto; padding-inline: var(--pad); }

/* Header */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--pad));
  margin-inline: auto;
  padding: 1.5rem var(--pad) 0;
}
.wordmark { width: auto; height: 2.5rem; }
.status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
}
.dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--gold); }
.top-end { display: flex; align-items: center; gap: 0.75rem; }

/* Language switch: two plain links, the current one filled */
.lang { display: flex; padding: 3px; border: 1px solid var(--rule-strong); border-radius: 999px; }
.lang a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.25rem;
  padding: 0 0.7rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  color: var(--mist);
  text-decoration: none;
  transition: color 0.18s ease, background-color 0.18s ease;
}
.lang a:hover { color: var(--paper); }
.lang a[aria-current="page"] { color: var(--night); background: var(--paper); }

/* Title */
.title { padding-top: clamp(2.5rem, 7vw, 5.5rem); padding-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.domain {
  font-size: clamp(2.6rem, 9vw, 6.75rem);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}
.domain.is-long { font-size: clamp(2.1rem, 6.6vw, 5.25rem); }
.domain.is-xlong { font-size: clamp(1.75rem, 5vw, 4rem); letter-spacing: -0.02em; }
.domain.is-phrase { font-size: clamp(2.4rem, 7.4vw, 5.75rem); max-width: 14ch; }
.title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem 2.5rem;
  margin-top: 1.5rem;
}
.lead { max-width: 38rem; color: var(--mist); font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.55; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.6rem;
  font: inherit;
  font-weight: 650;
  font-size: 1rem;
  color: var(--night);
  background: var(--gold);
  border: 0;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease;
}
.button:hover { background: var(--gold-hi); color: var(--night); }
.button.ghost { color: var(--paper); background: transparent; border: 1px solid var(--rule-strong); }
.button.ghost:hover { border-color: var(--gold); color: var(--paper); background: transparent; }

/* Film */
.screen {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 6px;
  background: var(--night);
  box-shadow: 0 0 0 1px var(--rule);
}
.screen video, .screen .film-still { width: 100%; height: 100%; object-fit: cover; }
.film-still { display: none; }
@media (prefers-reduced-motion: reduce) {
  .screen video { display: none; }
  .screen .film-still { display: block; }
  .film-js .screen video { display: block; }
  .film-js .screen .film-still { display: none; }
}
.film figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  padding-top: 0.9rem;
}
.film-controls { display: flex; gap: 0.5rem; }
.film-controls[hidden] { display: none; }
.ctl {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.5rem 0.95rem;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--paper);
  background: var(--deep);
  border: 1px solid var(--rule-strong);
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 0.18s ease;
}
.ctl:hover { border-color: var(--gold); }
.ctl svg { width: 1rem; height: 1rem; fill: currentColor; }
.ctl .i-play, .ctl .i-sound { display: none; }
.ctl[aria-pressed="false"] .i-pause { display: none; }
.ctl[aria-pressed="false"] .i-play { display: block; }
#film-sound[aria-pressed="true"] .i-mute { display: none; }
#film-sound[aria-pressed="true"] .i-sound { display: block; color: var(--gold); }
.credit { flex: 1 1 22rem; color: var(--mist); font-size: 0.9375rem; }
.credit span { color: var(--paper); font-weight: 600; white-space: nowrap; }

/* Steps + offer / questions + pitch */
.deal {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  padding-top: clamp(3.5rem, 8vw, 6rem);
  padding-bottom: clamp(3.5rem, 8vw, 6rem);
}
.deal h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.2; font-weight: 650; letter-spacing: -0.015em; }

.steps ol { list-style: none; margin: 2rem 0 0; padding: 0; }
.steps li {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: 1rem;
  padding: 1.35rem 0;
  border-top: 1px solid var(--rule);
}
.steps li:last-child { border-bottom: 1px solid var(--rule); }
.n {
  font-size: 1.75rem;
  line-height: 1;
  font-weight: 300;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.steps h3 { font-size: 1.0625rem; font-weight: 650; margin-bottom: 0.3rem; }
.steps p { color: var(--mist); font-size: 0.975rem; }

.offer {
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
  background: var(--deep);
  border: 1px solid var(--rule);
  border-radius: 8px;
  scroll-margin-top: 1.5rem;
}
.offer h2 { margin-bottom: 1.5rem; }
.offer form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.25rem; }
.offer .field { grid-column: 1 / -1; margin-bottom: 1.2rem; }
.offer .field:nth-of-type(2), .offer .field:nth-of-type(3) { grid-column: auto; }
.offer .field-offer { grid-column: 1 / -1; }
.offer .submit, .offer .small { grid-column: 1 / -1; }

label { display: flex; align-items: baseline; gap: 0.4rem; margin-bottom: 0.45rem; font-weight: 600; font-size: 0.9375rem; }
.opt { font-weight: 400; color: var(--mist); }
.count { margin-left: auto; font-weight: 400; color: var(--mist); font-size: 0.8125rem; font-variant-numeric: tabular-nums; }

input, textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 0.9rem;
  font: inherit;
  font-size: 1rem;
  color: var(--paper);
  background: var(--well);
  border: 1px solid var(--rule-strong);
  border-radius: 6px;
  transition: border-color 0.18s ease;
}
input:hover, textarea:hover { border-color: #4a7299; }
input:focus-visible, textarea:focus-visible { outline: 3px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
textarea { resize: vertical; min-height: 7.5rem; }
input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

.money { display: flex; align-items: stretch; flex-wrap: wrap; gap: 0; }
.money .echo { margin-left: 1rem; }
.money .cur {
  display: inline-flex;
  align-items: center;
  padding: 0 0.9rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--gold);
  background: var(--well);
  border: 1px solid var(--rule-strong);
  border-right: 0;
  border-radius: 6px 0 0 6px;
}
.money input { flex: 0 1 14rem; min-width: 0; border-radius: 0 6px 6px 0; font-size: 1.125rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.echo { align-self: center; color: var(--gold); font-weight: 600; font-variant-numeric: tabular-nums; }
.echo.is-hint { color: var(--mist); font-weight: 400; font-size: 0.9rem; }

.has-error input, .has-error textarea, .has-error .cur { border-color: var(--error); }
.error { margin-top: 0.4rem; color: var(--error); font-size: 0.9rem; }
.notice {
  margin: 0 0 1.5rem;
  padding: 0.85rem 1rem;
  color: var(--error);
  background: var(--error-bg);
  border: 1px solid #6b2e35;
  border-radius: 6px;
}
.submit { width: 100%; margin-top: 0.4rem; min-height: 3.25rem; font-size: 1.0625rem; }
.small { margin-top: 0.9rem; color: var(--mist); font-size: 0.875rem; }

/* Honeypot: off screen for people, still in the form for bots. */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Thank-you */
.thanks { margin-top: 1.75rem; max-width: 40rem; }
.thanks-head { font-size: clamp(1.35rem, 2.4vw, 1.75rem); font-weight: 650; margin-bottom: 0.6rem; }
.thanks .lead { margin-bottom: 1.75rem; }
.sale .film { padding-bottom: 0; }
.sale main > .film:last-child { padding-bottom: clamp(3.5rem, 8vw, 6rem); }

/* Parked: questions and pitch */
.faq h2 { margin-bottom: 1.25rem; }
details { border-top: 1px solid var(--rule); }
details:last-of-type { border-bottom: 1px solid var(--rule); }
summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 3.5rem;
  padding: 0.9rem 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-weight: 300; font-size: 1.6rem; line-height: 1; color: var(--gold); }
details[open] summary::after { content: "\2212"; }
summary:hover { color: var(--gold-hi); }
details p { padding: 0 2.5rem 1.25rem 0; color: var(--mist); }

.pitch {
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
  background: var(--deep);
  border: 1px solid var(--rule);
  border-radius: 8px;
}

/* What we do for businesses: questions as ruled rows */
.work {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  padding-top: clamp(3.5rem, 8vw, 6rem);
  padding-bottom: clamp(3.5rem, 8vw, 6rem);
}
.sale:not(.is-thanks) .work { padding-top: 0; }
.work h2, .work-panel h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.2; font-weight: 650; letter-spacing: -0.015em; }
.work-intro p { margin-top: 1rem; color: var(--mist); }
.work-intro .work-call { margin-top: 1.75rem; }
.work-call { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; color: var(--mist); font-size: 0.9375rem; }
.work-call strong { color: var(--paper); font-weight: 600; }
.work-call .button { font-variant-numeric: tabular-nums; }
.asks { list-style: none; margin: 0; padding: 0; }
.asks li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 0.4rem 2rem;
  padding: 1.35rem 0;
  border-top: 1px solid var(--rule);
}
.asks li:last-child { border-bottom: 1px solid var(--rule); }
.asks h3 { font-size: 1.125rem; line-height: 1.35; font-weight: 650; }
.asks p { color: var(--mist); font-size: 0.975rem; }
.work-panel .work-lede { margin-top: 0.75rem; color: var(--mist); }
.work-panel .asks { margin: 1.5rem 0 1.75rem; }
.work-panel .asks li { grid-template-columns: minmax(0, 1fr); padding: 1.1rem 0; }
.work-panel .asks h3 { font-size: 1.0625rem; }

/* Footer: the brand line and our company facts from the portal */
.foot { border-top: 1px solid var(--rule); background: #061321; }
.foot-in { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 1.5rem clamp(2rem, 5vw, 4rem); padding-top: 2.25rem; padding-bottom: 2.25rem; }
.foot-brand { display: grid; gap: 0.75rem; }
.foot-mark { width: auto; height: 1.75rem; }
.foot p, .foot-addr, .foot-facts { color: var(--mist); font-size: 0.875rem; line-height: 1.6; }
.foot-addr { display: grid; font-style: normal; }
.foot-addr strong { color: var(--paper); font-weight: 600; }
.foot-facts { display: grid; gap: 0.15rem; margin: 0; }
.foot-facts div { display: grid; grid-template-columns: 4.75rem auto; }
.foot-facts dt { color: var(--mist); }
.foot-facts dd { margin: 0; color: var(--paper); }
.foot-facts a { color: var(--paper); text-decoration-color: var(--rule-strong); text-underline-offset: 3px; }
.foot-facts a:hover { color: var(--gold-hi); text-decoration-color: currentColor; }
.foot .plain { margin-left: auto; align-self: flex-end; color: var(--paper); }

/* Narrow */
@media (max-width: 60em) {
  .deal { grid-template-columns: minmax(0, 1fr); }
  .offer { order: -1; }
  .parked .deal .faq { order: 0; }
  .work { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
}
@media (max-width: 44em) {
  .asks li { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 34em) {
  .top-end { gap: 0.5rem; }
  .lang a { min-width: 2.5rem; min-height: 2.75rem; padding: 0 0.55rem; }
  .foot-facts div { align-items: center; }
  .foot-facts a { display: inline-flex; align-items: center; min-height: 2.75rem; }
  .wordmark { height: 2rem; }
  .offer form { grid-template-columns: 1fr; }
  .offer .field:nth-of-type(2), .offer .field:nth-of-type(3) { grid-column: 1 / -1; }
  .title-row .button { width: 100%; }
  .foot .plain { margin-left: 0; }
  .offer { margin-inline: calc(-0.5 * var(--pad)); }
}
@media (max-width: 26em) {
  .top { gap: 0.5rem; }
  .wordmark { height: 1.75rem; }
  .top-end { gap: 0.4rem; }
  .lang { padding: 2px; }
  .lang a { min-width: 2.75rem; padding: 0 0.5rem; }
  .status { gap: 0.45rem; padding: 0.35rem 0.65rem; font-size: 0.8125rem; }
}
/* The smallest phones: the status chip moves under the wordmark, the language switch stays top right. */
@media (max-width: 23.74em) {
  .top { flex-wrap: wrap; }
  .top-end { display: contents; }
  .lang { margin-left: auto; }
  .top::after { content: ""; flex-basis: 100%; order: 2; }
  .status { order: 3; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
