:root {
  color-scheme: light;
  /* Onespot */
  --onespot-purple: #5b59d6;
  --onespot-purple-dark: #4d4bc7;
  --onespot-ink: #3f3db8;
  --onespot-yellow: #ffe845;
  --plum: #310b56;
  --deep: #1f0b38;
  --lavender: #b7a1f9;

  /* Wildflower accents, sampled from the Wildflower watercolor art */
  --wf-poppy: #f46d43;
  --wf-poppy-ink: #a8401b;
  --wf-poppy-tint: #fdece5;
  --wf-marigold: #efc369;
  --wf-marigold-tint: #fdf3dc;
  --wf-violet: #8358c0;
  --wf-plum: #833083;
  --wf-cornflower: #2c88d4;
  --wf-cornflower-ink: #1d64a3;
  --wf-cornflower-tint: #e6f3fc;
  --wf-teal: #127e91;
  --wf-leaf: #5c7530;
  --wf-leaf-ink: #48601f;
  --wf-leaf-tint: #eef3e2;
  --wf-hill: #7c934a;
  --wf-hill-deep: #4b5e26;
  --wf-cream: #fffaf2;

  --color-text: #1f0b38;
  --color-text-soft: #4a3f5c;
  --color-text-muted: #6e6580;
  --color-border: #e8e2f3;
  --color-border-strong: #dcd9f5;
  --color-input-border: #857c9a;
  --color-bg: #ffffff;
  --color-bg-alt: #f6f6fc;
  --color-tint: #ececfb;

  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(49, 11, 86, .06), 0 12px 32px -12px rgba(49, 11, 86, .18);
  --shadow-soft: 0 18px 40px -28px rgba(31, 30, 90, .35);
  --wrap: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--onespot-purple); text-underline-offset: 3px; }
a:hover { color: var(--onespot-purple-dark); }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
p, li { margin: 0; text-wrap: pretty; }
figure { margin: 0; }
:focus-visible { outline: 3px solid var(--onespot-purple); outline-offset: 3px; }
[hidden] { display: none !important; }
section[id] { scroll-margin-top: 24px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.icon { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.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; }
.bloom { position: absolute; pointer-events: none; }
.nw { white-space: nowrap; }

/* ---------- Shared bits ---------- */
.eyebrow {
  display: inline-block;
  color: var(--onespot-purple);
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 14px;
}
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; }
.section-head p { margin-top: 16px; color: var(--color-text-soft); font-size: 18px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border: 0; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 16px; text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--onespot-purple); color: #fff; box-shadow: 0 10px 24px -10px rgba(91, 89, 214, .7); }
.btn-primary:hover { background: var(--onespot-purple-dark); color: #fff; }
.btn-ghost { background: #fff; color: var(--plum); border: 1.5px solid var(--color-border); }
.btn-ghost:hover { border-color: var(--lavender); color: var(--plum); }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px 5px 10px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, .8);
  color: var(--color-text-soft);
  font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.pill img { width: 18px; height: auto; margin: -2px 0; }

.deadline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: var(--wf-marigold-tint); color: #6b4a00;
  font-size: 14.5px; font-weight: 700;
}
.deadline .icon { font-size: 16px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 24px 0 clamp(48px, 7vw, 88px);
  background:
    radial-gradient(760px 480px at 92% 6%, rgba(183, 161, 249, .36), transparent 62%),
    radial-gradient(520px 380px at 70% 96%, rgba(239, 195, 105, .26), transparent 62%),
    radial-gradient(520px 420px at 0% 100%, rgba(244, 109, 67, .12), transparent 62%),
    radial-gradient(420px 320px at 52% 0%, rgba(86, 180, 233, .14), transparent 62%),
    linear-gradient(180deg, #fbf9ff 0%, #fffdf8 100%);
  overflow: hidden;
}
.hero-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin-bottom: clamp(28px, 5vw, 48px); }
.logo { display: block; height: 30px; width: auto; color: var(--onespot-purple); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5vw, 62px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; }
.hero h1 em { display: block; font-style: normal; color: var(--onespot-purple); }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.hero .deadline { margin-top: 20px; }

/* Phones showing real screenshots of a Wildflower school's Onespot app.
   Everything inside .phones is laid out at 640x660 and scaled with zoom. */
