/*
 * campuswage.com: the marketing site.
 *
 * One stylesheet for every page. Colours and type come from the brand kit
 * (brand/design-files, scripts/brand.mjs): Night and Paper grounds, Coral for
 * work, Indigo for classes, Space Grotesk for everything. Pages alternate a
 * dark ground and a paper ground, like the poster.
 */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --night: #0f0f11;
  --slate: #18181b;
  --line-dark: #26262b;
  --paper: #f7f5f2;
  --paper-2: #efebe5;
  --line-paper: #dcd6cd;
  --ink: #141413;
  --ink-2: #3d3a36;
  --mute-paper: #5e5a55;
  --text-dark: #f7f5f2;
  --text-dark-2: #d9d5cf;
  --mute-dark: #a8a49e;
  --coral: #ff4d3d;
  --coral-hover: #ff6a5c;
  --coral-on-paper: #c22d1d;
  --coral-print: #e8392b;
  --indigo: #6366f1;
  --button-ink: #1a0806;
  --font: 'Space Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  /* Wide, like a product site on a big screen: the page uses the width it is
     given instead of sitting in a narrow column. */
  --wrap: 1760px;
  --gutter: clamp(20px, 4vw, 80px);
  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--night);
  color: var(--text-dark);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--coral);
  color: var(--button-ink);
  font-weight: 700;
}

.skip:focus {
  left: 12px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---- grounds ---------------------------------------------------- */

.on-paper {
  background: var(--paper);
  color: var(--ink);
  color-scheme: light;
}

.on-paper a {
  color: var(--ink);
}

.band {
  padding: clamp(72px, 10vw, 128px) 0;
}

/* Same paper ground stacked: don't double the band padding into a huge blank. */
.band.on-paper + .band.on-paper {
  padding-top: clamp(20px, 3vw, 36px);
}

#pricing.band {
  padding-bottom: clamp(28px, 4vw, 44px);
}

/* ---- type ------------------------------------------------------- */

h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  text-wrap: balance;
}

.display {
  font-size: clamp(48px, 7.4vw, 104px);
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.headline {
  font-size: clamp(34px, 4.6vw, 60px);
  letter-spacing: -0.045em;
}

.lead {
  margin: 0;
  max-width: 34em;
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.55;
  color: var(--text-dark-2);
}

.on-paper .lead {
  color: var(--ink-2);
}

.fine {
  font-size: 14px;
  color: var(--mute-dark);
}

.on-paper .fine {
  color: var(--mute-paper);
}

/* ---- logo -------------------------------------------------------- */

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.wordmark {
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
}

.wordmark b {
  font-weight: 700;
  color: var(--coral);
}

.on-paper .wordmark b {
  color: #d8321f;
}

/* ---- buttons ----------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--coral);
  color: var(--button-ink);
}

.btn-primary:hover {
  background: var(--coral-hover);
}

.on-paper .btn-primary {
  color: var(--button-ink);
}

.btn-quiet {
  border-color: var(--line-dark);
  color: var(--text-dark);
  background: transparent;
}

.btn-quiet:hover {
  border-color: var(--mute-dark);
}

.on-paper .btn-quiet {
  border-color: var(--line-paper);
  color: var(--ink);
}

.on-paper .btn-quiet:hover {
  border-color: var(--mute-paper);
}

.btn-ink {
  background: var(--ink);
  color: var(--paper);
}

.on-paper .btn-ink {
  color: var(--paper);
}

.btn-ink:hover {
  background: #2b2a28;
}

/* ---- header ------------------------------------------------------ */

.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--night) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-dark);
}

.site-head .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 68px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
  font-size: 15px;
}

.site-nav a {
  text-decoration: none;
  color: var(--text-dark-2);
  white-space: nowrap;
  flex-shrink: 0;
}

.site-nav a:hover,
.site-nav a[aria-current='page'] {
  color: var(--text-dark);
}

.site-nav .btn {
  min-height: 42px;
  padding: 0 18px;
  font-size: 15px;
  color: var(--button-ink);
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--line-dark);
  background: none;
  color: var(--text-dark);
  font: inherit;
  font-size: 15px;
  cursor: pointer;
}

/* Collapse before 8–9 nav items wrap on laptops (~1024–1280). */
@media (max-width: 1100px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px var(--gutter) 20px;
    background: var(--night);
    border-bottom: 1px solid var(--line-dark);
  }

  .site-nav a {
    padding: 12px 0;
    font-size: 17px;
  }

  .site-nav .btn {
    margin-top: 8px;
    min-height: 48px;
  }

  .site-head.is-open .site-nav {
    display: flex;
  }
}

/* ---- hero -------------------------------------------------------- */

/* The first screen is the whole screen: headline on the left, the product on
   the right, with a soft light behind the product like a lit desk. */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(900px, calc(100svh - 69px));
  padding: clamp(48px, 6vw, 88px) 0;
  overflow: hidden;
  background:
    radial-gradient(60% 70% at 78% 45%, rgb(99 102 241 / 0.16), transparent 70%),
    radial-gradient(45% 55% at 88% 80%, rgb(255 77 61 / 0.12), transparent 70%),
    var(--night);
}

.hero .display {
  font-size: clamp(52px, 6.6vw, 124px);
}

.hero .lead {
  font-size: clamp(18px, 1.5vw, 23px);
}

/* The product, in a browser window, so the picture reads as the real app. */
.device {
  border-radius: 18px;
  border: 1px solid var(--line-dark);
  background: #121214;
  box-shadow:
    0 40px 100px rgb(0 0 0 / 0.55),
    0 0 0 1px rgb(255 255 255 / 0.03) inset;
  overflow: hidden;
}

.device-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-dark);
  background: #16161a;
}

.device-bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #3a3a40;
}

