/* probo.id landing page: one stylesheet for / and /en/ */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/PlusJakartaSans-Variable.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;

  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --ink: #0f1b2d;
  --ink-2: #44526a;
  --ink-3: #5f6c80;
  --line: #e4e9f1;
  --line-2: #d5dde9;

  /* sky blue is the one dominant accent */
  --sky: #0a6dc2;
  --sky-hover: #085aa3;
  --sky-soft: #e4f2fe;

  /* pastel rainbow, used for tiles and small highlights only */
  --t-sky: #e1f0fd;     --i-sky: #0a6dc2;
  --t-violet: #ede8fe;  --i-violet: #6a48d6;
  --t-pink: #fde7f2;    --i-pink: #c0377d;
  --t-peach: #ffeadb;   --i-peach: #c15714;
  --t-mint: #dbf6ea;    --i-mint: #0d855b;
  --t-sun: #fff2c7;     --i-sun: #9a6400;

  --grad: linear-gradient(125deg, #9fd4ff 0%, #b8a8ff 52%, #ffbcdc 100%);
  --grad-soft: linear-gradient(125deg, #eaf5ff 0%, #f1edff 52%, #fff0f7 100%);

  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --shadow-sm: 0 1px 2px rgb(15 27 45 / 0.06), 0 2px 6px rgb(15 27 45 / 0.04);
  --shadow-lg: 0 2px 4px rgb(30 60 120 / 0.05), 0 24px 60px -12px rgb(40 60 140 / 0.22);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  word-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--sky); text-underline-offset: 3px; }
a:hover { color: var(--sky-hover); }
img, svg { display: block; }

:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
  border-radius: 8px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.ic {
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: 12px; color: #fff; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / 0.86);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.wordmark:hover { color: var(--ink); }
.wordmark svg { width: 96px; height: 40px; }

.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.header-nav ul { display: flex; gap: 4px; }
.header-nav ul a {
  display: block;
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--ink-2);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}
.header-nav ul a:hover { background: var(--bg-soft); color: var(--ink); }

.lang {
  display: inline-flex;
  padding: 3px;
  margin-left: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 700;
}
.lang > * {
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--ink-3);
  text-decoration: none;
}
.lang [aria-current] { background: var(--ink); color: #fff; }
.lang a:hover { color: var(--ink); background: var(--bg-soft); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .15s, box-shadow .15s, color .15s;
}
.btn-primary {
  background: var(--sky);
  color: #fff;
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.25) inset, 0 8px 22px -8px rgb(10 109 194 / 0.7);
}
.btn-primary:hover { background: var(--sky-hover); color: #fff; }
.btn-quiet {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 0 0 1px var(--line-2) inset;
}
.btn-quiet:hover { background: var(--bg-soft); color: var(--ink); }
.btn-sm { min-height: 40px; padding: 0 16px; border-radius: 11px; font-size: 0.9rem; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow-x: clip;
  padding: clamp(56px, 7vw, 92px) 0 clamp(44px, 5vw, 64px);
  text-align: center;
  background:
    radial-gradient(60% 50% at 50% 0%, #eef7ff 0%, rgb(238 247 255 / 0) 100%);
}
.hero-inner { position: relative; }

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin-inline: auto;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 12px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line) inset, var(--shadow-sm);
  color: var(--ink-2);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
}
.pill-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--i-mint);
  flex: none;
}
.pill-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--i-mint);
  opacity: .22;
}

