/* ==========================================================================
   Supabase development page — the Figma layout (BRAND BOOK, node 487:1413).
   A sticky contents rail on the left, one editorial column on the right.
   Everything is sized in rem against the 1920 grid (1rem = 10 design px).
   ========================================================================== */

/* ---------- hero: the frame's 1920 x 860, grown to a full screen ----------
   At a fixed 86rem the next section showed under the hero on any screen taller
   than the frame's shape, so it fills the screen and is never shorter than the
   frame. (Below 1200px it hugs its copy: a full screen there read as empty space.) */
@media (min-width: 1200px) {
  .hero--supa {
    height: 100vh;
    height: 100svh;
    min-height: 86rem;
    padding: 0;
    display: block;
  }
  /* the copy is centred, and the mark's top comes from the 860-tall frame, so the
     mark moves down by half of whatever the screen adds to keep level with it */
  .hero--supa .dev-art,
  .hero--supa .supa-art {
    margin-top: max(0px, calc((100vh - 86rem) / 2));
    margin-top: max(0px, calc((100svh - 86rem) / 2));
  }
  .hero--supa .hero-ai {
    position: absolute;
    left: var(--gutter);
    top: 50%;
    transform: translateY(-50%);
    width: 115rem;
    margin: 0;
  }
}

/* ---------- the pixel Supabase mark replaces the spiral ---------- */
/* the headline runs one pixel line wide in the design, so the copy column is
   wider here than on the generated service pages */
@media (min-width: 1200px) {
  .hero--supa .hero-ai__copy { width: 115rem; }
  .hero--supa .hero-ai__lede { max-width: 100rem; }
}

.supa-art {
  position: absolute;
  left: 132rem;
  top: 20.9rem;
  width: 42.786rem;
  height: 44.2rem;
  z-index: 1;
  pointer-events: none;
}
.supa-art img { position: absolute; display: block; }
.supa-art__hi { left: 0.177rem; top: 0; width: 21.216rem; height: 28.288rem; }
.supa-art__sh { left: 21.393rem; top: 15.912rem; width: 21.216rem; height: 28.288rem; }

/* ---------- the stack pages reuse this hero with their own mark ----------
   position and size come from the frame, inline on the element */
.dev-art { position: absolute; z-index: 1; pointer-events: none; }
.dev-art img { display: block; width: 100%; height: 100%; }
html.js .hero--dev:not(.is-revealed) .dev-art img { opacity: 0; }
.hero--dev.is-revealed .dev-art img { animation: supa-drop .62s cubic-bezier(.22, 1, .36, 1) .12s both; }

html.js .hero--supa:not(.is-revealed) .supa-art img { opacity: 0; }
.hero--supa.is-revealed .supa-art__hi { animation: supa-drop .62s cubic-bezier(.22, 1, .36, 1) .1s both; }
.hero--supa.is-revealed .supa-art__sh { animation: supa-drop .62s cubic-bezier(.22, 1, .36, 1) .26s both; }

@keyframes supa-drop {
  0%   { opacity: 0; transform: translateY(-3.2rem); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   The body: rail + column
   ========================================================================== */
.supa {
  display: grid;
  grid-template-columns: 24rem 1fr;
  column-gap: 6rem;
  padding: 9.9rem var(--gutter) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--black);
}

.supa__rail {
  width: 24rem;
  position: sticky;
  /* js centres this in the viewport by setting `top`; the offset here is the
     fallback, and using a plain offset (not a transform) keeps the rail from
     riding up over the hero when the section starts */
  top: 4rem;
  align-self: start;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3.2rem;
}
.rail__list { width: 100%; display: flex; flex-direction: column; gap: 1.8rem; }
.rail__item {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  opacity: .5;
  transition: opacity .45s ease;
}
.rail__item.is-active { opacity: 1; }
.rail__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  font-size: 2rem;
  letter-spacing: 0;
  color: var(--white);
}
.rail__link::after {
  content: "";
  flex: none;
  width: 0.8rem;
  height: 0.8rem;
  background: var(--white);
}
.rail__rule { height: 1px; background: var(--line); }