.device-bar span {
  margin-left: 14px;
  padding: 4px 14px;
  border-radius: 8px;
  background: var(--night);
  font-size: 13px;
  color: var(--mute-dark);
}

.device-body {
  padding: clamp(16px, 2vw, 28px);
  display: grid;
  gap: 14px;
}

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 28px;
  justify-items: start;
}

.hero-copy::before {
  content: '';
  position: absolute;
  inset: -12% -18% -8% -12%;
  background: radial-gradient(60% 70% at 30% 40%, rgb(15 15 17 / 0.92), rgb(15 15 17 / 0.55) 55%, transparent 75%);
  pointer-events: none;
  z-index: -1;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 900px) {
  .hero .wrap {
    grid-template-columns: 1fr;
  }
}

/* The week: the brand's picture of "one schedule". Classes in indigo, shifts
   in coral. The blocks settle into place once when the page loads, and the
   pay slip counts in after them: the only motion on the page. */
.week {
  position: relative;
  padding-bottom: 56px;
}

.week-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: clamp(6px, 1vw, 12px);
}

.week-day {
  display: grid;
  gap: 10px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--mute-dark);
}

.week-col {
  position: relative;
  height: clamp(260px, 30vw, 360px);
  border-radius: 10px;
  background: var(--slate);
}

.week-col i {
  position: absolute;
  left: 5px;
  right: 5px;
  border-radius: 6px;
  animation: settle 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.week-col i.class {
  background: var(--indigo);
}

.week-col i.shift {
  background: var(--coral);
}

@keyframes settle {
  from {
    opacity: 0;
    transform: translateY(-18px) scaleY(0.55);
  }
}

.slip {
  position: absolute;
  right: -8px;
  bottom: 0;
  width: min(300px, 78%);
  padding: 20px 22px;
  border-radius: 16px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 24px 60px rgb(0 0 0 / 0.45);
  animation: slip-in 0.7s 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.slip-label {
  font-size: 14px;
  color: var(--mute-paper);
}

.slip-amount {
  margin: 4px 0 10px;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.slip-lines {
  display: grid;
  gap: 4px;
  font-size: 14px;
  color: var(--ink-2);
}

.slip-lines span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

/* On a phone the slip would cover half the week, so it sits under it. */
@media (max-width: 560px) {
  .week {
    padding-bottom: 0;
  }

  .slip {
    position: static;
    width: auto;
    margin-top: 20px;
  }
}

@keyframes slip-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;
  color: var(--mute-dark);
}

.legend-top {
  margin: 0;
  order: -1;
}

.legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.legend i {
  width: 12px;
  height: 12px;
  border-radius: 3px;
}

/* ---- features (paper) --------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.split-head {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 20px;
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
  }

  .split-head {
    position: static;
  }
}

.features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}

.features li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 20px;
  padding: 28px 0;
  border-top: 1px solid var(--line-paper);
}

.features li:last-child {
  border-bottom: 1px solid var(--line-paper);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--paper-2);
  color: var(--coral-on-paper);
}

.feature-icon.is-class {
  color: #4b4ed8;
}

.features h3 {
  font-size: 22px;
  letter-spacing: -0.025em;
}

.features p {
  margin: 8px 0 0;
  color: var(--ink-2);
}

.tag {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 9px;
  border-radius: 999px;
  border: 1px solid currentColor;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  vertical-align: 4px;
  color: var(--coral-on-paper);
}

/* ---- how it works: a real sequence, so it is numbered ---------------- */

.steps {
  list-style: none;
  margin: 56px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 48px);
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  display: grid;
  gap: 12px;
  align-content: start;
}

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  font-weight: 700;
  color: var(--coral);
}

.steps h3 {
  font-size: 22px;
}

.steps p {
  margin: 0;
  color: var(--text-dark-2);
}

@media (max-width: 760px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* ---- pricing (paper) ---------------------------------------------- */

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 56px;
}

@media (max-width: 820px) {
  .plans {
    grid-template-columns: 1fr;
  }
}

.plan {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: clamp(28px, 3vw, 40px);
  border-radius: 20px;
  border: 1px solid var(--line-paper);
  background: #fffdfa;
}

/* Pro wears the poster's coral header. */
.plan-pro {
  padding: 0;
  overflow: hidden;
  border-color: var(--coral-print);
}

.plan-pro-head {
  padding: clamp(28px, 3vw, 40px);
  background: var(--coral-print);
  color: #fff;
}

.plan-pro-body {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 0 clamp(28px, 3vw, 40px) clamp(28px, 3vw, 40px);
  flex: 1;
}

.plan h3 {
  font-size: 26px;
}

.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 10px;
  margin-top: 14px;
}

/* The full price, struck through beside the launch offer. */
.price-was {
  font-size: 26px;
  font-weight: 500;
  opacity: 0.75;
  text-decoration-thickness: 2px;
}

.promo {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #fff;
  color: var(--coral-on-paper);
  font-size: 13px;
  font-weight: 700;
}

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

.price strong {
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
}

.price span {
  font-size: 16px;
}

.plan-pro-head .price-alt {
  margin: 8px 0 0;
  font-size: 15px;
  color: #ffe3df;
}

.plan-note {
  margin: 6px 0 0;
  color: var(--mute-paper);
}

.plan-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.plan-list li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 12px;
  color: var(--ink-2);
}

.plan-list svg {
  margin-top: 4px;
  color: var(--coral-on-paper);
}

.plan .btn,
.plan .waitlist-form {
  margin-top: auto;
}

.partners {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
  padding: 28px clamp(28px, 3vw, 40px);
  border-radius: 20px;
  background: var(--ink);
  color: var(--paper);
}

.partners h3 {
  font-size: 22px;
}

.partners p {
  margin: 6px 0 0;
  color: #cfc9c1;
}

.pricing-note {
  margin: 20px 0 0;
  text-align: center;
}