.hero h1 {
  margin-top: 28px;
  font-size: clamp(2.6rem, 1.2rem + 5.6vw, 5rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.045em;
  word-spacing: 0.06em;
  text-wrap: balance;
}
/* the font's comma and full stop carry a wide left sidebearing; pull them in at display sizes */
.hero h1 .p { margin-left: -0.06em; }

.hero .lead {
  max-width: 46em;
  margin: 24px auto 0;
  color: var(--ink-2);
  font-size: clamp(1.0625rem, 0.95rem + 0.5vw, 1.25rem);
  line-height: 1.55;
  text-wrap: balance;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

.hero-note {
  margin-top: 18px;
  color: var(--ink-3);
  font-size: 0.9rem;
}

/* floating icon tiles */
.hero-tiles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.tile {
  position: absolute;
  left: var(--x);
  top: var(--y);
  display: grid;
  place-items: center;
  width: var(--s, 62px);
  height: var(--s, 62px);
  border-radius: 30%;
  background: var(--tb);
  color: var(--ti);
  box-shadow:
    0 0 0 1px rgb(255 255 255 / 0.9) inset,
    0 1px 2px rgb(15 27 45 / 0.06),
    0 14px 28px -10px color-mix(in srgb, var(--ti) 45%, transparent);
  rotate: var(--r, 0deg);
  animation: bob var(--d, 7s) ease-in-out var(--dl, 0s) infinite alternate;
}
.tile .ic { width: 46%; height: 46%; stroke-width: 1.9; }

.tile.sky    { --tb: var(--t-sky);    --ti: var(--i-sky); }
.tile.violet { --tb: var(--t-violet); --ti: var(--i-violet); }
.tile.pink   { --tb: var(--t-pink);   --ti: var(--i-pink); }
.tile.peach  { --tb: var(--t-peach);  --ti: var(--i-peach); }
.tile.mint   { --tb: var(--t-mint);   --ti: var(--i-mint); }
.tile.sun    { --tb: var(--t-sun);    --ti: var(--i-sun); }

@keyframes bob {
  from { translate: 0 0; }
  to   { translate: 0 -12px; }
}

/* ---------- Product showcase ---------- */

.showcase { padding-bottom: clamp(64px, 9vw, 120px); }

.frame {
  position: relative;
  padding: clamp(10px, 3.4vw, 48px);
  border-radius: clamp(20px, 3vw, 36px);
  background: var(--grad);
}
.frame::before {
  /* soft light from the top so the gradient never looks flat */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(70% 60% at 30% 0%, rgb(255 255 255 / 0.55), transparent 70%);
  pointer-events: none;
}

.showcase figcaption {
  margin-top: 16px;
  color: var(--ink-3);
  font-size: 0.875rem;
  text-align: center;
}

.browser {
  position: relative;
  overflow: hidden;
  border-radius: clamp(12px, 1.6vw, 18px);
  background: #fff;
  box-shadow: var(--shadow-lg);
  font-size: 14px;
  line-height: 1.45;
  text-align: left;
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 44px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: #fbfcfe;
}
.dots { display: flex; gap: 7px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: #e3e7ee; }
.url {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-inline: auto;
  padding: 5px 14px;
  border-radius: 8px;
  background: var(--bg-soft);
  color: var(--ink-3);
  font-size: 12.5px;
  font-weight: 600;
}
.url .ic { width: 13px; height: 13px; }
.browser-bar .spacer { width: 47px; }

.app {
  display: grid;
  grid-template-columns: 208px 1fr;
  min-height: 520px;
}
.app-side {
  padding: 18px 12px;
  border-right: 1px solid var(--line);
  background: #fbfcfe;
}
.app-school {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 8px 18px;
  font-weight: 700;
  font-size: 13.5px;
}
.app-school span:first-child {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--t-sky);
  color: var(--i-sky);
  font-weight: 800;
}
.app-school small { display: block; color: var(--ink-3); font-weight: 500; font-size: 12px; }
.app-nav li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 10px;
  color: var(--ink-2);
  font-weight: 600;
}
.app-nav .ic { width: 17px; height: 17px; }
.app-nav .on { background: var(--sky-soft); color: var(--sky); }

.app-main { padding: 22px 24px 24px; background: #fff; }
.app-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.app-hello { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.app-date { color: var(--ink-3); font-size: 13px; }
.app-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--t-mint);
  color: #0a6b49;
  font-size: 12.5px;
  font-weight: 700;
}
.app-chip .ic { width: 14px; height: 14px; }

.app-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 16px;
}
.panel {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-weight: 700;
  font-size: 14px;
}
.panel-title small { color: var(--ink-3); font-weight: 500; font-size: 12.5px; }

