/* Numerology waitlist – the manovardas.lt design (colours, fonts, hero with flowers, form), on its own */

@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(fonts/inter-latin-ext.woff2) format('woff2'); 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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(fonts/inter-latin.woff2) format('woff2'); 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: 'Newsreader'; font-style: italic; font-weight: 400; font-display: swap; src: url(fonts/newsreader-i-latin-ext.woff2) format('woff2'); 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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Newsreader'; font-style: italic; font-weight: 400; font-display: swap; src: url(fonts/newsreader-i-latin.woff2) format('woff2'); 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: 'Newsreader'; font-style: normal; font-weight: 400 500; font-display: swap; src: url(fonts/newsreader-latin-ext.woff2) format('woff2'); 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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 400 500; font-display: swap; src: url(fonts/newsreader-latin.woff2) format('woff2'); 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; }

:root {
  --bg: #f9efe5; --paper: #fdf9f5; --ink: #29231c; --text: #3b352e; --muted: #7b756c; --soft: #9a9389; --line: #e7ddd0;
  --gold: #b39d70; --gold-ink: #8d6d40; --beige: #f4e8d9; --rose: #fbe8e1;
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--text); font-family: var(--serif); font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2 { font-family: var(--serif); color: var(--ink); font-weight: 400; }
[hidden] { display: none !important; }
.ic { width: 22px; height: 22px; flex: none; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; }

