/* Melowy home pages, website D "Green stage" (26 Oct 2026): the app's look, Parkinsans on paper with one green
   band. This base holds the fonts, the reset and the waitlist form; the page rules follow, scoped to body.home-d. */
@font-face { font-family: "Pally"; src: url("fonts/pally-bold-logo.woff") format("woff"); font-weight: 700; font-display: block; }
/* Parkinsans 500 to 700, variable (Google Fonts, SIL Open Font License 1.1): headings, buttons, prices */
@font-face { font-family: "Parkinsans"; src: url("fonts/parkinsans-latin.woff2") format("woff2"); font-weight: 500 700; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Parkinsans"; src: url("fonts/parkinsans-latin-ext.woff2") format("woff2"); font-weight: 500 700; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --ink: #17151C; --paper: #FBFAF6; --lime: #C8E636; --red: #C0271D;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; --out: cubic-bezier(.16, 1, .3, 1);
  --bg: var(--paper); --fg: var(--ink); --fg2: #4A4752; --fg3: #6B6874; --line: #E6E2D9;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.55 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { margin: 0 auto; }
section { background: var(--bg); color: var(--fg); }
.wordmark { display: flex; align-items: center; font: 700 25px/1 "Pally", var(--display); letter-spacing: -.02em; color: var(--fg); text-decoration: none; }
.hide-sm { display: none; }

/* The waitlist form: email, one required question, an unticked consent box, then the button */
.join { position: relative; width: 100%; text-align: left; }
.join input[type=email] { width: 100%; }
.join input[type=email]::placeholder { color: var(--fg3); }
.join input[type=email]:focus { outline: none; }
.join .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.join .consent { line-height: 1.5; }
.join .consent a { color: var(--fg2); }
.join .msg { margin-top: 10px; font-size: 15px; font-weight: 600; min-height: 1.5em; }
.join .msg.err { color: var(--red); }
.join .q { margin: 16px 0 0; padding: 0; border: 0; }
.join .q legend { padding: 0; color: var(--fg); }
.join .a { display: flex; align-items: center; gap: 12px; padding: 0 2px; border-bottom: 1px solid var(--line); cursor: pointer; }
.join .a:first-of-type { margin-top: 8px; border-top: 1px solid var(--line); }
.join input[type=radio], .join .tick input { flex: none; width: 20px; height: 20px; margin: 0; }
.join .tick { display: flex; align-items: flex-start; gap: 12px; margin-top: 16px; cursor: pointer; }
.join .button { width: 100%; margin-top: 16px; }
.join.done .q, .join.done input, .join.done .tick, .join.done .button { opacity: .45; pointer-events: none; }

@media (min-width: 900px) { .hide-sm { display: inline; } }

/* ---- Website D, scoped to body.home-d: paper everywhere, one green hero band, depth from lips (a solid shadow
   in a darker shade), never gradients, dark bands or soft shadows ---- */
.home-d { --display: "Parkinsans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --paper: #FBFAF6; --bg: #FBFAF6; --fg: #17151C; --fg2: #4A4752; --fg3: #6B6874; --line: #E6E2D9; --moss: #3F5A07; --lime: #C8E636; --lip: #6E8A10; --pick: #F1F8CF; }
.home-d a { color: var(--moss); }
.home-d a:hover { color: var(--fg); }
.home-d :focus-visible { outline: 2px solid var(--lip); outline-offset: 2px; }
.home-d h1, .home-d h2, .home-d h3 { font-family: var(--display); font-weight: 700; line-height: 1.1; text-align: left; }
.home-d h1, .home-d h2 { text-wrap: balance; }
/* Long Dutch and French words break only at a soft hyphen in the copy (zelf&shy;vertrouwen), never mid-syllable */
.home-d h1, .home-d h2, .home-d .tile b { hyphens: manual; }
.home-d h1 { font-size: clamp(36px, 11.3vw, 44px); line-height: 1; letter-spacing: -.035em; }
.home-d h2 { font-size: clamp(34px, 4vw, 48px); line-height: 1.05; letter-spacing: -.025em; }
.home-d .lede { color: var(--fg2); font-size: 17px; line-height: 1.5; }
.home-d .show-sm { display: inline; }
.home-d .wrap { max-width: 1200px; padding: 0 20px; }
.home-d .wordmark { font-size: 28px; color: var(--fg); }
.home-d section { padding: 100px 0 0; }

/* Buttons, fields and phone frames */
.home-d .btn, .home-d .join .button { display: inline-flex; align-items: center; justify-content: center; height: 56px; padding: 0 26px; border: 0; border-radius: 16px; cursor: pointer; white-space: nowrap;
  background: var(--lime); color: var(--fg); font: 650 17px/1 var(--display); box-shadow: 0 4px 0 var(--lip), inset 0 2px 0 rgba(255,255,255,.35); transition: transform .12s, box-shadow .12s; }
.home-d .btn:active, .home-d .join .button:active { transform: translateY(4px); box-shadow: 0 0 0 var(--lip); }
.home-d .btn.white { background: #fff; box-shadow: 0 4px 0 var(--lip); }
.home-d .quick input, .home-d .join input[type=email] { height: 56px; min-width: 0; padding: 0 18px; border-radius: 16px; border: 2px solid var(--line); background: #fff; color: var(--fg);
  box-shadow: 0 4px 0 var(--line); font: 17px var(--body); }
.home-d .join input[type=email]:focus { border-color: var(--lip); box-shadow: 0 4px 0 var(--lip); }
.home-d .frame { display: block; overflow: hidden; border: 8px solid #fff; border-radius: 36px; background: var(--paper); box-shadow: 0 8px 0 var(--line); }
.home-d .frame img { width: 100%; }

/* The green band: nav and hero; the phone and Leon overflow its lip */
.home-d .band { position: relative; z-index: 1; background: var(--lime); box-shadow: 0 6px 0 var(--lip); color: var(--fg); }
.home-d .band a { color: var(--fg); }
.home-d .dnav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.home-d .dnav .links { display: flex; gap: 28px; font-size: 15px; font-weight: 600; }
.home-d .dnav .links a { text-decoration: none; }
.home-d .dnav .links a.go { text-decoration: underline; text-underline-offset: 3px; }
.home-d .hero-d { padding-top: 18px; }
.home-d .hero-d .lede { margin-top: 16px; max-width: 520px; color: #2E3A06; font-size: 18px; line-height: 1.45; }
.home-d .quick { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; max-width: 460px; }
.home-d .quick input { border-color: var(--lip); box-shadow: 0 4px 0 var(--lip); }
.home-d .soon { margin-top: 12px; font-size: 14px; color: #2E3A06; }
.home-d .visual { position: relative; height: 470px; margin-top: 24px; }
.home-d .visual .frame { position: absolute; left: 50%; bottom: -60px; width: 230px; margin-left: -95px; box-shadow: 0 8px 0 var(--lip); }
.home-d .visual .leon { position: absolute; z-index: 2; left: -8px; bottom: -80px; width: 170px; }

/* Moments */
.home-d .moments { padding-top: 120px; }
.home-d .moments .lede { margin: 12px 0 26px; }
.home-d .tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.home-d .tile { display: flex; flex-direction: column; gap: 10px; padding: 34px 12px 16px; border-radius: 24px; background: #fff; border: 2px solid var(--line); box-shadow: 0 4px 0 var(--line); color: var(--fg); text-decoration: none; }
.home-d .tile:active { transform: translateY(4px); box-shadow: 0 0 0 var(--line); }
.home-d .panel { position: relative; display: block; height: 84px; border-radius: 16px; clip-path: inset(-90px 0 0 0 round 16px); }
.home-d .panel img { position: absolute; left: 50%; bottom: -18px; width: 128px; height: 128px; transform: translateX(-50%); }
.home-d .tile b { font: 650 15px/1.25 var(--display); }
.home-d .tile > span:last-child { margin-top: -6px; font-size: 13px; color: var(--fg3); }

/* How it works: three steps, the third is Leon's one fix */
.home-d .how-d h2 { margin-bottom: 26px; }
.home-d .steps { display: flex; flex-direction: column; gap: 40px; }
.home-d .step { display: flex; flex-direction: column; gap: 18px; }
.home-d .step .frame { width: 250px; }
.home-d .step-text { display: flex; gap: 14px; align-items: baseline; }
.home-d .step-text .n { font: 700 22px/1 var(--display); color: var(--moss); }
.home-d .step-text h3 { font-size: 20px; line-height: 1.2; letter-spacing: -.01em; }
.home-d .step-text p { margin-top: 6px; font-size: 16px; color: var(--fg2); }
.home-d .fix { display: flex; align-items: center; gap: 14px; }
.home-d .fix img { flex: none; width: 64px; }
.home-d .bubble { position: relative; flex: 1; padding: 16px 20px; border-radius: 24px; background: #fff; border: 2px solid var(--line); box-shadow: 0 4px 0 var(--line); }
.home-d .bubble::before { content: ""; position: absolute; left: -10px; top: 50%; width: 16px; height: 16px; margin-top: -8px; background: #fff; border-left: 2px solid var(--line); border-bottom: 2px solid var(--line); transform: rotate(45deg); }
.home-d .bubble p { font: 500 18px/1.3 var(--display); }
.home-d .bubble .moss { margin-top: 6px; font: 600 15px/1.4 var(--body); color: var(--moss); }

/* Path */
.home-d .path-d > .wrap { display: flex; flex-direction: column; gap: 40px; padding-top: 60px; border-top: 1px solid var(--line); }
.home-d .path-d .frame { width: 250px; flex: none; }
.home-d .path-d .lede { margin-top: 18px; max-width: 520px; }
.home-d .rows { margin-top: 26px; }
.home-d .rows p { padding: 16px 0; border-top: 1px solid var(--line); font-size: 17px; }
.home-d .rows p:last-child { border-bottom: 1px solid var(--line); }
.home-d .rows b { font-family: var(--display); font-weight: 700; }
.home-d .rows span { color: var(--fg2); }

/* Pricing: the billed amount is the biggest number, the trial terms sit next to it, no badges */
.home-d .pricing .lede { margin-top: 14px; max-width: 620px; }
.home-d .plans { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 30px; }
.home-d .plan { flex: 1 1 260px; min-width: 0; padding: 24px 22px; border-radius: 24px; background: #fff; border: 2px solid var(--line); box-shadow: 0 4px 0 var(--line); }
.home-d .plan.picked { background: var(--pick); border-color: var(--lip); box-shadow: 0 4px 0 var(--lip); }
.home-d .plan .name { font: 700 19px/1.2 var(--display); }
.home-d .plan .name span { font: 400 15px var(--body); color: var(--fg2); }
.home-d .plan .price { margin-top: 10px; font: 700 34px/1.1 var(--display); letter-spacing: -.02em; white-space: nowrap; }
.home-d .plan .price span { font-size: 17px; font-weight: 600; letter-spacing: 0; }
.home-d .plan .line { margin-top: 6px; font-size: 15px; line-height: 1.4; color: var(--fg2); }
.home-d .pricing .pro { margin-top: 20px; font-size: 15px; color: var(--fg2); }
.home-d .fine { margin-top: 4px; font-size: 13px; line-height: 1.45; color: var(--fg3); }
.home-d .plans + .fine { margin-top: 16px; }

/* FAQ: question buttons with aria-expanded; the first answer is open */
.home-d .faq-d > .wrap { display: flex; flex-wrap: wrap; gap: 40px; }
.home-d .faq-d .side { flex: 1 1 300px; }
.home-d .faq-d .side .lede { margin-top: 14px; }
.home-d .faq-d .side img { width: 110px; margin-top: 20px; }
.home-d .faq-d .list { flex: 2 1 560px; min-width: 0; border-bottom: 1px solid var(--line); }
.home-d .qa { border-top: 1px solid var(--line); }
.home-d .qa h3 { font-size: inherit; letter-spacing: 0; }
.home-d .qa button { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; border: 0; background: none; text-align: left; cursor: pointer;
  font: 650 18px/1.3 var(--display); color: var(--fg); }
.home-d .qa .pm { flex: none; width: 22px; height: 22px; }
.home-d .qa button[aria-expanded="true"] .v { display: none; }
.home-d .qa .a p { margin: 0 0 18px; max-width: 680px; font-size: 17px; line-height: 1.5; color: var(--fg2); }

/* Closing call to action with the founding price and the full waitlist form */
.home-d .join-d { padding-bottom: 96px; text-align: center; }
.home-d .join-d > .wrap { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.home-d .join-d .leon { width: 105px; margin-bottom: 18px; }
.home-d .join-d h2 { text-align: center; margin-bottom: 18px; font-size: clamp(34px, 3.6vw, 44px); letter-spacing: -.02em; }
.home-d .join-d .price { font: 700 36px/1.15 var(--display); letter-spacing: -.02em; }
.home-d .join-d .price span { font-size: 20px; font-weight: 600; letter-spacing: 0; }
.home-d .join-d .fine { max-width: 440px; font-size: 14px; color: var(--fg2); }
.home-d .join-d .join { max-width: 480px; margin-top: 22px; }
.home-d .join .label { display: block; margin-bottom: 8px; font: 650 15px var(--display); }
.home-d .join .q legend { font: 600 15px/1.4 var(--body); }
.home-d .join .a { min-height: 44px; font-size: 16px; }
.home-d .join.ask input[type=radio], .home-d .join.ask .tick input { accent-color: var(--lip); }
.home-d .join .consent { font-size: 14px; color: var(--fg2); }
.home-d .join .msg.ok { color: var(--moss); }

/* Footer */
.home-d .foot-d { padding: 48px 0 40px; border-top: 1px solid var(--line); }
.home-d .foot-d > .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.home-d .foot-d .wordmark { font-size: 26px; }
.home-d .foot-d nav { display: flex; flex-wrap: wrap; gap: 10px 20px; font-size: 15px; font-weight: 600; }
.home-d .foot-d nav a { color: var(--fg2); text-decoration: underline; text-underline-offset: 3px; }
.home-d .foot-d nav a[aria-current] { color: var(--fg); text-decoration: none; }
.home-d .foot-d .legal { margin: 22px auto 0; font-size: 13px; color: var(--fg3); }

@media (min-width: 900px) {
  .home-d .show-sm { display: none; }
  .home-d .wrap { padding: 0 48px; }
  .home-d h1 { font-size: clamp(44px, 6.3vw, 76px); }
  .home-d .wordmark { font-size: 32px; }
  .home-d section { padding-top: 120px; }
  .home-d .dnav { height: 88px; }
  .home-d .dnav .links { font-size: 16px; }
  .home-d .band { box-shadow: 0 8px 0 var(--lip); }
  .home-d .hero-d { display: flex; align-items: center; gap: 48px; padding-top: 40px; }
  .home-d .hero-d .copy { flex: 999 1 520px; min-width: 0; padding-bottom: 80px; }
  .home-d .hero-d .lede { margin-top: 24px; font-size: 21px; }
  .home-d .quick { flex-direction: row; flex-wrap: wrap; margin-top: 34px; }
  .home-d .quick input { flex: 1; }
  .home-d .soon { margin-top: 16px; font-size: 15px; }
  .home-d .visual { flex: 1 1 360px; align-self: flex-end; height: 600px; margin-top: 0; }
  .home-d .visual .frame { left: 50%; width: 300px; margin-left: -130px; border-width: 10px; border-radius: 44px; box-shadow: 0 8px 0 var(--lip); }
  .home-d .visual .leon { left: -10px; bottom: -84px; width: 220px; }
  .home-d .frame { border-width: 10px; border-radius: 44px; }
  .home-d .moments { padding-top: 150px; }
  .home-d .moments .head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 40px; }
  .home-d .moments .head h2 { max-width: 620px; }
  .home-d .moments .lede { margin: 0; max-width: 420px; font-size: 19px; }
  .home-d .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .home-d .tile { padding-top: 46px; }
  .home-d .panel { height: 120px; }
  .home-d .panel img { width: 180px; height: 180px; }
  .home-d .tile b { font-size: 18px; }
  .home-d .tile > span:last-child { font-size: 14px; }
  .home-d .how-d h2 { margin-bottom: 44px; }
  .home-d .steps { flex-direction: row; }
  .home-d .step { flex: 1 1 0; }
  .home-d .step .frame { width: 100%; max-width: 300px; }
  .home-d .step:last-child { justify-content: flex-end; }
  .home-d .fix { flex: 1; gap: 16px; }
  .home-d .fix img { width: 96px; }
  .home-d .bubble p { font-size: 20px; }
  .home-d .step-text h3 { font-size: 22px; }
  .home-d .path-d > .wrap { flex-direction: row; align-items: center; gap: 64px; padding-top: 70px; }
  .home-d .path-d .frame { width: 300px; }
  .home-d .path-d .copy { flex: 1 1 420px; min-width: 0; }
  .home-d .path-d .lede, .home-d .pricing .lede, .home-d .faq-d .lede { font-size: 19px; }
  .home-d .plan .price { font-size: 40px; }
  .home-d .faq-d > .wrap { gap: 48px; }
  .home-d .faq-d .side img { width: 150px; }
  .home-d .qa button { padding: 20px 0; font-size: 21px; }
  .home-d .join-d { padding-top: 96px; padding-bottom: 120px; }
  .home-d .join-d .leon { width: 140px; }
  .home-d .join-d .price { font-size: 44px; }
  .home-d .join .button { width: 100%; }
}

/* ---- melowy.app/openings in the website D look: a green band with the title, one opening per row, Leon
   beside it. Opening 1 is free; 2 to 5 and the pause tip keep their titles but blur their text until a
   sign-up on the page (body.op.open). Without JavaScript nothing is locked. ---- */
.op .op-top { padding: 18px 20px 64px; }
.op .op-top h1 { max-width: 13em; }
.op .op-top .lede { margin-top: 16px; max-width: 34em; color: #2E3A06; font-size: 18px; }
.op .op-drop { padding-top: 80px; }
.op .op-drop h2 { max-width: 16em; }
.op .op-drop .lede { margin-top: 16px; max-width: 34em; }
.op .op-list, .op .op-gate { padding-top: 24px; }
.opening { display: grid; grid-template-columns: 1fr; gap: 10px; padding: 40px 0; border-bottom: 1px solid var(--line); }
.opening img { width: 140px; }
.opening .n { font: 700 44px/1 var(--display); color: var(--moss); }
.opening h2 { margin-top: 6px; }
.opening .what { margin-top: 10px; color: var(--fg2); font-size: 17px; }
.opening blockquote { margin: 20px 0 0; padding: 18px 20px; border-radius: 24px; background: #fff; border: 2px solid var(--line); box-shadow: 0 4px 0 var(--line);
  font: 600 clamp(19px, 5vw, 24px)/1.3 var(--display); }
.opening .why, .opening .try { margin-top: 14px; font-size: 16px; color: var(--fg2); }
.opening .why b, .opening .try b { color: var(--fg); }
.op .op-pause p { margin-top: 14px; color: var(--fg2); font-size: 18px; }
.op .gate-ask { max-width: 600px; margin: 16px auto 24px; padding: 32px 22px; border-radius: 24px; background: var(--pick); border: 2px solid var(--lip); box-shadow: 0 4px 0 var(--lip); }
.op .gate-ask .lede { margin-top: 12px; }
.op .gate-ask .join { margin-top: 20px; }
.op .gate-ask .join .button { width: 100%; }
.no-js .op .gate-ask, .op.returning .gate-ask { display: none; }
.op .lock .body { transition: filter .8s var(--out), opacity .8s var(--out); }
html:not(.no-js) .op:not(.open) .lock .body { filter: blur(7px); opacity: .5; max-height: 7.5em; overflow: hidden; user-select: none; pointer-events: none; }
.op .op-ask .join { width: 100%; }
.op .op-ask .lede { max-width: 32em; }
.op .op-ask .fine { margin-top: 14px; }
.op .op-ask .fine + .fine { margin-top: 4px; }
@media (min-width: 900px) {
  .op .op-top { padding: 40px 48px 96px; }
  .op .op-top .lede { margin-top: 24px; font-size: 21px; }
  .op .op-drop { padding-top: 110px; }
  .op .op-drop .lede { font-size: 19px; }
  .opening { grid-template-columns: 220px 1fr; gap: 48px; align-items: center; padding: 56px 0; }
  .opening img { width: 200px; margin: 0 auto; }
  .op .gate-ask { padding: 40px 48px; }
}