/* the single vertical rule at x=575 in the frame, and a rule under each block */
.supa__col {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-left: 1px solid var(--line);
  padding-left: 6rem;
}
.supa__col > * { padding-bottom: 13rem; }
.supa__col > * + * { padding-top: 13rem; }
.supa__col > *:not(:last-child) {
  border-bottom: 1px solid var(--line);
  /* the rule runs to the page edge, the way the frame draws it */
  margin-right: calc(-1 * var(--gutter));
  padding-right: var(--gutter);
}

.supa-block { display: flex; flex-direction: column; gap: 6rem; scroll-margin-top: 12rem; }
.supa-block__head { display: flex; flex-direction: column; gap: 2.4rem; }
.supa-block .lede { max-width: none; }
.supa-block__paras { display: flex; flex-direction: column; gap: 2.4rem; }
.supa-block .hero__actions { justify-content: flex-start; }

/* ---------- check chips ---------- */
/* the four chips read as one row under the block's copy; they wrap rather
   than overflow when a stack name runs long */
.supa-checks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 3.2rem;
  row-gap: 1.2rem;
}
.supa-check { display: flex; align-items: center; gap: 1.2rem; }
.supa-check img { width: 2.4rem; height: 2.4rem; display: block; }
.supa-check span {
  background: var(--white);
  color: var(--black);
  font-size: 2rem;
  letter-spacing: 0;
  padding: 0.2rem 1.2rem;
}

/* ---------- full-width product shots ---------- */
/* margin-left 0: a <figure> brings the browser's own 40px indent, which set every
   image 40px right of the copy above it (and off centre on a phone) */
.supa-shot { position: relative; display: block; margin-left: 0; }
.supa-shot img { display: block; width: 100%; height: auto; }
/* the space is reserved before the file lands, so nothing jumps mid-scroll */
.supa-shot--tall img { aspect-ratio: 2370 / 1294; }
.supa-shot--wide img { aspect-ratio: 2370 / 1240; }

/* ---------- "what we build" cards ----------
   Frame: 582 x 360 cards, 20 gap, number pill in the corner, a 100-tall icon
   inset 32 from the top right, copy pinned 32 from the left and bottom. */
.supa-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  list-style: none;
}
/* every card starts dark, card 01 too: it still carries .supa-card--lead from the
   frame, which drew it pre-selected, but a card only lights up while it is hovered */
.supa-card {
  position: relative;
  width: 100%;
  height: 36rem;
  border: 1px solid var(--muted-2);
  background: var(--surface);
  overflow: hidden;
}

/* hover wipes the gradient up the card */
.supa-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .7s cubic-bezier(.22, 1, .36, 1);
  background: linear-gradient(180deg, var(--lavender) 0%, var(--accent) 100%);
}
.supa-card:hover::after { transform: scaleY(1); }
/* the fill (::after, 0) under the copy (1) under the corner pill and icon (2) */
.supa-card__copy { z-index: 1; }
.supa-card__num, .supa-card__icon { z-index: 2; }
.supa-card:hover .supa-card__title,
.supa-card:hover .supa-card__text,
.supa-card:hover .supa-card__title .accent { color: var(--black); }
.supa-card:hover .supa-card__icon { filter: brightness(0) invert(1); }

.supa-card__num {
  position: absolute;
  left: 0;
  top: 0;
  background: var(--white);
  color: var(--black);
  font-size: 2rem;
  letter-spacing: 0;
  padding: 0.6rem 1.4rem;
}
.supa-card__icon {
  transition: filter .45s ease;
  position: absolute;
  right: 3.2rem;
  top: 3.2rem;
  height: 10rem;
  width: auto;
  display: block;
}
.supa-card__copy {
  position: absolute;
  left: 3.2rem;
  right: 3.2rem;
  bottom: 3.2rem;
  display: flex;
  flex-direction: column;
}
.supa-card__title {
  transition: color .45s ease;
  font-size: 4.2rem;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.06em;
  color: var(--white);
}
/* the line stays folded away until the card is hovered, so the titles sit on
   one line the way the frame draws them */
