/* Waddle site styles
   Layout idea: calm cream canvas, deep-navy sections for contrast,
   the app itself up front, hand-drawn brand colours used as small sparks.
   Brand colours live here: change one value and it updates everywhere. */
:root {
  --cream: #f8f2ec;
  --paper: #fffdfa;
  --navy: #14213d;
  --navy-2: #1b2b4f;
  --blue: #2853a6;
  --orange: #d45815;
  --orange-dark: #b84a10;
  --pink: #fb8fb0;
  --pink-soft: #fde4ec;
  --yellow: #fbc704;
  --green: #1e9a64;
  --peach: #f7ab5c;
  --ink: #14213d;
  --ink-soft: #4a5470;
  --muted: #646d84;
  --line: rgba(20, 33, 61, 0.1);
  --radius: 28px;
  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--blue); }
a:hover { color: var(--navy); }
h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1180px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.section { padding-block: 112px; }
.center { text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; font-weight: 600; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.h2 { font-weight: 700; font-size: clamp(34px, 4.6vw, 52px); line-height: 1.04; letter-spacing: -0.035em; margin-bottom: 18px; }
.lead { font-size: 19px; color: var(--ink-soft); max-width: 580px; margin: 0; }
.center .lead { margin: 0 auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--paper); padding: 8px 12px; z-index: 50; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 999px; font-family: var(--body); font-weight: 600; font-size: 17px; text-decoration: none; border: 0; cursor: pointer; transition: transform 0.15s ease, background 0.15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-dark); color: #fff; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--pink-soft); color: var(--navy); }

/* Store buttons */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 22px 8px 16px; border-radius: 16px; background: var(--navy); color: #fff; text-decoration: none; transition: transform 0.15s ease, background 0.15s ease; }
.store:hover { background: var(--navy-2); color: #fff; transform: translateY(-1px); }
.store svg { flex: none; }
.store span { display: flex; flex-direction: column; line-height: 1.15; }
.store small { font-size: 11px; opacity: 0.75; }
.store strong { font-size: 18px; font-weight: 600; }
.on-dark .store { background: #fff; color: var(--navy); }
.on-dark .store:hover { background: var(--pink-soft); color: var(--navy); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(248, 242, 236, 0.85); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 12px; }
.logo { display: flex; align-items: center; text-decoration: none; }
.wordmark { width: auto; height: 42px; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 26px; font-weight: 500; font-size: 15px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; }
.nav a:not(.btn):hover { color: var(--orange); }
.nav .btn { font-size: 15px; min-height: 44px; padding: 10px 20px; }

/* Hero */
.hero { background: var(--cream); overflow: hidden; }
.hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 56px; padding-block: 80px 96px; }
.hero-text { flex: 1 1 480px; min-width: 0; }
.status-pill { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 24px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--ink-soft); }
.status-pill b { background: var(--pink-soft); color: #9c2c55; font-weight: 600; padding: 2px 10px; border-radius: 999px; font-size: 13px; }
.hero h1 { font-weight: 800; font-size: clamp(48px, 7.2vw, 86px); line-height: 0.96; letter-spacing: -0.045em; margin-bottom: 24px; }
.h1-logo { display: inline-block; height: 1.08em; width: auto; vertical-align: -0.2em; margin: 0 0.04em; }
.hero-sub { font-size: 20px; line-height: 1.55; color: var(--ink-soft); max-width: 500px; margin: 0 0 32px; }
.hero-note { font-size: 14px; color: var(--muted); margin: 16px 0 0; }

.hero-visual { flex: 1 1 400px; min-width: 0; display: flex; justify-content: center; position: relative; padding-block: 24px; }
.glow { position: absolute; width: 460px; max-width: 110%; aspect-ratio: 1; border-radius: 50%; top: 20px; background: radial-gradient(circle at 40% 40%, rgba(251, 143, 176, 0.5), rgba(247, 171, 92, 0.22) 55%, transparent 72%); }
.phone { position: relative; width: 290px; max-width: 100%; background: var(--navy); padding: 9px; border-radius: 46px; box-shadow: 0 40px 80px -20px rgba(20, 33, 61, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.phone img { width: 100%; height: auto; border-radius: 37px; }
.phone-front { margin-left: 120px; z-index: 2; }
.phone-back { position: absolute; left: calc(50% - 240px); top: 84px; width: 240px; transform: rotate(-8deg); z-index: 1; }

.float-card { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 18px; background: rgba(255, 253, 250, 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.7); box-shadow: 0 18px 40px -12px rgba(20, 33, 61, 0.28); font-size: 14px; line-height: 1.3; max-width: 230px; }
.float-card .ic { flex: none; width: 36px; height: 36px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.float-card b { display: block; font-weight: 600; color: var(--ink); }
.float-card small { color: var(--muted); font-size: 13px; }
.fc-tip { top: 36px; right: max(0px, calc(50% - 250px)); }
.fc-saved { bottom: 52px; left: max(0px, calc(50% - 265px)); }
@media (prefers-reduced-motion: no-preference) {
  .float-card { animation: bob 6s ease-in-out infinite; }
  .fc-saved { animation-delay: -3s; }
  @keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
}
@media (max-width: 560px) {
  .phone-back { display: none; }
  .phone-front { margin-left: 0; }
  .fc-tip { right: 0; top: 0; }
  .fc-saved { left: 0; bottom: 8px; }
}

/* Proof row */
.proof { border-block: 1px solid var(--line); background: var(--paper); }
.proof .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 44px; padding-block: 22px; }
.proof p { margin: 0; display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 15px; color: var(--ink-soft); }
.proof svg { flex: none; }

/* Features: bento grid */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin-top: 56px; }
.tile { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 10px; min-width: 0; overflow: hidden; }
.tile h3 { font-weight: 700; font-size: 24px; letter-spacing: -0.02em; line-height: 1.15; }
.tile p { margin: 0; color: var(--ink-soft); }
.tile .ic { width: 44px; height: 44px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 8px; background: var(--cream); }
.t-wide { grid-column: span 4; }
.t-side { grid-column: span 2; }
.t-third { grid-column: span 2; }
.tile.dark { background: var(--navy); border-color: var(--navy); color: #fff; }
.tile.dark p { color: rgba(255, 255, 255, 0.78); }
.tile.dark h3 { font-size: clamp(26px, 3vw, 34px); }
.tile.pink { background: var(--pink-soft); border-color: transparent; }
.cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 24px; }
.cats span { padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.16); font-size: 14px; font-weight: 500; }
.cats span.on { background: var(--yellow); border-color: var(--yellow); color: var(--navy); }
.tip { margin-top: auto; padding: 16px 18px; border-radius: 18px; background: var(--paper); font-size: 15px; color: var(--ink); }
.tip small { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; }
@media (max-width: 900px) { .t-wide, .t-side { grid-column: span 6; } .t-third { grid-column: span 3; } }
@media (max-width: 600px) { .t-third { grid-column: span 6; } .tile { padding: 26px; } }

/* About */
.about { background: #f9f2ec url("assets/stars.webp") center / cover; }
.about .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 72px; }
.about-visual { flex: 1 1 460px; min-width: 0; }
.about-visual img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: 0 30px 60px -24px rgba(20, 33, 61, 0.35); }
.about-text { flex: 1 1 400px; min-width: 0; }
.about-text p { font-size: 18px; color: var(--ink-soft); margin: 0 0 16px; max-width: 520px; }

