/* LexFlow landing page: design tokens, layout, components and responsive rules. */

:root {

  --ink: #0a3b30;

  --ink-soft: #506b63;

  --green: #0d5e49;

  --green-deep: #074737;

  --green-muted: #dce8e2;

  --paper: #f5f1e8;

  --paper-soft: #fbf8f1;

  --line: rgba(10, 59, 48, 0.18);

  --shadow: 0 18px 50px rgba(33, 56, 47, 0.08);

  --sans: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --serif: "Libre Caslon Display", Georgia, serif;

}

* {

  box-sizing: border-box;

}

html {

  min-width: 320px;

  background: var(--paper);

}

body {

  margin: 0;

  min-height: 100vh;

  color: var(--ink);

  font-family: var(--sans);

  background: var(--paper);

}

button,

input {

  font: inherit;

}

button {

  cursor: pointer;

}

.sr-only {

  position: absolute;

  width: 1px;

  height: 1px;

  padding: 0;

  margin: -1px;

  overflow: hidden;

  clip: rect(0, 0, 0, 0);

  white-space: nowrap;

  border: 0;

}

.page-shell {

  position: relative;

  min-height: 100vh;

  overflow: hidden;

  isolation: isolate;

  background:

    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0) 36%),

    linear-gradient(135deg, #f3efe6 0%, #f8f4ed 46%, #efe9de 100%);

}

.container {

  width: min(1120px, calc(100% - 48px));

  margin-inline: auto;

}

.background-layer,

.paper-noise,

.edge-card {

  position: absolute;

  inset: 0;

  pointer-events: none;

}

.background-layer {

  z-index: -2;

}

.paper-noise {

  opacity: 0.25;

  background-image:

    repeating-radial-gradient(circle at 0 0, rgba(32, 52, 45, 0.055) 0 0.6px, transparent 0.75px 3px);

  background-size: 7px 7px;

  mix-blend-mode: multiply;

}

.spiral {

  position: absolute;

  inset: auto;

  border-radius: 50%;

  pointer-events: none;

}

.spiral-1 {

  width: 850px;

  height: 390px;

  left: -380px;

  bottom: -55px;

  border: 1px solid rgba(13, 94, 73, 0.22);

  transform: rotate(26deg);

}

.spiral-2 {

  width: 720px;

  height: 270px;

  left: -90px;

  top: 500px;

  border: 1px solid rgba(13, 94, 73, 0.14);

  transform: rotate(44deg);

}

.edge-card {

  inset: auto;

  width: 260px;

  height: 420px;

  padding: 44px;

  display: flex;

  flex-direction: column;

  gap: 11px;

  font-size: 0.67rem;

  letter-spacing: 0.34em;

  line-height: 1.5;

  color: rgba(10, 59, 48, 0.56);

  text-transform: uppercase;

  background: rgba(242, 238, 228, 0.8);

  border: 1px solid rgba(10, 59, 48, 0.08);

  box-shadow: var(--shadow);

}

.edge-card::after {

  content: "";

  width: 34px;

  height: 1px;

  margin-top: 9px;

  background: rgba(10, 59, 48, 0.35);

}

.edge-card-left {

  left: -80px;

  top: calc(50% - 210px);

  transform: rotate(18deg);

}



.edge-card-right {

  right: -80px;

  top: calc(50% - 210px);

  transform: rotate(-18deg);

  color: var(--ink);

}

.site-header {

  display: flex;

  align-items: center;

  justify-content: space-between;

  padding-top: 28px;

}

.brand {

  display: inline-flex;

  align-items: center;

  gap: 15px;

  color: var(--ink);

  text-decoration: none;

}