.supa-card__text {
  max-height: 0;
  margin-top: 0;
  opacity: 0;
  overflow: hidden;
  color: var(--muted-2);
  font-size: 2rem;
  letter-spacing: 0;
  transition: max-height .55s cubic-bezier(.22, 1, .36, 1),
              margin-top .55s cubic-bezier(.22, 1, .36, 1),
              opacity .4s ease .1s,
              color .45s ease;
}
.supa-card:hover .supa-card__text,
.supa-card:focus-within .supa-card__text {
  max-height: 16rem;
  margin-top: 2rem;
  opacity: 1;
}

/* ---------- "where Supabase fits" row ----------
   Frame: six 280 x 360 cards at a 300 pitch, so the rail runs past the column
   and is scrolled, not squeezed. */
.supa-fits {
  display: flex;
  gap: 2rem;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
  margin-right: calc(-1 * var(--gutter));
  padding-right: var(--gutter);
  scroll-snap-type: x proximity;
}
.supa-fits::-webkit-scrollbar { display: none; }
/* a sideways strip only fades in: the shared rise made the cards climb the page
   while it scrolled, when they should only ever move left and right */
html.js .supa-fits.su-stagger:not(.is-in) > * { transform: none; }
/* the card grows with its copy, icon at the top and copy at the foot: at a fixed
   36rem with both pinned, a long finding pushed its title up into the icon. The
   rail stretches every card in the row to the tallest one */
.supa-fit {
  position: relative;
  flex: none;
  width: 32rem;
  min-height: 36rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.4rem;
  padding: 2.5rem;
  border: 1px solid #878787;
  background: var(--surface);
  scroll-snap-align: start;
}
.supa-fit__icon { flex: none; width: 5.2rem; height: 5.2rem; display: block; }
.supa-fit__copy {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}
.supa-fit__title {
  font-family: var(--pixel);
  font-size: 3.2rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.06em;
  color: var(--white);
}
.supa-fit__text { color: var(--muted-2); font-size: 2rem; letter-spacing: 0; }

/* ---------- the rail pins while it travels sideways ----------
   The track is as tall as the stage plus the row's own overflow, so the
   section holds still for exactly as long as the cards take to cross. */
.supa-pin__stage { display: flex; flex-direction: column; gap: 6rem; }

@media (min-width: 900px) {
  .supa-pin__track { position: relative; }
  .supa-pin__stage {
    position: sticky;
    top: 12rem;
  }
  .supa-fits { scroll-snap-type: none; }
}

/* ---------- the process ladder ---------- */
.supa-steps { list-style: none; display: flex; flex-direction: column; }
.supa-step {
  position: relative;
  display: grid;
  grid-template-columns: 19.2rem 1fr;
  padding-bottom: 8.6rem;
}
.supa-step:last-child { padding-bottom: 0; }
.supa-step::before {
  content: "";
  position: absolute;
  left: 7.6rem;
  top: 6.2rem;
  bottom: 2rem;
  width: 1px;
  background: var(--line);
}
.supa-step:last-child::before { display: none; }
.supa-step__pill {
  align-self: start;
  justify-self: start;
  background: var(--white);
  color: var(--black);
  font-size: 2rem;
  letter-spacing: 0;
  padding: 0.6rem 1.4rem;
  white-space: nowrap;
}
.supa-step__body { display: flex; flex-direction: column; gap: 2.4rem; }
.supa-step__title {
  font-size: 4.2rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.06em;
  color: var(--white);
}
.supa-step__title .pixel { font-family: var(--pixel); }
.supa-step__text { color: var(--muted-2); font-size: 1.8rem; letter-spacing: 0; max-width: none; }