.att { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; }
.ring {
  --p: 94;
  position: relative;
  display: grid;
  place-items: center;
  width: 124px;
  height: 124px;
  border-radius: 50%;
  background: conic-gradient(var(--i-sky) calc(var(--p) * 1%), var(--t-sky) 0);
}
.ring::before {
  content: "";
  position: absolute;
  inset: 13px;
  border-radius: 50%;
  background: #fff;
}
.ring b { position: relative; font-size: 26px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.ring b small { display: block; margin-top: 4px; color: var(--ink-3); font-size: 11.5px; font-weight: 600; letter-spacing: 0; text-align: center; }
.legend { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.legend li { display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 13px; }
.legend li b { margin-left: auto; color: var(--ink); }
.legend i { width: 9px; height: 9px; border-radius: 3px; background: var(--c); flex: none; }

.bars { margin-top: 18px; display: grid; gap: 8px; }
.bars li { display: grid; grid-template-columns: 46px 1fr 34px; align-items: center; gap: 10px; font-size: 12.5px; color: var(--ink-2); }
.bars span { height: 8px; border-radius: 99px; background: var(--bg-soft); overflow: hidden; }
.bars span::before { content: ""; display: block; height: 100%; width: var(--w); border-radius: inherit; background: var(--i-sky); opacity: .85; }
.bars b { color: var(--ink); text-align: right; font-weight: 700; }

.bells li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 10px;
  border-radius: 10px;
  color: var(--ink-2);
}
.bells li + li { margin-top: 2px; }
.bells time { width: 40px; color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.bells .done { color: var(--ink-3); }
.bells .done time { color: var(--ink-3); font-weight: 600; }
.bells .next { background: var(--t-sun); color: #6b4700; }
.bells .next time { color: #6b4700; }
.bells .next em { margin-left: auto; font-style: normal; font-size: 11.5px; font-weight: 700; }
.bells .ic { width: 15px; height: 15px; }

.announce { display: flex; gap: 14px; align-items: flex-start; }
.announce .badge {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--t-pink);
  color: var(--i-pink);
  flex: none;
}
.announce .badge .ic { width: 19px; height: 19px; }
.announce strong { display: block; font-size: 14px; }
.announce p { margin-top: 2px; color: var(--ink-2); font-size: 13px; }
.announce small { display: block; margin-top: 8px; color: var(--ink-3); font-size: 12px; }

/* ---------- Sections ---------- */

.section { padding-block: clamp(72px, 10vw, 128px); }
.section.soft { background: var(--bg-soft); }

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(40px, 6vw, 64px);
  text-align: center;
}
.section-head h2,
.feature h3,
.cta h2 {
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  word-spacing: 0.05em;
  text-wrap: balance;
}
.section-head p {
  margin-top: 16px;
  color: var(--ink-2);
  font-size: 1.125rem;
  text-wrap: pretty;
}

.icon-tile {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--tb, var(--t-sky));
  color: var(--ti, var(--i-sky));
  flex: none;
}
.icon-tile .ic { width: 22px; height: 22px; }
.icon-tile.violet { --tb: var(--t-violet); --ti: var(--i-violet); }
.icon-tile.pink   { --tb: var(--t-pink);   --ti: var(--i-pink); }
.icon-tile.peach  { --tb: var(--t-peach);  --ti: var(--i-peach); }
.icon-tile.mint   { --tb: var(--t-mint);   --ti: var(--i-mint); }
.icon-tile.sun    { --tb: var(--t-sun);    --ti: var(--i-sun); }

/* value points */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(72px, 9vw, 112px);
}
.values li { display: grid; gap: 14px; align-content: start; }
.values h3 { font-size: 1.1875rem; font-weight: 750; letter-spacing: -0.015em; }
.values p { color: var(--ink-2); font-size: 1rem; }