.brand-mark {

  display: grid;

  place-items: center;

  width: 46px;

  height: 46px;

  border-radius: 7px;

  color: #fff;

  font-family: Georgia, serif;

  font-size: 1.65rem;

  background: linear-gradient(145deg, #1a6954, #073f33);

  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 8px 22px rgba(8, 60, 47, 0.12);

}

.brand-name {

  font-size: 1.18rem;

  font-weight: 600;

  letter-spacing: 0.15em;

}

.status-pill {

  display: inline-flex;

  align-items: center;

  gap: 10px;

  padding: 9px 15px;

  border: 1px solid rgba(10, 59, 48, 0.12);

  border-radius: 999px;

  color: #365d52;

  background: rgba(255, 255, 255, 0.36);

  backdrop-filter: blur(8px);

  font-size: 0.84rem;

}

.status-dot {

  width: 8px;

  height: 8px;

  border-radius: 50%;

  background: #267760;

  box-shadow: 0 0 0 4px rgba(38, 119, 96, 0.08);

}

.hero {

  display: flex;

  flex-direction: column;

  align-items: center;

  text-align: center;

  padding-top: clamp(72px, 10vh, 118px);

  padding-bottom: 72px;

}

.eyebrow {

  margin: 0;

  color: #2c6859;

  font-size: 0.76rem;

  font-weight: 600;

  letter-spacing: 0.34em;

}

h1 {

  max-width: 820px;

  margin: 40px 0 22px;

  color: var(--ink);

  font-family: var(--serif);

  font-size: clamp(3.3rem, 6.6vw, 6rem);

  font-weight: 400;

  line-height: 0.94;

  letter-spacing: -0.035em;

}

h1 em {

  display: block;

  margin-top: 0.12em;

  font-weight: 400;

}

.hero-copy {

  max-width: 720px;

  margin: 0;

  color: var(--ink-soft);

  font-size: clamp(1rem, 1.5vw, 1.16rem);

  line-height: 1.7;

}

.waitlist-form {

  width: min(670px, 100%);

  margin-top: 26px;

}

.form-row {

  display: grid;

  grid-template-columns: 1fr auto;

  overflow: hidden;

  padding: 4px;

  border: 1px solid rgba(10, 59, 48, 0.14);

  border-radius: 14px;

  background: rgba(255, 255, 255, 0.78);

  box-shadow: 0 14px 34px rgba(31, 62, 51, 0.07);

  backdrop-filter: blur(10px);

}

.input-wrap {

  display: flex;

  align-items: center;

  min-width: 0;

}

.input-wrap:focus-within {

  outline: 3px solid rgba(34, 118, 93, 0.2);

  outline-offset: -2px;

}

.mail-icon {
  font-size: 18px;
  line-height: 1;
  margin-left: 16px;
  flex: 0 0 auto;
  color: #6d817a;
}

input[type="email"] {

  width: 100%;

  min-width: 0;

  border: 0;

  outline: 0;

  padding: 17px 16px;

  color: var(--ink);

  background: transparent;

}

input[type="email"]::placeholder {

  color: #74867f;

}

.submit-button {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 13px;

  min-width: 228px;

  border: 0;

  border-radius: 11px;

  padding: 0 22px;

  color: white;

  background: linear-gradient(135deg, #0f664f, #0a503f);

  font-family: var(--sans);

  font-size: 1.03rem;

  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);

  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;

}

.submit-button:hover {

  transform: translateY(-1px);

  box-shadow: 0 10px 20px rgba(13, 94, 73, 0.14);

}

.submit-button:focus-visible {

  outline: 3px solid rgba(34, 118, 93, 0.2);

  outline-offset: 2px;

}

.submit-button:disabled {

  cursor: wait;

  opacity: 0.72;

  transform: none;

}

.submit-button .ph {
  font-size: 18px;
  line-height: 1;
}

.form-note,

.form-message {

  margin: 26px 0 0;

  color: #6c7d77;

  font-size: 0.79rem;

}

.form-message {

  display: none;

}

.form-message.is-visible {

  display: block;

}

.form-message.is-error {

  color: #944839;

}

.form-message.is-success {

  color: #21654f;

}

/* Product showcase - two upcoming modules */

.product-showcase {
  width: min(820px, 100%);
  margin-top: 48px;
  text-align: center;
}

.showcase-header {
  margin-bottom: 36px;
}

.showcase-label {
  display: inline-block;
  margin: 0;
  color: #2c6859;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.34em;
}

.showcase-title {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--ink);
}

.showcase-title em {
  display: inline;
  font-style: italic;
}

.showcase-copy {
  max-width: 480px;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 0.87rem;
  line-height: 1.55;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 28px 28px;
  background: #fff;
  border: 1px solid rgba(13, 94, 73, 0.09);
  border-radius: 16px;
  text-align: left;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.product-card:hover {
  transform: translateY(-3px);
  background: #fff;
  box-shadow: 0 14px 36px -8px rgba(33, 56, 47, 0.14);
}

.card-badge {
  position: absolute;
  top: -1px;
  right: 20px;
  padding: 5px 12px 6px;
  background: var(--green);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  border-radius: 0 0 10px 10px;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 50%;
  color: var(--green);
  background: rgba(199, 220, 211, 0.5);
  margin-bottom: 16px;
}

.card-icon .ph {
  font-size: 22px;
  color: var(--green);
}

.card-title {
  margin: 0 0 8px;
  font-family: "DM Sans", var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.card-desc {
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-size: 0.81rem;
  line-height: 1.55;
}

.card-features {
  margin: 0;
  padding: 0;
  padding-left: 20px;
  list-style: disc;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.card-features li {
  padding: 0;
  background: none;
  color: var(--ink-soft);
  font-family: "Atkinson Hyperlegible", var(--sans);
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.6;
  border-radius: 0;
}

.card-subtitle {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.4;
}

.card-cta {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: auto;
  padding: 8px 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  opacity: 0.6;
  transition: opacity 220ms ease, color 220ms ease;
}

.product-card:hover .card-cta {
  opacity: 1;
  color: var(--green);
}

/* Over de maker */
.maker-section {
  width: min(680px, 100%);
  margin: 72px auto 0;
  text-align: left;
}

.maker-content {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  padding: 34px 36px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(13, 94, 73, 0.10);
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(31, 62, 51, 0.06);
}

.maker-avatar {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: var(--green);
  background: rgba(199, 220, 211, 0.45);
  font-size: 1.6rem;
}

.maker-text h2 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink);
}

.maker-text h2 em {
  display: inline;
  font-style: italic;
}

.maker-text p {
  margin: 0 0 12px;
  color: var(--ink-soft);
  font-size: 0.89rem;
  line-height: 1.65;
}

.maker-text p:last-child {
  margin-bottom: 0;
}

.maker-wave {
  font-size: 1.2rem;
  display: inline;
}

.maker-linkedin {
  margin-top: 18px !important;
}

.maker-linkedin a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 180ms ease;
}

