/* Editorial v2: calm cream/sand, maroon only for type and small accents, printed cards and real-looking phones. */
@font-face { font-family: Icons; src: url("shared/fonts/MaterialIconsRound.otf") format("opentype"); }

:root {
  --paper: #FBF8F3; --sand: #F2EBE2; --sand-2: #E9E0D4; --ink: #4A1C1E; --ink-soft: #7A5B5E; --line: rgba(74, 28, 30, .12);
  --gold-soft: #E6CF8B;
  /* softer category colours for printed cards */
  --c-couples: #E4C873; --c-friends: #E9A28C; --c-family: #A8C8B5; --c-self: #8E91AB;
  --shadow-card: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 1px 2px rgba(74, 28, 30, .08), 0 8px 16px -6px rgba(74, 28, 30, .14),
    0 30px 50px -18px rgba(74, 28, 30, .22);
  --paper-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3  0 0 0 0 .15  0 0 0 0 .1  0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}
body { background: var(--paper); color: var(--ink); font: 16px/1.6 Nunito, sans-serif; }
a { color: inherit; }
h1, h2 { font-family: Fredoka, sans-serif; font-weight: 500; margin: 0; letter-spacing: -.025em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* small parts */
.btn { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 99px; background: var(--ink); color: var(--paper);
  font: 800 15px Nunito, sans-serif; padding: 15px 26px; text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background .2s; }
.btn:hover { background: #5C2326; transform: translateY(-1px); }
.btn--small { padding: 10px 16px; font-size: 13px; }
.sec__head { display: flex; align-items: center; gap: 10px; margin-bottom: 26px; }
.sec__head--center { justify-content: center; }
.num { font: 600 12px Fredoka, sans-serif; padding: 4px 9px; border-radius: 8px; background: var(--gold-soft); }
.label { font-size: 12px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--ink-soft); }
.dot { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line);
  font: 600 11px Fredoka, sans-serif; margin-inline-end: 10px; vertical-align: 2px; }