/* alternating feature rows */
.features { display: grid; gap: clamp(88px, 11vw, 144px); }
.feature {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
}
.feature.flip .feature-copy { order: 2; }
.feature-copy { max-width: 31em; }
.feature-copy .icon-tile { margin-bottom: 22px; }
.feature h3 { font-size: clamp(1.75rem, 1.2rem + 1.9vw, 2.625rem); }
.feature-copy > p { margin-top: 16px; color: var(--ink-2); font-size: 1.09rem; text-wrap: pretty; }
.ticks { margin-top: 24px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: 0.98rem; }
.ticks .ic { margin-top: 2px; width: 20px; height: 20px; color: var(--i-mint); stroke-width: 2.2; }

.stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
  padding: clamp(24px, 4vw, 48px);
  border-radius: 28px;
  background: var(--stage, var(--grad-soft));
  font-size: 14px;
  line-height: 1.45;
}
.stage.sky    { --stage: linear-gradient(150deg, #eaf5ff, #f3f0ff); }
.stage.sun    { --stage: linear-gradient(150deg, #fff7dc, #ffeee4); }
.stage.violet { --stage: linear-gradient(150deg, #f1edff, #fdeef6); }
.stage.mint   { --stage: linear-gradient(150deg, #e6f9f0, #e9f4ff); }

.card {
  position: relative;
  width: 100%;
  max-width: 400px;
  padding: 20px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 0 0 1px rgb(15 27 45 / 0.04), 0 18px 40px -16px rgb(40 50 110 / 0.28);
}
.card-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 700; margin-bottom: 14px; }
.card-title small { color: var(--ink-3); font-weight: 500; font-size: 12.5px; }

/* kiosk */
.kiosk { max-width: 320px; text-align: center; }
.cam {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 16px;
  background: linear-gradient(160deg, #dff0ff, #ece6ff);
  color: #8aa6cf;
}
.cam svg.face { width: 54%; height: auto; }
.cam .corner { position: absolute; width: 28px; height: 28px; border: 3px solid var(--i-sky); }
.cam .tl { top: 16px; left: 16px; border-right: 0; border-bottom: 0; border-top-left-radius: 10px; }
.cam .tr { top: 16px; right: 16px; border-left: 0; border-bottom: 0; border-top-right-radius: 10px; }
.cam .bl { bottom: 16px; left: 16px; border-right: 0; border-top: 0; border-bottom-left-radius: 10px; }
.cam .br { bottom: 16px; right: 16px; border-left: 0; border-top: 0; border-bottom-right-radius: 10px; }
.kiosk-name { margin-top: 16px; font-size: 17px; font-weight: 800; }
.kiosk-class { color: var(--ink-3); font-size: 13px; }
.hadir {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--t-mint);
  color: #0a6b49;
  font-weight: 800;
  font-size: 15px;
}
.hadir .ic { width: 18px; height: 18px; stroke-width: 2.4; }
.toast {
  position: absolute;
  right: clamp(-8px, -1vw, 0px);
  bottom: 18%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 34px -14px rgb(40 50 110 / 0.35), 0 0 0 1px rgb(15 27 45 / 0.04);
  font-size: 12.5px;
  text-align: left;
}
.toast b { display: block; font-size: 13px; }
.toast span { color: var(--ink-3); }
.toast .icon-tile { width: 32px; height: 32px; border-radius: 10px; }
.toast .icon-tile .ic { width: 16px; height: 16px; }

/* timetable */
.tt li {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 12px;
  align-items: center;
  padding: 4px 0;
}
.tt time { color: var(--ink-3); font-size: 12.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.tt span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 10px;
  background: var(--tb);
  color: var(--ink);
  font-weight: 650;
  border-left: 3px solid var(--ti);
}
.tt span small { color: var(--ink-2); font-weight: 500; font-size: 12px; }
.tt .sky    { --tb: var(--t-sky);    --ti: var(--i-sky); }
.tt .violet { --tb: var(--t-violet); --ti: var(--i-violet); }
.tt .sun    { --tb: var(--t-sun);    --ti: #d79a00; }
.tt .mint   { --tb: var(--t-mint);   --ti: var(--i-mint); }
.tt .pink   { --tb: var(--t-pink);   --ti: var(--i-pink); }
.tt .sun .ic { width: 15px; height: 15px; color: var(--i-sun); }
.switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-weight: 600;
  font-size: 13.5px;
}
.switch-row small { display: block; color: var(--ink-3); font-weight: 500; font-size: 12px; }
.switch {
  position: relative;
  width: 40px;
  height: 24px;
  border-radius: 99px;
  background: var(--sky);
  flex: none;
}
.switch::after { content: ""; position: absolute; top: 3px; right: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; }

/* grade table */
.grades { max-width: 430px; }
.grades table { width: 100%; border-collapse: collapse; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.grades th { padding: 0 6px 10px; color: var(--ink-3); font-size: 12px; font-weight: 600; text-align: right; }
.grades th:first-child, .grades td:first-child { text-align: left; padding-left: 0; }
.grades td { padding: 10px 6px; border-top: 1px solid var(--line); text-align: right; color: var(--ink-2); }
.grades td:first-child { color: var(--ink); font-weight: 600; }
.grades td:last-child b {
  display: inline-block;
  min-width: 38px;
  padding: 3px 8px;
  border-radius: 8px;
  background: var(--t-violet);
  color: #4b2db0;
  text-align: center;
}
.grades-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--bg-soft);
  color: var(--ink-2);
  font-size: 12.5px;
  font-weight: 600;
}
.grades-foot .ic { width: 17px; height: 17px; color: var(--i-violet); }

/* phone */
.phone {
  position: relative;
  width: 280px;
  padding: 10px;
  border-radius: 40px;
  background: #1d2533;
  box-shadow: 0 30px 60px -20px rgb(30 40 90 / 0.45);
}
.phone-screen {
  overflow: hidden;
  border-radius: 31px;
  background: #f6f8fb;
  font-size: 12.5px;
}
.phone-status {
  position: relative;
  display: flex;
  justify-content: space-between;
  padding: 10px 20px 6px;
  font-size: 11px;
  font-weight: 700;
}
.phone-status::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 9px;
  width: 11px;
  height: 11px;
  margin-left: -5.5px;
  border-radius: 50%;
  background: #1d2533;
}
.phone-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 12px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.phone-head .avatar {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--t-peach);
  color: var(--i-peach);
  font-weight: 800;
  font-size: 12px;
}
.phone-head b { display: block; font-size: 13px; }
.phone-head small { color: var(--ink-3); font-size: 11px; }
.phone-body { display: grid; gap: 8px; padding: 12px; min-height: 340px; align-content: start; }
.pinned {
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--t-pink);
}
.pinned .ic { width: 16px; height: 16px; margin-top: 1px; color: var(--i-pink); }
.pinned b { display: block; font-size: 12px; color: #8a1f57; }
.pinned span { color: #5b2541; font-size: 12px; }
.msg {
  max-width: 82%;
  padding: 8px 12px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line);
}
.msg small { display: block; margin-top: 2px; color: var(--ink-3); font-size: 10.5px; text-align: right; }
.msg.me { justify-self: end; background: var(--sky); color: #fff; box-shadow: none; border-bottom-right-radius: 6px; }
.msg.me small { color: rgb(255 255 255 / 0.85); }
.msg.them { border-bottom-left-radius: 6px; }
.phone-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 10px 12px;
  padding: 9px 9px 9px 14px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line);
  color: var(--ink-3);
}
.phone-input i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--sky); color: #fff; }
.phone-input .ic { width: 14px; height: 14px; }

/* modules grid */
.modules {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.modules li {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 22px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line) inset;
}
.modules h3 { font-size: 1.03rem; font-weight: 750; letter-spacing: -0.01em; line-height: 1.3; }
.modules p { margin-top: 4px; color: var(--ink-2); font-size: 0.93rem; line-height: 1.5; }

/* audiences */
.audience {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.audience li {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 22px 22px;
  border-radius: 22px;
  background: var(--tb);
}
.audience .who { display: flex; align-items: center; gap: 12px; }
.audience .who span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #fff;
  color: var(--ti);
}
.audience .who .ic { width: 20px; height: 20px; }
.audience h3 { font-size: 1.125rem; font-weight: 750; letter-spacing: -0.015em; }
.audience p { color: var(--ink-2); font-size: 0.95rem; }
.audience .app-tag {
  align-self: flex-start;
  margin-top: auto;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.85);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 700;
}
.audience .sky    { --tb: var(--t-sky);    --ti: var(--i-sky); }
.audience .violet { --tb: var(--t-violet); --ti: var(--i-violet); }
.audience .mint   { --tb: var(--t-mint);   --ti: var(--i-mint); }
.audience .peach  { --tb: var(--t-peach);  --ti: var(--i-peach); }
.aside-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
  color: var(--ink-2);
  font-size: 0.95rem;
  text-align: center;
}
.aside-note .ic { color: var(--ink-3); }

