:root {
  color-scheme: light;
  /* Sycamore (from Sycamore's brand guide palette) */
  --sycamore-green: #5a7768;
  --sycamore-deep: #1a251b;
  --sycamore-sage: #8eb488;
  --sycamore-lime: #c1da5f;
  --sycamore-mist: #f2f4e9;
  /* Onespot */
  --onespot-purple: #5b59d6;
  --onespot-yellow: #ffe845;
  --onespot-green: #5ee97b;

  --color-primary: var(--onespot-purple);
  --color-secondary: var(--sycamore-green);
  --color-accent: var(--sycamore-lime);

  --color-text: #1a251b;
  --color-text-soft: #45524a;
  --color-text-muted: #6b766f;
  --color-border: #e2e7dc;
  --color-bg: #ffffff;
  --color-bg-alt: #f6f8f1;
  --color-sycamore-tint: #eaf0e2;
  --color-onespot-tint: #ececfb;

  /* Sample school brand inside the app mockups */
  --school: #1f3a5f;
  --school-soft: #e8eef6;
  --school-gold: #e9b949;

  --font-heading: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 20px;
  --shadow: 0 1px 2px rgba(26, 37, 27, .06), 0 12px 32px -12px rgba(26, 37, 27, .18);
  --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-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--font-heading); line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--onespot-purple); outline-offset: 3px; border-radius: 6px; }
.btn:focus-visible { border-radius: 999px; }
section[id] { scroll-margin-top: 80px; }
p { margin: 0; }
.nw { white-space: nowrap; }
.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; }
.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; }

/* ---------- Site header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--color-border);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.site-header .lockup { --logo-h: 22px; gap: 10px; text-decoration: none; }
.site-header .lockup img { max-width: none; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; }
.site-nav a { text-decoration: none; font-size: 15px; font-weight: 600; color: var(--color-text-soft); white-space: nowrap; }
.site-nav ul a:hover { color: var(--color-primary); }
.site-nav .btn { min-height: 42px; padding: 0 18px; font-size: 14.5px; color: #fff; }

/* ---------- Shared bits ---------- */
.concept-label {
  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,.75);
  color: var(--color-text-muted);
  font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
}
.concept-label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sycamore-lime); box-shadow: 0 0 0 2px var(--color-sycamore-tint); }

.lockup { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 26px); flex-wrap: nowrap; }
.lockup img { height: var(--logo-h, 42px); width: auto; max-width: 44%; object-fit: contain; }
.lockup .plus {
  flex: none;
  font-size: calc(var(--logo-h, 42px) * .8); font-weight: 500; line-height: 1;
  color: var(--sycamore-sage);
  transform: translateY(-2px);
}

