/* TailTech site.
   Mint ground, deep green ink, TailTech amber as the one accent. The hero is
   a full-height stage: headline in the middle, a card either side, three
   photos meeting the bottom edge. Everything below it scrolls normally. */

:root {
  --mint: #EFFDF0;
  --mint-2: #E3F7E5;
  --paper: #F7FCF7;
  --white: #FFFFFF;
  --green: #1A3D1A;
  --green-2: #2A5A2A;
  --ink: #1A3D1A;
  --ink-soft: #4B5F4B;
  --ink-mute: #7A8C7A;
  --line: #D6E8D8;
  --line-soft: #E6F1E7;
  --amber: #F6A623;
  --amber-2: #E0931A;
  --amber-ink: #8A5400;

  --display: "DM Serif Display", Georgia, "Times New Roman", serif;
  --body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-card: 16px;
  --radius-button: 12px;

  --measure: 60ch;
  --gutter: clamp(16px, 3.5vw, 48px);
  --section-y: clamp(56px, 9vw, 120px);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-pop: cubic-bezier(0.34, 1.56, 0.64, 1);

  color-scheme: light;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }

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

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  padding: 8px 12px;
  background: var(--green);
  color: var(--white);
  border-radius: 8px;
  z-index: 100;
}
.skip:focus { top: 12px; }

/* ---------- Type ---------- */

h2 {
  font-family: var(--display);
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--green);
}
h3 {
  font-family: var(--body);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.3;
  color: var(--green);
}
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber-ink);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--radius-button);
  background: var(--green);
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid var(--green);
  cursor: pointer;
  font-family: inherit;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.btn:hover { background: var(--green-2); border-color: var(--green-2); }
.btn:active { transform: translateY(1px); }
.btn--accent { background: var(--amber); border-color: var(--amber); color: var(--green); }
.btn--accent:hover { background: var(--amber-2); border-color: var(--amber-2); }
.btn--ghost { background: transparent; color: var(--green); border-color: var(--line); }
.btn--ghost:hover { background: var(--white); border-color: var(--ink-mute); }
.btn--pill { border-radius: 999px; padding: 11px 18px 11px 20px; }

/* ---------- Stage: header + hero fill the first screen ---------- */

.stage {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--mint);
  overflow: hidden;
}

.nav {
  flex: 0 0 auto;
  position: relative;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px var(--gutter);
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--green);
}
.nav__links {
  margin: 0 auto;
  display: flex;
  gap: 28px;
  font-size: 15px;
  font-weight: 500;
}
.nav__links a { text-decoration: none; color: var(--ink-soft); }
.nav__links a:hover { color: var(--green); }
.nav .btn { margin-left: auto; }
.nav .btn { white-space: nowrap; }
@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav .btn { padding: 10px 16px; font-size: 14px; }
}
@media (max-width: 420px) {
  .nav__brand { font-size: 20px; }
  .nav__brand img { width: 28px; height: 28px; }
}

#main { flex: 1 1 auto; display: flex; flex-direction: column; min-height: 0; }

.hero {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__text {
  position: relative;
  z-index: 5;
  text-align: center;
  padding: clamp(16px, 4vh, 48px) var(--gutter) 24px;
  max-width: 900px;
}
.hero__title {
  font-family: var(--display);
  font-size: clamp(44px, 6.8vw, 96px);
  line-height: 0.96;
  letter-spacing: -0.02em;
  color: var(--green);
}
.hero__line { display: block; }
.word { display: inline-block; }
.hero__sub {
  margin: 22px auto 0;
  max-width: 52ch;
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--ink-soft);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}

/* Side cards */
.card {
  position: absolute;
  top: clamp(20px, 5vh, 56px);
  z-index: 20;
  display: grid;
  gap: 10px;
}
.card--left { left: var(--gutter); width: clamp(160px, 14vw, 260px); }
.card--right { right: var(--gutter); width: clamp(120px, 10vw, 177px); }

.card__media {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 20px;
  overflow: hidden;
  background: var(--mint-2);
  box-shadow: 0 24px 48px -28px rgba(26, 61, 26, 0.45);
  cursor: pointer;
}
.card__media--square { aspect-ratio: 260 / 257; cursor: default; }
.card__media--tall { aspect-ratio: 177 / 287; }
.card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
/* Tenant screens stack and cross-fade. */
.card__media--square img { opacity: 0; transition: opacity 420ms ease; }
.card__media--square img.is-active { opacity: 1; }

