/*
 * TeamNa marketing site.
 *
 * Hand written, no build step, one stylesheet for every page including the two server rendered ones
 * (the invite landing page and the no-JavaScript thank you page). Colours are the mobile app's
 * tokens (packages/mobile/src/theme/tokens.ts) so the site and the product read as one thing.
 *
 * Light only. A marketing page that follows the visitor's dark mode has to carry a second palette
 * and a second set of contrast decisions, and this one has neither yet.
 */

:root {
  color-scheme: light;

  /* Ink. Slightly green blacks, so text sits in the same family as the accent. */
  --ink: #101917;
  --ink-2: #4e5d5c;
  --ink-3: #5b6a69;

  --paper: #ffffff;
  --surface: #f5f8f7;
  --surface-sunken: #eef3f2;

  --teal: #0e7c7b;
  --teal-strong: #0a5f5e;
  --teal-soft: #1fa3a1;
  --teal-surface: #e4f3f3;

  --line: #e2e8e7;
  --line-strong: #cbd4d3;

  --confirmed: #137a48;
  --confirmed-surface: #e3f4eb;
  --late: #9a6100;
  --late-surface: #fdf0dc;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(16, 25, 23, 0.05);
  --shadow: 0 12px 32px -18px rgba(16, 25, 23, 0.35);
  --shadow-lg: 0 40px 80px -40px rgba(10, 60, 58, 0.45);

  --display: "Fraunces", ui-serif, Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    "Noto Sans", sans-serif;

  --page: 1120px;
  --gutter: 20px;
}

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

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

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

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

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 600;
  font-optical-sizing: auto;
  letter-spacing: -0.015em;
  line-height: 1.12;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

a {
  color: var(--teal-strong);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

a:hover {
  color: var(--teal);
}

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

/* --- layout ------------------------------------------------------------- */

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

.wrap--narrow {
  max-width: 720px;
}

section {
  padding: 64px 0;
}

.section-head {
  max-width: 30ch;
  margin-bottom: 36px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-strong);
  margin: 0 0 14px;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--teal-soft);
  border-radius: 2px;
}

h2 {
  font-size: clamp(28px, 6vw, 40px);
}

h3 {
  font-size: 19px;
  letter-spacing: -0.005em;
  line-height: 1.3;
}

.lede {
  color: var(--ink-2);
  font-size: 18px;
  margin-top: 14px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.site-header[data-stuck="true"] {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom-color: var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

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

.mark {
  width: 30px;
  height: 30px;
  flex: none;
}

.header-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
}

.header-links a:not(.btn) {
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 500;
}

.header-links a:not(.btn):hover {
  color: var(--teal-strong);
}

.header-links .hide-sm {
  display: none;
}

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

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

.btn--primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 10px 20px -12px rgba(10, 95, 94, 0.9);
}

.btn--primary:hover {
  background: var(--teal-strong);
  color: #fff;
}

.btn--primary:active {
  transform: translateY(1px);
}

.btn--ghost {
  background: var(--paper);
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--teal-soft);
  color: var(--teal-strong);
}

.btn--sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 15px;
}

.btn--block {
  width: 100%;
}

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

.hero {
  position: relative;
  padding: 40px 0 56px;
}

/*
 * The wash behind the hero. It reaches up past the header (the header paints on top of it, and is
 * transparent until the page scrolls) so there is no seam where the tint starts.
 *
 * Inset to 0 left and right on purpose. An earlier version bled past the viewport with negative
 * insets, which grew `documentElement.scrollWidth` past `innerWidth` even with `overflow-x: hidden`
 * on the body. The gradient's own stop positions do the off-centre placement instead.
 */
.hero::before {
  content: "";
  position: absolute;
  top: -200px;
  left: 0;
  right: 0;
  height: 640px;
  background: radial-gradient(
      62% 66% at 80% 38%,
      rgba(31, 163, 161, 0.24),
      rgba(31, 163, 161, 0) 70%
    ),
    radial-gradient(52% 56% at 6% 6%, rgba(14, 124, 123, 0.1), rgba(14, 124, 123, 0) 72%);
  pointer-events: none;
}

.hero .wrap {
  position: relative;
}