.maker-linkedin a:hover {
  opacity: 0.75;
}

.maker-linkedin .ph {
  font-size: 1.2rem;
  line-height: 1;
}

@media (max-width: 640px) {
  .maker-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 22px;
  }

  .maker-text h2 {
    font-size: 1.25rem;
  }

  .maker-linkedin {
    text-align: center;
  }
}

/* Popup */
.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(10, 59, 48, 0.5);
  backdrop-filter: blur(4px);
  overflow-y: auto;
  overscroll-behavior: contain;
  animation: popup-fade-in 200ms ease both;
}

.popup-overlay[hidden] {
  display: none;
}

@keyframes popup-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.popup {
  position: relative;
  width: min(680px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px 40px 40px;
  background: var(--paper-soft);
  border: 1px solid rgba(10, 59, 48, 0.10);
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(10, 59, 48, 0.18);
  animation: popup-slide-up 250ms ease both;
}

@keyframes popup-slide-up {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  color: var(--ink-soft);
  background: rgba(10, 59, 48, 0.06);
  transition: background 150ms ease, color 150ms ease;
  cursor: pointer;
}

.popup-close:hover {
  color: var(--ink);
  background: rgba(10, 59, 48, 0.12);
}

.popup-close .ph {
  font-size: 22px;
  line-height: 1;
  display: block;
}

.popup-blok {
  margin-bottom: 32px;
}

.popup-blok:last-child {
  margin-bottom: 0;
}

.popup-blok-titel {
  margin: 0 0 16px;
  font-family: var(--sans);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.popup-blok-detail {
  margin-top: 0;
  padding: 0;
  border-radius: 0;
  background: none;
  border: none;
}

.popup-blok-detail-lijst {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.popup-blok-detail-lijst li {
  position: relative;
  padding: 0;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--ink);
}

.popup-blok-detail-lijst li strong {
  display: block;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--green-deep);
  margin-bottom: 1px;
}

.popup-blok-detail-outro {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(10, 59, 48, 0.08);
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.popup-blok-detail-outro strong {
  color: var(--ink);
}

.popup-footer {
  margin: 28px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(10, 59, 48, 0.10);
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--ink-soft);
  text-align: center;
}

@media (max-width: 640px) {
  .popup {
    padding: 28px 22px 32px;
    max-height: 85vh;
  }
  .popup-blok-titel {
    font-size: 1.1rem;
  }
}

@media (max-width: 1450px) and (min-width: 1121px) {

  .edge-card-left {

    left: calc(-80px + (1450px - 100vw) * 0.212);

  }

  .edge-card-right {

    right: calc(-80px + (1450px - 100vw) * 0.212);

  }

}

@media (max-width: 1120px) {

  .edge-card {

    display: none;

  }

}

@media (max-width: 760px) {

  .container {

    width: min(calc(100% - 28px), 680px);

  }

  .site-header {

    padding-top: 18px;

  }

  .brand-mark {

    width: 41px;

    height: 41px;

    font-size: 1.4rem;

  }

  .brand-name {

    font-size: 1rem;

  }

  .status-pill {

    padding: 8px 11px;

    font-size: 0.76rem;

  }

  .hero {

    padding-top: 76px;

    padding-bottom: 40px;

  }

  .eyebrow {

    font-size: 0.68rem;

    letter-spacing: 0.24em;

  }

  h1 {

    margin-top: 32px;

    font-size: clamp(3.1rem, 14vw, 4.8rem);

  }

  .hero-copy {

    max-width: 560px;

  }

  .form-row {

    grid-template-columns: 1fr;

    gap: 4px;

  }

  .input-wrap {

    min-height: 58px;

  }

  .submit-button {

    min-height: 56px;

    width: 100%;

  }

  .submit-button {
    min-height: 56px;
  }

  .curve-a {

    left: -520px;

  }

  .curve-b {

    right: -560px;

  }

  .curve-b-mirror,
  .curve-c-mirror {
    display: none;
  }

}

@media (max-width: 480px) {

  .status-pill {

    max-width: 132px;

  }

  h1 {

    font-size: clamp(2.7rem, 15vw, 4rem);

  }

  .hero-copy {

    font-size: 0.98rem;

  }

}

@media (prefers-reduced-motion: reduce) {

  *,

  *::before,

  *::after {

    scroll-behavior: auto !important;

    transition-duration: 0.01ms !important;

    animation-duration: 0.01ms !important;

    animation-iteration-count: 1 !important;

  }

}
