/* Oddijo blackboard theme — shared by every page.
   Chalk colours are taken from the brand kit: marigold ring, teal dot, violet. */

:root {
  --wall: #141110;
  --wood: #8a5a33;
  --wood-dark: #6e4526;
  --wood-light: #a8774a;
  --board: #1d1f21;
  --board-deep: #131415;
  --chalk: #f2efe6;
  --chalk-dim: #c8c9cc;
  --chalk-faint: rgba(242, 239, 230, 0.26);
  --amber: #ffcb3d;   /* brand marigold, as chalk */
  --teal: #6eefc6;    /* brand teal, as chalk */
  --lilac: #bfa8ff;   /* brand violet, as chalk */
  --pink: #f5a3b8;
  --blue: #9fd3e8;
  --ink: #1b1f1c;
  --paper: #fbf8f0;
  --paper-line: #e4ddcc;
  --brand-purple: #5b33f0;
  --hand: 'Kalam', 'Comic Neue', cursive;
  --body: 'Manrope', system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --wobble-a: 22px 16px 24px 14px;
  --wobble-b: 16px 24px 14px 22px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--wall);
  color: var(--chalk);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--amber); }
a:hover { color: var(--chalk); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--amber); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* ---------- The board ---------- */
.page { padding: 12px; min-height: 100vh; display: flex; flex-direction: column; }
.board {
  position: relative;
  flex: 1;
  border: 14px solid var(--wood);
  border-radius: 10px;
  box-shadow: inset 0 0 0 3px var(--wood-dark), 0 10px 30px rgba(0, 0, 0, 0.5);
  background:
    radial-gradient(ellipse 60% 30% at 22% 10%, rgba(255, 255, 255, 0.075), transparent 70%),
    radial-gradient(ellipse 45% 35% at 82% 48%, rgba(255, 255, 255, 0.055), transparent 70%),
    radial-gradient(ellipse 70% 25% at 45% 96%, rgba(255, 255, 255, 0.05), transparent 70%),
    var(--board);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
/* faint chalk dust */
.board::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.board > * { position: relative; }
main { flex: 1; }
.wrap { max-width: 1180px; margin: 0 auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 860px; }

/* ---------- Header ---------- */
.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px var(--gutter);
  border-bottom: 2px dashed var(--chalk-faint);
}
.logo { display: inline-flex; align-items: center; line-height: 0; border-radius: 10px; }
.logo img { height: 46px; width: auto; margin-block: -4px; }
.nav { display: flex; align-items: center; gap: 4px 26px; font-family: var(--hand); font-size: 21px; }
.nav a { color: var(--chalk); text-decoration: none; padding: 8px 0; position: relative; }
.nav a:hover { color: var(--amber); }
.nav a[aria-current="page"] { color: var(--amber); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: -2px; right: -2px; bottom: 4px; height: 3px; border-radius: 3px;
  background: var(--amber); transform: rotate(-1.5deg);
}
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; }
.mobile-menu { display: none; }

@media (max-width: 900px) {
  .site-header .nav, .header-actions .btn--ghost { display: none; }
  .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border-radius: var(--wobble-b);
    border: 2.5px solid var(--chalk); background: transparent; color: var(--chalk); cursor: pointer;
  }
  .mobile-menu[data-open="true"] { display: block; padding: 8px var(--gutter) 20px; border-bottom: 2px dashed var(--chalk-faint); }
  .mobile-menu .nav { display: flex; flex-direction: column; align-items: flex-start; font-size: 26px; gap: 0; }
  .mobile-menu .btn { margin-top: 12px; }
}
@media (max-width: 420px) {
  .logo img { height: 38px; }
  .header-actions .btn--solid span.long { display: none; }
}

/* ---------- Type ---------- */
.hand { font-family: var(--hand); }
h1, h2, h3 { font-family: var(--hand); font-weight: 700; line-height: 1.1; margin: 0; color: var(--chalk); }
h1 { font-size: clamp(40px, 6vw, 76px); }
h2 { font-size: clamp(30px, 3.6vw, 46px); }
h3 { font-size: clamp(22px, 2.2vw, 27px); line-height: 1.2; }
p { margin: 0; }
.lead { font-size: clamp(16px, 1.5vw, 19px); color: var(--chalk-dim); font-weight: 500; max-width: 560px; }
.muted { color: var(--chalk-dim); }
.kicker {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 16px;
  border: 2px dashed var(--pink); border-radius: 30px 22px 28px 20px;
  font-family: var(--hand); font-size: 19px; color: var(--pink);
}
.tagline { font-family: var(--hand); font-size: clamp(20px, 2vw, 26px); color: var(--teal); letter-spacing: 1px; }
.squiggle { display: block; width: min(420px, 80%); height: 22px; margin-top: 4px; color: var(--amber); }
.c-amber { color: var(--amber); } .c-teal { color: var(--teal); } .c-pink { color: var(--pink); }
.c-blue { color: var(--blue); } .c-lilac { color: var(--lilac); } .c-chalk { color: var(--chalk); }
.circled { border: 2px solid currentColor; border-radius: 50%; padding: 0 12px; display: inline-block; transform: rotate(-3deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 0 22px;
  font-family: var(--body); font-weight: 700; font-size: 15px; text-decoration: none;
  border-radius: var(--wobble-a); cursor: pointer; transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px) rotate(-0.5deg); }
