/* OAPal landing page */
:root {
  --ink: #17203a;
  --muted: #4d5874;
  --cream: #fff8ec;
  --sand: #fbeed3;
  --line: #ead9b6;
  --blue: #1558d6;
  --navy: #0f1d44;
  --yellow: #ffc93c;
  --green: #14803f;
  --teal: #0b7285;
  --orange: #c9460a;
  --pink: #c9245f;
  --purple: #6a3fe0;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 19px; line-height: 1.6; color: var(--ink); background: var(--cream);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.3rem); font-weight: 900; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 900; }
h3 { font-size: 1.45rem; font-weight: 800; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.eyebrow { font-size: .85rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--orange); margin-bottom: .9em; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 34em; }
.hl { background: linear-gradient(transparent 62%, var(--yellow) 62%); padding: 0 .08em; }
:focus-visible { outline: 4px solid var(--blue); outline-offset: 3px; border-radius: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 58px; padding: 12px 28px; border: 0; border-radius: 16px; cursor: pointer;
  font: inherit; font-weight: 800; font-size: 1.1rem; text-decoration: none; white-space: nowrap;
  box-shadow: 0 5px 0 rgba(0, 0, 0, .22); transition: transform .06s, box-shadow .06s;
}
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 rgba(0, 0, 0, .22); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); box-shadow: 0 5px 0 var(--line); border: 3px solid var(--line); }
.btn-login { background: var(--yellow); color: var(--ink); }
.btn-wide { width: 100%; margin-top: 8px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 24px;
  padding: 12px max(20px, calc((100vw - var(--max)) / 2));
  background: rgba(255, 248, 236, .93); backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--line);
}
.nav-logo { text-decoration: none; margin-right: auto; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 1.7rem; font-weight: 900; color: var(--ink); letter-spacing: -.02em; }
.logo b { color: var(--blue); }
.nav-links { display: flex; gap: 26px; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1rem; }
.nav-links a:hover { color: var(--blue); }
@media (max-width: 860px) { .nav-links { display: none; } }
@media (max-width: 420px) { .btn-login { padding: 10px 18px; min-height: 52px; } .logo { font-size: 1.4rem; } }

/* Hero */
.hero {
  max-width: var(--max); margin: 0 auto; padding: 56px 20px 72px;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
}
.hero-sub { font-size: 1.3rem; color: var(--muted); max-width: 30em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 26px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-weight: 700; }
.ticks li { padding-left: 34px; position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: .12em; width: 24px; height: 24px; border-radius: 50%; background: var(--green); color: #fff; font-size: .85rem; display: grid; place-items: center; }
.hero-art { position: relative; }
.hero-art img { border-radius: 36px; aspect-ratio: 5 / 5.2; object-fit: cover; object-position: 58% 40%; width: 100%; box-shadow: 14px 14px 0 var(--yellow); }
.chip {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: #fff; border-radius: 20px; padding: 12px 18px; border: 3px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink); font-size: 1rem; line-height: 1.25;
}
.chip span { font-size: 2rem; line-height: 1; }
.chip small { display: block; color: var(--muted); font-size: .85rem; }
.chip-a { left: -26px; top: 5%; }
.chip-b { right: -10px; bottom: 9%; }
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 36px; }
  .hero-art { max-width: 560px; }
  .hero-art img { aspect-ratio: 4 / 3; }
  .chip-a { left: 10px; top: -18px; } .chip-b { right: 6px; bottom: -18px; }
}

