/* l3w.pw — Love. Three Worlds. My world, your world, our world. From strangers to something real.
   Its own look, deliberately unlike ppll.pl: warm paper, a serif display face (Fraunces) with a plain sans
   (Manrope) for reading, three tinted full-bleed bands for the three worlds, a four-step path, and one form.
   Light-first; dark follows the system setting. Everything fits a 68 rem column with 16 px gutters on a phone. */

:root {
  --paper: #f5f0e8;
  --paper-2: #ece5d9;
  --ink: #15131a;
  --ink-2: #4e4a56;
  --ink-3: #8c8792;
  --line: #d9d1c4;
  --my: #2f6f8f;
  --your: #c8622d;
  --our: #6b3f8f;
  --my-tint: #e3edf2;
  --your-tint: #f7e5d8;
  --our-tint: #ebe0f2;
  --blend: multiply;
  --font: "Manrope", -apple-system, "Helvetica Neue", system-ui, sans-serif;
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --measure: 68rem;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #121017;
    --paper-2: #1b1822;
    --ink: #f1ecf4;
    --ink-2: #b4adbd;
    --ink-3: #6f6878;
    --line: #2d2836;
    --my: #6fb3d2;
    --your: #ee9361;
    --our: #b58ad6;
    --my-tint: #16222b;
    --your-tint: #2a1c14;
    --our-tint: #241a2e;
    --blend: screen;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #121017; --paper-2: #1b1822; --ink: #f1ecf4; --ink-2: #b4adbd; --ink-3: #6f6878; --line: #2d2836;
  --my: #6fb3d2; --your: #ee9361; --our: #b58ad6; --my-tint: #16222b; --your-tint: #2a1c14; --our-tint: #241a2e;
  --blend: screen; color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.65 var(--font); overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--our); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.05; margin: 0; letter-spacing: -0.01em; text-wrap: balance; font-variation-settings: "opsz" 144; }
h1 { font-size: clamp(2.8rem, 8vw, 6.4rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
h3 { font-size: 1.45rem; }
em { font-style: italic; }
p { margin: 0; }
.wrap { max-width: var(--measure); margin: 0 auto; padding-inline: max(16px, env(safe-area-inset-left, 0px)); }
.kicker { font: 600 0.78rem/1.2 var(--font); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.band { padding-block: clamp(48px, 8vw, 110px); }

/* top bar */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 20px; }
.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; font-family: var(--serif); font-size: 1.5rem; font-weight: 600; }
.brand .mark { width: 30px; height: 30px; align-self: center; border-radius: 8px; }
.brand small { font: 500 0.82rem/1 var(--font); color: var(--ink-3); letter-spacing: 0.04em; }
nav.menu { display: flex; gap: 4px 22px; flex-wrap: wrap; }
nav.menu a { font-size: 0.95rem; color: var(--ink-2); text-decoration: none; }
nav.menu a:hover { color: var(--ink); }
nav.menu a.go { color: var(--our); font-weight: 700; }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 32px 48px; align-items: center; padding-block: clamp(32px, 6vw, 80px) clamp(40px, 7vw, 100px); }
.hero h1 { font-weight: 400; }
.hero h1 .l1 { display: block; }
.hero h1 .l2 { display: block; font-style: italic; font-weight: 300; }
.hero .worlds-line { font-family: var(--serif); font-size: clamp(1.25rem, 2.4vw, 1.7rem); margin-top: 22px; line-height: 1.35; }
.hero .worlds-line b { font-weight: 600; }
.hero .worlds-line .my { color: var(--my); } .hero .worlds-line .your { color: var(--your); } .hero .worlds-line .our { color: var(--our); }
.hero .tag { margin-top: 26px; font-size: 1.1rem; color: var(--ink-2); max-width: 30rem; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.btn { display: inline-block; padding: 12px 22px; border-radius: 10px; text-decoration: none; font-weight: 700; font-size: 0.98rem; border: 1.5px solid var(--ink); color: var(--ink); background: transparent; cursor: pointer; font-family: var(--font); }
.btn.solid { background: var(--ink); color: var(--paper); }
.btn:hover { transform: translateY(-1px); }
.orbits { width: 100%; max-width: 440px; margin: 0 auto; display: block; }
.orbits circle { mix-blend-mode: var(--blend); }
.orbits text { font-family: var(--serif); font-size: 15px; font-style: italic; fill: var(--ink); }

/* the three worlds: three full-bleed tinted bands */
.world.my { background: var(--my-tint); } .world.your { background: var(--your-tint); } .world.our { background: var(--our-tint); }
.world .wrap { display: grid; grid-template-columns: minmax(0, 7rem) minmax(0, 1fr) minmax(0, 18rem); gap: 20px 40px; align-items: start; }
.world .num { font-family: var(--serif); font-size: clamp(3rem, 7vw, 5.4rem); line-height: 0.9; font-weight: 300; font-style: italic; }
.world.my .num, .world.my h2 em { color: var(--my); } .world.your .num, .world.your h2 em { color: var(--your); } .world.our .num, .world.our h2 em { color: var(--our); }
.world h2 { margin-top: 2px; }
.world .text { margin-top: 18px; font-size: 1.08rem; max-width: 36rem; color: var(--ink-2); }
.world .text b { color: var(--ink); font-weight: 700; }
.world ul { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1.5px solid var(--ink); }
.world li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.world li b { display: block; font-family: var(--serif); font-size: 1.1rem; font-weight: 600; }

/* the path from strangers to something real */
.path { padding-block: clamp(56px, 9vw, 120px); }
.path h2 { max-width: 28rem; }
.path h2 em { color: var(--our); }
.steps { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; position: relative; counter-reset: step; }
.steps::before { content: ""; position: absolute; left: 14px; right: 14px; top: 14px; height: 2px; background: var(--line); }
.steps li { position: relative; padding-top: 44px; }
.steps li::before { content: ""; position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink-3); }
.steps li:nth-child(2)::before { border-color: var(--my); background: var(--my-tint); }
.steps li:nth-child(3)::before { border-color: var(--your); background: var(--your-tint); }
.steps li:nth-child(4)::before { border-color: var(--our); background: var(--our); }
.steps h3 { font-style: italic; font-weight: 500; }
.steps p { margin-top: 8px; color: var(--ink-2); font-size: 0.97rem; }