.card__arrow, .card__play {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  border: 0;
  cursor: pointer;
  box-shadow: 0 8px 20px -8px rgba(26, 61, 26, 0.6);
}
.card__arrow { right: 10px; bottom: 10px; width: 38px; height: 38px; }
.card__arrow:hover { background: var(--green-2); }
.card__play { left: 50%; bottom: 14px; width: 44px; height: 44px; transform: translateX(-50%); }
.card__caption {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--green);
  font-size: clamp(14px, 1.1vw, 16px);
}
.card__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--tenant, var(--green)); }
.card__note { font-size: clamp(12px, 0.95vw, 14px); color: var(--ink-soft); line-height: 1.4; }
.card__note--center { text-align: center; }

/* Bottom photos, edge to edge, meeting the bottom of the stage. Their height
   is what the viewport has left after the headline, so nothing is hidden on
   a short screen and the stage still fills a tall one. */
.photos {
  position: relative;
  z-index: 10;
  width: 100%;
  margin-top: auto;
  display: flex;
  align-items: flex-end;
}
.photo {
  position: relative;
  margin: 0;
  flex: 1 1 0;
  overflow: hidden;
}
.photo--center { flex: 1.265 1 0; }
.photo img {
  width: 100%;
  height: clamp(200px, calc(100dvh - 600px), 460px);
  object-fit: cover;
  display: block;
}
.photo--center img { height: clamp(250px, calc(100dvh - 520px), 560px); object-position: 50% 30%; }
.photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 55%;
  background: linear-gradient(to top, rgba(10, 30, 10, 0.72), transparent);
  pointer-events: none;
}

.overlay {
  position: absolute;
  z-index: 2;
  left: clamp(14px, 2.5vw, 36px);
  right: clamp(14px, 2.5vw, 36px);
  bottom: clamp(20px, 4vh, 50px);
  color: var(--white);
  font-size: clamp(13px, 1.05vw, 15px);
  line-height: 1.35;
}
.overlay strong { font-weight: 600; }
.overlay--roles { display: flex; align-items: center; gap: 12px; }
.avatars { display: inline-flex; }
.avatars__i {
  width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid var(--white);
  margin-left: -8px;
}
.avatars__i:first-child { margin-left: 0; }
.avatars__i--parent { background: #1E3A8A; }
.avatars__i--staff { background: #38A169; }
.avatars__i--owner { background: var(--amber); }

.overlay--center { display: grid; gap: 12px; justify-items: start; }
.overlay__title {
  font-family: var(--display);
  font-size: clamp(20px, 2.2vw, 34px);
  line-height: 1.05;
  max-width: 14ch;
}
.overlay--code { display: grid; gap: 2px; justify-items: end; text-align: right; }
.overlay__label { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.85; }
.overlay__code {
  font-family: var(--display);
  font-size: clamp(24px, 2.6vw, 40px);
  letter-spacing: 0.08em;
  line-height: 1;
}

/* Tablet: cards tighter; mobile: cards move under the text and the
   photos shrink. */
@media (max-width: 1024px) {
  .card--left { width: 160px; }
  .card--right { width: 120px; }
  .hero__text { padding-top: clamp(80px, 12vh, 120px); }
}
@media (max-width: 760px) {
  .stage { min-height: 0; }
  .hero { display: grid; grid-template-columns: 1fr 1fr; gap: 12px var(--gutter); padding: 0 var(--gutter); }
  .hero__text { grid-column: 1 / -1; padding: 12px 0 8px; max-width: none; }
  .hero__title { font-size: clamp(40px, 11vw, 56px); }
  .card { position: static; width: auto; }
  .card--left, .card--right { width: auto; }
  .card__media--tall { aspect-ratio: 3 / 4; }
  .photos { grid-column: 1 / -1; margin: 12px calc(-1 * var(--gutter)) 0; }
  .photo img, .photo--center img { height: 34vh; }
  .overlay { font-size: 12px; left: 10px; right: 10px; bottom: 12px; }
  .overlay--roles { display: none; }
  .overlay__title { font-size: 18px; }
  .overlay__code { font-size: 22px; }
  .overlay__label { display: none; }
  .btn--pill { padding: 9px 14px; font-size: 13px; }
}

/* ---------- Entrance animations ---------- */

.anim { animation-fill-mode: both; animation-timing-function: var(--ease-out); }
.anim--fade-in { animation: fade-in 0.6s ease-out both; }
.anim--fade-up { animation: fade-up 0.8s var(--ease-out) both; }
.anim--slide-left { animation: slide-left 0.8s var(--ease-out) both; }
.anim--slide-right { animation: slide-right 0.8s var(--ease-out) both; }
.anim--scale { animation: scale-in 0.7s var(--ease-out) both; }
.anim--photo { animation: photo-reveal 1.1s var(--ease-out) both; }
.anim--word { opacity: 0; animation: word-pop 0.9s var(--ease-pop) both; }

.delay-100 { animation-delay: 100ms; }  .delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }  .delay-400 { animation-delay: 400ms; }
.delay-500 { animation-delay: 500ms; }  .delay-600 { animation-delay: 600ms; }
.delay-700 { animation-delay: 700ms; }  .delay-800 { animation-delay: 800ms; }
.delay-900 { animation-delay: 900ms; }  .delay-1000 { animation-delay: 1000ms; }
.delay-1100 { animation-delay: 1100ms; } .delay-1200 { animation-delay: 1200ms; }

@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes slide-left { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }
@keyframes slide-right { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes scale-in { from { opacity: 0; transform: scale(0.85); } to { opacity: 1; transform: none; } }
@keyframes photo-reveal { from { opacity: 0; transform: translateY(80px) scale(1.02); } to { opacity: 1; transform: none; } }
@keyframes word-pop {
  0% { opacity: 0; transform: translateY(60px) scale(0.7) rotate(-4deg); filter: blur(8px); }
  60% { opacity: 1; transform: translateY(-6px) scale(1.04) rotate(1deg); filter: blur(0); }
  100% { opacity: 1; transform: none; filter: blur(0); }
}

@media (prefers-reduced-motion: reduce) {
  .anim, .anim--word { animation: none; opacity: 1; }
}

/* ---------- Page below the stage ---------- */

.section { padding: var(--section-y) var(--gutter); }
.section > * { max-width: 1080px; margin-left: auto; margin-right: auto; }
.section--tint { background: var(--mint); }
.section--cta { text-align: center; }
.section--cta .section__head p,
.section--cta .plain { margin-left: auto; margin-right: auto; }
.section--cta .hero__actions { justify-content: center; }

.section__head { margin-bottom: clamp(28px, 4vw, 48px); }
.section__head p {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 18px;
  max-width: var(--measure);
}
.section__head a { color: var(--green); }

.panel, .grid li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 22px 22px 24px;
}
.panel h3 + p { margin-top: 8px; color: var(--ink-soft); }
.panel--wide { margin-top: 20px; }
.section--tint .panel { background: var(--white); }

/* The six wizard steps: numbered because they run in this order. */
.steps {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.steps li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 20px 22px 22px;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 14px;
  row-gap: 6px;
  align-items: start;
}
.steps__n {
  grid-row: 1 / span 2;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-family: var(--display);
  font-size: 16px;
  display: grid; place-items: center;
}
.steps h3 { align-self: center; }
.steps p { color: var(--ink-soft); grid-column: 2; }
@media (max-width: 880px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Install → code → brand */
.flow {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.flow li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 22px 22px 24px;
}
.flow p { margin-top: 8px; color: var(--ink-soft); }
.code {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--green);
  color: var(--white);
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: 0.2em;
}
@media (max-width: 760px) { .flow { grid-template-columns: 1fr; } }

.plain {
  list-style: none;
  padding: 0;
  margin: 0 auto 8px;
  max-width: 44ch;
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
}
.plain li::before {
  content: "";
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--amber);
  margin-right: 12px;
  vertical-align: 2px;
}
.contact-line { margin-top: 16px; color: var(--ink-soft); font-size: 15px; }
.contact-line a { color: var(--green); }

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px var(--gutter) calc(28px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 14px;
}
.footer .nav__brand { font-size: 18px; }