/* Organisers */
.organisers-panel { position: relative; overflow: hidden; background: var(--navy); color: #fff; border-radius: 36px; padding: clamp(36px, 6vw, 72px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px 48px; }
.organisers-panel::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%); mask-image: linear-gradient(90deg, transparent, #000 70%); pointer-events: none; }
.organisers-panel > * { position: relative; }
.organisers-panel > div { flex: 1 1 520px; min-width: 0; }
.organisers-panel .eyebrow { color: rgba(255, 255, 255, 0.7); }
.organisers-panel .eyebrow::before { background: var(--yellow); }
.organisers-panel h2 { font-weight: 700; font-size: clamp(32px, 4.4vw, 48px); line-height: 1.05; letter-spacing: -0.035em; margin-bottom: 16px; }
.organisers-panel p { margin: 0; font-size: 18px; color: rgba(255, 255, 255, 0.8); max-width: 560px; }

/* FAQ */
.faq-grid { display: flex; flex-wrap: wrap; gap: 32px 72px; align-items: flex-start; }
.faq-intro { flex: 1 1 300px; min-width: 0; position: sticky; top: 100px; }
.faq-intro p { color: var(--ink-soft); margin: 0; }
.faq-list { flex: 2 1 520px; min-width: 0; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); padding-block: 22px; }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--display); font-weight: 600; font-size: 20px; letter-spacing: -0.01em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M7 1v12M1 7h12' stroke='%23d45815' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center no-repeat; border: 1px solid var(--line); transition: transform 0.2s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { margin: 12px 0 0; color: var(--ink-soft); max-width: 640px; }
@media (max-width: 800px) { .faq-intro { position: static; } }