.hero-visual { display: grid; justify-items: center; }
.phones { position: relative; width: 640px; height: 660px; zoom: .86; }

.phone {
  position: absolute;
  width: 300px; height: 624px;
  border-radius: 46px;
  padding: 11px;
  background: #17121f;
  box-shadow: 0 2px 0 1px #2b2436 inset, 0 40px 80px -30px rgba(49, 11, 86, .55), 0 18px 36px -18px rgba(49, 11, 86, .35);
}
.phone::before { content: ""; position: absolute; right: -3px; top: 140px; width: 3px; height: 64px; border-radius: 0 3px 3px 0; background: #2b2436; }
.phone .screen { width: 100%; height: 100%; overflow: hidden; border-radius: 36px; background: #bfe0f1; }
.phone .screen img { display: block; width: 100%; height: 100%; object-fit: cover; }
.phone-front { left: 8px; top: 30px; z-index: 2; }
.phone-back { right: 12px; top: 0; transform: rotate(4deg); z-index: 1; }

.phones .bloom { z-index: 6; height: auto; }
.phones .bloom-1 { top: -18px; left: -12px; width: 104px; transform: rotate(-8deg); }
.phones .bloom-2 { top: 250px; right: -8px; width: 64px; transform: rotate(10deg); }
.phones .bloom-3 { bottom: -6px; left: 278px; width: 60px; }

/* ---------- The offer ---------- */
.offer .section-head h2 { font-size: clamp(32px, 4.8vw, 54px); letter-spacing: -0.03em; }
.offer-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; max-width: 980px; margin: 0 auto; }
.card {
  position: relative; overflow: hidden;
  padding: clamp(26px, 3.4vw, 40px);
  background: var(--color-bg); border: 1px solid var(--color-border); border-radius: 24px;
  box-shadow: var(--shadow);
}
.card h3 { font-size: clamp(22px, 2.3vw, 27px); font-weight: 800; }
.perks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.perks li { display: flex; gap: 14px; align-items: flex-start; color: var(--color-text-soft); font-size: 17px; line-height: 1.5; }
.perks li > span:last-child { padding-top: 7px; }
.perks .ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; font-size: 20px; }
.perks strong { color: var(--color-text); font-weight: 800; }

