/* de.loan landing: minimal, generous, quiet. */
@font-face { font-family: "Outfit"; src: url("../fonts/outfit-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  --ink: #0b1530; --muted: #5a6788; --faint: #8b96b0; --line: #e3e8f3;
  --navy: #071c4d; --blue: #0e6ffc; --blue-soft: #e9f1ff; --bg: #ffffff;
  --max: 1180px; --pad: clamp(20px, 5vw, 56px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 "Outfit", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.03em; margin: 0; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.16em; font-size: 13px; font-weight: 600; color: var(--blue); margin: 0 0 18px; }

[hidden] { display: none !important; }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px var(--pad); background: rgba(255, 255, 255, 0.82); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; }
.logo { display: flex; align-items: center; gap: 12px; color: var(--ink); font-size: 23px; letter-spacing: -0.02em; font-weight: 300; }
.logo:hover { text-decoration: none; }
.logo b { font-weight: 650; } .logo i, .foot-brand i { font-style: normal; color: var(--blue); font-weight: 700; }
.nav nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 34px); font-size: 15px; }
.nav nav a { color: var(--muted); }
.nav nav a:hover { color: var(--ink); text-decoration: none; }
.nav .nav-cta { color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px; }
.nav .nav-cta:hover { border-color: var(--ink); }

