/* imagestowords public site. Dark, calm, one accent. Shared by the landing and legal pages. */
:root {
  --bg: #0d0f13;
  --band: #13161c;
  --surface: #191d25;
  --line: #2a2f3a;
  --fg: #f3f4f6;
  --muted: #a7aebb;
  --accent: #dc2626;
  --accent-hover: #b91c1c;
  --ok: #4ade80;
  --display: "Fraunces", Georgia, serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.6 var(--body); }
a { color: var(--fg); text-decoration-color: var(--accent); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.1; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 22px; }
h3 { font-size: 21px; }
p { margin: 0; }
.muted { color: var(--muted); }
.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 24px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.btn { display: inline-block; background: var(--accent); color: #fff; border: 1px solid var(--accent); border-radius: 8px; padding: 12px 20px;
  font: 600 16px var(--body); text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--accent-hover); }
.btn.ghost { background: transparent; border-color: var(--line); }
.btn.ghost:hover { border-color: var(--muted); }
.btn[disabled] { opacity: .6; cursor: default; }

/* Top bar */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.logo { font-family: var(--display); font-size: 22px; font-weight: 600; text-decoration: none; }
.logo span { color: var(--accent); }
.top-nav { display: flex; align-items: center; gap: 18px; font-size: 15px; }
.top-nav a { text-decoration: none; color: var(--muted); }
.top-nav a:hover { color: var(--fg); }
.top-nav .signin { color: var(--fg); border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px; }
.top-nav .signup { background: var(--accent); border-color: var(--accent); color: #fff; }
.top-nav .signup:hover { background: var(--accent-hover); color: #fff; }
.top-nav select { background: var(--surface); color: var(--fg); border: 1px solid var(--line); border-radius: 6px; padding: 4px 6px; font: inherit; }

/* Hero */
.hero { padding-block: 72px 64px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 56px; align-items: center; }
.kicker { color: var(--accent); font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.hero h1 { font-size: clamp(40px, 6vw, 66px); margin-bottom: 20px; }
.lead { font-size: 19px; color: var(--muted); max-width: 56ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.sample { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.sample-photo { aspect-ratio: 4 / 3; position: relative; background: #1a1d24; }
/* Out of the flow, so Safari does not size the card from the photo's own 960 px width. */
.sample-photo img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.sample, .hero-grid > * { min-width: 0; }
.sample-photo span { position: absolute; bottom: 12px; width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.45); }
.sample-photo span:nth-of-type(1) { left: calc(50% - 16px); background: #fff; }
.sample-photo span:nth-of-type(2) { left: calc(50% - 4px); }
.sample-photo span:nth-of-type(3) { left: calc(50% + 8px); }
.sample figcaption { padding: 18px 20px 20px; display: grid; gap: 8px; }
.sample-meta { font-size: 13px; color: var(--muted); }
.sample-text { font-size: 15px; }
.sample-note { font-size: 13px; color: var(--ok); border-top: 1px solid var(--line); padding-top: 10px; margin-top: 4px; }

/* Bands and sections */
.band { background: var(--band); border-block: 1px solid var(--line); padding-block: 64px; }
section.wrap { padding-block: 64px; }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px; display: grid; gap: 8px; align-content: start; }
.steps li::before { content: counter(s); font-family: var(--display); font-size: 28px; color: var(--accent); line-height: 1; }
.steps b { font-size: 16px; }
.steps span { font-size: 15px; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 20px; display: grid; gap: 10px; align-content: start; }
.card p { color: var(--muted); font-size: 15px; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-top: 18px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 22px; display: grid; gap: 10px; align-content: start; }
.plan.main { border-color: var(--accent); }
a.plan { color: inherit; text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
a.plan:hover, a.plan:focus-visible { border-color: var(--muted); transform: translateY(-2px); }
a.plan.main:hover, a.plan.main:focus-visible { border-color: var(--accent-hover); }
.plan .plan-cta { margin-top: auto; padding-top: 6px; font-weight: 600; color: var(--fg); white-space: nowrap; }
a.plan { grid-template-rows: auto auto auto 1fr auto; }
.plan.main { grid-template-rows: auto auto auto auto 1fr auto; }
.plan.main .plan-cta { color: var(--accent); }
@media (prefers-reduced-motion: reduce) { a.plan { transition: none; } a.plan:hover { transform: none; } }
.plan p { color: var(--muted); font-size: 15px; }
.plan .price { font-family: var(--display); font-size: 38px; line-height: 1; color: var(--fg); }
.plan .price small { display: block; margin-top: 6px; font-family: var(--body); font-size: 14px; color: var(--muted); }
.plan .tag { justify-self: start; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }

/* Agencies, FAQ, demo */
.agencies { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.agencies p { color: var(--muted); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }
.faq details { border-bottom: 1px solid var(--line); padding-block: 16px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { color: var(--muted); margin-top: 10px; max-width: 75ch; }
.demo { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; }
#demo-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
#demo-form label { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
#demo-form .wide { grid-column: 1 / -1; }
#demo-form input, #demo-form textarea { width: 100%; background: var(--surface); color: var(--fg); border: 1px solid var(--line); border-radius: 8px; padding: 11px 12px; font: inherit; }
#demo-form textarea { resize: vertical; }
.form-end { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.msg { font-size: 15px; }
.msg.ok { color: var(--ok); }
.msg.err { color: #f87171; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding-block: 28px; font-size: 14px; color: var(--muted); }
.foot-inner { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
.foot .links { display: flex; gap: 18px; }
.foot a { color: var(--muted); }

/* Legal pages */
.legal { max-width: 780px; padding-block: 48px 72px; }
.legal h1 { font-size: clamp(32px, 5vw, 44px); margin-bottom: 8px; }
.legal h2 { font-size: 24px; margin: 34px 0 10px; }
.legal p, .legal li { color: #d6d9df; margin: 0 0 10px; }
.legal ul { padding-left: 22px; }
.legal .stamp { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 8px 0 16px; }
.legal th, .legal td { text-align: left; border-bottom: 1px solid var(--line); padding: 8px 10px; vertical-align: top; overflow-wrap: anywhere; }
.legal th { color: var(--muted); font-weight: 600; }
article[lang] { display: none; }
html[lang="en"] article[lang="en"], html[lang="nl"] article[lang="nl"] { display: block; }

@media (max-width: 900px) {
  .hero-grid, .agencies, .demo { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  /* 16 px or more: iPhones zoom in on smaller form fields and the page then slides sideways. */
  input, select, textarea, .top-nav select { font-size: 16px !important; }
  .wrap { padding-inline: 16px; }
  .top-nav a:not(.signin) { display: none; }
  .top-nav { gap: 10px; }
  .cards, #demo-form { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-block: 44px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
