/* Adaptly: a white, airy site. One stylesheet, no frameworks. */
:root {
  color-scheme: light;
  --bg: #ffffff;
  --ink: #0b0b0f;
  --muted: #5d5d69;
  --line: #e9e9ef;
  --soft: #f6f6f9;
  --accent: #8b85ff; /* the logo dot */
  --font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -0.035em; font-weight: 800; }
h1 { font-size: clamp(2.8rem, 9vw, 5.6rem); letter-spacing: -0.05em; line-height: 1.02; }
h2 { font-size: clamp(1.9rem, 5vw, 3rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.02em; }
p { margin: 0 0 1rem; }
ol, ul { margin: 0; }
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 22px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.lead { font-size: clamp(1.1rem, 2.4vw, 1.3rem); color: var(--muted); line-height: 1.55; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 100; border-radius: 0 0 10px 0; }
.skip:focus { left: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 0 0 14px; }
.eyebrow.center { display: flex; justify-content: center; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); font-style: normal; }

/* ---------- header and logo (the logo is unchanged) ---------- */
.header { position: sticky; top: 0; z-index: 30; background: rgb(255 255 255 / .86); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.header:has(+ main) { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { font-weight: 800; font-size: 1.5rem; letter-spacing: -0.04em; text-decoration: none; }
.logo span { color: var(--accent); }
.header-nav { display: flex; align-items: center; gap: 6px; }
.nav-link { padding: 8px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--muted); }
.nav-link:hover { color: var(--ink); background: var(--soft); }
@media (max-width: 640px) { .nav-link { display: none; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; font: inherit; font-weight: 650; text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: .92rem; }
.btn-lg { min-height: 58px; padding: 0 32px; font-size: 1.05rem; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgb(11 11 15 / .55); }

/* ---------- hero ---------- */
.hero { padding: 56px 0 0; text-align: center; overflow: hidden; position: relative; }
.hero::before { content: ""; position: absolute; inset: -20% 10% auto; height: 520px; background: radial-gradient(closest-side, rgb(139 133 255 / .16), transparent); pointer-events: none; z-index: 0; }
.hero-copy { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.hero .lead { max-width: 34rem; margin: 22px auto 0; }
.hero .eyebrow { background: var(--soft); border: 1px solid var(--line); padding: 7px 14px; border-radius: 999px; letter-spacing: .06em; text-transform: none; font-size: .85rem; color: var(--ink); }
.cta { margin: 32px 0 14px; }

/* the Pinterest-style collage under the hero */
.collage { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; padding: 0 22px; max-width: 1160px; margin: 48px auto 0; height: 440px; mask-image: linear-gradient(#000 60%, transparent); -webkit-mask-image: linear-gradient(#000 60%, transparent); overflow: hidden; position: relative; z-index: 1; }
.col { display: flex; flex-direction: column; gap: 16px; margin-top: var(--off); }
@media (max-width: 760px) { .collage { grid-template-columns: repeat(3, 1fr); gap: 10px; height: 360px; } .col { gap: 10px; } .col:nth-child(n+4) { display: none; } }

.tile { position: relative; border-radius: 26px; padding: 14px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; overflow: hidden; text-align: left; background: linear-gradient(150deg, var(--c1), var(--c2)); }
.tile::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; right: -18%; bottom: -14%; border-radius: 50%; background: rgb(255 255 255 / .38); }
.tile::after { content: ""; position: absolute; width: 34%; aspect-ratio: 1; left: 16%; top: 30%; border-radius: 50%; background: rgb(255 255 255 / .28); }
.tile b { position: relative; z-index: 1; font-size: .95rem; line-height: 1.15; letter-spacing: -0.02em; max-width: 90%; }
.chip { position: relative; z-index: 1; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; background: rgb(255 255 255 / .85); padding: 3px 9px; border-radius: 999px; }
.t-lilac { --c1: #e4e0ff; --c2: #c8c0ff; } .t-coral { --c1: #ffdcd3; --c2: #ffb5a5; } .t-mint { --c1: #d5f5e5; --c2: #a8e8c8; }
.t-sand { --c1: #f7e8d2; --c2: #ecca9d; } .t-sky { --c1: #d6edff; --c2: #aad7fb; } .t-butter { --c1: #fff2bd; --c2: #ffe27e; }
.t-rose { --c1: #ffd9ea; --c2: #ffaed1; } .t-sage { --c1: #e0ead5; --c2: #bdd4a5; }

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section.tight { padding: 32px 0 96px; }
@media (max-width: 700px) { .section { padding: 64px 0; } .section.tight { padding: 8px 0 64px; } }

/* how it works */
.how { display: grid; gap: 56px; align-items: center; }
@media (min-width: 900px) { .how { grid-template-columns: 1fr 1fr; gap: 80px; } }
.how h2 { margin-bottom: 32px; max-width: 14ch; }
.how-steps { list-style: none; padding: 0; display: grid; gap: 28px; }
.how-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 18px; }
.how-steps h3 { margin-bottom: 4px; }
.how-steps p { margin: 0; color: var(--muted); }
.num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; }

/* the little product-page illustration */
.mock { background: #fff; border: 1px solid var(--line); border-radius: 30px; padding: 22px; box-shadow: 0 40px 80px -40px rgb(40 30 120 / .35), 0 2px 6px rgb(0 0 0 / .03); max-width: 480px; width: 100%; justify-self: center; }
.mock-head { padding: 6px 4px 18px; }
.mock-head .chip { display: inline-block; background: var(--soft); border: 1px solid var(--line); }
.mock-head strong { display: block; font-size: 1.5rem; letter-spacing: -0.03em; margin: 10px 0 4px; line-height: 1.1; }
.mock-head p { margin: 0; color: var(--muted); font-size: .92rem; }
.mock-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 12px; border-top: 1px solid var(--line); }
.mock-item i { width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(150deg, var(--c1), var(--c2)); }
.mock-item b { display: block; font-size: .92rem; line-height: 1.2; letter-spacing: -0.01em; }
.mock-item small { color: var(--muted); }
.mock-btn { font-size: .74rem; font-weight: 700; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 999px; white-space: nowrap; }
@media (max-width: 480px) { .mock-item { grid-template-columns: 48px 1fr; } .mock-item i { width: 48px; height: 48px; } .mock-btn { grid-column: 2; justify-self: start; } }

/* categories */
.cats { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }
.cat { padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 1.05rem; letter-spacing: -0.02em; background: linear-gradient(150deg, var(--c1), var(--c2)); }
.cat.t-butter { background: var(--soft); border: 1px dashed #cfcfd9; color: var(--muted); font-weight: 600; }

/* bento */
.bento { display: grid; gap: 16px; margin-top: 44px; }
@media (min-width: 700px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .bento { grid-template-columns: repeat(4, 1fr); } }
.bento-card { border-radius: 28px; padding: 30px 26px 32px; min-height: 230px; display: flex; flex-direction: column; justify-content: flex-end; }
.bento-card h3 { font-size: 1.4rem; margin-bottom: 8px; }
.bento-card p { margin: 0; color: #3d3d49; font-size: .98rem; }
.t-soft-lilac { background: #f1efff; } .t-soft-mint { background: #eaf9f1; } .t-soft-sand { background: #fbf1e3; } .t-soft-sky { background: #ebf5ff; }

/* faq */
.faq-wrap { max-width: 780px; }
.faq { margin-top: 36px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 4px; font-weight: 700; font-size: 1.1rem; letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--soft); font-size: 1.3rem; font-weight: 500; transition: transform .2s, background .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--ink); color: #fff; }
.faq details p { color: var(--muted); padding: 0 4px 22px; margin: 0; max-width: 60ch; }

/* closing band */
.band { text-align: center; padding: 72px 22px; border-radius: 40px; background: radial-gradient(60% 90% at 50% 0%, #ebe9ff, transparent), linear-gradient(#fff, #f6f5ff); border: 1px solid #ece9ff; }
.band .lead { max-width: 28rem; margin: 14px auto 0; }
.band .cta { margin-bottom: 0; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 56px 0 36px; margin-top: 24px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 40px 80px; justify-content: space-between; }
.footer-mail { display: block; width: fit-content; margin-top: 14px; font-weight: 650; text-decoration: none; border-bottom: 1px solid var(--line); }
.footer-mail:hover { border-color: var(--ink); }
.footer-links { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-links h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 14px; }
.footer-links a { display: block; text-decoration: none; padding: 5px 0; color: var(--ink); }
.footer-links a:hover { text-decoration: underline; }
.footer-top .logo { display: block; width: fit-content; }
.commission { margin: 40px 0 16px; padding: 14px 20px; background: var(--soft); border-radius: 16px; font-size: .8rem; line-height: 1.5; color: var(--muted); text-wrap: pretty; }
.commission a { color: var(--ink); font-weight: 600; white-space: nowrap; }

/* the centred North Adapt strip at the very bottom */
.footer-base { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); text-align: center; }
.footer-base img { display: block; height: 22px; width: auto; }
.footer-base p { margin: 0; }

/* ---------- QR teaser, bottom right (desktop only) ---------- */
.qr { position: fixed; right: 22px; bottom: 22px; z-index: 40; display: none; width: 164px; padding: 12px 12px 14px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 24px 50px -22px rgb(30 25 90 / .4), 0 2px 6px rgb(0 0 0 / .04); transition: opacity .25s ease, transform .25s ease; }
@media (min-width: 1000px) { .qr { display: block; } }
.qr.away, .qr.closed { opacity: 0; transform: translateY(10px); pointer-events: none; }
.qr-frame { position: relative; border-radius: 12px; overflow: hidden; line-height: 0; }
.qr-img { width: 100%; height: auto; filter: blur(7px); transform: scale(1.06); } /* blurred until the app is live */
.qr-soon { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: #fff; color: var(--ink); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; line-height: 1; padding: 8px 12px; border-radius: 999px; box-shadow: 0 4px 14px rgb(0 0 0 / .12); white-space: nowrap; }
.qr p { margin: 10px 0 0; font-size: .82rem; font-weight: 700; letter-spacing: -0.01em; }
.qr-close { position: absolute; top: -10px; right: -10px; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--muted); font: inherit; font-size: 1.05rem; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0; }
.qr-close:hover { color: var(--ink); border-color: var(--ink); }

/* ---------- "Get the app" popup: QR on computers, download sheet on phones ---------- */
.gate { border: 0; padding: 32px 28px 28px; border-radius: 28px; width: calc(100% - 32px); max-width: 400px; text-align: center; color: var(--ink); background: #fff; box-shadow: 0 40px 90px -30px rgb(20 15 80 / .55); }
.gate::backdrop { background: rgb(11 11 15 / .5); backdrop-filter: blur(4px); }
.gate[open] { animation: gate-in .22s ease; }
.gate h2 { font-size: 1.5rem; margin-bottom: 8px; }
.gate p { margin: 0 0 18px; }
.gate-close { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--soft); color: var(--muted); font: inherit; font-size: 1.3rem; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0; }
.gate-close:hover { color: var(--ink); background: #ececf2; }
.gate-qr { position: relative; width: 200px; margin: 18px auto; border-radius: 18px; overflow: hidden; line-height: 0; border: 1px solid var(--line); }
.gate-qr img { width: 100%; height: auto; filter: blur(8px); transform: scale(1.06); } /* blurred until the app is live */
.gate-qr .qr-soon { font-size: .8rem; padding: 10px 14px; }
.gate .btn { width: 100%; }
.gate-later { margin-top: 10px; width: 100%; min-height: 44px; border: 0; background: none; font: inherit; font-weight: 650; color: var(--muted); cursor: pointer; }
/* computers show the QR; phones and tablets show the download button */
.gate-mobile { display: none; }
@media not all and (min-width: 900px) and (pointer: fine) {
  .gate-desktop { display: none; }
  .gate-mobile { display: block; }
  .gate { margin: auto 0 0; width: 100%; max-width: none; border-radius: 28px 28px 0 0; padding: 36px 22px calc(22px + env(safe-area-inset-bottom)); box-shadow: 0 -20px 60px -20px rgb(20 15 80 / .4); }
  .gate[open] { animation: sheet-up .28s cubic-bezier(.2, .8, .2, 1); }
}
@keyframes gate-in { from { opacity: 0; transform: translateY(10px) scale(.98); } }
@keyframes sheet-up { from { transform: translateY(100%); } }

/* ---------- text pages (About, Contact, Privacy...) ---------- */
.doc-wrap { padding-top: 56px; padding-bottom: 40px; min-height: 60vh; }
.doc { max-width: 720px; margin: 0 auto; }
.doc h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); margin-bottom: 14px; }
.doc .lead { margin-bottom: 8px; }
.doc h2 { font-size: 1.5rem; margin: 2.6rem 0 .7rem; letter-spacing: -0.03em; }
.doc p, .doc li { font-size: 1.02rem; line-height: 1.75; color: #2c2c36; }
.doc ul { padding-left: 1.3rem; margin: 0 0 1rem; }
.doc li { margin-bottom: .4rem; }
.doc a { text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.mail-card { display: block; text-decoration: none; margin: 28px 0 32px; padding: 26px 28px; border-radius: 24px; background: linear-gradient(150deg, #f1efff, #fff); border: 1px solid #e4e1ff; }
.mail-card strong { display: block; font-size: clamp(1.3rem, 4.6vw, 2rem); letter-spacing: -0.03em; word-break: break-all; }
.mail-card:hover { border-color: var(--accent); }

/* ---------- scroll fade-in (added by script.js; harmless without it) ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