/* ---- contact ------------------------------------------------------ */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

@media (max-width: 900px) {
  .contact {
    grid-template-columns: 1fr;
  }
}

.contact-copy {
  display: grid;
  gap: 20px;
}

.form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 3vw, 36px);
  border-radius: 20px;
  background: var(--slate);
  border: 1px solid var(--line-dark);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 560px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.field {
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line-dark);
  background: var(--night);
  color: var(--text-dark);
  font: inherit;
  font-size: 16px;
  font-weight: 400;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

/* Safari ignores height, padding and background on a native select. */
.field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23a8a49e' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 1px;
  border-color: transparent;
}

.form-status {
  margin: 0;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line-dark);
  background: var(--night);
  color: var(--text-dark-2);
  font-size: 15px;
}

.form-status[hidden] {
  display: none;
}

.form-status[data-kind='good'] {
  border-color: #2f9e6e;
  color: #c9f2dd;
}

.form-status[data-kind='bad'] {
  border-color: var(--coral);
  color: #ffd9d4;
}

/* The field only bots see. Kept out of the a11y tree with inert + aria-hidden. */
.trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: 0;
}

/* ---- footer ------------------------------------------------------- */

.site-foot {
  padding: 64px 0 40px;
  border-top: 1px solid var(--line-dark);
  font-size: 15px;
}

.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
}

@media (max-width: 760px) {
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }

  .foot-brand {
    grid-column: 1 / -1;
  }
}

.foot-brand p {
  margin: 14px 0 0;
  max-width: 26em;
  color: var(--mute-dark);
}

.foot-col h2,
.footer-col-title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--text-dark);
}

.foot-col ul {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.foot-col a {
  color: var(--mute-dark);
  text-decoration: none;
}

.foot-col a:hover {
  color: var(--text-dark);
}

.foot-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  color: var(--mute-dark);
  font-size: 14px;
}

/* ---- long-form pages: blog, privacy ------------------------------- */

.page-head {
  padding: clamp(56px, 8vw, 96px) 0 clamp(32px, 4vw, 48px);
}

.page-head .lead {
  margin-top: 20px;
}

.prose {
  max-width: 68ch;
  font-size: 18px;
  line-height: 1.7;
}

.prose h2 {
  margin: 48px 0 12px;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.prose h3 {
  margin: 32px 0 8px;
  font-size: 21px;
  letter-spacing: -0.02em;
}

.prose p,
.prose ul,
.prose ol {
  margin: 0 0 18px;
}

.prose li {
  margin-bottom: 8px;
}

.prose a {
  color: var(--coral-on-paper);
  text-underline-offset: 3px;
}

.prose strong {
  font-weight: 600;
}

.prose .aside {
  margin: 28px 0;
  padding: 20px 22px;
  border-left: 4px solid var(--indigo);
  background: var(--paper-2);
  border-radius: 0 12px 12px 0;
}

.post-meta {
  margin-top: 18px;
  font-size: 15px;
  color: var(--mute-paper);
}

.back {
  display: inline-block;
  margin-bottom: 24px;
  font-size: 15px;
  text-decoration: none;
  color: var(--mute-paper);
}

.back:hover {
  color: var(--ink);
}

/* Blog index: featured latest post + cover grid (daily posts use auto covers). */
.blog-head .headline {
  max-width: 16ch;
}

.blog-kicker {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral-on-paper);
}

.blog-feed {
  display: grid;
  gap: clamp(40px, 6vw, 72px);
}

.blog-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  text-decoration: none;
}

.blog-feature-media,
.blog-thumb {
  overflow: hidden;
  border-radius: 18px;
  background:
    radial-gradient(120% 80% at 12% 10%, rgba(255, 77, 61, 0.22), transparent 55%),
    linear-gradient(145deg, #1a1816 0%, #2c2824 48%, #141210 100%);
  aspect-ratio: 16 / 10;
}

.blog-feature-media img,
.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.blog-feature:hover .blog-feature-media img,
.blog-grid a:hover .blog-thumb img {
  transform: scale(1.04);
}

.blog-feature-copy {
  display: grid;
  gap: 12px;
  align-content: center;
}

.blog-feature-copy time,
.blog-grid time {
  font-size: 14px;
  color: var(--mute-paper);
}

.blog-feature-copy h2 {
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.blog-feature-copy p,
.blog-grid p {
  margin: 0;
  color: var(--ink-2);
}

.blog-feature:hover h2,
.blog-grid a:hover h2 {
  color: var(--coral-on-paper);
}

.blog-read {
  display: inline-flex;
  align-items: center;
  margin-top: 6px;
  font-weight: 600;
  color: var(--coral-on-paper);
}

.blog-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3.5vw, 40px) clamp(20px, 2.5vw, 32px);
}

.blog-grid a {
  display: grid;
  gap: 12px;
  text-decoration: none;
  height: 100%;
}