/* Strip */
.strip {
  max-width: var(--max); margin: 0 auto 24px; padding: 0 20px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.strip div { background: #fff; border: 3px solid var(--line); border-radius: 24px; padding: 22px 24px; }
.strip b { display: block; font-size: 1.2rem; margin-bottom: 4px; }
.strip span { color: var(--muted); font-size: 1rem; }
.strip div:nth-child(1) { border-top: 8px solid var(--blue); }
.strip div:nth-child(2) { border-top: 8px solid var(--yellow); }
.strip div:nth-child(3) { border-top: 8px solid var(--green); }
@media (max-width: 860px) { .strip { grid-template-columns: 1fr; } }

/* Sections */
.section { padding: 84px max(20px, calc((100vw - var(--max)) / 2)); }
.section-tint { background: var(--sand); }
.section-dark { background: var(--navy); color: #fff; }
.section-dark .eyebrow { color: var(--yellow); }
.section-dark .lede { color: #c9d3ee; }
.head { max-width: 760px; margin-bottom: 40px; }
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.split-top { align-items: start; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; gap: 40px; } .section { padding-top: 60px; padding-bottom: 60px; } }
.plain { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.plain li { background: #fff; border: 3px solid var(--line); border-radius: 18px; padding: 14px 18px; color: var(--muted); }
.plain b { display: block; color: var(--ink); font-size: 1.15rem; }

/* Tablet mock-up */
.tablet { background: var(--ink); border-radius: 40px; padding: 18px; box-shadow: 0 30px 60px -20px rgba(15, 29, 68, .45); transform: rotate(-2deg); max-width: 520px; margin: 0 auto; width: 100%; }
.screen { background: var(--cream); border-radius: 24px; overflow: hidden; }
.s-bar { background: var(--blue); color: #fff; font-weight: 800; padding: 12px 16px; display: flex; justify-content: space-between; align-items: center; }
.s-bar i { width: 34px; height: 34px; border-radius: 50%; background: var(--yellow); border: 3px solid #fff; }
.s-hello { font-weight: 900; font-size: 1.4rem; padding: 16px 16px 4px; }
.s-tiles { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; padding: 12px 16px 20px; }
.s-tiles div { position: relative; color: #fff; font-weight: 800; font-size: .88rem; line-height: 1.15; text-align: center; border-radius: 18px; padding: 16px 6px 14px; box-shadow: 0 5px 0 rgba(0, 0, 0, .22); }
.s-tiles em { display: block; font-style: normal; font-size: 2.2rem; line-height: 1.1; }
.s-tiles u { position: absolute; top: 6px; right: 6px; background: #fff; color: #c62828; border: 3px solid #c62828; border-radius: 99px; width: 30px; height: 30px; display: grid; place-items: center; text-decoration: none; font-size: .9rem; }
.t1 { background: var(--blue); } .t2 { background: var(--yellow); color: var(--ink) !important; } .t3 { background: var(--orange); }
.t4 { background: var(--pink); } .t5 { background: var(--purple); } .t6 { background: var(--teal); }
@media (max-width: 480px) { .s-tiles { grid-template-columns: 1fr 1fr; } .tablet { transform: none; } }

/* Flagship features */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.feature { background: #fff; border-radius: 30px; overflow: hidden; border: 3px solid var(--line); display: flex; flex-direction: column; }
.feature img { width: 100%; height: 300px; object-fit: cover; object-position: 50% 22%; }
.feature-body { padding: 28px; }
.feature-body p { color: var(--muted); }
.tag { display: inline-block; font-weight: 800; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; padding: 6px 14px; border-radius: 99px; margin-bottom: 14px; }
.tag-yellow { background: var(--yellow); color: var(--ink); }
.tag-teal { background: var(--teal); color: #fff; }
.faces { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 8px; }
.faces span { font-size: 2.6rem; line-height: 1.1; text-align: center; border-radius: 18px; padding: 12px 4px; box-shadow: 0 4px 0 rgba(0, 0, 0, .16); }
.faces small { display: block; font-size: .85rem; font-weight: 800; color: var(--ink); }
.f1 { background: #b9efc6; } .f2 { background: #ffe38a; } .f3 { background: #ffc0b8; }
.rsvp { background: var(--cream); border: 3px solid var(--line); border-radius: 18px; padding: 16px; display: grid; gap: 4px; margin-top: 8px; }
.rsvp span { color: var(--muted); font-size: .95rem; }
.rsvp i { font-style: normal; font-weight: 800; background: var(--teal); color: #fff; border-radius: 14px; padding: 10px 16px; justify-self: start; margin-top: 8px; box-shadow: 0 4px 0 rgba(0, 0, 0, .22); }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } }

/* Who it's for */
.who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.who article { background: #fff; border: 3px solid var(--line); border-radius: 30px; overflow: hidden; }
.who img { width: 100%; height: 250px; object-fit: cover; object-position: 50% 30%; }
.who article > div { padding: 24px; }
.who p { color: var(--muted); }
.who .ticks { font-size: .98rem; }
@media (max-width: 960px) { .who { grid-template-columns: 1fr; } .who img { height: 280px; } }

/* Safety */
.safe-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.safe-list li { background: rgba(255, 255, 255, .07); border: 2px solid rgba(255, 255, 255, .18); border-radius: 18px; padding: 16px 20px; color: #d6def5; }
.safe-list b { display: block; color: #fff; font-size: 1.15rem; }
.safe-list b::before { content: "🔒 "; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.steps li { background: #fff; border: 3px solid var(--line); border-radius: 28px; padding: 28px; }
.steps span { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 1.7rem; color: #fff; margin-bottom: 16px; box-shadow: 0 5px 0 rgba(0, 0, 0, .2); }
.steps li:nth-child(1) span { background: var(--blue); }
.steps li:nth-child(2) span { background: var(--pink); }
.steps li:nth-child(3) span { background: var(--green); }
.steps p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Demo form */
.section-cta { background: var(--yellow); }
.section-cta .lede { color: #3b3413; }
.cta-img { border-radius: 28px; margin-top: 24px; border: 4px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); aspect-ratio: 3 / 2; object-fit: cover; }
.form-card { background: #fff; border: 4px solid var(--ink); border-radius: 30px; padding: 30px; box-shadow: 8px 8px 0 var(--ink); }
.form-card label { display: block; font-weight: 800; margin: 14px 0 6px; }
.form-card label small { font-weight: 500; color: var(--muted); }
.form-card input, .form-card select, .form-card textarea {
  width: 100%; font: inherit; color: var(--ink); padding: 12px 14px; min-height: 56px;
  border: 3px solid #b9ad94; border-radius: 14px; background: #fff;
}
.form-card textarea { min-height: 96px; resize: vertical; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .two { grid-template-columns: 1fr; gap: 0; } }
.hp { position: absolute; left: -9999px; }
.form-error { background: #ffe9e6; border: 3px solid #c62828; border-radius: 14px; padding: 12px 16px; font-weight: 700; }
.thanks { text-align: center; padding: 30px 10px; }
.thanks .big { font-size: 4rem; margin: 0; line-height: 1; }

/* Footer */
.foot { background: var(--navy); color: #c9d3ee; padding: 48px max(20px, calc((100vw - var(--max)) / 2)) 36px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start; }
.foot .logo { color: #fff; }
.foot .logo b { color: var(--yellow); }
.foot p { margin: 8px 0 0; }
.foot-links { display: grid; gap: 8px; text-align: right; }
.foot a { color: #fff; font-weight: 700; }
.credit { grid-column: 1 / -1; border-top: 2px solid rgba(255, 255, 255, .15); padding-top: 18px; font-size: .9rem; }
@media (max-width: 640px) { .foot { grid-template-columns: 1fr; } .foot-links { text-align: left; } }