.hero-grid {
  display: grid;
  gap: 44px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px 7px 11px;
  border-radius: var(--radius-pill);
  background: var(--teal-surface);
  color: var(--teal-strong);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.3;
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-soft);
  box-shadow: 0 0 0 0 rgba(31, 163, 161, 0.6);
  animation: pulse 2.4s ease-out infinite;
  flex: none;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 9px rgba(31, 163, 161, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(31, 163, 161, 0);
  }
}

.hero h1 {
  font-size: clamp(38px, 10vw, 62px);
  margin: 22px 0 0;
  letter-spacing: -0.028em;
}

.hero h1 em {
  font-style: normal;
  color: var(--teal-strong);
}

.hero-sub {
  color: var(--ink-2);
  font-size: clamp(17px, 4.2vw, 20px);
  line-height: 1.55;
  margin-top: 20px;
  max-width: 46ch;
}

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

.hero-actions .btn {
  flex: 1 1 220px;
}

@media (min-width: 560px) {
  .hero-actions .btn {
    flex: 0 0 auto;
  }
}

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

/* --- phone -------------------------------------------------------------- */

.phone-stage {
  display: flex;
  justify-content: center;
}

.phone {
  position: relative;
  width: 300px;
  max-width: 100%;
  border-radius: 40px;
  padding: 10px;
  background: linear-gradient(160deg, #1b2626, #0b1211);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(16, 25, 23, 0.12);
}

.phone-screen {
  background: var(--surface);
  border-radius: 31px;
  overflow: hidden;
  padding: 0 0 14px;
}

.phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}

.phone-status span:last-child {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}

.bar {
  width: 3px;
  border-radius: 1px;
  background: var(--ink);
  display: inline-block;
}

.bar:nth-child(1) {
  height: 5px;
}
.bar:nth-child(2) {
  height: 8px;
}
.bar:nth-child(3) {
  height: 11px;
}

.phone-head {
  padding: 10px 16px 12px;
}

.phone-head p {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.phone-head h3 {
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-top: 3px;
}

.phone-list {
  padding: 0 12px;
  display: grid;
  gap: 8px;
}

/* Mirrors packages/mobile/src/components/SessionCard.tsx: accent rail, time column, body, badge. */
.s-card {
  display: flex;
  align-items: center;
  min-height: 68px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px 10px 0;
  overflow: hidden;
}

.s-card .rail {
  width: 4px;
  align-self: stretch;
  margin-right: 12px;
  background: var(--teal);
  flex: none;
}

.s-card .time {
  width: 52px;
  flex: none;
}

.s-card .time strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
}

.s-card .time span {
  display: block;
  font-size: 12px;
  color: var(--ink-3);
}

.s-card .body {
  flex: 1;
  min-width: 0;
  margin-right: 8px;
}

.s-card .body strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.s-card .body span {
  display: block;
  font-size: 12px;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.badge {
  flex: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  background: var(--surface-sunken);
  color: var(--ink-2);
}

.badge--ok {
  background: var(--confirmed-surface);
  color: var(--confirmed);
}

.badge--low {
  background: var(--late-surface);
  color: var(--late);
}

.s-card--open {
  display: block;
  padding: 0;
  border-color: var(--teal-soft);
  box-shadow: 0 0 0 3px rgba(31, 163, 161, 0.14);
}

.s-card--open .top {
  display: flex;
  align-items: center;
  padding: 10px 12px 10px 0;
}

.s-card--open .foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 10px 12px;
}

.s-card--open .foot span {
  font-size: 11.5px;
  line-height: 1.35;
  color: var(--ink-2);
}

.s-card--open .foot .fake-btn {
  flex: none;
  font-size: 12px;
  color: #fff;
}

.fake-btn {
  background: var(--teal);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  line-height: 1;
}

.phone-tabs {
  display: flex;
  justify-content: space-around;
  border-top: 1px solid var(--line);
  margin-top: 14px;
  padding: 10px 8px 2px;
  background: var(--paper);
}

.phone-tabs span {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ink-3);
  display: grid;
  justify-items: center;
  gap: 4px;
}

.phone-tabs span::before {
  content: "";
  width: 18px;
  height: 15px;
  border-radius: 5px;
  background: currentColor;
  opacity: 0.28;
}

.phone-tabs span[data-active] {
  color: var(--teal-strong);
}

.phone-tabs span[data-active]::before {
  opacity: 1;
}

/* --- audience ----------------------------------------------------------- */

.two-col {
  display: grid;
  gap: 20px;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}