.blog-grid h2 {
  font-size: clamp(20px, 2vw, 24px);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.blog-grid p {
  font-size: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 960px) {
  .blog-feature {
    grid-template-columns: minmax(0, 1fr);
  }

  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .blog-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Kept for any old markup; the index now uses .blog-grid. */
.post-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 820px;
}

.post-list li {
  border-top: 1px solid var(--line-paper);
}

.post-list li:last-child {
  border-bottom: 1px solid var(--line-paper);
}

.post-list a {
  display: grid;
  gap: 8px;
  padding: 32px 0;
  text-decoration: none;
}

.post-list h2 {
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -0.035em;
}

.post-list a:hover h2 {
  color: var(--coral-on-paper);
}

.post-list p {
  margin: 0;
  color: var(--ink-2);
}

.post-list time {
  font-size: 14px;
  color: var(--mute-paper);
}

.post-cta {
  max-width: 68ch;
  margin-top: 56px;
  padding: 28px;
  border-radius: 20px;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  gap: 14px;
  justify-items: start;
}

.post-cta p {
  margin: 0;
  color: #cfc9c1;
}

/* ---- brand page --------------------------------------------------- */

.brand-section {
  padding: 56px 0;
  border-top: 1px solid var(--line-paper);
}

.brand-section:first-of-type {
  border-top: 0;
}

.brand-section > p {
  max-width: 60ch;
  color: var(--ink-2);
}

.assets {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.asset {
  display: grid;
  gap: 12px;
  align-content: start;
}

.asset-frame {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--line-paper);
  background: #fffdfa;
  overflow: hidden;
}

.asset-frame.is-dark {
  background: var(--night);
  border-color: var(--night);
}

.asset-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.asset h3 {
  font-size: 17px;
  letter-spacing: -0.01em;
}

.asset-links {
  display: flex;
  gap: 14px;
  font-size: 15px;
}

.asset-links a {
  color: var(--coral-on-paper);
  text-underline-offset: 3px;
}

.swatches {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.swatch {
  display: grid;
  gap: 4px;
  padding: 0;
  border: 1px solid var(--line-paper);
  border-radius: 16px;
  overflow: hidden;
  background: #fffdfa;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.swatch-chip {
  height: 96px;
}

.swatch strong,
.swatch span {
  padding: 0 14px;
}

.swatch strong {
  padding-top: 10px;
  font-size: 15px;
}

.swatch span {
  padding-bottom: 12px;
  font-size: 14px;
  color: var(--mute-paper);
  font-variant-numeric: tabular-nums;
}

.specimen {
  margin-top: 28px;
  padding: 32px;
  border-radius: 20px;
  background: var(--night);
  color: var(--paper);
}

.specimen p {
  margin: 0;
}

.specimen .big {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
}

.specimen .weights {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
  font-size: 22px;
  color: var(--text-dark-2);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .week-col i,
  .slip {
    animation: none;
  }
}

/* ================================================================== *
 * Motion. Transform and opacity only, so it stays smooth on a phone.
 * Everything here is switched off for prefers-reduced-motion (bottom),
 * and content is only hidden for reveal when the page script runs (.js).
 * ================================================================== */

/* Drifting light behind the hero. Radial gradients, not blur filters,
   because a blur that size costs a phone its frame rate. */
.hero .wrap {
  position: relative;
  z-index: 1;
}

.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-glow i {
  position: absolute;
  width: 70vmax;
  height: 70vmax;
  border-radius: 50%;
  opacity: 0.55;
  animation: drift 22s ease-in-out infinite alternate;
}

.hero-glow i:nth-child(1) {
  top: -30vmax;
  right: -20vmax;
  background: radial-gradient(circle, rgb(99 102 241 / 0.32), transparent 62%);
}

.hero-glow i:nth-child(2) {
  bottom: -40vmax;
  right: 5vmax;
  background: radial-gradient(circle, rgb(255 77 61 / 0.26), transparent 62%);
  animation-duration: 28s;
  animation-direction: alternate-reverse;
}

.hero-glow i:nth-child(3) {
  top: 10vmax;
  left: -35vmax;
  background: radial-gradient(circle, rgb(99 102 241 / 0.14), transparent 60%);
  animation-duration: 34s;
}

@keyframes drift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-6vmax, 4vmax, 0) scale(1.12);
  }
  100% {
    transform: translate3d(4vmax, -3vmax, 0) scale(0.95);
  }
}

/* The headline rises in word by word, each word out of its own mask. */
.w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.1em;
  margin-bottom: -0.1em;
}

.w > span {
  display: inline-block;
  animation: rise 0.95s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: var(--d, 0s);
}

@keyframes rise {
  from {
    transform: translateY(110%) rotate(4deg);
  }
}

.hero-in {
  animation: fade-up 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: var(--d, 0s);
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
}

/* The product floats, and on a computer tilts toward the pointer (site.js
   sets --rx and --ry). The two live on different elements so they add up. */
.week {
  animation: float 7s ease-in-out 1.4s infinite;
}

@keyframes float {
  50% {
    transform: translateY(-14px);
  }
}

.device {
  transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  /* backwards, not both: once in, the tilt (--rx, --ry) owns the transform. */
  animation: device-in 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s backwards;
}

@keyframes device-in {
  from {
    opacity: 0;
    transform: perspective(1400px) rotateX(14deg) rotateY(-10deg) translateY(60px) scale(0.94);
  }
}

/* "Now" sweeps across the week, one day a second, and each day lights up as
   it passes: the week being read, the way the app reads it. */
.week-grid {
  position: relative;
}

.now-line {
  position: absolute;
  top: 26px;
  bottom: 0;
  left: 0;
  width: 2px;
  margin-left: -1px;
  border-radius: 2px;
  background: var(--coral);
  box-shadow: 0 0 18px 3px rgb(255 77 61 / 0.55);
  animation: sweep 7s linear 1.2s infinite;
}

.now-line::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
}

@keyframes sweep {
  from {
    left: 0%;
  }
  to {
    left: 100%;
  }
}

.week-col::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgb(255 255 255 / 0.12), rgb(255 255 255 / 0.02));
  opacity: 0;
  pointer-events: none;
  animation: day-light 7s linear infinite;
  animation-delay: calc(1.25s + var(--i, 0) * 1s);
}

@keyframes day-light {
  0% {
    opacity: 0;
  }
  4% {
    opacity: 1;
  }
  16% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* The ticker: things CampusWage keeps track of, going past for good. */
.ticker {
  overflow: hidden;
  padding: 20px 0;
  border-block: 1px solid var(--line-dark);
  background: var(--slate);
}

.ticker-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marquee 48s linear infinite;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

.tick {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 500;
  color: var(--text-dark-2);
}

.tick i {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--mute-dark);
}