.card-feature {
  padding: clamp(28px, 4vw, 48px);
  background: linear-gradient(140deg, #5b59d6 0%, #4b48c8 52%, var(--wf-plum) 100%);
  border: 0; color: #fff;
  box-shadow: 0 30px 60px -30px rgba(49, 11, 86, .6);
}
.card-feature > *:not(.bloom) { position: relative; }
.feature-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px 7px 12px; border-radius: 999px;
  background: var(--onespot-yellow); color: var(--deep);
  font-size: 15px; font-weight: 800;
}
.feature-badge .icon { font-size: 18px; fill: currentColor; }
/* Both rewards, side by side and equally big: what you get and what the school you refer gets */
.rewards { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; margin-top: 24px; }
.reward {
  align-self: stretch;
  padding: 20px 22px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .24); border-radius: 18px;
}
.reward-who { font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--onespot-yellow); }
.reward-what { margin-top: 8px; font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; color: #fff; }
.reward-when { margin-top: 8px; font-size: 15px; color: rgba(255, 255, 255, .86); }
.reward-plus { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--onespot-yellow); color: var(--deep); font-size: 22px; font-weight: 800; line-height: 1; }
.card-feature .perks { margin-top: 28px; }
.card-feature .perks li { color: rgba(255, 255, 255, .9); }
.card-feature .perks strong { color: #fff; }
.card-feature .perks .ic { background: rgba(255, 255, 255, .16); color: #fff; }
.card-feature .card-bloom { top: -48px; right: -36px; width: 170px; height: auto; transform: rotate(12deg); }

.card-outside::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: linear-gradient(90deg, var(--wf-poppy), var(--wf-marigold)); }
.card-note { margin-top: 12px; color: var(--color-text-soft); font-size: 16.5px; }
.card-outside .ic { background: var(--wf-poppy-tint); color: var(--wf-poppy-ink); }
.card-outside { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; gap: 20px 40px; }
.card-outside .perks { margin: 0; }

/* ---------- How it works ---------- */
.how { padding-bottom: clamp(24px, 3vw, 32px); background: var(--wf-cream); border-top: 1px solid #f3ead9; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.step {
  padding: clamp(24px, 3vw, 32px);
  background: #fff; border: 1px solid #f0e6d3; border-radius: var(--radius);
  box-shadow: 0 18px 40px -30px rgba(90, 60, 20, .35);
}
.step .n {
  display: grid; place-items: center;
  width: 46px; height: 46px; margin-bottom: 18px; border-radius: 50%;
  background: var(--wf-marigold); color: var(--deep);
  font-size: 20px; font-weight: 800;
}
.step:nth-child(2) .n { background: var(--wf-poppy); }
.step:nth-child(3) .n { background: var(--wf-teal); color: #fff; }
.step p { font-size: 18px; font-weight: 600; line-height: 1.45; color: var(--color-text); }

.share {
  margin-top: 28px; padding: clamp(20px, 3vw, 28px);
  background: #fff; border: 1px solid #f0e6d3; border-radius: var(--radius);
  box-shadow: 0 18px 40px -30px rgba(90, 60, 20, .35);
}
.share-label { display: block; margin-bottom: 12px; font-size: 16px; font-weight: 800; }
.share-row { display: flex; flex-wrap: wrap; gap: 12px; }
.share-row input {
  flex: 1 1 280px; min-width: 0; min-height: 52px; padding: 0 16px;
  background: var(--color-bg-alt); color: var(--color-text-soft);
  border: 1.5px solid var(--color-input-border); border-radius: 12px;
  font: inherit; font-size: 15px;
}
.share-row input:focus-visible { outline: none; border-color: var(--onespot-purple); box-shadow: 0 0 0 4px rgba(91, 89, 214, .28); }
.share-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.share-status { min-height: 1.5em; margin-top: 10px; font-size: 14.5px; font-weight: 700; color: var(--wf-leaf-ink); }

/* ---------- About Onespot ---------- */
.about-intro { max-width: 760px; margin-bottom: clamp(32px, 4vw, 48px); }
.about-intro h2 { font-size: clamp(30px, 3.8vw, 42px); font-weight: 800; }
.about-intro p { margin-top: 16px; color: var(--color-text-soft); font-size: 18px; }
.features { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.features > .feature { flex: 0 1 calc((100% - 32px) / 3); min-width: 0; }
.feature { padding: 22px; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); box-shadow: 0 18px 40px -32px rgba(49, 11, 86, .4); }
.feature .ic { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 13px; font-size: 22px; color: #fff; }
.feature h3 { font-size: 18px; font-weight: 800; }
.tag-optional { display: inline-block; margin-left: 6px; padding: 2px 9px; border-radius: 999px; background: var(--color-tint); color: var(--onespot-ink); font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; vertical-align: 2px; }
.feature p { margin-top: 6px; font-size: 15.5px; color: var(--color-text-soft); }
.feature-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; }
.feature-list li { position: relative; padding-left: 18px; font-size: 15.5px; color: var(--color-text-soft); }
.feature-list li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--wf-poppy); }
.f-blue .ic { background: var(--wf-cornflower); }
.f-green .ic { background: var(--wf-leaf); }
.f-orange .ic { background: var(--wf-poppy-ink); }
.f-violet .ic { background: var(--wf-violet); }
.f-purple .ic { background: var(--onespot-purple); }