.panel--accent {
  background: linear-gradient(180deg, var(--teal-surface), #f0f9f8);
  border-color: rgba(14, 124, 123, 0.22);
}

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

.panel > p {
  color: var(--ink-2);
  font-size: 15.5px;
  margin-top: 8px;
}

.role-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--teal-strong);
  margin-bottom: 12px;
}

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

.ticks li {
  position: relative;
  padding-left: 30px;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--ink);
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
    center / 12px no-repeat;
}

/* --- steps -------------------------------------------------------------- */

.steps {
  counter-reset: step;
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 26px 22px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--display);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 14px;
}

.steps p {
  color: var(--ink-2);
  font-size: 15.5px;
  margin-top: 8px;
}

/* --- features ----------------------------------------------------------- */

.features {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.feature {
  background: var(--paper);
  padding: 26px 22px;
}

.feature .ico {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--teal-surface);
  color: var(--teal-strong);
  margin-bottom: 14px;
}

.feature .ico svg {
  width: 19px;
  height: 19px;
}

.feature h3 {
  font-family: var(--sans);
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -0.005em;
}

.feature p {
  color: var(--ink-2);
  font-size: 15px;
  margin-top: 6px;
}

/* --- uae band ----------------------------------------------------------- */

.band {
  background: var(--ink);
  color: #eef3f2;
  border-radius: var(--radius-lg);
  padding: 40px 26px;
}

.band h2 {
  color: #fff;
}

.band p {
  color: #b9c6c4;
  margin-top: 14px;
  font-size: 16.5px;
  max-width: 58ch;
}

.band-facts {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.band-facts li {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 14px;
}

.band-facts strong {
  display: block;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 600;
  color: #fff;
}

.band-facts span {
  display: block;
  font-size: 14.5px;
  color: #9fb0ae;
  margin-top: 4px;
}

/* --- form --------------------------------------------------------------- */

.form-section {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  box-shadow: var(--shadow);
}

.field {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
}

.field label {
  font-size: 14.5px;
  font-weight: 600;
}

.field .hint {
  font-size: 13px;
  color: var(--ink-3);
  font-weight: 400;
}

.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 12px 13px;
  min-height: 48px;
  width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

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

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6a69' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 17px;
  padding-right: 40px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(31, 163, 161, 0.22);
}

.field-row {
  display: grid;
  gap: 0;
}

.form-foot {
  margin-top: 6px;
}

.form-foot .small {
  font-size: 13.5px;
  color: var(--ink-3);
  margin-top: 12px;
}

.form-status {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius);
  font-size: 15px;
  display: none;
}

.form-status[data-state="ok"] {
  display: block;
  background: var(--confirmed-surface);
  color: var(--confirmed);
  border: 1px solid rgba(19, 122, 72, 0.25);
}

.form-status[data-state="error"] {
  display: block;
  background: #fbe7e6;
  color: #93201c;
  border: 1px solid rgba(147, 32, 28, 0.24);
}

/* --- faq ---------------------------------------------------------------- */

.faq {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 44px 20px 0;
  position: relative;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
}

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

.faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 13px;
  height: 13px;
  margin-top: -7px;
  border-right: 2.2px solid var(--teal);
  border-bottom: 2.2px solid var(--teal);
  transform: rotate(45deg);
  transform-origin: 60% 60%;
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(-135deg);
}

.faq .answer {
  padding: 0 0 22px;
  color: var(--ink-2);
  font-size: 16px;
  max-width: 68ch;
}

.faq .answer p + p {
  margin-top: 10px;
}

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

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

.footer-grid {
  display: grid;
  gap: 24px;
  align-items: start;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.footer-links a {
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--teal-strong);
  text-decoration: underline;
}

.footer-note {
  color: var(--ink-3);
  font-size: 14px;
  max-width: 44ch;
}

/* --- long form pages ---------------------------------------------------- */

.doc {
  padding: 48px 0 72px;
}

.doc h1 {
  font-size: clamp(32px, 8vw, 46px);
}

.doc .stamp {
  margin-top: 14px;
  font-size: 14px;
  color: var(--ink-3);
}

.doc h2 {
  font-size: clamp(22px, 5vw, 27px);
  margin-top: 40px;
}

.doc h3 {
  margin-top: 26px;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 700;
}

.doc p,
.doc li {
  color: var(--ink-2);
  font-size: 16.5px;
  margin-top: 14px;
}