.btn:active { transform: translateY(1px); }
.btn--solid { background: var(--chalk); color: var(--ink); border: 2.5px solid var(--chalk); }
.btn--solid:hover { color: var(--ink); background: #fff; }
.btn--ghost { background: transparent; color: var(--chalk); border: 2.5px dashed var(--chalk); border-radius: var(--wobble-b); }
.btn--ghost:hover { color: var(--amber); border-color: var(--amber); }
.btn--amber { background: var(--amber); color: var(--ink); border: none; box-shadow: 0 4px 0 rgba(0, 0, 0, 0.28); }
.btn--amber:hover { color: var(--ink); background: #ffd76a; }
.btn--big { min-height: 58px; padding: 0 28px; font-family: var(--hand); font-size: 23px; }
.btn svg { flex-shrink: 0; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; }
.cta-row--center { justify-content: center; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(36px, 5vw, 72px); }
.section + .section { border-top: 2px dashed var(--chalk-faint); }
.section-head { margin-bottom: clamp(22px, 3vw, 36px); }
.section-head p { margin-top: 10px; }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 32px 56px; align-items: center; }
.hero h1 { margin-top: 18px; }
.hero .lead { margin-top: 18px; }
.hero .cta-row { margin-top: 30px; }
.hero-art { max-width: 380px; width: 100%; justify-self: center; }
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art { max-width: 260px; order: -1; }
}

/* tick list */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 26px 44px; }
.ticks li { display: flex; gap: 16px; align-items: flex-start; }
.tickbox {
  flex-shrink: 0; width: 42px; height: 42px; display: flex; align-items: center; justify-content: center;
  border: 2.5px solid rgba(242, 239, 230, 0.85); border-radius: 8px 5px 9px 4px;
}
.ticks li:nth-child(2n) .tickbox { border-radius: 5px 9px 4px 8px; }
.ticks li:nth-child(3n) .tickbox { border-radius: 9px 4px 8px 5px; }
.ticks h3 + p { margin-top: 4px; color: var(--chalk-dim); }

/* who it's for (audience cards) */
.trio { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 22px; }
.chalk-card {
  border: 2.5px solid var(--chalk-faint); border-radius: var(--wobble-a);
  padding: 22px 22px 24px; background: rgba(0, 0, 0, 0.08);
}
.chalk-card:nth-child(2n) { border-radius: var(--wobble-b); }
.chalk-card h3 { margin-bottom: 8px; }
.chalk-card p { color: var(--chalk-dim); }
.chalk-card .btn { margin-top: 16px; }
.chalk-card--dashed { border-style: dashed; }

