/*
 * stukwijs.nl: what Stukwijs is, in one page. The product's own world (DESIGN.md): a blue-grey
 * ground with slow colour fields, frosted glass, one blue for action. System fonts, nothing loaded
 * from elsewhere. The clips are the product itself, recorded from the app with sample data.
 */
:root {
  --ground-1: #dfe6f1; --ground-2: #c9d4e4; --field-1: #8fb2f2; --field-2: #9ed3d6; --field-3: #c3cef0;
  --ink: #0e1b2e; --ink-2: #33415a; --muted: #56647b; --faint: #8593a8;
  --glass: rgba(255, 255, 255, .62); --glass-strong: rgba(255, 255, 255, .84); --edge: rgba(255, 255, 255, .8); --seam: rgba(14, 27, 46, .1);
  --blue: #2b62e8; --blue-2: #1e4fc7; --blue-soft: rgba(43, 98, 232, .12);
  --you: #e07035; --done: #1d9a5f; --office: #5a3fb0;
  --shadow: 0 1px 0 rgba(255, 255, 255, .95) inset, 0 18px 50px rgba(22, 42, 82, .14);
  --font: -apple-system, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: -apple-system, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; color: var(--ink); background: var(--ground-2); font: 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
body::before {
  content: ""; position: fixed; inset: -10%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38% 42% at 12% 14%, rgba(143, 178, 242, .7) 0%, transparent 70%),
    radial-gradient(36% 40% at 90% 70%, rgba(158, 211, 214, .6) 0%, transparent 70%),
    radial-gradient(30% 34% at 70% 6%, rgba(195, 206, 240, .8) 0%, transparent 70%),
    linear-gradient(165deg, var(--ground-1), var(--ground-2));
}
img, video { display: block; max-width: 100%; }
a { color: var(--blue-2); }
:focus-visible { outline: 3px solid rgba(43, 98, 232, .45); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 16px; }