.tick-shift i {
  background: var(--coral);
}

.tick-class i {
  background: var(--indigo);
}

.tick-due i {
  background: #f5b041;
}

.tick-pay i {
  background: #34c38f;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* Reveal on scroll. site.js adds .is-in as each part comes into view. */
.js [data-reveal],
.js [data-stagger] > * {
  opacity: 0;
  transform: translateY(44px);
  transition:
    opacity 0.8s ease,
    transform 0.95s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--d, 0s);
}

.js [data-reveal].is-in,
.js [data-stagger] > .is-in {
  opacity: 1;
  transform: none;
}

/* The step numbers pop in as their step arrives. */
.js .steps > li::before {
  transform: scale(0.3);
  transition: transform 0.6s cubic-bezier(0.3, 1.6, 0.4, 1);
  transition-delay: calc(var(--d, 0s) + 0.2s);
}

.js .steps > li.is-in::before {
  transform: none;
}

/* Pro breathes a coral glow. */
.plan-pro {
  animation: pro-glow 3.6s ease-in-out infinite;
}

@keyframes pro-glow {
  50% {
    box-shadow: 0 18px 60px -8px rgb(232 57 43 / 0.45);
  }
}

/* A light sweeps across primary buttons on hover. */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgb(255 255 255 / 0.45) 50%, transparent 70%);
  transform: translateX(-120%);
}

.btn-primary:hover::after {
  transform: translateX(120%);
  transition: transform 0.7s ease;
}

@media (prefers-reduced-motion: reduce) {
  .hero-glow i,
  .w > span,
  .hero-in,
  .week,
  .device,
  .now-line,
  .week-col::after,
  .ticker-track,
  .plan-pro {
    animation: none;
  }

  .now-line {
    display: none;
  }

  .device {
    transform: none;
    transition: none;
  }

  .js [data-reveal],
  .js [data-stagger] > *,
  .js .steps > li::before {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn-primary::after {
    display: none;
  }
}

/* ==== the river (home hero) ======================================== */
/* The week as a flowing picture: words on top, the river under them, and
   the pay slip standing on the payday seam. site.js draws the canvas. */

.hero {
  min-height: min(980px, calc(100svh - 69px));
  align-items: stretch;
  isolation: isolate;
  background:
    radial-gradient(70% 60% at 85% 100%, rgb(255 194 75 / 0.07), transparent 70%),
    radial-gradient(60% 70% at 20% 100%, rgb(99 102 241 / 0.10), transparent 70%),
    var(--night);
}

.hero .river {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero .wrap {
  position: relative;
}

/* The headline is the poster: big, tight, and set over the moving river. */
.hero .display {
  font-size: clamp(52px, 6.8vw, 128px);
  line-height: 0.94;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

/* The week stands in the river: its slip counts what the shifts earn. */
.week .device {
  position: relative;
  z-index: 1;
}

.slip.slip-live {
  z-index: 2;
  animation: slip-in 0.7s 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}

/* Payday: the slip glows gold for a moment, then a new period begins. */
.slip.slip-live.is-paid {
  transform: translateY(-4px);
  box-shadow:
    0 0 0 2px #ffc24b,
    0 24px 80px rgb(255 194 75 / 0.35);
}

.slip.slip-live.is-paid [data-live-day] {
  color: #8a5a00;
  font-weight: 700;
}

/* The night melts into the page along a wave, not a straight cut. */
.edge {
  display: block;
  height: clamp(36px, 6vw, 90px);
  margin-top: -1px;
  background: var(--night);
  line-height: 0;
}
.edge svg {
  width: 100%;
  height: 100%;
  display: block;
}
.edge path {
  fill: var(--paper);
}

/* Two weeks, one pay period: only the week the line is in shows. Without
   script the first week stands alone, as it always did. */
.week-col i[data-w='2'] {
  display: none;
}
.week-grid[data-week='2'] .week-col i[data-w='1'] {
  display: none;
}
.week-grid[data-week='2'] .week-col i[data-w='2'] {
  display: block;
}

/* A shift the line has passed is worked: a gold edge, the colour of pay. */
.week-col i.shift.is-worked {
  box-shadow: inset 0 0 0 2px rgb(255 194 75 / 0.95);
  transition: box-shadow 0.3s ease;
}

/* The script moves the line in step with the slip. */
.week-grid.is-live .now-line {
  animation: none;
}

.legend .week-tag {
  margin-left: auto;
  color: var(--mute-dark);
  font-variant-numeric: tabular-nums;
}

/* ---- drivers (night, with a coral glow) ------------------------------ */

.drivers {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60% 70% at 85% 30%, rgba(255, 77, 61, 0.16), transparent 70%),
    radial-gradient(50% 60% at 10% 90%, rgba(99, 102, 241, 0.12), transparent 70%),
    var(--night);
  border-top: 1px solid var(--line-dark);
}

.drivers-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(48px, 6vw, 104px);
  align-items: center;
}

.drivers-copy {
  display: grid;
  gap: 22px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 77, 61, 0.14);
  color: var(--coral-hover);
  font-size: 14px;
  font-weight: 600;
}

.drivers-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 20px;
}

.drivers-list li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 16px;
  color: var(--coral);
}

.drivers-list h3 {
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--text-dark);
}

.drivers-list p {
  margin: 6px 0 0;
  color: var(--text-dark-2);
  line-height: 1.55;
}

.drivers-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 6px;
}

.waitlist-form {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
  width: 100%;
  max-width: 420px;
}

.waitlist-form .waitlist-email {
  flex: 1 1 180px;
  margin: 0;
}

.waitlist-form .waitlist-email input {
  min-height: 48px;
  width: 100%;
}

.waitlist-form .btn {
  flex: 0 0 auto;
  min-height: 48px;
}