/* Download */
.download { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.download::before, .download::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.download::before { width: 560px; height: 560px; left: -180px; top: -240px; background: radial-gradient(circle, rgba(251, 143, 176, 0.32), transparent 65%); }
.download::after { width: 600px; height: 600px; right: -200px; bottom: -280px; background: radial-gradient(circle, rgba(247, 171, 92, 0.28), transparent 65%); }
.download .wrap { position: relative; padding-block: 112px; text-align: center; }
.download h2 { font-weight: 800; font-size: clamp(40px, 6.4vw, 76px); line-height: 0.98; letter-spacing: -0.045em; margin: 0 auto 18px; max-width: 820px; }
.download p { font-size: 19px; margin: 0 0 36px; color: rgba(255, 255, 255, 0.78); }
.download .stores { justify-content: center; }

/* Footer */
.site-footer { background: #0f1930; color: #fff; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-block: 56px 40px; }
.footer-top > * { flex: 1 1 220px; min-width: 0; }
.footer-brand p { margin: 0 0 8px; color: rgba(255, 255, 255, 0.72); }
.footer-brand .footer-name { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -0.03em; color: #fff; margin-bottom: 6px; }
.footer-brand a { color: var(--yellow); font-weight: 500; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.socials { display: flex; gap: 10px; align-items: flex-start; }
.socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.18); display: flex; align-items: center; justify-content: center; transition: background 0.15s ease; }
.socials a:hover { background: rgba(255, 255, 255, 0.12); }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-block: 20px 32px; font-size: 13px; color: rgba(255, 255, 255, 0.6); }

/* Inner pages (contact, organisers, legal) */
.page { max-width: 760px; margin: 0 auto; padding: 72px max(20px, env(safe-area-inset-right, 0px)) 112px max(20px, env(safe-area-inset-left, 0px)); }
.page h1 { font-weight: 800; font-size: clamp(38px, 6vw, 60px); line-height: 1; letter-spacing: -0.04em; margin-bottom: 16px; }
.page h2 { font-size: 24px; letter-spacing: -0.02em; margin: 40px 0 10px; }
.page p, .page li { color: var(--ink-soft); }
.form { display: flex; flex-direction: column; gap: 18px; margin-top: 36px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 5vw, 40px); }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 15px; }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; padding: 12px 14px; border: 1px solid rgba(20, 33, 61, 0.2); border-radius: 14px; background: #fff; color: var(--ink); min-height: 50px; }
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid rgba(40, 83, 166, 0.25); border-color: var(--blue); }
.form .btn { align-self: flex-start; }
.form small { color: var(--muted); font-weight: 400; }
.placeholder-note { background: #fff4c2; border: 1px dashed #c9a400; border-radius: 12px; padding: 14px 16px; font-size: 15px; }

/* Legal pages */
.legal h2 { font-size: 26px; margin: 48px 0 12px; }
.legal h3 { font-size: 20px; letter-spacing: -0.01em; margin: 32px 0 8px; }
.legal h4 { font-size: 17px; margin: 22px 0 6px; font-family: var(--body); }
.legal ul { padding-left: 22px; margin: 8px 0 16px; color: var(--ink-soft); }
.legal li { margin-bottom: 6px; }
.legal-date { font-size: 15px; color: var(--muted); margin: 0 0 8px; }

/* Founders */
.founders { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.founders span { flex: 1 1 200px; padding: 14px 18px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); font-size: 14px; color: var(--muted); line-height: 1.4; }
.founders b { display: block; font-family: var(--display); font-size: 18px; color: var(--ink); letter-spacing: -0.01em; }
.faq-art { width: 100%; height: auto; margin-top: 28px; border-radius: var(--radius); }
@media (max-width: 800px) { .faq-art { display: none; } }
.legal-lead { font-size: 18px; color: var(--ink) !important; margin: 16px 0 8px; }
.legal p strong, .legal li strong { color: var(--ink); }
.table-scroll { overflow-x: auto; margin: 16px 0 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.legal table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.legal th { font-weight: 600; color: var(--ink); background: var(--cream); }
.legal tr:last-child td { border-bottom: 0; }
/* Facts still to confirm: highlighted so they can't go live unnoticed. Delete the highlight once filled in. */
.confirm { background: #fff1a8; outline: 1px dashed #c9a400; border-radius: 4px; padding: 0 4px; color: #5c4a00 !important; }

/* ---------- Phone layout (added 9 Nov) ---------- */
/* Menu button: hidden on bigger screens */
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--navy); background: var(--paper); border: 1px solid var(--line); }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { background: var(--pink-soft); }
.menu-panel { position: absolute; right: 0; top: calc(100% + 10px); min-width: 200px; display: flex; flex-direction: column; padding: 8px; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 18px 40px -12px rgba(20, 33, 61, 0.28); z-index: 30; }
.menu-panel a { padding: 12px 16px; border-radius: 12px; color: var(--ink); text-decoration: none; font-weight: 500; }
.menu-panel a:hover { background: var(--cream); color: var(--orange); }

@media (max-width: 760px) {
  /* Header: one slim row with logo, "Get the app" and the menu button */
  .site-header .wrap { flex-wrap: nowrap; gap: 10px; padding-block: 10px; }
  .logo { margin-right: auto; }
  .wordmark { height: 34px; }
  .nav a:not(.btn) { display: none; }
  .nav .btn { min-height: 44px; padding: 8px 16px; font-size: 15px; }
  .menu { display: block; }
  .section { padding-block: 72px; }
  .hero .wrap { padding-block: 40px 56px; }
}

@media (max-width: 560px) {
  /* Store buttons: stacked, same width */
  .stores { flex-direction: column; align-items: stretch; max-width: 260px; }
  .download .stores { margin: 0 auto; }
  /* App screenshot: show it clearly, with one small card below it */
  .hero-visual { padding-bottom: 40px; }
  .fc-tip { display: none; }
  .fc-saved { left: 50%; bottom: 0; transform: translateX(-50%); animation: none; max-width: none; white-space: nowrap; padding: 10px 14px 10px 10px; font-size: 13px; }
  .fc-saved .ic { width: 30px; height: 30px; }
  .phone { width: 250px; }
}