/* hero */
.hero { position: relative; max-width: var(--max); margin: 0 auto; padding: clamp(70px, 12vw, 150px) var(--pad) clamp(70px, 10vw, 130px); display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; gap: clamp(30px, 5vw, 70px); }
.hero::before { content: ""; position: absolute; z-index: -1; right: -10%; top: -10%; width: 70%; height: 120%; background: radial-gradient(closest-side, #dce8ff 0%, #eef4ff 45%, rgba(255, 255, 255, 0) 100%); }
.hero h1 { font-size: clamp(50px, 7.4vw, 108px); line-height: 0.98; }
.hero h1 span { color: var(--blue); }
.lede { font-size: clamp(18px, 2vw, 22px); color: var(--muted); max-width: 34em; margin: 30px 0 40px; font-weight: 300; }
.hero-mark { justify-self: end; width: 100%; max-width: 400px; height: auto; filter: drop-shadow(0 40px 60px rgba(14, 111, 252, 0.22)); pointer-events: none; }

/* forms */
.hero-cta { display: grid; justify-items: start; gap: 12px; }
.btn { display: inline-block; font-weight: 500; font-size: 16px; color: #fff; background: var(--navy); border-radius: 14px; padding: 15px 34px; transition: background .15s; }
.btn:hover { background: var(--blue); color: #fff; text-decoration: none; }
.hero-note { margin: 0 2px; font-size: 14px; color: var(--faint); }
input[type=email], input[type=text] { font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; outline: 0; transition: border-color .15s, box-shadow .15s; width: 100%; }
input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
button { font: inherit; font-weight: 500; font-size: 16px; color: #fff; background: var(--navy); border: 0; border-radius: 14px; padding: 14px 26px; cursor: pointer; transition: background .15s, transform .05s; }
button:hover { background: var(--blue); }
button:active { transform: translateY(1px); }
button:disabled { opacity: .6; cursor: default; }
.form-note { flex-basis: 100%; margin: 4px 2px 0; font-size: 14px; color: var(--faint); min-height: 1.4em; }
.form-note.bad { color: #c62f3a; }
.form-done { max-width: 720px; padding: 24px 26px; border-radius: 16px; background: var(--blue-soft); color: var(--ink); outline: 0; }
.form-done p { margin: 0; }
.form-done .done-title { font-size: 20px; font-weight: 600; margin-bottom: 6px; }
.form-done b { font-weight: 600; overflow-wrap: anywhere; }

/* facts */
.facts { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts div { padding: 38px 24px 40px 0; }
.facts div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.facts strong { display: block; font-size: clamp(34px, 4vw, 52px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.facts span { display: block; color: var(--muted); font-size: 15px; margin-top: 8px; max-width: 22ch; }

/* pillars */
.pillars, .season, .join { max-width: var(--max); margin: 0 auto; padding: clamp(80px, 12vw, 150px) var(--pad) 0; }
.pillars h2, .season h2, .join h2 { font-size: clamp(36px, 5.4vw, 68px); line-height: 1.04; max-width: 14ch; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); margin-top: 64px; }
.num { display: block; font-size: 14px; color: var(--blue); font-weight: 600; letter-spacing: .1em; margin-bottom: 18px; }
.grid h3 { font-size: 24px; margin-bottom: 10px; }
.grid p { color: var(--muted); margin: 0; }

/* season */
.season { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 90px); align-items: end; }
.season p { color: var(--muted); max-width: 36em; }
.badges { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); counter-reset: b; }
.badges li { display: grid; grid-template-columns: 54px minmax(0, 1fr); align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); counter-increment: b; }
.badges li::before { content: "0" counter(b); color: var(--faint); font-size: 14px; letter-spacing: .1em; grid-row: span 2; }
.badges b { font-weight: 600; font-size: 20px; }
.badges span { color: var(--muted); font-size: 15px; grid-column: 2; }

/* join */
.join { padding-bottom: clamp(90px, 12vw, 150px); }
.join > p { color: var(--muted); font-size: 19px; margin: 18px 0 40px; }
.full-form { max-width: 720px; display: grid; gap: 18px; }
.full-form .row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 18px; }
.full-form label { display: grid; gap: 8px; align-content: start; font-size: 14px; font-weight: 500; color: var(--ink); }
.full-form label em { font-style: normal; font-weight: 400; color: var(--faint); }
fieldset { border: 0; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
legend { font-size: 14px; font-weight: 500; margin-bottom: 10px; }
.chip { display: inline-flex !important; grid-auto-flow: column; align-items: center; gap: 8px !important; border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; cursor: pointer; font-weight: 400 !important; color: var(--muted) !important; transition: border-color .15s, color .15s, background .15s; }
.chip input { accent-color: var(--blue); margin: 0; }
.chip:has(input:checked) { border-color: var(--blue); color: var(--ink) !important; background: var(--blue-soft); }
.consent { grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 12px !important; font-weight: 400 !important; color: var(--muted) !important; }
.consent input { accent-color: var(--blue); margin-top: 4px; width: 17px; height: 17px; }
.full-form button { justify-self: start; padding: 15px 34px; }

/* footer */
.foot { max-width: var(--max); margin: 0 auto; padding: 34px var(--pad) 48px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 30px; font-size: 14px; color: var(--muted); }
.foot-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 18px; font-weight: 300; }
.foot-brand b { font-weight: 650; }
.foot-brand em { font-style: normal; font-size: 14px; color: var(--muted); margin-left: 10px; }
.foot-points { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.foot-points li { padding: 0 14px; border-left: 1px solid var(--line); }
.foot-points li:first-child { padding-left: 0; border-left: 0; }
.foot-links { display: flex; gap: 22px; }
.foot-links a, .link { color: var(--muted); background: none; padding: 0; font: inherit; font-size: 14px; border-radius: 0; }
.link:hover { background: none; color: var(--ink); }

/* cookie choice */
.cookies { position: fixed; z-index: 20; left: 50%; bottom: 22px; transform: translateX(-50%); width: min(760px, calc(100% - 28px)); display: flex; align-items: center; gap: 20px; padding: 18px 20px 18px 24px; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(16px); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 20px 50px rgba(11, 21, 48, 0.12); animation: rise .35s ease-out; }
.cookies[hidden] { display: none; }
.cookies p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.5; }
.cookies p b { color: var(--ink); font-weight: 600; }
.cookie-actions { display: flex; gap: 8px; flex: none; }
.cookie-actions button { padding: 11px 18px; font-size: 14px; border-radius: 12px; }
.cookie-actions .ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.cookie-actions .ghost:hover { border-color: var(--ink); background: transparent; }
@keyframes rise { from { opacity: 0; transform: translate(-50%, 12px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* privacy page */
.doc { max-width: 760px; margin: 0 auto; padding: 70px var(--pad) 90px; }
.doc h1 { font-size: clamp(38px, 6vw, 60px); margin-bottom: 10px; }
.doc h2 { font-size: 24px; margin: 40px 0 10px; letter-spacing: -0.02em; }
.doc p, .doc li { color: var(--muted); }
.doc .updated { color: var(--faint); font-size: 15px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-mark { width: 46vw; margin-top: 20px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts div:nth-child(3) { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .facts div:nth-child(4) { border-top: 1px solid var(--line); }
  .grid, .season { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .nav nav a { display: none; }
  .hero-cta, .hero-cta .btn { justify-items: stretch; text-align: center; width: 100%; }
  .full-form .row { grid-template-columns: minmax(0, 1fr); }
  .cookies { flex-direction: column; align-items: stretch; gap: 14px; bottom: 12px; }
  .cookie-actions button { flex: 1; }
  .foot-points li { padding: 0 12px 0 0; border-left: 0; }
  .facts div, .facts div + div { padding: 26px 14px 28px 0; }
  .facts div:nth-child(even) { padding-left: 14px; }
}