/* numbered steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(40px, 6vw, 72px); }
.step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: 28px 56px; align-items: center; }
.step:nth-child(2n) { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); }
.step:nth-child(2n) .step-text { order: 2; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 58px;
  border: 3px solid var(--amber); border-radius: 50% 46% 52% 48%; font-family: var(--hand); font-weight: 700;
  font-size: 30px; color: var(--amber); margin-bottom: 14px; transform: rotate(-6deg);
}
.step h3 { font-size: clamp(28px, 3vw, 36px); }
.step ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.step li { padding-left: 30px; position: relative; color: var(--chalk-dim); }
.step li::before {
  content: ""; position: absolute; left: 2px; top: 9px; width: 16px; height: 8px;
  border-left: 3px solid var(--teal); border-bottom: 3px solid var(--teal); transform: rotate(-45deg); border-radius: 1px;
}
@media (max-width: 760px) {
  .step, .step:nth-child(2n) { grid-template-columns: 1fr; }
  .step:nth-child(2n) .step-text { order: 0; }
}

/* chalk-drawn phone */
.phone {
  width: 270px; max-width: 100%; height: 540px; margin-inline: auto;
  display: flex; flex-direction: column; overflow: hidden;
  border: 3px solid var(--chalk); border-radius: 34px 30px 36px 32px; padding: 18px 14px 16px;
  background: rgba(0, 0, 0, 0.12);
}
.phone::after { content: ""; display: block; flex-shrink: 0; width: 90px; height: 4px; border-radius: 4px; background: var(--chalk-faint); margin: auto auto 0; }
.phone::before { content: ""; display: block; width: 60px; height: 5px; border-radius: 4px; background: var(--chalk-faint); margin: 0 auto 14px; }
.phone-title { font-family: var(--hand); font-size: 15px; letter-spacing: 1px; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
.screen-row {
  border: 2px solid var(--chalk-faint); border-radius: 12px 9px 13px 8px; padding: 10px 12px; margin-top: 8px;
  font-size: 14px; line-height: 1.4; color: var(--chalk);
}
.screen-row small { display: block; color: var(--chalk-dim); font-size: 12px; }
.screen-row--accent { border-color: var(--amber); color: var(--amber); font-weight: 700; text-align: center; }
.screen-row--teal { border-color: var(--teal); }
.screen-big { font-family: var(--hand); font-size: 30px; color: var(--amber); line-height: 1.1; }
.bar { height: 8px; border-radius: 4px; background: var(--chalk-faint); margin-top: 6px; overflow: hidden; }
.bar > span { display: block; height: 100%; background: var(--teal); border-radius: 4px; }

/* photo pinned to the board */
.pinned { position: relative; background: #fff; padding: 10px 10px 34px; transform: rotate(2deg); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4); max-width: 340px; margin-inline: auto; }
.pinned::before { content: ""; position: absolute; top: -10px; left: 50%; margin-left: -9px; width: 18px; height: 18px; border-radius: 50%; background: #e0245e; box-shadow: 0 2px 3px rgba(0, 0, 0, 0.4); }
.pinned figcaption { position: absolute; left: 0; right: 0; bottom: 6px; text-align: center; font-family: var(--hand); color: var(--ink); font-size: 17px; }
.split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 32px 56px; align-items: center; }
.split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 860px) { .split, .split--even { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .page { padding: 6px; }
  .board { border-width: 9px; }
  .hero-art { max-width: 210px; }
}

/* worked sum (pricing) */
.sum { font-family: var(--hand); font-size: clamp(21px, 2.2vw, 28px); line-height: 1.5; }
.sum-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 4px 0; }
.sum-row > span:last-child { white-space: nowrap; }
.sum-row .op { color: var(--chalk-dim); }
.sum-line { border: 0; height: 3px; background: var(--chalk); border-radius: 2px; margin: 8px 0; transform: rotate(-0.4deg); }
.sum-total { color: var(--amber); font-weight: 700; }
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 18px; }
.tier { border: 2.5px dashed var(--chalk-faint); border-radius: var(--wobble-a); padding: 18px; }
.tier .hand { font-size: 32px; line-height: 1.1; display: block; }
.tier p { color: var(--chalk-dim); margin-top: 6px; }