.nav { position: fixed; top: 0; inset-inline: 0; z-index: 30; display: flex; align-items: center; gap: 24px; padding: 12px 18px;
  background: rgba(251, 248, 243, .85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav img { width: 128px; height: auto; }
.nav__links { display: none; gap: 22px; margin-inline-start: auto; font-weight: 700; font-size: 14px; }
.nav__links a { text-decoration: none; color: var(--ink-soft); }
.nav__links a:hover { color: var(--ink); }
.nav .btn { margin-inline-start: auto; }
@media (min-width: 900px) { .nav__links { display: flex; } .nav .btn { margin-inline-start: 0; } }

/* ---------- printed card ---------- */
.qcard, .cover { position: relative; border-radius: 18px; box-shadow: var(--shadow-card); isolation: isolate; }
.qcard::before, .cover::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--paper-grain); z-index: -1; pointer-events: none; }
.qcard { width: 220px; aspect-ratio: 5 / 7; background: #FFFDF9; padding: 20px 18px 16px; display: flex; flex-direction: column; }
.qcard__lvl { display: flex; align-items: center; gap: 4px; font-size: 10px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; color: #B8952F; }
.qcard__lvl i { width: 7px; height: 7px; border-radius: 50%; background: #D4AF37; opacity: .3; }
.qcard__lvl i.on { opacity: 1; }
.qcard p { flex: 1; display: flex; align-items: center; justify-content: center; text-align: center; margin: 0; font: 500 21px/1.25 Fredoka, sans-serif; }
.qcard__foot { font-size: 10px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--ink-soft); text-align: center; }

.cover { width: 200px; aspect-ratio: 5 / 7; padding: 18px 16px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; color: var(--ink); }
.cover small { display: block; font-size: 10px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; opacity: .75; }
.cover b { font: 500 24px/1.05 Fredoka, sans-serif; }
.cover__icon { font: 34px/1 Icons; font-feature-settings: "liga"; opacity: .85; }
.cover__count { font-size: 11px; font-weight: 800; opacity: .7; }
.cover::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 150px; height: 150px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.cover--couples { background: var(--c-couples); }
.cover--friends { background: var(--c-friends); }
.cover--family { background: var(--c-family); }
.cover--self { background: var(--c-self); color: #FBF8F3; }

/* ---------- real-looking phone ---------- */
.device { position: relative; width: var(--w, 250px); aspect-ratio: 930 / 2014; border-radius: calc(var(--w, 250px) * .17);
  padding: calc(var(--w, 250px) * .028);
  background: linear-gradient(145deg, #5a5552, #2a2626 30%, #1a1718 60%, #47423f);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .5), 0 2px 2px rgba(0, 0, 0, .1), 0 30px 60px -20px rgba(40, 20, 15, .45), 0 60px 90px -40px rgba(40, 20, 15, .35); }
.device::before { content: ""; position: absolute; right: -3px; top: 26%; width: 3px; height: 12%; border-radius: 0 3px 3px 0; background: #3a3533; }
.device__screen { position: relative; width: 100%; height: 100%; border-radius: calc(var(--w, 250px) * .145); overflow: hidden; background: #000;
  box-shadow: 0 0 0 calc(var(--w, 250px) * .012) #050505; }
.device__screen img { width: 100%; height: 100%; object-fit: cover; }
.device__screen::before { content: ""; position: absolute; z-index: 2; top: calc(var(--w, 250px) * .035); left: 50%; translate: -50% 0; width: 30%;
  height: calc(var(--w, 250px) * .085); border-radius: 99px; background: #050505; }
.device__screen::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, .04) 28%, transparent 40%); }

/* ---------- hero: a real question as the headline, a hand of cards to draw from ---------- */
.hero { padding: 66px 12px 0; }
.hero__panel { position: relative; overflow: hidden; border-radius: 30px; background: var(--sand); isolation: isolate;
  padding: 24px 22px 0; display: flex; flex-direction: column; }
.hero__panel::before { content: ""; position: absolute; inset: 0; background: var(--paper-grain); z-index: -1; }
.hero__maze { position: absolute; z-index: -1; width: 140%; max-width: none; right: -55%; top: -12%; rotate: 8deg; pointer-events: none; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 11px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; color: var(--ink-soft); }
.hero__meta b { color: var(--ink); font-weight: 800; }
.hero__lvl { display: inline-flex; align-items: center; gap: 4px; color: #B8952F; }
.hero__lvl i { width: 7px; height: 7px; border-radius: 50%; background: #D4AF37; opacity: .3; }
.hero__lvl i.on { opacity: 1; }
.hero__q { margin: 34px 0 0; font-size: clamp(44px, 11vw, 132px); line-height: .98; letter-spacing: -.035em; font-weight: 500; max-width: 13ch;
  text-wrap: balance; transition: opacity .25s ease, transform .45s var(--ease); }
.hero__q.is-out { opacity: 0; transform: translateY(-14px); transition-duration: .18s; }
.hero__q.is-in { opacity: 0; transform: translateY(26px); transition: none; }
.hero__q::before { content: "“"; color: #C9A54A; margin-inline-end: .04em; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 30px; }
.hero__cta p { margin: 0; font: 500 18px/1.35 Fredoka, sans-serif; }
.hero__cta span { color: var(--ink-soft); }
.hero__device { display: none; }

/* the hand of cards peeking from the bottom edge */
.hand { position: relative; margin-top: 56px; height: 170px; display: flex; justify-content: center; align-items: flex-end; padding-top: 40px; }
.hand__hint { position: absolute; top: 4px; left: 50%; translate: -50% 0; font-size: 12px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--ink-soft); }
.hand__card { --lift: 0px; width: 96px; margin: 0 -10px -52px; justify-content: flex-start; gap: 8px; padding: 12px 11px; border: 0; text-align: start; font: inherit; cursor: pointer;
  transform: rotate(var(--r)) translateY(calc(var(--lift) * -1)); transition: transform .35s var(--ease), box-shadow .35s; }
.hand__card b { font-size: 16px; }
.hand__card .cover__icon { font-size: 24px; }
.hand__card:nth-of-type(1) { --r: -12deg; }
.hand__card:nth-of-type(2) { --r: -4deg; }
.hand__card:nth-of-type(3) { --r: 4deg; }
.hand__card:nth-of-type(4) { --r: 12deg; }
.hand__card:hover { --lift: 18px; }
.hand__card.is-up { --lift: 46px; z-index: 2; box-shadow: var(--shadow-card), 0 0 0 2px rgba(255, 255, 255, .7); }
.hand__card:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

@media (min-width: 900px) {
  .hero__panel { padding: 30px 48px 0; min-height: min(92svh, 860px); }
  .hero__maze { width: 980px; right: -180px; top: -140px; }
  .hero__q { margin-top: 70px; max-width: 12.5ch; font-size: clamp(64px, 7.6vw, 128px); }
  .hero__device { display: block; position: absolute; --w: 250px; right: 6%; top: 120px; rotate: 7deg; z-index: 1; }
  .hand { position: absolute; left: 50%; bottom: 0; translate: -50% 0; width: 560px; height: 230px; }
  .hand__card { width: 150px; margin: 0 -16px -84px; padding: 16px 15px; }
  .hand__card b { font-size: 22px; }
  .hand__card .cover__icon { font-size: 30px; }
  .hero__cta { margin-top: 36px; margin-bottom: 240px; }
}

/* ---------- sections ---------- */
.sec { max-width: 1160px; margin: 0 auto; padding: 120px 20px; }
.sec--center { text-align: center; display: grid; justify-items: center; }
.sec__title { font-size: clamp(38px, 6.5vw, 72px); line-height: 1; }
.sec--panel { max-width: none; margin: 0 12px; border-radius: 30px; background: var(--sand); position: relative; isolation: isolate; }
.sec--panel::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--paper-grain); z-index: -1; }
.sec--panel > * { max-width: 1120px; margin-inline: auto; }

.about { display: grid; gap: 40px; }
.about h2 { font-size: clamp(40px, 7vw, 84px); line-height: 1; }
.about__notes { display: grid; gap: 22px; align-content: end; color: var(--ink-soft); font-size: 17px; }
.about__notes p { margin: 0; }
@media (min-width: 900px) { .about { grid-template-columns: 1.4fr 1fr; gap: 80px; } }
.fill .w { opacity: .15; transition: opacity .3s linear; }
.fill .w.on { opacity: 1; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin: 80px 0 0; border-top: 1px solid var(--line); }
.facts div { padding: 22px 0 6px; border-bottom: 1px solid var(--line); }
.facts div:nth-child(odd) { padding-inline-end: 16px; }
.facts dt { font: 500 clamp(44px, 7vw, 64px)/1 Fredoka, sans-serif; }
.facts dd { margin: 8px 0 0; color: var(--ink-soft); font-weight: 700; font-size: 14px; }
@media (min-width: 900px) { .facts { grid-template-columns: repeat(4, 1fr); } .facts div { border-bottom: 0; border-inline-start: 1px solid var(--line); padding: 26px 22px 6px; } .facts div:first-child { border-inline-start: 0; padding-inline-start: 0; } }

/* 02: deck fan */
.fanwrap { height: 250vh; position: relative; }
.fanwrap__sticky { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  overflow: hidden; text-align: center; padding: 80px 16px 0; }
.fanwrap h2 { font-size: clamp(36px, 6vw, 68px); line-height: 1; }
.fan { position: relative; width: 100%; height: 330px; margin-top: 40px; }
.fan .cover { position: absolute; left: 50%; bottom: 0; width: 150px; margin-left: -75px; transform-origin: 50% 170%; will-change: transform;
  box-shadow: 0 1px 2px rgba(74, 28, 30, .1), 0 10px 18px -10px rgba(74, 28, 30, .3); }
.fan .cover b { font-size: 20px; }
@media (min-width: 900px) { .fan { height: 400px; } .fan .cover { width: 190px; margin-left: -95px; } .fan .cover b { font-size: 24px; } }

/* 03: rows */
.rows { list-style: none; padding: 0; margin: 50px 0 0; border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 48px 1fr; gap: 6px 18px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); }
.row__icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font: 24px/1 Icons; font-feature-settings: "liga"; }
.row h3 { margin: 0; font: 500 26px Fredoka, sans-serif; }
.row small { color: var(--ink-soft); font-weight: 700; }
.row__q { grid-column: 2; margin: 8px 0 0; font: 400 19px/1.35 Fredoka, sans-serif; color: var(--ink); }
.row__q::before { content: "“"; color: #C9A54A; margin-inline-end: 2px; }
.row__q::after { content: "”"; color: #C9A54A; margin-inline-start: 2px; }
.row__more { grid-column: 2; justify-self: start; background: none; border: 0; padding: 0; font: 800 13px Nunito, sans-serif; color: var(--ink-soft); cursor: pointer; }
.row__more:hover { color: var(--ink); }
@media (min-width: 900px) {
  .row { grid-template-columns: 56px 260px 1fr auto; gap: 24px; }
  .row__q, .row__more { grid-column: auto; margin: 0; }
  .row__q { font-size: 21px; }
}

/* 04: app */
.appgrid { display: grid; gap: 50px; align-items: center; }
.steps { list-style: none; padding: 0; margin: 36px 0 0; border-top: 1px solid var(--line); }
.steps li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-weight: 700; }
.steps b { font: 600 13px Fredoka, sans-serif; color: #B8952F; padding-top: 3px; }
.trio { position: relative; height: 560px; }
.trio .device { position: absolute; --w: 200px; will-change: transform; }
.trio__a { left: 2%; top: 60px; rotate: -7deg; }
.trio__b { left: 50%; margin-left: -110px; top: 0; --w: 220px !important; z-index: 2; }
.trio__c { right: 2%; top: 90px; rotate: 6deg; }
@media (max-width: 600px) { .trio { height: 430px; } .trio .device { --w: 150px; } .trio__b { --w: 170px !important; margin-left: -85px; } }
@media (min-width: 900px) { .appgrid { grid-template-columns: .8fr 1.2fr; } }

/* 05: waitlist */
.pile { position: relative; width: 300px; height: 220px; margin: 10px 0 40px; }
.pile .cover { position: absolute; width: 130px; top: 0; left: 50%; margin-left: -65px; }
.pile .cover b { font-size: 18px; }
.pile__a { transform: rotate(-14deg) translateX(-70px); }
.pile__b { transform: rotate(2deg) translateY(-8px); z-index: 1; }
.pile__c { transform: rotate(15deg) translateX(70px); }
.lead { font-size: 18px; color: var(--ink-soft); margin: 18px 0 0; }
.join { display: grid; gap: 10px; width: min(100%, 500px); margin-top: 30px; }
.join input { border: 1px solid var(--line); border-radius: 99px; padding: 15px 22px; font: 600 16px Nunito, sans-serif; background: #FFFDF9;
  color: var(--ink); box-shadow: 0 1px 2px rgba(74, 28, 30, .05) inset; }
.join input:focus { outline: 2px solid var(--gold-soft); outline-offset: 2px; }
.join__msg { margin: 0; min-height: 1.4em; font-weight: 700; }
@media (min-width: 600px) { .join { grid-template-columns: 1fr auto; } .join__msg { grid-column: 1 / -1; } }
.fine { font-size: 12px; color: var(--ink-soft); margin-top: 16px; }

/* end */
.end { border-top: 1px solid var(--line); margin: 0 20px; padding: 90px 0 50px; text-align: center; display: grid; justify-items: center; gap: 14px; }
.end__big { font: 500 clamp(52px, 12vw, 150px)/.9 Fredoka, sans-serif; letter-spacing: -.04em; margin: 0; }
.end__sub { margin: 0; font-weight: 700; color: var(--ink-soft); }
.end__row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px; margin-top: 40px; font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.end__row img { width: 28px; height: auto; }