.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: 720px; 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; max-width: 860px; }

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

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .02em; white-space: nowrap;
}
.tag .icon { font-size: 13px; }
.tag-sycamore { background: var(--color-sycamore-tint); color: #3d5848; }
.tag-onespot { background: var(--color-onespot-tint); color: #3f3db8; }
.tag-both { background: linear-gradient(90deg, var(--color-sycamore-tint), var(--color-onespot-tint)); color: var(--sycamore-deep); }
.tag-today { background: #e3f8e8; color: #17703a; }
.tag-proposed { background: #fff7c2; color: #6b5a00; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 24px 0 clamp(56px, 8vw, 96px);
  background:
    radial-gradient(900px 520px at 88% 8%, rgba(193, 218, 95, .30), transparent 60%),
    radial-gradient(700px 480px at 4% 96%, rgba(91, 89, 214, .12), transparent 60%),
    linear-gradient(180deg, #f9fbf4 0%, #ffffff 100%);
  overflow: hidden;
}
.hero-top { display: flex; justify-content: flex-end; margin-bottom: clamp(28px, 5vw, 56px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero .lockup { --logo-h: clamp(30px, 3.3vw, 40px); margin-bottom: 36px; }
.hero h1 { font-size: clamp(34px, 4.1vw, 50px); font-weight: 800; letter-spacing: -0.03em; }
.hero h1 em { font-style: normal; color: var(--onespot-purple); }
.hero .lede { margin-top: 22px; max-width: 560px; font-size: clamp(17px, 1.6vw, 19px); color: var(--color-text-soft); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ---------- Phone mockups ---------- */
.hero-visual { display: flex; flex-direction: column; align-items: center; }
.phones { position: relative; width: 584px; height: 660px; zoom: .9; }
.phone {
  position: absolute;
  width: 300px; height: 624px;
  border-radius: 46px;
  padding: 11px;
  background: #16191d;
  box-shadow: 0 2px 0 1px #2c3137 inset, 0 40px 80px -30px rgba(26, 37, 27, .55), 0 18px 36px -18px rgba(26, 37, 27, .35);
}
.phone::before { /* side button */
  content: ""; position: absolute; right: -3px; top: 140px; width: 3px; height: 64px; border-radius: 0 3px 3px 0; background: #2c3137;
}
.phone .screen { position: relative; width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: #f4f6f8; font-size: 13px; line-height: 1.35; }
.phone .island { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 20px; background: #0b0d10; z-index: 5; }
.phone-app { left: 0; top: 24px; z-index: 2; }
.phone-kid { right: 6px; top: 0; transform: rotate(3deg); z-index: 1; }

/* Screenshot screens */
.screen.shot { background: #0f1115; }
.screen.shot.light { background: #fff; }
.shot-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.num {
  position: absolute; z-index: 6;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--onespot-yellow); color: var(--color-text);
  display: grid; place-items: center;
  font-size: 12px; font-weight: 800;
  box-shadow: 0 0 0 3px #fff, 0 4px 10px rgba(0,0,0,.2);
}

.legend { margin-top: 26px; display: grid; gap: 10px; width: 100%; max-width: 480px; }
.legend div { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--color-text-soft); line-height: 1.45; }
.legend .n { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--onespot-yellow); color: var(--color-text); display: grid; place-items: center; font-size: 11.5px; font-weight: 800; margin-top: 1px; }
.legend .tag { margin-left: 4px; vertical-align: 1px; }
.mock-note { margin-top: 10px; font-size: 12px; color: var(--color-text-muted); }

/* ---------- Comparison: two platforms ---------- */
.duo { display: grid; grid-template-columns: 1fr auto 1fr; gap: 0; align-items: stretch; }
.platform { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: 24px; padding: clamp(26px, 3.4vw, 40px); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.platform::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; }
.platform.sycamore::before { background: linear-gradient(90deg, var(--sycamore-green), var(--sycamore-lime)); }
.platform.onespot::before { background: linear-gradient(90deg, var(--onespot-purple), #8e8cf0); }
.platform .logo { height: 34px; width: auto; margin-bottom: 22px; }
.platform .role { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--color-text-muted); }
.platform h3 { font-size: clamp(22px, 2.3vw, 27px); font-weight: 800; margin-top: 6px; }
.platform ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.platform li { display: flex; gap: 14px; align-items: flex-start; color: var(--color-text-soft); font-size: 16px; line-height: 1.5; }
.platform li .ic { flex: none; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; font-size: 18px; }
.platform.sycamore li .ic { background: var(--color-sycamore-tint); color: var(--sycamore-green); }
.platform.onespot li .ic { background: var(--color-onespot-tint); color: var(--onespot-purple); }
.platform li strong { display: block; color: var(--color-text); font-size: 16px; }
.duo .join { display: grid; place-items: center; width: 64px; }
.duo .join span { width: 52px; height: 52px; border-radius: 50%; background: #fff; border: 1px solid var(--color-border); box-shadow: var(--shadow); display: grid; place-items: center; font-size: 28px; font-weight: 600; color: var(--onespot-purple); }

/* At-a-glance table */
.glance { margin-top: clamp(40px, 5vw, 56px); }
.glance-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 16px; }
.glance-head h3 { font-size: 22px; font-weight: 800; }
.glance-head p { font-size: 14.5px; color: var(--color-text-muted); }
.table-wrap { border: 1px solid var(--color-border); border-radius: 20px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.glance table { width: 100%; border-collapse: collapse; }
.glance th, .glance td { text-align: left; vertical-align: top; padding: 16px 20px; border-bottom: 1px solid var(--color-border); font-size: 15px; line-height: 1.5; }
.glance tbody tr:last-child th, .glance tbody tr:last-child td { border-bottom: 0; }
.glance thead th { background: var(--color-bg-alt); padding-top: 14px; padding-bottom: 14px; }
.glance thead img { height: 22px; width: auto; }
.glance tbody th { width: 22%; font-weight: 800; color: var(--color-text); }
.glance td { width: 39%; color: var(--color-text-soft); }
.glance td .tag { margin-top: 8px; margin-right: 4px; }
.glance td.lead-s { background: linear-gradient(90deg, rgba(234, 240, 226, .7), rgba(234, 240, 226, 0)); }
.glance td.lead-o { background: linear-gradient(90deg, rgba(236, 236, 251, .8), rgba(236, 236, 251, 0)); }
.glance .lead { display: block; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 2px; }
.glance .lead-s .lead { color: var(--sycamore-green); }
.glance .lead-o .lead { color: var(--onespot-purple); }
.glance-note { margin-top: 12px; font-size: 13px; color: var(--color-text-muted); }

/* What Onespot adds (with the standalone app phone) */
.adds { background: #f6f6fc; border-top: 1px solid #e9e7f8; }
.adds-card { display: grid; grid-template-columns: minmax(200px, 300px) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; padding: clamp(24px, 3.4vw, 44px) clamp(20px, 4vw, 56px); border-radius: 24px; background: #fff; border: 1px solid #dcd9f5; box-shadow: 0 18px 40px -28px rgba(31, 30, 90, .35); }
.adds-card figure { margin: 0; display: grid; justify-items: center; }
.adds-card img { width: 100%; max-width: 300px; filter: drop-shadow(0 26px 30px rgba(31, 30, 90, .28)); }
.adds-card figcaption { margin-top: 14px; max-width: 300px; text-align: center; font-size: 12.5px; line-height: 1.5; color: var(--color-text-muted); }
.adds-copy h2 { font-size: clamp(28px, 3.4vw, 38px); font-weight: 800; color: var(--onespot-purple); }
.adds-sub { margin-top: 10px; color: var(--color-text-soft); font-size: 17px; }
.adds-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 32px; }
.adds-list li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; align-items: start; }
.adds-list li.wide { grid-column: 1 / -1; padding: 14px 16px; margin: 0 -16px; border-radius: 14px; background: #f3f2fd; }
.adds-list .icon { font-size: 16px; margin-top: 3px; color: var(--onespot-purple); stroke-width: 2.6; }
.adds-list strong { display: block; font-size: 16px; font-weight: 800; line-height: 1.35; color: var(--color-text); }
.adds-list span { display: block; margin-top: 3px; font-size: 14.5px; line-height: 1.5; color: var(--color-text-soft); }

/* ---------- How it connects ---------- */
.connect { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.col { border-radius: 24px; padding: clamp(24px, 3vw, 36px); }
.col.today { background: #fff; border: 1px solid var(--color-border); box-shadow: var(--shadow); }
.col.proposed { background: linear-gradient(180deg, #fbfcf7, #f3f6ea); border: 1.5px dashed #c8d6a9; }
.col .col-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.col h3 { font-size: 22px; font-weight: 800; }
.col > p { color: var(--color-text-soft); font-size: 15.5px; }
.col ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 16px; }
.col li { display: flex; gap: 14px; align-items: flex-start; }
.col li .ic { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 17px; }
.col.today li .ic { background: #e3f8e8; color: #17703a; }
.col.proposed li .ic { background: #fff; color: var(--sycamore-green); border: 1px solid #dbe5c7; }
.col li strong { display: block; font-size: 16px; }
.col li span { display: block; color: var(--color-text-soft); font-size: 14.5px; margin-top: 2px; line-height: 1.5; }
footer { border-top: 1px solid var(--color-border); padding: 28px 0 40px; color: var(--color-text-muted); font-size: 13px; line-height: 1.6; }
footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer p { max-width: 760px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .site-nav ul { display: none; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-copy { max-width: 640px; }
  .duo { grid-template-columns: 1fr; }
  .duo .join { width: auto; height: 56px; }
  .duo .join span { margin: -14px 0; position: relative; z-index: 1; }
  .connect { grid-template-columns: 1fr; }
  .adds-card { grid-template-columns: 1fr; }
  .adds-card img { max-width: 250px; }
}
@media (max-width: 760px) {
  .table-wrap { border: 0; border-radius: 0; background: transparent; box-shadow: none; overflow: visible; }
  .glance table, .glance tbody, .glance tr, .glance th, .glance td { display: block; width: auto; }
  .glance thead { display: none; }
  .glance tbody { display: grid; gap: 12px; }
  .glance tbody tr { background: #fff; border: 1px solid var(--color-border); border-radius: 16px; overflow: hidden; }
  .glance tbody th { width: auto; padding: 14px 16px 6px; border: 0; font-size: 16px; }
  .glance td { width: auto; padding: 10px 16px 14px; border-bottom: 0; border-top: 1px solid var(--color-border); }
  .glance tbody th + td { border-top: 0; }
  .glance td .who { display: block; margin-bottom: 8px; }
  .glance td .who img { height: 16px; width: auto; }
}
@media (min-width: 761px) {
  .glance td .who { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hero-top { justify-content: flex-start; }
  .site-header .wrap { height: 60px; gap: 12px; }
  .site-header .lockup { --logo-h: 17px; gap: 7px; }
  .site-nav .btn { min-height: 38px; padding: 0 14px; font-size: 13.5px; }
  .phones { zoom: .58; }
  .adds-list { grid-template-columns: 1fr; }
  .cta-row .btn { width: 100%; }
  .col .col-head { flex-wrap: wrap; }
}
@media (max-width: 380px) {
  .phones { zoom: .5; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