/* FAQ */
.tabs { display: inline-flex; gap: 8px; padding: 6px; border: 2px dashed var(--chalk-faint); border-radius: var(--wobble-a); flex-wrap: wrap; }
.tab {
  min-height: 46px; padding: 0 20px; border-radius: var(--wobble-b); border: 2.5px solid transparent;
  background: transparent; color: var(--chalk); font-family: var(--hand); font-size: 21px; font-weight: 700; cursor: pointer;
}
.tab[aria-selected="true"] { background: var(--chalk); color: var(--ink); }
.faq-group { margin-top: 34px; }
.faq-group > h2 { font-size: clamp(26px, 2.6vw, 32px); color: var(--blue); margin-bottom: 8px; font-weight: 400; }
.faq-item { border-bottom: 2px dashed var(--chalk-faint); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 0; font-family: var(--hand); font-size: clamp(20px, 2vw, 24px); font-weight: 700; color: var(--chalk);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 32px; line-height: 1; color: var(--amber); flex-shrink: 0; transition: transform 0.2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .answer { padding: 0 0 20px; color: var(--chalk-dim); max-width: 760px; }
.faq-item .answer strong { color: var(--chalk); }
[hidden] { display: none !important; }

/* paper (forms) */
.paper {
  background: var(--paper); color: var(--ink); border-radius: 6px;
  padding: clamp(22px, 3vw, 34px); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
  background-image: repeating-linear-gradient(transparent 0 31px, var(--paper-line) 31px 32px);
  background-position: 0 14px;
  position: relative;
}
.paper::before { content: ""; position: absolute; top: -10px; left: 28px; width: 70px; height: 20px; background: rgba(240, 230, 190, 0.85); transform: rotate(-4deg); border-radius: 2px; }
.paper h2, .paper h3 { color: var(--ink); }
.paper p { color: #4a4f4b; }
.field { display: block; margin-top: 16px; }
.field > span { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; color: var(--ink); }
.field .req { color: #b01848; }
.field .opt { font-weight: 500; color: #5f655f; }
.input {
  width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; font-size: 16px; color: var(--ink);
  background: #fff; border: 2px solid #c9c2b0; border-radius: 10px;
}
textarea.input { min-height: 120px; resize: vertical; }
.input:focus { outline: none; border-color: var(--brand-purple); box-shadow: 0 0 0 3px rgba(91, 51, 240, 0.2); }
.paper .btn--ink { background: var(--ink); color: #fff; border: none; width: 100%; margin-top: 20px; }
.paper .btn--ink:hover { background: #000; color: #fff; }
.form-note { font-size: 13px; color: #5f655f; margin-top: 12px; }

/* phone type toggle (Android / iPhone) */
.phone-toggle { border: 0; padding: 0; min-width: 0; }
.phone-toggle legend { padding: 0; font-weight: 700; font-size: 14px; margin-bottom: 6px; color: var(--ink); }
.seg { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; gap: 4px; background: #fff; border: 2px solid #c9c2b0; border-radius: 12px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: flex; align-items: center; justify-content: center; min-height: 40px; border-radius: 8px; font-weight: 700; color: #4a4f4b; transition: background .15s, color .15s; }
.seg input:checked + span { background: var(--ink); color: #fff; }
.seg input:focus-visible + span { box-shadow: 0 0 0 3px rgba(91, 51, 240, 0.35); }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 32px 48px; align-items: start; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

/* invite strip */
.invite-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; border: 2.5px dashed var(--teal); border-radius: var(--wobble-a); padding: 22px 26px; }
.invite-strip h3 { color: var(--teal); }

/* ---------- Chalk tray + footer ---------- */
.tray {
  display: flex; align-items: flex-start; gap: 18px; height: 26px; margin-top: auto;
  padding: 0 clamp(24px, 8vw, 120px); background: var(--wood-dark); border-top: 4px solid var(--wood-light);
}
.tray i { display: block; margin-top: -9px; height: 11px; border-radius: 6px; }
.tray i:nth-child(1) { width: 54px; background: var(--chalk); }
.tray i:nth-child(2) { width: 40px; background: var(--amber); }
.tray i:nth-child(3) { width: 46px; background: var(--pink); }
.tray i:nth-child(4) { width: 34px; background: var(--teal); }
.tray b { margin-left: auto; margin-top: -18px; width: 86px; height: 20px; border-radius: 4px; background: #3a3a3a; border-top: 6px solid #b88a5a; }
.site-footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 24px;
  padding: 18px clamp(8px, 3vw, 44px) 8px; font-size: 14px; color: #b9c2bb;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0 18px; }
.site-footer a { color: #b9c2bb; text-decoration: none; padding: 8px 0; display: inline-block; }
.site-footer a:hover { color: var(--amber); }

/* ---------- Dialog + toast ---------- */
dialog.sheet { border: 0; padding: 0; background: transparent; max-width: min(460px, calc(100vw - 32px)); width: 100%; overflow: visible; }
dialog.sheet::backdrop { background: rgba(10, 14, 12, 0.7); }
.sheet .paper { padding-top: 28px; }
.sheet-close {
  position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border-radius: 50%;
  border: none; background: transparent; color: var(--ink); cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.sheet-close:hover { background: rgba(0, 0, 0, 0.06); }
.toast {
  position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 60;
  max-width: calc(100vw - 32px); background: var(--paper); color: var(--ink); padding: 14px 20px;
  border-radius: 12px 10px 14px 9px; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45); font-weight: 600; font-size: 15px;
}

/* ---------- 404 ---------- */
.center-note { text-align: center; padding-block: 80px; }
.center-note p { margin-top: 12px; }
.center-note .cta-row { justify-content: center; margin-top: 26px; }
@media (max-width: 480px) {
  .tabs { display: flex; }
  .tab { flex: 1 1 0; padding: 0 10px; font-size: 19px; }
}

/* ---------- Floating WhatsApp button (later: website chatbot) ---------- */
.chat-fab {
  position: fixed; z-index: 45;
  right: calc(18px + env(safe-area-inset-right, 0px));
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 10px;
  height: 60px; min-width: 60px; padding: 0 15px;
  border-radius: 30px; background: #1fa855; color: #fff; text-decoration: none;
  font-family: var(--body); font-weight: 700; font-size: 15px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45), 0 0 0 3px rgba(242, 239, 230, 0.85);
  transition: transform 0.15s ease, background 0.15s ease;
}
.chat-fab:hover { background: #168a44; color: #fff; transform: translateY(-2px); }
.chat-fab:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; }
.chat-fab-label { padding-right: 4px; }
@media (max-width: 700px) {
  .chat-fab { width: 58px; height: 58px; min-width: 0; padding: 0; justify-content: center; }
  .chat-fab-label { display: none; }
}
.toast { bottom: 96px; }