/* Header: the white strip over the picture */
.site-head { position: absolute; left: 0; right: 0; top: 0; z-index: 5; padding: 14px 0 12px; background: rgba(255, 255, 255, .62); }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { width: 54px; height: auto; }
.brand span { font-family: var(--serif); font-size: 17px; letter-spacing: .34em; text-transform: uppercase; color: #3a342c; white-space: nowrap; }

.head-row { display: flex; align-items: center; }
.brand { text-decoration: none; }
.btn-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; line-height: 1.2;
  background: #616f53; border: 1px solid #56644a; color: #f5f0e6; border-radius: 999px; text-decoration: none; transition: background .2s;
}
.btn-pill .ic { width: 17px; height: 17px; stroke-width: 1.6; transition: transform .2s; }
.btn-pill:hover { background: #56644a; color: #fff; }
.btn-pill:hover .ic { transform: translateX(2px); }
.btn-head { margin-left: auto; white-space: nowrap; padding: 11px 26px 12px; font-family: var(--sans); font-size: 16px; font-weight: 500; box-shadow: 0 8px 18px -10px rgba(60, 75, 50, .6); }
.btn-head .sm { display: none; }
html { scroll-behavior: smooth; }
#wl-form { scroll-margin-top: 90px; }

/* Hero: a branch with white flowers on the right */
.hero { position: relative; isolation: isolate; min-height: 100vh; padding: 118px 0 64px; overflow: hidden; }
.hero-photo {
  position: absolute; z-index: -1; top: -12vw; right: 0; width: 54%; aspect-ratio: 4 / 5;
  background: url('img/flowers_d.webp') center top / 100% 100% no-repeat;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 26%), linear-gradient(to bottom, #000 82%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 26%), linear-gradient(to bottom, #000 82%, transparent);
  mask-composite: intersect;
}
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) 430px; gap: 48px; align-items: start; }
.hero-copy { padding-top: 24px; }
.eyebrow { font-family: var(--sans); font-size: 12.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; }
.hero h1 { font-size: clamp(2.5rem, 3.7vw, 3.8rem); line-height: 1.02; letter-spacing: -.03em; font-weight: 420; margin: 0 0 20px; }
.hero h1 em { font-style: italic; color: #a98446; }
.hero-sub { font-size: clamp(1rem, 1.3vw, 1.15rem); color: #3f372e; margin: 0 0 22px; max-width: 34rem; line-height: 1.45; }
.feats { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 22px; padding: 0; margin: 0; }
.feats li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; line-height: 1.3; color: #3f372e; }
.disc { display: inline-grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 50%; background: #f5e6d3; color: #7a5834; }
.disc .ic { width: 23px; height: 23px; }

/* The card: countdown, prize, form */
.card { position: relative; background: var(--paper); border-radius: 18px; padding: 26px 30px 22px; box-shadow: 0 24px 60px -28px rgba(92, 70, 40, .28), 0 2px 10px -4px rgba(92, 70, 40, .08); }
.card-title { font-size: 26px; line-height: 1.15; text-align: center; margin: 0 0 6px; }
.card-sub { font-size: 15px; line-height: 1.4; color: var(--muted); text-align: center; margin: 0 0 18px; }
.label { font-family: var(--sans); font-size: 12.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); text-align: center; margin: 0 0 12px; }
.count { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.count div { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 10px 4px 8px; text-align: center; }
.count b { display: block; font-family: var(--serif); font-weight: 400; font-size: 38px; line-height: 1; color: var(--gold-ink); font-variant-numeric: tabular-nums; }
.count span { display: block; margin-top: 6px; font-family: var(--sans); font-size: 11.5px; color: var(--muted); }
.date { text-align: center; font-size: 14.5px; color: var(--muted); margin: 10px 0 18px; }
.prize { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; background: var(--rose); }
.prize img { width: 58px; height: 58px; flex: none; object-fit: contain; }
.prize b { display: block; font-size: 19px; font-weight: 500; color: var(--ink); line-height: 1.2; }
.prize-list { margin: 6px 0 0; padding-left: 18px; font-size: 14.5px; line-height: 1.45; color: var(--text); }
.prize span { display: block; font-size: 14.5px; line-height: 1.4; color: var(--text); margin-top: 3px; }

.ff-label { display: block; font-family: var(--sans); font-size: 14.5px; font-weight: 500; color: #231e18; margin: 16px 0 8px; }
.ff-field { position: relative; }
.ff-ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; color: #9c7c50; pointer-events: none; }
.ff-field input { width: 100%; height: 48px; padding: 0 16px 0 50px; border: 1px solid #e3d9cc; border-radius: 8px; background: #fffdfa; font-family: var(--serif); font-size: 16.5px; color: var(--ink); outline: none; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none; }
.ff-field input::placeholder { color: #9d968c; }
.ff-field input:focus { border-color: #c5ae80; box-shadow: 0 0 0 3px rgba(197, 174, 128, .18); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.err { margin: 10px 0 0; font-family: var(--sans); font-size: 14px; color: #a24b3e; }
.btn-main {
  display: flex; align-items: center; justify-content: center; gap: 14px; width: 100%; height: 58px; margin-top: 18px;
  border: 0; border-radius: 999px; background: linear-gradient(180deg, #697859 0%, #5c6a4f 100%);
  box-shadow: 0 10px 22px -12px rgba(62, 74, 48, .7), inset 0 1px 0 rgba(255,255,255,.12);
  color: #f7f3ea; font-family: var(--sans); font-size: 20px; cursor: pointer; transition: filter .2s, transform .2s;
}
.btn-main .ic { width: 24px; height: 24px; stroke-width: 1.3; transition: transform .2s; }
.btn-main:hover { filter: brightness(.94); }
.btn-main:hover .ic { transform: translateX(3px); }
.btn-main:active { transform: translateY(1px); }
.btn-main:disabled { opacity: .7; cursor: progress; }
.fine { margin: 12px 0 0; text-align: center; font-size: 13px; color: var(--soft); }
.done { text-align: center; padding: 18px 0 6px; }
.done img { width: 72px; height: 72px; object-fit: contain; }
.done h2 { font-size: 30px; margin: 8px 0 6px; }
.done p { margin: 0; }
.people { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 14px 0 0; font-family: var(--sans); font-size: 13.5px; color: var(--muted); }
.people .ic { width: 18px; height: 18px; }

/* Footer: brand, contact e-mail, a short note */
.site-foot { border-top: 1px solid var(--line); background: #fbf6ef; padding: 26px 0 30px; }
.site-foot .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; }
.site-foot .brand img { width: 44px; }
.site-foot .brand span { font-size: 15px; }
.site-foot a { margin-left: auto; font-family: var(--sans); font-size: 14.5px; color: #3a342c; text-decoration: none; }
.site-foot a:hover { color: var(--gold-ink); }
.site-foot p { flex-basis: 100%; margin: 0; font-size: 14px; color: var(--soft); }

/* Phone: the branch comes in from the right behind the text, the card goes under it */
@media (max-width: 991.98px) {
  .hero { min-height: 0; padding: 0 0 44px; }
  .hero-photo {
    top: 64px; right: -12%; width: 58%; aspect-ratio: 1536 / 2752;
    background-image: url('img/flowers_m.webp');
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 30%), linear-gradient(to bottom, transparent 0, #000 12%, #000 78%, transparent);
    mask-image: linear-gradient(to right, transparent 0, #000 30%), linear-gradient(to bottom, transparent 0, #000 12%, #000 78%, transparent);
  }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .hero-copy { padding-top: 86px; }
  .hero h1 { font-size: clamp(2.2rem, 10.5vw, 3.2rem); }
  .hero-sub { max-width: 76%; margin-bottom: 20px; }
  .feats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
  .feats li { font-size: 13px; line-height: 1.25; gap: 8px; }
  .disc { width: 32px; height: 32px; }
  .disc .ic { width: 16px; height: 16px; }
  .card { padding: 22px 18px 18px; }
  .count b { font-size: 30px; }
}
@media (max-width: 575.98px) {
  .site-head { padding: 12px 0; }
  .brand img { width: 34px; }
  .brand span { font-size: 13px; letter-spacing: .2em; }
  .wrap { padding: 0 16px; }
  .btn-head { padding: 9px 15px 10px; font-size: 14px; }
  .btn-head .lg { display: none; }
  .btn-head .sm { display: inline; }
  .site-foot a { margin-left: 0; flex-basis: 100%; }
}

/* the countdown under the form, set apart by a thin line */
.launch-box { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.launch-box .date { margin-bottom: 4px; }

/* the news consent under the fields */
.ff-check { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 14px; font-family: var(--sans); font-size: 13.5px; line-height: 1.4; color: var(--muted); cursor: pointer; }
.ff-check input { margin-top: 2px; width: 17px; height: 17px; accent-color: var(--gold-ink); flex: none; }

/* two steps: the meaning shows at once, then the e-mail */
.teaser { margin: 4px 0 14px; }
.teaser b { font-size: 22px; }
.teaser span { font-size: 15.5px; line-height: 1.45; margin-top: 4px; }
.more-line { font-size: 15px; line-height: 1.4; color: var(--text); margin: 0 0 12px; }
#wl-back { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
#wl-step1 .btn-main { margin-top: 4px; }
/* phone: the form right under the headline (the four points would push it below the first screen) */
@media (max-width: 991.98px) {
  .feats { display: none; }
  .hero-copy { padding-top: 78px; }
  .hero-sub { margin-bottom: 4px; }
}

/* the name with suggestions: the rest of the letters in grey behind the input, a list of up to 10 names */
.ac { position: relative; }
.ac-field input { position: relative; background: transparent; z-index: 1; }
.ac-field { background: #fffdfa; border-radius: 8px; }
.ac-ghost { position: absolute; left: 51px; right: 16px; top: 0; height: 48px; line-height: 48px; font-family: var(--serif); font-size: 16.5px; white-space: pre; overflow: hidden; pointer-events: none; }
.ac-typed { color: transparent; }
.ac-rest { color: #b9b1a5; }
.ac-list { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; background: #fffdfa; border: 1px solid #e3d9cc; border-radius: 12px; box-shadow: 0 18px 40px -18px rgba(92, 70, 40, .35); max-height: 320px; overflow-y: auto; }
.ac-list li { padding: 9px 12px; border-radius: 8px; font-size: 17px; color: var(--text); cursor: pointer; }
.ac-list li b { font-weight: 500; color: var(--ink); }
.ac-list li:hover, .ac-list li.on { background: var(--beige); }

/* the meaning slides out under the name, then the e-mail */
.reveal { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .5s ease, opacity .45s ease; }
.reveal.open { grid-template-rows: 1fr; opacity: 1; }
.reveal-in { overflow: hidden; min-height: 0; }
.meaning { margin: 18px 0 14px; padding: 18px 20px 16px; border-radius: 14px; background: var(--rose); border: 1px solid #f0d9cf; text-align: center; transform: translateY(8px); transition: transform .5s ease; }
.reveal.open .meaning { transform: none; }
.meaning-eyebrow { margin: 0 0 4px; font-family: var(--sans); font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-ink); }
.meaning-name { margin: 0 0 8px; font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1.1; color: var(--ink); }
.meaning-text { margin: 0; font-size: 17px; line-height: 1.5; color: var(--text); font-style: italic; }