/* what we hold to */
.vows { border-top: 1.5px solid var(--ink); padding-block: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: minmax(0, 18rem) minmax(0, 1fr); gap: 24px 56px; }
.vows ol { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 40px; }
.vows li { break-inside: avoid; padding: 0 0 22px; font-family: var(--serif); font-size: 1.25rem; line-height: 1.35; font-variation-settings: "opsz" 48; }
.vows li span { display: block; font: 400 0.95rem/1.55 var(--font); color: var(--ink-2); margin-top: 4px; }

/* early membership */
.join { padding-block: clamp(48px, 8vw, 110px); background: linear-gradient(135deg, var(--my-tint), var(--our-tint) 55%, var(--your-tint)); }
.join .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px 56px; align-items: start; }
.join h2 em { color: var(--our); }
.join .why { margin-top: 18px; color: var(--ink-2); font-size: 1.05rem; max-width: 30rem; }
.join .why + .why { margin-top: 12px; }
form.early { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 28px; display: grid; gap: 16px; box-shadow: 0 20px 60px -30px rgba(0,0,0,0.35); }
form.early label { display: grid; gap: 6px; font-size: 0.9rem; font-weight: 700; }
form.early input[type=text], form.early input[type=email], form.early textarea, form.early input[type=file] { font: inherit; font-size: 1rem; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper-2); color: var(--ink); width: 100%; font-weight: 400; }
form.early input[type=file] { padding: 8px 10px; font-size: 0.92rem; }
form.early textarea { min-height: 110px; resize: vertical; }
form.early .photo-row { display: flex; gap: 12px; align-items: end; flex-wrap: wrap; }
form.early .photo-row label { flex: 1 1 12rem; min-width: 0; }
form.early .photo-row .btn { padding-block: 10px; }
form.early .camera { display: grid; gap: 12px; }
form.early .camera video { display: block; width: 100%; max-height: 60vh; object-fit: cover; background: var(--paper-2); border-radius: 12px; border: 1px solid var(--line); }
form.early .camera .cta { display: flex; gap: 12px; flex-wrap: wrap; }
form.early .photo-preview { width: 96px; height: 96px; object-fit: cover; border-radius: 50%; border: 2px solid var(--line); }
form.early .hint { font-size: 0.86rem; color: var(--ink-3); }
form.early .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
form.early .form-note { font-size: 0.95rem; min-height: 1.4em; }
form.early .form-note.bad { color: #b4302f; }
form.early .form-note.ok { color: var(--our); font-weight: 700; font-family: var(--serif); font-size: 1.25rem; line-height: 1.35; }
form.early.busy { opacity: 0.6; }
form.early button[type=submit] { justify-self: start; }

/* footer */
.foot { display: flex; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap; padding-block: 32px 44px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 0.9rem; }
.foot a { color: var(--ink-2); }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; }
  .orbits { max-width: 320px; }
  .world .wrap { grid-template-columns: 1fr; gap: 10px; }
  .world .num { font-size: 2.6rem; }
  .world ul { margin-top: 18px; }
  .steps { grid-template-columns: 1fr; gap: 8px; }
  .steps::before { left: 14px; right: auto; top: 14px; bottom: 14px; width: 2px; height: auto; }
  .steps li { padding: 0 0 22px 48px; }
  .vows { grid-template-columns: 1fr; }
  .vows ol { columns: 1; }
  .join .wrap { grid-template-columns: 1fr; }
  form.early { padding: 20px; }
}