/* Big pointer to the Onespot website */
.site-callout {
  position: relative; overflow: hidden;
  display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px;
  margin-top: clamp(32px, 4vw, 48px); padding: clamp(24px, 3.4vw, 40px);
  background: linear-gradient(120deg, #ececfb 0%, #f3eefe 55%, #fdf3dc 100%);
  border: 1px solid var(--color-border-strong); border-radius: 24px;
}
.site-callout > *:not(.bloom) { position: relative; }
.site-callout-icon { display: grid; place-items: center; flex: none; width: 64px; height: 64px; border-radius: 18px; background: var(--onespot-purple); color: #fff; font-size: 32px; box-shadow: 0 12px 24px -12px rgba(91, 89, 214, .8); }
.site-callout-icon .icon { stroke-width: 1.8; }
.site-callout-text { flex: 1 1 320px; min-width: 0; }
.site-callout-kicker { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--color-text-muted); }
.site-callout-url { display: inline-block; margin-top: 2px; font-size: clamp(30px, 4.4vw, 46px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; color: var(--onespot-purple); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.site-callout .btn { flex: none; }
.callout-bloom { right: -14px; top: -40px; width: 100px; height: auto; transform: rotate(-10deg); }

/* ---------- Schedule a demo ---------- */
.demo { padding: clamp(8px, 2vw, 24px) 0 clamp(8px, 2vw, 24px); text-align: center; }
.demo-inner { max-width: 760px; }
.demo h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; }
.demo p { max-width: 560px; margin: 16px auto 0; font-size: 18px; color: var(--color-text-soft); }
.demo .btn { margin-top: 30px; }
.btn-lg { min-height: 58px; padding: 0 32px; font-size: 17px; }

/* ---------- Fine print ---------- */
.fine { padding: 0 0 clamp(64px, 8vw, 96px); background: var(--wf-cream); border-bottom: 1px solid #f3ead9; }
.fine-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(24px, 5vw, 72px); }
.fine-card {
  padding: clamp(24px, 3.6vw, 40px);
  background: #fff; border: 1.5px solid #eadfca; border-radius: var(--radius);
  box-shadow: 0 18px 40px -30px rgba(90, 60, 20, .35);
}
.fine h2 { font-size: clamp(24px, 3vw, 30px); font-weight: 800; }
.fine-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.fine-list li { position: relative; padding-left: 24px; color: var(--color-text-soft); font-size: 16.5px; }
.fine-list li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--wf-poppy); }
.fine-list li:nth-child(3n+2)::before { background: var(--wf-cornflower); }
.fine-list li:nth-child(3n)::before { background: var(--wf-teal); }
.fine-list a { font-weight: 700; }

/* ---------- Footer: the Wildflower meadow, its hill running into the footer ---------- */
.site-footer { color: rgba(255, 255, 255, .88); font-size: 15px; }
.meadow { background: linear-gradient(180deg, transparent 67%, var(--wf-hill) 67%); }
.meadow img {
  display: block; width: 100%; height: auto; min-height: 160px;
  object-fit: cover; object-position: 50% 100%;
  -webkit-mask-image: linear-gradient(180deg, #000 86%, transparent);
  mask-image: linear-gradient(180deg, #000 86%, transparent);
}
.footer-body { margin-top: -1px; padding: 44px 0 44px; background: linear-gradient(180deg, var(--wf-hill) 0, #55692b 44px, var(--wf-hill-deep) 100%); }
.footer-body .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.site-footer .logo { height: 26px; color: #fff; }
.footer-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; }
.site-footer a { color: var(--wf-marigold-tint); font-weight: 700; }
.site-footer a:hover { color: #fff; }
.site-footer :focus-visible { outline-color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .phones { zoom: .74; }
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .phones { zoom: .8; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .step { display: flex; align-items: center; gap: 18px; }
  .step .n { margin: 0; flex: none; }
  .fine-grid { grid-template-columns: minmax(0, 1fr); }
  .features > .feature { flex-basis: calc((100% - 16px) / 2); }
}
@media (max-width: 680px) {
  .phones { zoom: .6; }
  .features > .feature { flex-basis: 100%; }
  .card-feature .card-bloom { width: 116px; top: -30px; right: -34px; }
  .card-outside { grid-template-columns: minmax(0, 1fr); }
  .rewards { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .reward { justify-self: stretch; }
  .reward-plus { margin: -4px 0; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .site-callout .btn { flex: 1 1 100%; }
  .site-callout-icon { width: 52px; height: 52px; font-size: 26px; }
  .wrap { padding: 0 16px; }
  .logo { height: 24px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .perks li { font-size: 16px; }
  .step p { font-size: 17px; }
  .share-buttons, .share-buttons .btn { flex: 1 1 100%; }
  .footer-body .wrap { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 420px) {
  .phones { zoom: .52; }
}
@media (max-width: 370px) {
  .phones { zoom: .48; }
}
@media (max-width: 340px) {
  .phones { zoom: .44; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