/* ---------- "what you get" accordion ---------- */
.faq--supa { gap: 2rem; }
.faq--supa .faq-item {
  background: transparent;
  border-bottom: 1px solid var(--line);
  padding: 0;
}
.faq--supa .faq-item:last-child { border-bottom: 0; }
.faq--supa .faq-item.is-open { background: var(--surface); }
.faq--supa .faq-item__q button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4.2rem;
  width: 100%;
  padding: 2.4rem;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
}
.faq--supa .faq-item__head { display: flex; flex-direction: column; gap: 1.2rem; }
.faq--supa .faq-item__row { display: flex; align-items: center; gap: 1.2rem; }
.faq--supa .faq-item__num {
  background: var(--white);
  color: var(--black);
  font-size: 2rem;
  letter-spacing: 0;
  padding: 0.6rem;
  min-width: 5.5rem;
  text-align: center;
}
.faq--supa .faq-item__text {
  font-family: var(--pixel);
  font-size: 2.8rem;
  letter-spacing: -0.06em;
  color: var(--white);
}
/* a column of the button's flex row, not the shared absolute icon: left absolute
   it sat on top of the title, and long titles ran under it on phones */
.faq--supa .faq-item__icon {
  position: static;
  translate: none;
  flex: none;
  width: 5rem;
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
}
.faq--supa .faq-item__icon img { width: 2.4rem; height: 2.4rem; display: block; }
.faq--supa .faq-item.is-open .faq-item__icon img { transform: rotate(45deg); }
.faq--supa .faq-item__a { padding: 0 2.4rem; }

/* the questions block: the +/x is a column of the question row, as in the
   numbered list, instead of the shared icon centred on the whole card (which
   slid down into the answer as it opened, so the answer had to stop short of
   it). The answer now runs the full width of the card under the question.
   Closed rows keep the shared 98px: 24 + the 50px box + 24. */
.page-supa .faq__list:not(.faq--supa) .faq-item__q button,
.page-supa .faq__list:not(.faq--supa) .faq-item.is-open .faq-item__q button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4.2rem;
  padding: 2.4rem;
}
.page-supa .faq__list:not(.faq--supa) .faq-item__icon { position: static; translate: none; flex: none; }
.page-supa .faq__list:not(.faq--supa) .faq-item__a { padding: 0 2.4rem; }
.page-supa .faq__list:not(.faq--supa) .faq-item.is-open .faq-item__a { padding: 0 2.4rem 2.4rem; }
.faq--supa .faq-item.is-open .faq-item__a { padding-bottom: 2.4rem; }
.faq--supa .faq-item__a p { color: var(--muted-2); font-size: 2.4rem; letter-spacing: 0; }