/* ---------- Device frames ---------- */

.frame { display: block; }
.frame--phone {
  border-radius: 28px;
  padding: 7px;
  background: var(--green);
  box-shadow: 0 24px 48px -24px rgba(26, 61, 26, 0.45);
}
.frame--phone img {
  width: 100%; height: auto;
  aspect-ratio: 9 / 20;
  object-fit: cover;
  border-radius: 22px;
  background: var(--mint-2);
  display: block;
}
.frame--browser {
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 18px 40px -24px rgba(26, 61, 26, 0.35);
}
.frame--browser::before {
  content: "";
  display: block;
  height: 26px;
  background:
    radial-gradient(circle at 14px 13px, var(--line) 4px, transparent 4.5px),
    radial-gradient(circle at 28px 13px, var(--line) 4px, transparent 4.5px),
    radial-gradient(circle at 42px 13px, var(--line) 4px, transparent 4.5px),
    var(--mint-2);
  border-bottom: 1px solid var(--line);
}
.frame--browser img {
  width: 100%; height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
  display: block;
}

/* Who is looking at the screen. */
.role {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px 3px 7px;
  border-radius: 999px;
  background: var(--mint-2);
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.role::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--role, var(--ink-mute)); }
.role--parent { --role: #1E3A8A; }
.role--owner  { --role: var(--amber); }
.role--staff  { --role: #38A169; }
.role--portal { --role: #5B4BE0; }

/* ---------- How it works: tiles ---------- */

.tiles {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.tile {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.tile:hover {
  transform: translateY(-2px);
  border-color: var(--ink-mute);
  box-shadow: 0 18px 40px -24px rgba(26, 61, 26, 0.35);
}
.tile:focus-visible { outline-offset: 2px; }
.tile__media {
  position: relative;
  aspect-ratio: 5 / 4;
  background: var(--mint);
  overflow: hidden;
  padding: 22px 22px 0;
}
.tile__media .frame--phone {
  width: 62%;
  margin: 0 auto;
  border-radius: 28px 28px 0 0;
  padding-bottom: 0;
  box-shadow: none;
}
.tile__media .frame--phone img { border-radius: 22px 22px 0 0; aspect-ratio: 9 / 11; object-position: top; }
.tile__media .frame--browser { border-radius: 12px 12px 0 0; border-bottom: 0; box-shadow: none; }
.tile__media .frame--browser img { aspect-ratio: 16 / 9; }
.tile__body { padding: 16px 18px 18px; display: grid; gap: 6px; }
.tile__body h3 { font-family: var(--display); font-weight: 400; font-size: 22px; }
.tile__body p { color: var(--ink-soft); font-size: 15px; }
.tile__more { margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--green); }
.tile__more::after { content: " →"; }
@media (max-width: 880px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
@media (max-width: 560px) { .tiles { grid-template-columns: 1fr; } }

.facts {
  list-style: none;
  padding: 0;
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 28px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
}
.facts strong { color: var(--green); font-weight: 600; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; } }

/* ---------- Flow viewer ---------- */

.viewer {
  width: min(100vw, 1180px);
  max-width: none;
  max-height: none;
  height: 100dvh;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  display: none;
  flex-direction: column;
}
.viewer[open] { display: flex; }
.viewer::backdrop { background: rgba(10, 30, 10, 0.55); backdrop-filter: blur(4px); }
@media (min-width: 1200px) {
  .viewer {
    height: min(92dvh, 900px);
    margin: auto;
    border-radius: 20px;
    box-shadow: 0 40px 80px -30px rgba(10, 30, 10, 0.6);
  }
}
.viewer__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: calc(18px + env(safe-area-inset-top, 0px)) var(--gutter) 10px;
}
.viewer__eyebrow { margin-bottom: 6px; }
.viewer__title { font-size: clamp(24px, 2.8vw, 34px); }
.viewer__close {
  flex: 0 0 auto;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--green);
  display: grid; place-items: center;
  cursor: pointer;
}
.viewer__close:hover { border-color: var(--ink-mute); }
.viewer__body { position: relative; flex: 1 1 auto; min-height: 0; display: flex; align-items: center; }
.viewer__strip {
  list-style: none;
  margin: 0;
  padding: 8px var(--gutter) 16px;
  display: flex;
  gap: 24px;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  align-items: flex-start;
}
.viewer__strip::-webkit-scrollbar { display: none; }
.step {
  flex: 0 0 auto;
  scroll-snap-align: center;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 10px;
  height: 100%;
  width: min(78vw, 300px);
}
.step--browser { width: min(88vw, 640px); grid-template-rows: auto auto auto; align-content: start; }
.step__frame { min-height: 0; display: flex; justify-content: center; }
.step__frame .frame--phone { max-height: 100%; }
.step__frame .frame--phone img { height: 100%; width: auto; max-width: 100%; }
.step__frame .frame--browser { width: 100%; align-self: start; }
.step figure { margin: 0; display: contents; }
.step figcaption { font-size: 14px; line-height: 1.5; color: var(--ink-soft); }
.step__meta { display: flex; align-items: center; gap: 10px; }
.step__n { font-family: var(--display); font-size: 16px; color: var(--green); }
.viewer__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--green);
  display: grid; place-items: center;
  cursor: pointer;
  box-shadow: 0 8px 20px -10px rgba(10, 30, 10, 0.4);
}
.viewer__arrow:disabled { opacity: 0.35; cursor: default; }
.viewer__arrow--prev { left: 8px; }
.viewer__arrow--next { right: 8px; }
@media (max-width: 760px) { .viewer__arrow { display: none; } }
.viewer__dots {
  list-style: none;
  margin: 0;
  padding: 0 var(--gutter) calc(16px + env(safe-area-inset-bottom, 0px));
  display: flex;
  justify-content: center;
  gap: 8px;
}
.viewer__dots button {
  width: 10px; height: 10px;
  padding: 0;
  border-radius: 50%;
  border: 0;
  background: var(--line);
  cursor: pointer;
}
.viewer__dots button[aria-current="step"] { background: var(--green); }
@media (prefers-reduced-motion: reduce) {
  .viewer__strip { scroll-behavior: auto; }
  .tile { transition: none; }
}