/* ---------------------------------------------------------------- the bar */
.top { position: sticky; top: 0; z-index: 5; padding: 12px 0; }
.top-row {
  display: flex; align-items: center; gap: 28px; padding: 9px 10px 9px 16px; border-radius: 18px;
  background: rgba(255, 255, 255, .55); border: 1px solid var(--edge); box-shadow: 0 8px 30px rgba(22, 42, 82, .08);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.mark { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--blue); color: #fff; font-weight: 800; font-size: 17px; box-shadow: 0 4px 12px rgba(43, 98, 232, .35); }
.mark-small { width: 24px; height: 24px; border-radius: 7px; font-size: 13px; box-shadow: none; }
.top nav { display: flex; gap: 22px; margin-right: auto; }
.top nav a { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.top nav a:hover { color: var(--ink); }
.lang-switch { color: var(--ink-2); text-decoration: none; font-size: 14px; font-weight: 600; letter-spacing: .04em; padding: 6px 10px; border-radius: 8px; margin-right: 6px; }
.lang-switch:hover { color: var(--ink); background: rgba(255, 255, 255, .55); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 13px;
  background: var(--blue); color: #fff; font-weight: 650; font-size: 16px; text-decoration: none; border: 0;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 8px 20px rgba(43, 98, 232, .3); transition: background .2s, transform .2s;
}
.btn:hover { background: var(--blue-2); }
.btn:active { transform: translateY(1px); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 15px; border-radius: 11px; }
.btn-quiet { background: var(--glass-strong); color: var(--ink); box-shadow: 0 1px 2px rgba(14, 27, 46, .06), 0 0 0 1px var(--seam) inset; }
.btn-quiet:hover { background: #fff; }

/* ---------------------------------------------------------------- hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; padding: 56px 0 72px; }
.eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-2); }
h1, h2, h3 { font-family: var(--display); color: var(--ink); }
h1 { margin: 0 0 22px; font-size: clamp(2.3rem, 4.6vw, 3.9rem); line-height: 1.04; letter-spacing: -.035em; font-weight: 750; text-wrap: balance; }
h1 span { display: block; color: var(--ink-2); font-weight: 650; }
.lead { margin: 0 0 30px; font-size: clamp(1.08rem, 1.5vw, 1.25rem); line-height: 1.55; color: var(--ink-2); max-width: 36em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 34px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 15px; }
.proof li { display: inline-flex; align-items: center; gap: 8px; }
.proof li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--done); box-shadow: 0 0 0 4px rgba(29, 154, 95, .15); }

/* ---------------------------------------------------------------- clips */
/* The clip is the device: a phone's rim drawn here around the bare screen, a window's edge and shadow. */
.clip { margin: 0; overflow: hidden; }
.clip video { width: 100%; height: 100%; object-fit: cover; }
.clip-phone {
  width: min(100%, 340px); justify-self: center; aspect-ratio: 600 / 1200; box-sizing: content-box;
  border: 10px solid #0f1724; border-radius: 48px; background: #0f1724;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .14) inset, 0 28px 60px rgba(22, 42, 82, .24), 0 6px 16px rgba(22, 42, 82, .12);
}
.clip-phone video { border-radius: 38px; }
.hero-clip { width: min(100%, 360px); }
.clip-wide { border-radius: 14px; background: #f7f9fc; border: 1px solid rgba(14, 27, 46, .1); box-shadow: 0 24px 60px rgba(22, 42, 82, .18), 0 4px 12px rgba(22, 42, 82, .08); }
.clip-wide video { height: auto; }

/* ---------------------------------------------------------------- the problem */
.pain { padding: 64px 0; background: var(--ink); color: #fff; }
.pain-line { margin: 0 0 18px; font-family: var(--display); font-size: clamp(1.6rem, 3.4vw, 2.7rem); line-height: 1.15; letter-spacing: -.025em; font-weight: 700; }
.pain-line span { display: inline-block; margin-right: .2em; }
.pain-line span:nth-child(3) { color: #ffb38a; }
.pain-sub { margin: 0; max-width: 40em; color: rgba(255, 255, 255, .78); font-size: 1.12rem; }

/* ---------------------------------------------------------------- parts */
.part { padding: 96px 0 40px; }
.part-head { max-width: 46rem; margin-bottom: 56px; }
h2 { margin: 0; font-size: clamp(1.85rem, 3.4vw, 2.75rem); line-height: 1.1; letter-spacing: -.03em; font-weight: 720; text-wrap: balance; }
.feature { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: center; margin-bottom: 88px; }
.feature.flip > .clip { order: 2; }
.feature.wide { grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); }
.feature.wide.flip { grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr); }
.feature-text { max-width: 30em; }
h3 { margin: 0 0 14px; font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.2; letter-spacing: -.02em; font-weight: 700; }
.feature-text p { margin: 0 0 14px; color: var(--ink-2); }
.feature-text .note { color: var(--muted); font-size: 15.5px; padding-left: 14px; border-left: 3px solid var(--blue-soft); }

.part-lawyer { padding-top: 96px; background: linear-gradient(180deg, rgba(255, 255, 255, .35), rgba(255, 255, 255, .1)); border-block: 1px solid var(--edge); }
.part-lawyer .eyebrow { color: var(--office); }

/* ---------------------------------------------------------------- the rest */
.more-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; margin: 0; padding: 0; list-style: none; }
.more-list li { padding: 22px 0; border-top: 1px solid var(--seam); color: var(--ink-2); }
.more-list strong { display: block; color: var(--ink); font-size: 1.08rem; margin-bottom: 4px; }

/* ---------------------------------------------------------------- safety */
.safe { margin-top: 56px; padding: 96px 0; background: rgba(255, 255, 255, .5); border-block: 1px solid var(--edge); }
.safe-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.safe .part-head { margin: 0; position: sticky; top: 110px; }
.safe-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.safe-list li { padding: 24px; border-radius: 20px; background: var(--glass-strong); border: 1px solid var(--edge); box-shadow: 0 10px 30px rgba(22, 42, 82, .07); }
.safe-list h3 { font-size: 1.12rem; margin-bottom: 8px; }
.safe-list p { margin: 0; color: var(--ink-2); font-size: 15.5px; }

/* ---------------------------------------------------------------- close */
.close { text-align: center; padding: 110px 0 120px; }
.close p { color: var(--ink-2); font-size: 1.12rem; margin: 14px auto 30px; max-width: 34em; }
.close .actions { justify-content: center; }
.foot { padding: 28px 0 40px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--seam); }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; align-items: center; }
.foot-brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; color: var(--ink); }
.foot-contact { font-style: normal; }
.foot-contact a { color: var(--ink-2); text-decoration: none; }
.foot-contact a:hover { color: var(--blue-2); text-decoration: underline; }
.foot-note { flex-basis: 100%; color: var(--faint); font-size: 13px; }

/* ---------------------------------------------------------------- narrower */
@media (max-width: 960px) {
  .hero, .feature, .feature.wide, .feature.wide.flip, .safe-grid { grid-template-columns: 1fr; gap: 36px; }
  .feature.flip > .clip { order: 0; }
  .hero { padding-top: 32px; }
  .safe .part-head { position: static; }
  .feature { margin-bottom: 72px; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .top nav { display: none; }
  .top-row { justify-content: space-between; }
  .lang-switch { margin-left: auto; }
  .more-list, .safe-list { grid-template-columns: 1fr; }
  .part { padding-top: 72px; }
  .part-head { margin-bottom: 36px; }
  .clip-phone { width: min(100% - 20px, 300px); }
}