/* ---------- "why Empyreal" split ---------- */
.supa-why { display: grid; grid-template-columns: 1fr 48.3rem; gap: 8.3rem; align-items: start; }
.supa-why__list { list-style: none; display: flex; flex-direction: column; gap: 3.2rem; }
.supa-why__item {
  display: flex;
  flex-direction: column;
  gap: 3.2rem;
  opacity: .5;
  transition: opacity .45s ease;
}
.supa-why__item.is-active { opacity: 1; }
.supa-why__head { display: flex; flex-direction: column; gap: 1.2rem; }
.supa-why__row { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.supa-why__title { font-size: 2.4rem; letter-spacing: 0; color: var(--white); }
.supa-why__row::after { content: ""; flex: none; width: 0.8rem; height: 0.8rem; background: var(--white); }
.supa-why__text {
  color: var(--muted-2); font-size: 2rem; letter-spacing: 0;
  max-height: 24rem; overflow: hidden;
  transition: max-height .5s cubic-bezier(.22, 1, .36, 1), opacity .35s ease, margin-top .5s cubic-bezier(.22, 1, .36, 1);
}
/* the design shows the body only on the row you're reading: it slides open and shut */
.supa-why__item:not(.is-active) .supa-why__text { max-height: 0; opacity: 0; margin-top: -1.2rem; }
.supa-why__art { transition: opacity .25s ease; }
.supa-why__art.is-swapping { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .supa-why__text, .supa-why__art { transition: none; }
}
.supa-why__rule { height: 1px; background: var(--line); }
.supa-why__art { display: block; width: 48.3rem; height: auto; }

/* ---------- the closing panel reads as the Figma email row ----------
   Frame: a 1719 x 571 panel, 100 inset, copy block then the email row 60 below. */
.page-supa .note__panel {
  background-image: url("../assets/supabase/cta-panel.svg");
  display: flex;
  flex-direction: column;
  gap: 6rem;
}
@media (min-width: 1200px) {
  .page-supa .note__panel { height: 57.1rem; }
}

/* ---------- the closing panel reads as the Figma email row ---------- */
.page-supa .note__heading { flex-direction: row; align-items: center; gap: 2.4rem; flex-wrap: wrap; }
.page-supa .note__heading .heading__sans { margin-bottom: 0; }

/* .note__mail / __write / __addr / __meta now live in style.css — shared by every page that uses the closing panel */

/* ==========================================================================
   Tablet + phone
   ========================================================================== */
@media (max-width: 1199px) {
  /* the stack mark drops in under the buttons, centred. Its inline position is for the
     1920 frame, so it is overridden here; a page still on the placeholder mark
     keeps it hidden */
  .hero--dev,
  .hero--supa { flex-direction: column; justify-content: center; align-items: stretch; }
  .dev-art {
    position: relative;
    left: auto !important;
    top: auto !important;
    width: auto !important;
    height: clamp(14rem, 26vw, 24rem) !important;
    margin-top: 4.8rem;
    align-self: center;
  }
  .dev-art img { width: auto; }
  .dev-art:has(img[src*="placeholder-"]) { display: none; }

  /* the two Supabase halves, placed in percentages so the pair scales as one */
  .supa-art {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    height: clamp(14rem, 26vw, 24rem);
    aspect-ratio: 42.786 / 44.2;
    margin-top: 4.8rem;
    align-self: center;
  }
  .supa-art__hi { left: 0.41%; top: 0; width: 49.6%; height: 64%; }
  .supa-art__sh { left: 50%; top: 36%; width: 49.6%; height: 64%; }
  .supa {
    grid-template-columns: 1fr;
    row-gap: 0;
    padding: 4.8rem var(--gutter);
  }
  /* the contents list docks to the bottom of the screen as a bar of chips you
     swipe, with the section you're reading filled in.
     min-width:0 or the grid track grows to the strip's full scroll width */
  .supa__rail {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    z-index: 40;
    width: auto;
    min-width: 0;
    gap: 0;
    padding: 1.2rem var(--gutter);
    background: rgba(1, 1, 1, .92);
    backdrop-filter: blur(8px);
    border-top: 1px solid var(--line);
    transition: transform .35s cubic-bezier(.22, 1, .36, 1), opacity .3s ease;
  }
  /* once the contents section is behind you, the bar drops away */
  .supa__rail.is-done {
    transform: translateY(110%);
    opacity: 0;
    pointer-events: none;
  }
  .supa__rail > .tag { display: none; }
  .rail__list {
    min-width: 0;
    flex-direction: row;
    gap: 1.2rem;
    overflow-x: auto;
    scrollbar-width: none;
    margin-right: calc(-1 * var(--gutter));
    padding-right: var(--gutter);
  }
  .rail__list::-webkit-scrollbar { display: none; }
  .rail__list { scroll-behavior: smooth; }
  .rail__item { flex: none; opacity: 1; gap: 0; }
  .rail__link {
    border: 1px solid var(--line);
    padding: 0.8rem 1.4rem;
    font-size: 1.5rem;
    white-space: nowrap;
  }
  .rail__link::after { display: none; }
  .rail__item.is-active .rail__link {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
  }
  .rail__rule { display: none; }

  /* the column runs full width: the rule and its inset belong to the desktop grid */
  .supa__col { border-left: 0; padding-left: 0; max-width: none; }
  .supa__col > * { padding-bottom: 4.8rem; }
  .supa__col > :last-child { padding-bottom: 0; }
  .supa__col > * + * { padding-top: 4.8rem; }
  .supa-block { gap: 3.2rem; }
  .supa-cards { grid-template-columns: 1fr; }
  .supa-card { width: 100%; height: auto; min-height: 0; padding: 2.4rem 0 0; }
  /* 5rem, not 7: the title starts 8.4rem down, and a 7rem icon from 2.4rem reached
     past that, so long titles ("Idempotency keys on writes") ran into it */
  .supa-card__icon { right: 2.4rem; top: 2.4rem; height: 5rem; }
  /* relative, not static: in the flow either way, but only a positioned box takes
     its z-index, so a static copy sat under the hover fill and vanished on a tap.
     inset: auto drops the desktop left/right/bottom, which would shift it */
  .supa-card__copy { position: relative; inset: auto; padding: 6rem 2.4rem 2.4rem; }
  .supa-card__title { font-size: clamp(2.4rem, 6vw, 3.2rem); }
  /* there is no hover on a touch screen, so every line is simply shown. The
     hovered (a tap) and focused states are listed too: their desktop 16rem cap
     outranks a plain .supa-card__text and cut the longer lines off */
  .supa-card__text,
  .supa-card:hover .supa-card__text,
  .supa-card:focus-within .supa-card__text { max-height: none; margin-top: 1.6rem; opacity: 1; }
  .note__addr { padding: 1rem 0.8rem; }
  .supa-fit__title { font-size: clamp(2.2rem, 5.5vw, 2.8rem); }
  .supa-step { grid-template-columns: 1fr; row-gap: 2rem; padding-bottom: 4.8rem; }
  .supa-step::before { display: none; }
  .supa-step__title { font-size: clamp(2.4rem, 6vw, 3.2rem); }
  .supa-step__text { font-size: 1.6rem; }
  /* the same padding open or closed: the shared FAQ's open-row padding (7.2rem on
     the right, room for its absolute icon) outranked this one and pulled the open
     row's close box 5.6rem in from where the plus boxes sit */
  .faq--supa .faq-item__q button,
  .faq--supa .faq-item.is-open .faq-item__q button { padding: 1.6rem; gap: 1.6rem; }
  /* a smaller toggle on a phone, 4rem as on the site's other question lists */
  .faq--supa .faq-item__icon { width: 4rem; height: 4rem; }
  .faq--supa .faq-item__icon img { width: 2rem; height: 2rem; }
  .faq--supa .faq-item__text { font-size: clamp(1.8rem, 4.6vw, 2.4rem); }
  .faq--supa .faq-item__a { padding: 0 1.6rem; }
  /* full width when open too: the shared FAQ's open answer (7.2rem on the right,
     beside its icon column) outranked the line above on open rows */
  .faq--supa .faq-item.is-open .faq-item__a { padding-left: 1.6rem; padding-right: 1.6rem; }
  /* the questions block on a phone: 16 + the 40px box + 16, answer full width */
  .page-supa .faq__list:not(.faq--supa) .faq-item__q button,
  .page-supa .faq__list:not(.faq--supa) .faq-item.is-open .faq-item__q button { padding: 1.6rem; gap: 1.6rem; }
  .page-supa .faq__list:not(.faq--supa) .faq-item__a { padding: 0 1.6rem; }
  .page-supa .faq__list:not(.faq--supa) .faq-item.is-open .faq-item__a { padding: 0 1.6rem 1.6rem; }
  .faq--supa .faq-item__a p { font-size: 1.6rem; }
  /* the picture sits centred between the list's last rule and the section's
     bottom line: 4.8rem each side (the column's last block drops its own bottom
     padding below, which had stacked on the section's to make 96 under 32) */
  .supa-why { grid-template-columns: 1fr; gap: 4.8rem; }
  /* as on desktop, only the open row shows its line: the first is open to start
     and a tap opens another (js/supabase.js swaps the picture with it). Closed
     rows stay readable at half strength rather than desktop's faint .2 */
  .supa-why__item { opacity: .5; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .supa-why__art { width: 100%; }
  .note__write { flex-wrap: wrap; }
  .note__addr { font-size: clamp(1.4rem, 4.4vw, 3.2rem); max-width: 100%; word-break: break-all; }
  .note__meta { font-size: 1.6rem; }
}

/* tablets have room for the cards two-up */
@media (min-width: 600px) and (max-width: 1199px) {
  .supa-cards { grid-template-columns: repeat(2, 1fr); }
  .supa-card__copy { padding: 6rem 2.4rem 2.4rem; }
}

@media (max-width: 599px) {
  .supa-checks span { font-size: 1.6rem; }
  .supa-card__num, .supa-step__pill, .faq--supa .faq-item__num { font-size: 1.4rem; }
}