/* timeline */
.origin {
  max-width: 640px;
  margin: 0 auto;
}
.stepper {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}
.stepper::before {
  content: "";
  position: absolute;
  top: 21px;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--i-sky) 0 22%, var(--line-2) 22% 100%);
}
.stepper li {
  position: relative;
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 6px;
  text-align: center;
  counter-increment: step;
}
.stepper .dot {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 2px var(--line-2) inset;
  color: var(--ink-3);
  font-weight: 800;
}
.stepper .dot::before { content: counter(step); }
.stepper .now .dot { background: var(--sky); box-shadow: 0 0 0 6px var(--sky-soft); color: #fff; }
.stepper time { color: var(--sky); font-weight: 800; font-size: 0.95rem; }
.stepper h3 { font-size: 1.2rem; font-weight: 750; letter-spacing: -0.015em; }
.stepper p { max-width: 17em; color: var(--ink-2); font-size: 0.95rem; }
.stepper .tag {
  margin-top: 4px;
  padding: 3px 10px;
  border-radius: 99px;
  background: var(--sky-soft);
  color: var(--sky);
  font-size: 0.78rem;
  font-weight: 700;
}

/* privacy */
.privacy {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 32px);
  max-width: 920px;
  margin: clamp(72px, 9vw, 112px) auto 0;
  padding: clamp(24px, 3vw, 32px) clamp(24px, 4vw, 40px);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line) inset;
}
.privacy .icon-tile { width: 56px; height: 56px; border-radius: 17px; }
.privacy .icon-tile .ic { width: 26px; height: 26px; }
.privacy h2 { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; }
.privacy p { margin-top: 4px; color: var(--ink-2); }

