/* Landingspagina domeinverkoop - EXCITED software */
:root {
  --bg:      #f3f5f9;
  --card:    #ffffff;
  --text:    #1c2333;
  --muted:   #5d6679;
  --line:    #d9deea;
  --primary: #2b4381;
  --primary-hover: #213468;
  --on-primary: #ffffff;
  --error-bg: #fdecec;
  --error:   #a12626;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg:      #11151f;
    --card:    #1a2030;
    --text:    #e7eaf2;
    --muted:   #9aa3b8;
    --line:    #2d3548;
    --primary: #6d8fe0;
    --primary-hover: #86a3ea;
    --on-primary: #0f1420;
    --error-bg: #3a1c1f;
    --error:   #f2a7a7;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.card {
  position: relative;
  width: 100%;
  max-width: 520px;
  padding: 40px 32px 32px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(20, 30, 60, .08);
  container-type: inline-size;
}

.lang { position: absolute; top: 16px; right: 20px; }
.lang a { color: var(--muted); font-size: .85rem; font-weight: 600; text-decoration: none; letter-spacing: .05em; }
.lang a:hover { color: var(--primary); }

.eyebrow {
  margin: 0 0 4px;
  color: var(--primary);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1 { margin: 0 0 12px; font-size: 1.6rem; line-height: 1.2; }
/* Domeinnaam op één regel: lettergrootte schaalt mee met kaartbreedte (cqi) en naamlengte */
h1.domain    { font-size: min(2.3rem, 11cqi); overflow-wrap: anywhere; }
h1.domain-m  { font-size: min(2.3rem, 8cqi); }
h1.domain-l  { font-size: min(2.3rem, 6.3cqi); }
h1.domain-xl { font-size: min(2.3rem, 5cqi); }

.intro { margin: 0 0 24px; color: var(--muted); }

.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin: 0 0 24px;
  padding: 14px 16px;
  border-left: 3px solid var(--primary);
  background: var(--bg);
  border-radius: 6px;
}
.price-label { color: var(--muted); font-size: .9rem; }
.price-amount { font-size: 1.35rem; font-weight: 700; }
.price-or { color: var(--muted); font-size: .9rem; }

.error { margin: 0 0 20px; padding: 12px 14px; background: var(--error-bg); color: var(--error); border-radius: 6px; }

.row { margin-bottom: 16px; }
label { display: block; margin-bottom: 6px; font-size: .9rem; font-weight: 600; }
input, textarea {
  width: 100%;
  padding: 10px 12px;
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
}
input:focus, textarea:focus { outline: 2px solid var(--primary); outline-offset: 1px; border-color: transparent; }
textarea { resize: vertical; }
small { display: block; margin-top: 6px; color: var(--muted); font-size: .85rem; }

button {
  width: 100%;
  margin-top: 8px;
  padding: 12px;
  background: var(--primary);
  color: var(--on-primary);
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
button:hover { background: var(--primary-hover); }

.note { margin: 16px 0 0; color: var(--muted); font-size: .8rem; }

/* Honeypot buiten beeld (niet display:none, sommige bots slaan dat over) */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

footer { margin-top: 20px; color: var(--muted); font-size: .8rem; }

@media (max-width: 480px) {
  .card { padding: 36px 20px 24px; }
}