.doc ul {
  padding-left: 22px;
}

.doc li {
  margin-top: 8px;
}

.doc strong {
  color: var(--ink);
}

.callout {
  margin-top: 22px;
  padding: 18px 20px;
  background: var(--teal-surface);
  border: 1px solid rgba(14, 124, 123, 0.22);
  border-radius: var(--radius);
}

.callout p {
  color: var(--ink);
  margin-top: 0;
}

.callout p + p {
  margin-top: 12px;
}

.status-list {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  border-top: 1px solid var(--line);
}

.status-list li {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  margin: 0;
  display: grid;
  gap: 4px;
}

.status-list code {
  font-size: 15px;
  font-weight: 600;
}

.status-list span {
  font-size: 15px;
  color: var(--ink-2);
}

/* --- invite landing ----------------------------------------------------- */

.invite {
  padding: 44px 0 72px;
}

.invite-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 30px 24px;
  text-align: center;
}

.invite-card h1 {
  font-size: clamp(27px, 7vw, 36px);
}

.invite-card .who {
  color: var(--teal-strong);
}

.invite-card > p {
  color: var(--ink-2);
  margin-top: 14px;
  font-size: 16.5px;
}

.code-block {
  margin: 26px 0 8px;
  padding: 20px 16px;
  background: var(--teal-surface);
  border: 1px dashed rgba(14, 124, 123, 0.4);
  border-radius: var(--radius);
}

.code-block .label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-strong);
}

.code-block .code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: clamp(30px, 9vw, 42px);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ink);
  margin-top: 8px;
  word-break: break-all;
}

.copy-btn {
  margin-top: 14px;
}

.invite-steps {
  counter-reset: step;
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  text-align: left;
  display: grid;
  gap: 14px;
}

.invite-steps li {
  counter-increment: step;
  position: relative;
  padding-left: 40px;
  font-size: 16px;
  color: var(--ink-2);
}

.invite-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -1px;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-sunken);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 24px;
}

.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink-3);
  font-size: 13px;
  line-height: 1.25;
  text-align: left;
}

.store strong {
  display: block;
  font-size: 14.5px;
  color: var(--ink-2);
}

.store svg {
  width: 20px;
  height: 20px;
  flex: none;
  opacity: 0.55;
}

.invite-fail .code-block {
  background: var(--surface);
  border-style: solid;
  border-color: var(--line);
}

/* --- responsive --------------------------------------------------------- */

@media (min-width: 600px) {
  .field-row {
    grid-template-columns: 1fr 1fr;
    gap: 0 16px;
  }

  .header-links .hide-sm {
    display: inline;
  }

  .band {
    padding: 48px 40px;
  }

  .band-facts {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }

  .form-card,
  .invite-card {
    padding: 34px 32px;
  }

  .features {
    grid-template-columns: 1fr 1fr;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .two-col {
    grid-template-columns: 1fr 1fr;
  }

  .panel {
    padding: 32px 28px;
  }
}

@media (min-width: 900px) {
  :root {
    --gutter: 32px;
  }

  section {
    padding: 88px 0;
  }

  .hero {
    padding: 56px 0 40px;
  }

  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 56px;
  }

  .phone {
    width: 328px;
    transform: rotate(1.4deg);
  }

  .features {
    grid-template-columns: repeat(3, 1fr);
  }

  .section-head {
    max-width: 34ch;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
  }

  .footer-grid .footer-links {
    justify-content: flex-end;
  }

  .form-card {
    padding: 40px;
  }

  .band {
    padding: 60px 56px;
  }
}

/* --- motion ------------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(14px);
    animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
  }

  .reveal:nth-child(2) {
    animation-delay: 0.07s;
  }
  .reveal:nth-child(3) {
    animation-delay: 0.14s;
  }

  .hero .pill {
    animation: rise 0.6s cubic-bezier(0.2, 0.7, 0.3, 1) backwards;
  }
  .hero h1 {
    animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.3, 1) 0.06s backwards;
  }
  .hero-sub {
    animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.3, 1) 0.12s backwards;
  }
  .hero-actions {
    animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.3, 1) 0.18s backwards;
  }
  .hero-note {
    animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.3, 1) 0.24s backwards;
  }
  .phone-stage {
    animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.3, 1) 0.2s backwards;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

.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;
}