/* final call to action */
.cta-band { padding-block: 0 clamp(56px, 7vw, 88px); }
.cta {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 7vw, 88px) var(--gutter);
  border-radius: clamp(24px, 3vw, 36px);
  background: var(--grad-soft);
  box-shadow: 0 0 0 1px rgb(184 168 255 / 0.25) inset;
  text-align: center;
}
.cta::before {
  content: "";
  position: absolute;
  inset: auto -10% -60% -10%;
  height: 90%;
  background: var(--grad);
  opacity: .35;
  filter: blur(60px);
  pointer-events: none;
}
.cta > * { position: relative; }
.cta p { max-width: 32em; margin: 16px auto 0; color: var(--ink-2); font-size: 1.125rem; }
.cta .actions { margin-top: 32px; }

/* footer */
.site-footer { padding-block: 28px 40px; border-top: 1px solid var(--line); }
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  color: var(--ink-3);
  font-size: 0.9rem;
}
.site-footer .wordmark { font-size: 1.05rem; }
.site-footer .wordmark svg { width: 72px; height: 30px; }
.site-footer a:not(.wordmark) { color: var(--ink-2); }
/* a full-size touch target without changing the line's look */
.site-footer p a {
  display: inline-block;
  padding: 12px 4px;
  margin: -12px -4px;
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .app { grid-template-columns: 64px 1fr; }
  .app-nav li span, .app-school div { display: none; }
  .app-nav li { justify-content: center; }
  .app-school { justify-content: center; padding-inline: 0; }
  .modules, .audience { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1100px) {
  /* below desktop the tiles move to a band above the status pill */
  .hero { padding-top: 132px; }
  .tile {
    --s: 48px;
    left: var(--mx);
    top: var(--my);
    border-radius: 15px;
  }
  .tile:not(.m) { display: none; }
}

@media (max-width: 900px) {
  .feature, .feature.flip { grid-template-columns: 1fr; }
  .feature.flip .feature-copy { order: 0; }
  .feature-copy { max-width: 36em; }
  .stage { min-height: 0; }
  .app-grid { grid-template-columns: 1fr; }
  .header-nav ul { display: none; }
}

@media (max-width: 760px) {
  .tile { --s: 44px; border-radius: 14px; }
  .values { grid-template-columns: 1fr; gap: 28px; }
  .values li { grid-template-columns: auto 1fr; column-gap: 16px; row-gap: 4px; }
  .values li .icon-tile { grid-row: span 2; }
  .stepper { grid-template-columns: 1fr; gap: 28px; }
  .stepper::before { display: none; }
  .stepper li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50px;
    bottom: -22px;
    left: 20.5px;
    width: 3px;
    border-radius: 3px;
    background: var(--line-2);
  }
  .stepper li.now::after { background: linear-gradient(180deg, var(--i-sky) 0 40%, var(--line-2) 40% 100%); }
  .stepper li { grid-template-columns: 44px 1fr; justify-items: start; column-gap: 18px; row-gap: 4px; text-align: left; }
  .stepper .dot { grid-row: span 4; margin: 0; }
  .privacy { flex-direction: column; align-items: flex-start; }
  .app-side { display: none; }
  .app { grid-template-columns: 1fr; min-height: 0; }
  .app-main { padding: 16px; }
  .att { gap: 18px; }
  .ring { width: 96px; height: 96px; }
  .ring::before { inset: 10px; }
  .ring b { font-size: 21px; }
  .legend { grid-template-columns: 1fr; gap: 6px; }
  .bars, .bells li:nth-child(-n+2), .bells li:nth-child(n+7) { display: none; }
  .aside-note { justify-content: flex-start; align-items: flex-start; text-align: left; }
  .aside-note .ic { margin-top: 3px; }
  .browser-bar .spacer, .dots { display: none; }
  .header-cta { display: none; }
  .lang > * { padding: 8px 13px; }
}

@media (max-width: 560px) {
  .modules, .audience { grid-template-columns: 1fr; }
  .modules li { grid-template-columns: auto 1fr; column-gap: 16px; padding: 18px; }
  .actions .btn { flex: 1 1 100%; }
  .pill { font-size: 0.8rem; padding-inline: 12px; }
  .stage { padding: 20px 16px; border-radius: 22px; }
  .phone { width: 100%; max-width: 270px; }
  .toast { right: 8px; bottom: 8px; }
  .app-top { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tile { animation: none; }
  .btn { transition: none; }
}
