/* Hoppla website. Light, warm and calm: peach and sky clouds on cream,
   navy ink from the logo, one pink accent for hearts. */

@font-face { font-family: 'Parkinsans'; font-weight: 600; font-display: swap; src: url('fonts/parkinsans-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Parkinsans'; font-weight: 700; font-display: swap; src: url('fonts/parkinsans-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Parkinsans'; font-weight: 800; font-display: swap; src: url('fonts/parkinsans-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url('fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-display: swap; src: url('fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url('fonts/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 700; font-display: swap; src: url('fonts/inter-latin-700-normal.woff2') format('woff2'); }

:root {
  --cream: #FBF7F3;
  --peach: #F6E7DF;
  --peach-deep: #F3D3C2;
  --sky: #DCE6F8;
  --sky-deep: #BCD0F2;
  --lime: #EFF3B6;
  --ink: #1A1466;
  --ink-soft: #3D3A78;
  --text: #24213F;
  --muted: #5F5C75;
  --line: #E8E0D9;
  --card: #FFFFFF;
  --heart: #FF2D55;
  --ok: #1E9E52;
  --radius: 24px;
  --shadow: 0 1px 2px rgba(26, 20, 102, .04), 0 12px 32px -12px rgba(26, 20, 102, .14);
  --display: 'Parkinsans', ui-rounded, 'Segoe UI', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--ink-soft); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); line-height: 1.1; letter-spacing: -0.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(40px, 6.4vw, 72px); font-weight: 800; }
h2 { font-size: clamp(30px, 4.2vw, 46px); font-weight: 800; }
h3 { font-size: 21px; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 10px; z-index: 50; }
.skip:focus { left: 8px; }
.todo { background: #FFF1A8; color: #5A4A00; padding: 0 4px; border-radius: 4px; font-size: .9em; }

/* Header: frosted glass over the clouds, like the app's tab bar */
.top { position: sticky; top: 0; z-index: 20; background: rgba(251, 247, 243, .72); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); border-bottom: 1px solid rgba(232, 224, 217, .7); }
.top-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand img { width: 112px; height: auto; }
.top-nav { display: flex; gap: 28px; margin-left: 24px; }
.top-nav a { color: var(--text); text-decoration: none; font-weight: 500; font-size: 15px; }
.top-nav a:hover { color: var(--ink); }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.lang { font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none; }
@media (max-width: 820px) { .top-nav { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 999px; background: var(--ink); color: #fff; font: 600 16px/1 var(--body); text-decoration: none; border: 0; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.btn:hover { background: var(--ink-soft); color: #fff; transform: translateY(-1px); }
.btn-small { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn-ghost { background: rgba(255, 255, 255, .7); color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: #fff; color: var(--ink); }

.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store { display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 8px 20px 8px 16px; border-radius: 16px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1.2; }
.store svg { width: 26px; height: 26px; flex: none; }
.store small { display: block; font-weight: 500; font-size: 12px; opacity: .75; }
.store:hover { color: #fff; background: var(--ink-soft); }
.store.is-soon { background: rgba(255, 255, 255, .8); color: var(--ink); border: 1px solid var(--line); cursor: default; }

/* Cloud backdrop: the app's still blue and peach clouds, made with soft gradients */
.clouds { position: relative; isolation: isolate; }
.clouds::before {
  content: ''; position: absolute; inset: -68px 0 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(48% 46% at 12% 18%, rgba(188, 208, 242, .85), transparent 70%),
    radial-gradient(42% 40% at 88% 10%, rgba(243, 211, 194, .9), transparent 70%),
    radial-gradient(50% 50% at 78% 78%, rgba(220, 230, 248, .9), transparent 70%),
    radial-gradient(40% 40% at 20% 90%, rgba(246, 231, 223, .95), transparent 70%);
}

/* Hero */
.hero { padding: 56px 0 72px; overflow-x: clip; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink); background: rgba(255, 255, 255, .7); border: 1px solid rgba(232, 224, 217, .9); padding: 6px 14px; border-radius: 999px; margin-bottom: 20px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--heart); }
.hero h1 .hl { background: linear-gradient(transparent 62%, var(--lime) 62% 92%, transparent 92%); padding: 0 .08em; }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 34em; margin-bottom: 28px; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.checks svg { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--ok); }

.phones { position: relative; height: 600px; }
.phone { position: absolute; width: 268px; border-radius: 40px; padding: 9px; background: #fff; box-shadow: 0 30px 60px -20px rgba(26, 20, 102, .35), 0 0 0 1px rgba(26, 20, 102, .06); }
.phone img { border-radius: 32px; width: 100%; aspect-ratio: 390 / 844; object-fit: cover; }
.phone-a { left: 50%; top: 0; transform: translateX(-50%); z-index: 2; }
.phone-b { left: 2%; top: 70px; transform: rotate(-7deg) scale(.86); opacity: .97; }
.phone-c { right: 2%; top: 70px; transform: rotate(7deg) scale(.86); opacity: .97; }
.float { position: absolute; z-index: 3; background: rgba(255, 255, 255, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, .9); border-radius: 18px; padding: 10px 14px; box-shadow: var(--shadow); font-size: 14px; font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.float-1 { left: 0; bottom: 120px; }
.float-2 { right: 0; top: 30px; }
.float .ic { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); font-size: 15px; }

@media (max-width: 920px) {
  .hero { padding-top: 32px; }
  .hero-grid { grid-template-columns: 1fr; }
  .phones { height: 520px; max-width: 440px; width: 100%; margin: 8px auto 0; }
  .phone { width: 230px; }
}
@media (max-width: 480px) {
  .phones { height: 440px; }
  .phone { width: 200px; border-radius: 34px; padding: 7px; }
  .phone img { border-radius: 28px; }
  .phone-b { left: -6%; } .phone-c { right: -6%; }
  .float-1 { left: 0; bottom: 70px; } .float-2 { right: 0; top: 10px; }
}

/* Trust strip */
.trust { padding: 8px 0 24px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust-item { background: rgba(255, 255, 255, .75); border: 1px solid var(--line); border-radius: 20px; padding: 18px 20px; display: flex; gap: 14px; align-items: center; }
.trust-item .ic { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--sky); color: var(--ink); }
.trust-item .ic svg { width: 22px; height: 22px; }
.trust-item:nth-child(2) .ic { background: var(--peach); }
.trust-item:nth-child(3) .ic { background: var(--lime); }
.trust-item:nth-child(4) .ic { background: #FCE1E7; }
.trust-item strong { display: block; color: var(--ink); font-size: 15px; line-height: 1.3; }
.trust-item span { font-size: 13.5px; color: var(--muted); line-height: 1.4; display: block; }
@media (max-width: 920px) { .trust-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .trust-grid { grid-template-columns: 1fr; } }

/* Sections */
.section { padding: 88px 0; }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 12px; display: block; }
.section-head p { color: var(--muted); font-size: 19px; }
.tint { background: linear-gradient(180deg, var(--cream), var(--peach) 40%, var(--cream)); }

.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feature { background: var(--card); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; overflow: hidden; }
.feature .emoji { font-size: 32px; line-height: 1; margin-bottom: 16px; display: block; }
.feature p { color: var(--muted); margin: 0; }
.feature-shot { width: 150px; border-radius: 22px; margin-bottom: -60px; box-shadow: 0 20px 40px -18px rgba(26, 20, 102, .35); }
@media (max-width: 920px) { .features { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .feature { grid-template-columns: 1fr; padding: 26px; } .feature-shot { display: none; } }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; background: rgba(255, 255, 255, .85); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; font: 700 17px var(--display); margin-bottom: 18px; }
.step p { color: var(--muted); margin: 0; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* Safety */
.safety-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.promise { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.promise li { background: var(--card); border-radius: 20px; padding: 18px 20px; box-shadow: var(--shadow); display: grid; grid-template-columns: 40px 1fr; gap: 14px; }
.promise .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--sky); display: grid; place-items: center; font-size: 19px; }
.promise strong { color: var(--ink); display: block; }
.promise span { color: var(--muted); font-size: 15px; }
.safety-points { display: grid; gap: 22px; margin-top: 28px; }
.safety-points > div { display: grid; grid-template-columns: 26px 1fr; gap: 12px; }
.safety-points svg { width: 24px; height: 24px; color: var(--ok); margin-top: 2px; }
.safety-points strong { color: var(--ink); }
.safety-points p { margin: 2px 0 0; color: var(--muted); font-size: 16px; }
@media (max-width: 920px) { .safety-grid { grid-template-columns: 1fr; gap: 36px; } }

/* Screens strip */
.screens { display: flex; gap: 20px; justify-content: center; }
.screens figure { margin: 0; flex: 0 1 220px; }
.screens img { border-radius: 28px; box-shadow: 0 24px 48px -20px rgba(26, 20, 102, .35); border: 6px solid #fff; }
.screens figcaption { text-align: center; font-size: 14px; font-weight: 600; color: var(--ink); margin-top: 14px; }
@media (max-width: 820px) {
  .screens { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 20px; margin: 0 -16px; }
  .screens figure { flex: 0 0 62%; scroll-snap-align: center; }
}

/* FAQ */
.faq { max-width: 800px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: var(--card); border-radius: 20px; box-shadow: var(--shadow); padding: 0 24px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; font-weight: 600; color: var(--ink); position: relative; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font: 400 26px/1 var(--body); color: var(--ink-soft); }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--muted); padding-bottom: 6px; }

/* Final call to action */
.cta { padding: 40px 0 96px; }
.cta-card { position: relative; overflow: hidden; border-radius: 36px; padding: 64px 48px; text-align: center; background: linear-gradient(135deg, var(--sky) 0%, #EEF0FA 45%, var(--peach) 100%); }
.cta-card h2 { max-width: 640px; margin-inline: auto; }
.cta-card p { color: var(--muted); font-size: 19px; max-width: 560px; margin: 0 auto 28px; }
.cta-card .stores { justify-content: center; }
.cta-mark { position: absolute; width: 180px; right: -30px; bottom: -40px; opacity: .1; transform: rotate(-12deg); }
@media (max-width: 520px) { .cta-card { padding: 44px 22px; border-radius: 28px; } }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 40px 0 48px; background: var(--cream); }
.foot-inner { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: flex-start; justify-content: space-between; }
.foot-brand img { width: 100px; margin-bottom: 10px; }
.foot-brand p { color: var(--muted); font-size: 14px; margin: 0; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.foot-links a { color: var(--text); text-decoration: none; font-size: 15px; font-weight: 500; }
.foot-links a:hover { color: var(--ink); text-decoration: underline; }
.foot-copy { width: 100%; color: var(--muted); font-size: 13px; margin: 0; }

/* Legal and plain text pages */
.doc { padding: 48px 0 88px; }
.doc-card { max-width: 820px; margin-inline: auto; background: var(--card); border-radius: 32px; box-shadow: var(--shadow); padding: 56px 64px; }
.doc h1 { font-size: clamp(32px, 4.6vw, 48px); }
.doc h2 { font-size: 24px; margin-top: 2em; }
.doc h3 { font-size: 18px; margin-top: 1.6em; }
.doc p, .doc li { color: #3A3752; font-size: 16px; }
.doc ul { padding-left: 1.2em; }
.doc li { margin-bottom: .4em; }
.doc .meta { color: var(--muted); font-size: 14px; }
.doc .note { background: var(--sky); border-radius: 16px; padding: 16px 20px; font-size: 15px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 1em 0 1.5em; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.doc th { color: var(--ink); font-weight: 600; }
.doc .table-scroll { overflow-x: auto; }
@media (max-width: 640px) { .doc { padding-top: 20px; } .doc-card { padding: 32px 22px; border-radius: 24px; } }

/* Invite landing */
.invite { padding: 48px 0 96px; }
.invite-card { max-width: 560px; margin-inline: auto; text-align: center; background: rgba(255, 255, 255, .82); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid rgba(255, 255, 255, .9); border-radius: 36px; box-shadow: var(--shadow); padding: 48px 40px; }
.invite-mark { width: 84px; height: 84px; margin: 0 auto 20px; border-radius: 24px; }
.invite-card h1 { font-size: clamp(32px, 5vw, 44px); }
.invite-card .lead { margin-inline: auto; }
.code-box { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 8px auto 12px; padding: 14px 16px 14px 24px; border: 2px dashed var(--sky-deep); background: #F7F9FE; border-radius: 20px; width: fit-content; max-width: 100%; }
.code-box code { font: 800 clamp(24px, 6vw, 32px)/1 var(--display); letter-spacing: .12em; color: var(--ink); word-break: break-all; }
.copy { min-height: 40px; padding: 0 16px; font-size: 14px; }
.copied { min-height: 22px; font-size: 14px; color: var(--ok); font-weight: 600; margin-bottom: 18px; }
.invite-steps { text-align: left; margin: 28px 0; padding: 0; list-style: none; display: grid; gap: 10px; counter-reset: s; }
.invite-steps li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; color: var(--text); }
.invite-steps li::before { counter-increment: s; content: counter(s); width: 28px; height: 28px; border-radius: 50%; background: var(--peach); color: var(--ink); font: 700 14px/28px var(--display); text-align: center; }
.invite-card .stores { justify-content: center; }
.invite-open { margin-top: 18px; }
.invite-small { margin-top: 22px; font-size: 14px; color: var(--muted); }
@media (max-width: 520px) { .invite { padding-top: 24px; } .invite-card { padding: 36px 20px; border-radius: 28px; } }

.notfound { padding: 96px 0 120px; text-align: center; }
.notfound p { color: var(--muted); font-size: 19px; }
@media (max-width: 640px) { .section { padding: 64px 0; } .section-head { margin-bottom: 32px; } }