.waitlist-form .form-status {
  flex: 1 1 100%;
  margin: 0;
  font-size: 14px;
}

.plan-pro-body .waitlist-form {
  margin-top: 8px;
  max-width: none;
}

.on-paper .waitlist-form .waitlist-email input {
  background: #fff;
  color: var(--ink);
  border-color: var(--line-paper);
}

.drivers-actions a:not(.btn) {
  color: var(--text-dark);
}

/* The art: a map behind, a phone in front, two chips floating. */
.drivers-art {
  position: relative;
  min-height: 600px;
}

.drive-map {
  position: absolute;
  inset: 40px 0 60px 18%;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
}

.drive-map svg {
  display: block;
  width: 100%;
  height: 100%;
}

.route-line {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.js .drivers-art.is-in .route-line,
.drivers-art.is-in .route-line {
  animation: route-draw 2.6s 0.3s cubic-bezier(0.6, 0, 0.3, 1) forwards;
}

html:not(.js) .route-line {
  stroke-dashoffset: 0;
}

@keyframes route-draw {
  to {
    stroke-dashoffset: 0;
  }
}

.drive-map .drop {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}

.drivers-art.is-in .drop {
  animation: drop-pop 0.4s cubic-bezier(0.34, 1.6, 0.64, 1) forwards;
}

.drivers-art.is-in .drop:nth-of-type(1) {
  animation-delay: 1.2s;
}

.drivers-art.is-in .drop:nth-of-type(2) {
  animation-delay: 1.9s;
}

html:not(.js) .drive-map .drop {
  opacity: 1;
}

@keyframes drop-pop {
  from {
    opacity: 0;
    transform: scale(0.3);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.drive-map-tag {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 2px;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(15, 15, 17, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.drive-map-tag b {
  font-size: 26px;
  letter-spacing: -0.03em;
  color: var(--text-dark);
}

.drive-map-tag span {
  font-size: 13px;
  color: var(--mute-dark);
}

.drive-phone {
  position: absolute;
  left: 0;
  top: 0;
  width: 270px;
  aspect-ratio: 9 / 19.2;
  padding: 10px;
  border-radius: 46px;
  background: linear-gradient(160deg, #3a3a40, #1b1b1f);
  box-shadow:
    0 0 0 1px #4a4a50 inset,
    0 50px 90px rgba(0, 0, 0, 0.6);
  transform: rotate(-4deg);
}

.drive-phone-screen {
  position: relative;
  height: 100%;
  border-radius: 37px;
  overflow: hidden;
  padding: 44px 12px 16px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  background:
    radial-gradient(120% 70% at 50% 0%, #4b2a6b, transparent 70%),
    radial-gradient(90% 60% at 50% 100%, #ff4d3d66, transparent 70%),
    #120f1c;
  color: #fff;
}

.drive-island {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 84px;
  height: 24px;
  margin-left: -42px;
  border-radius: 999px;
  background: #000;
}

.drive-lock-time {
  text-align: center;
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.drive-lock-date {
  margin-top: -4px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  opacity: 0.85;
}

.drive-activity,
.drive-note {
  border-radius: 20px;
  background: rgba(20, 20, 24, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.drive-activity {
  margin-top: auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 12px;
}

.drive-activity-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 77, 61, 0.22);
  color: var(--coral);
}

.drive-activity-text {
  display: grid;
  line-height: 1.2;
}

.drive-activity-text small {
  font-size: 11px;
  opacity: 0.7;
}

.drive-activity-text b {
  font-size: 15px;
}

.drive-activity-text em {
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  color: var(--coral-hover);
}

.drive-activity-time {
  font-size: 20px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.drive-note {
  display: grid;
  gap: 3px;
  padding: 11px 12px;
  font-size: 12px;
  line-height: 1.35;
}

.drive-note-app {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  letter-spacing: 0.06em;
  opacity: 0.7;
}

.drive-note-app svg {
  border-radius: 5px;
}

.drive-note-app i {
  margin-left: auto;
  font-style: normal;
  letter-spacing: 0;
}

.drive-note b {
  font-size: 13px;
}

.drive-chip {
  position: absolute;
  display: grid;
  gap: 2px;
  padding: 12px 16px;
  border-radius: 18px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  animation: chip-float 5s ease-in-out infinite;
}

.drive-chip small {
  font-size: 12px;
  color: var(--mute-paper);
}

.drive-chip b {
  font-size: 22px;
  letter-spacing: -0.03em;
  color: #15803d;
}

.drive-chip-pay {
  right: 6%;
  top: 0;
}

.drive-chip-siri {
  left: 34%;
  bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  animation-delay: -2.5s;
}

.drive-chip-siri i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #ff4d3d, #ff8a3d, #6366f1, #22d3ee, #ff4d3d);
  animation: siri-spin 3s linear infinite;
}

@keyframes chip-float {
  50% {
    transform: translateY(-8px);
  }
}

@keyframes siri-spin {
  to {
    transform: rotate(1turn);
  }
}

@media (max-width: 1000px) {
  .drivers-grid {
    grid-template-columns: 1fr;
  }

  .drivers-art {
    min-height: 560px;
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 560px) {
  .drivers-art {
    min-height: 500px;
  }

  .drive-phone {
    width: 200px;
    border-radius: 38px;
  }

  .drive-phone-screen {
    border-radius: 30px;
    padding: 40px 9px 12px;
  }

  .drive-lock-time {
    font-size: 46px;
  }

  .drive-activity {
    gap: 7px;
    padding: 9px;
  }

  .drive-activity-icon {
    width: 28px;
    height: 28px;
  }

  .drive-activity-text b {
    font-size: 13px;
    white-space: nowrap;
  }

  .drive-activity {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .drive-activity-time {
    grid-column: 2;
    font-size: 15px;
  }

  .drive-note {
    font-size: 11px;
  }

  .drive-map {
    inset: 90px 0 80px 36%;
  }

  .drive-map-tag {
    top: 10px;
    right: 10px;
    bottom: auto;
    padding: 9px 12px;
  }

  .drive-map-tag b {
    font-size: 20px;
  }

  .drive-map-tag span {
    display: none;
  }

  .drive-chip-pay {
    right: 0;
  }

  .drive-chip-siri {
    left: auto;
    right: 0;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .route-line,
  .drivers-art.is-in .route-line {
    animation: none;
    stroke-dashoffset: 0;
  }

  .drive-map .drop,
  .drivers-art.is-in .drop {
    animation: none;
    opacity: 1;
  }

  .drive-chip,
  .drive-chip-siri i {
    animation: none;
  }
}

/* A post's photo, under its title (content/blog/images). */
.post-photo {
  max-width: 68ch;
  margin: 0 0 40px;
}
.post-photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 16px;
}
.post-photo figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--mute-paper);
}
.post-photo figcaption a {
  color: inherit;
}

/* ------------------------------------------------------------------ *
 * Download badges: App Store + Web App (Android uses the browser for now)
 * ------------------------------------------------------------------ */
.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 172px;
  height: 56px;
  padding: 0 18px 0 14px;
  border-radius: 14px;
  text-decoration: none;
  line-height: 1.05;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.store span {
  display: grid;
  gap: 2px;
}

.store small {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.store b {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Apple's badge: black, a fine light border, white type. */
.store-apple {
  background: #000;
  color: #fff;
  border: 1px solid #a6a6a6;
  box-shadow: 0 10px 28px -14px rgb(255 77 61 / 0.55);
}

.store-apple:hover {
  transform: translateY(-2px);
  border-color: #fff;
  box-shadow: 0 16px 36px -14px rgb(255 77 61 / 0.7);
}

.store-apple:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
}

/* Web app: same badge shape as App Store, coral outline for secondary weight. */
.store-web {
  background: var(--slate);
  color: var(--text-dark);
  border: 1px solid var(--line-dark);
  box-shadow: 0 10px 28px -14px rgb(255 77 61 / 0.35);
}

.store-web:hover {
  transform: translateY(-2px);
  border-color: var(--coral);
  box-shadow: 0 16px 36px -14px rgb(255 77 61 / 0.55);
}

.store-web:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
}

.store-web small {
  color: var(--mute-dark);
}

.on-paper .store-web {
  background: #fff;
  color: var(--ink);
  border-color: var(--line-paper);
}

.on-paper .store-web small {
  color: var(--mute-paper);
}

.post-cta .store-web {
  background: rgb(255 255 255 / 0.08);
  color: #fff;
  border-color: rgb(255 255 255 / 0.28);
}

.post-cta .store-web small {
  color: #ffd9d4;
}

.post-cta .stores {
  margin-top: 4px;
}

.fine a {
  color: var(--text-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.fine a:hover {
  color: var(--coral-hover);
}

.on-paper .fine a {
  color: var(--ink);
}

.on-paper .fine a:hover {
  color: var(--coral-on-paper);
}

/* The download band: one card, the app icon glowing beside the copy. */
.download-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid var(--line-dark);
  border-radius: 28px;
  background:
    radial-gradient(circle at 85% 50%, rgb(255 77 61 / 0.22), transparent 55%),
    linear-gradient(160deg, var(--slate), var(--night));
  overflow: hidden;
}

.download-copy {
  display: grid;
  gap: 20px;
  justify-items: start;
}

.download-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark-2);
}

.download-live i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px rgb(255 77 61 / 0.2);
}

.download-mark svg {
  display: block;
  width: clamp(120px, 16vw, 200px);
  height: auto;
  border-radius: 24%;
  filter: drop-shadow(0 24px 48px rgb(255 77 61 / 0.45));
  transform: rotate(-6deg);
}

@media (max-width: 720px) {
  .download-card {
    grid-template-columns: 1fr;
  }

  .download-mark {
    order: -1;
  }

  .download-mark svg {
    width: 96px;
  }
}

@media (max-width: 400px) {
  .store {
    min-width: 0;
    flex: 1 1 150px;
  }

  .store b {
    font-size: 18px;
  }
}

.foot-legal {
  margin: 16px 0 0;
  max-width: 90ch;
  font-size: 12px;
  line-height: 1.5;
  color: var(--mute-dark);
}

@media (prefers-reduced-motion: reduce) {
  .store,
  .store:hover {
    transition: none;
    transform: none;
  }

  .store-dot {
    animation: none;
  }
}

/* Store badges keep their own colours wherever they sit: on paper pages (the
   blog's closing card) a general link rule turned their text dark on black. */
.on-paper a.store-apple,
.prose a.store-apple,
a.store-apple {
  color: #fff;
  text-decoration: none;
}
.on-paper a.store-web,
.prose a.store-web,
a.store-web {
  text-decoration: none;
}

/* ---- calculators -------------------------------------------------- */

.calc-band {
  padding-top: 0;
}

.calc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 24px;
  align-items: start;
}

.calc {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 3vw, 32px);
  border-radius: 24px;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.03);
}

.calc h2 {
  font-size: clamp(24px, 2.4vw, 30px);
}

.calc-sub,
.calc-note {
  margin: 0;
  color: var(--text-dark-2);
  line-height: 1.5;
}

.calc-note {
  font-size: 14px;
}

.calc-note a {
  color: inherit;
  text-decoration: underline;
}

.calc-fields {
  display: grid;
  gap: 14px;
}

.calc-check {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 15px;
}

.calc-check input {
  width: 20px;
  height: 20px;
  accent-color: var(--coral);
}

.calc-out {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 16px;
  background: var(--night);
  border: 1px solid var(--line-dark);
}

.calc-out[hidden] {
  display: none;
}

.calc-out dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.calc-out dl > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-variant-numeric: tabular-nums;
}

.calc-out dd {
  margin: 0;
  font-weight: 600;
}

.calc-out .is-total {
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--line-dark);
  font-size: 19px;
  font-weight: 700;
}

.calc-headline {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.calc-out[data-state='bad'] .calc-headline {
  color: var(--coral);
}

.calc-track {
  height: 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.calc-track i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 6px;
  background: #3ecf8e;
}

.calc-out[data-state='warn'] .calc-track i {
  background: #ffc24a;
}

.calc-out[data-state='bad'] .calc-track i {
  background: var(--coral);
}

.calc-cta {
  display: grid;
  gap: 20px;
  justify-items: start;
  margin-top: clamp(48px, 6vw, 80px);
}

/* The two calculators, shown on the home page as links. */
.calc-intro {
  display: grid;
  gap: 20px;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.calc-tile {
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.calc-tile:hover,
.calc-tile:focus-visible {
  border-color: var(--coral);
  transform: translateY(-2px);
}

.calc-tile h3 {
  font-size: clamp(22px, 2.2vw, 28px);
}

.calc-tile-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 77, 61, 0.14);
  color: var(--coral);
}

.calc-tile-go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--coral);
}

@media (prefers-reduced-motion: reduce) {
  .calc-tile {
    transition: none;
  }
}

/* ---- job hunt page ---- */
.jobs-steps {
  display: grid;
  gap: 14px;
  max-width: 62ch;
  margin: 0;
  padding-left: 1.2em;
  font-size: 18px;
  line-height: 1.55;
  color: var(--text-dark-2);
}

.job-board {
  display: grid;
  gap: 20px;
}

.job-filters {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)) auto;
  gap: 14px;
  align-items: end;
  padding: clamp(18px, 2.4vw, 24px);
  border-radius: 24px;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.03);
}

.job-filters .calc-check {
  min-height: 48px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid var(--line-dark);
  background: var(--night);
  white-space: nowrap;
  cursor: pointer;
}

.job-filters .calc-check:has(input:checked) {
  border-color: var(--coral);
}

@media (max-width: 900px) {
  .job-filters {
    grid-template-columns: 1fr 1fr;
  }

  .job-filters .field:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .job-filters {
    grid-template-columns: 1fr;
  }
}

.job-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.job-count {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.job-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 16px;
}

.job-card {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: clamp(18px, 2.4vw, 24px);
  border-radius: 24px;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.2s ease;
}

.job-card:hover {
  border-color: var(--mute-dark);
}

.job-card h3 {
  font-size: clamp(20px, 1.8vw, 23px);
  letter-spacing: -0.025em;
}

.job-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.job-company {
  font-size: 14px;
  font-weight: 600;
  color: var(--mute-dark);
}

.job-badges {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.job-student {
  padding: 2px 9px;
  border-radius: 999px;
  border: 1px solid var(--coral);
  color: #ffd9d4;
  font-size: 12px;
  font-weight: 600;
}

.job-verified {
  padding: 2px 9px;
  border-radius: 999px;
  border: 1px solid #2f9e6e;
  color: #c9f2dd;
  font-size: 12px;
  font-weight: 600;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: 0;
  font-size: 15px;
  color: var(--text-dark-2);
}

.job-deadline {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
}

.job-deadline.is-soon {
  color: var(--coral);
}

.job-deadline.is-rolling {
  font-weight: 500;
  color: var(--text-muted, #6b7280);
}

.job-summary {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--mute-dark);
}

.job-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--line-dark);
}

.job-source {
  font-size: 13px;
  color: var(--mute-dark);
}

.job-apply {
  min-height: 40px;
  padding: 0 18px;
  font-size: 15px;
}

.job-more {
  justify-self: center;
}

.job-more[hidden] {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .job-card {
    transition: none;
  }
}

/* ---- trust strip, early-access banner, FAQ ------------------------ */

.hero-trust {
  margin-top: 4px;
}

.trust-band {
  display: grid;
  gap: 28px;
  margin-top: clamp(36px, 5vw, 56px);
}

.trust-rating {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-dark);
  text-decoration: none;
  font-size: 14px;
  width: fit-content;
}

.trust-rating:hover {
  border-color: var(--coral);
}

.trust-rating strong {
  font-size: 16px;
  letter-spacing: -0.02em;
}

.trust-rating span {
  color: var(--mute-dark);
}

.trust-stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #ffb020;
  line-height: 1;
}

.trust-stars svg {
  display: block;
  flex: 0 0 auto;
  color: inherit;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}

.trust-card {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 0;
  border: 0;
  background: none;
}

.trust-card p {
  margin: 0;
  color: var(--text-dark-2);
  font-size: 16px;
  line-height: 1.55;
}

.trust-card cite {
  font-style: normal;
  font-size: 14px;
  color: var(--mute-dark);
}

.trust-note {
  margin: 0;
}

.faq-block {
  display: grid;
  gap: 12px;
  margin-top: clamp(28px, 4vw, 48px);
  padding-bottom: clamp(40px, 6vw, 72px);
}

.faq-block h2 {
  margin: 0 0 4px;
  font-size: clamp(22px, 2.4vw, 28px);
}

.band.on-paper > .faq-block {
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.faq-item {
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  padding: 14px 18px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 10px 0 0;
  color: var(--mute-dark);
  font-size: 15px;
  line-height: 1.55;
}

.privacy-aside {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--mute-dark);
}

.privacy-aside a {
  color: var(--text-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 760px) {
  .trust-strip {
    grid-template-columns: 1fr;
  }
}

/* A photo inside a post, between its sections (image_2, image_3). */
.post-photo.post-photo-inline {
  margin: 36px 0;
}
