:root {
  --white: #ffffff;
  --ink: #0b141a;
  --ink-soft: #142026;
  --green: #25d366;
  --green-deep: #087a4b;
  --green-dark: #0a5d43;
  --mint: #e8fbef;
  --bubble: #dcf8c6;
  --line: rgba(11, 20, 26, 0.12);
  --line-strong: rgba(11, 20, 26, 0.22);
  --muted: #5d7079;
  --danger: #e8524a;
  --danger-solid: #b9352d;
  --danger-soft: #fdecea;
  --display: "Sora", system-ui, sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
  --wrap: 1140px;
  --radius: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--green-deep);
}
img,
svg {
  display: block;
  max-width: 100%;
}
button,
input,
select,
textarea {
  font: inherit;
}
:focus-visible {
  outline: 2px solid var(--green-deep);
  outline-offset: 3px;
  border-radius: 4px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.hidden {
  display: none !important;
}
.shell {
  width: min(var(--wrap), calc(100% - 48px));
  margin-inline: auto;
}

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

.site-head {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.head-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.brand:hover {
  color: var(--ink);
}
.brand-mark {
  width: 28px;
  height: 28px;
  color: var(--green);
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  color: var(--muted);
}
.nav a {
  position: relative;
  padding: 4px 0;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 0;
  background: var(--green);
  transition: width 0.25s ease;
}
.nav a:hover {
  color: var(--ink);
}
.nav a:hover::after {
  width: 100%;
}
.nav-admin {
  color: var(--green-deep);
  font-weight: 600;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-primary {
  background: var(--green);
  color: #06281a;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.28);
}
.btn-primary:hover {
  background: #2ee273;
  color: #06281a;
  box-shadow: 0 12px 26px rgba(37, 211, 102, 0.36);
}
.btn-quiet {
  border-color: var(--line-strong);
  color: var(--ink);
  background: transparent;
}
.btn-quiet:hover {
  border-color: var(--green);
  color: var(--ink);
  background: var(--mint);
}

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

.hero {
  position: relative;
  padding: 96px 0 80px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -220px;
  right: -180px;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 211, 102, 0.13), transparent 68%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 72px;
  align-items: center;
}
.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--green-deep);
  margin: 0 0 22px;
}
.kicker::before {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: var(--green);
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(46px, 6.2vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.055em;
  margin: 0 0 24px;
  font-weight: 800;
}
.lede {
  font-size: 18px;
  color: var(--muted);
  max-width: 46ch;
  margin: 0 0 34px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-note {
  font-size: 12px;
  color: var(--muted);
  margin: 28px 0 0;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.kicker {
  animation: rise 0.7s 0.05s both;
}
.hero h1 {
  animation: rise 0.8s 0.12s both;
}
.lede {
  animation: rise 0.8s 0.22s both;
}
.hero-actions {
  animation: rise 0.8s 0.32s both;
}
.hero-note {
  animation: rise 0.8s 0.42s both;
}
.chat-demo {
  animation: rise 0.9s 0.2s both;
}

/* --- animated chat demo -------------------------------------------------- */

.chat-demo {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(11, 20, 26, 0.12),
    0 0 0 8px rgba(37, 211, 102, 0.05);
}
.chat-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: var(--ink);
  color: #fff;
}
.chat-avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--green);
  color: #06281a;
  font-family: var(--display);
  font-weight: 800;
}
.chat-top strong {
  display: block;
  font-size: 14px;
}
.chat-sub {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #9bb3ad;
}
.chat-dots {
  margin-left: auto;
  color: #9bb3ad;
  letter-spacing: 2px;
}
.chat-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 18px;
  min-height: 320px;
  background: #f7f9f8;
  background-image: radial-gradient(rgba(11, 20, 26, 0.05) 1px, transparent 1px);
  background-size: 18px 18px;
}
.bubble {
  align-self: flex-start;
  max-width: 86%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.5;
  opacity: 0;
  animation: bubbleIn 6.5s ease-in-out infinite;
}
.bubble-out {
  align-self: flex-end;
  background: var(--bubble);
  border-bottom-right-radius: 4px;
  color: #12301f;
}
.bubble-in {
  align-self: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
}
.bubble-react {
  align-self: flex-end;
  margin-top: -18px;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 3px 10px rgba(11, 20, 26, 0.08);
  font-size: 15px;
}
.tick {
  margin-left: 6px;
  color: var(--green-deep);
  font-weight: 700;
}
.typing {
  align-self: flex-start;
  display: flex;
  gap: 5px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  opacity: 0;
  animation: bubbleIn 6.5s ease-in-out 1.9s infinite;
}
.typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted);
  animation: dot 1.2s ease-in-out infinite;
}
.typing i:nth-child(2) {
  animation-delay: 0.15s;
}
.typing i:nth-child(3) {
  animation-delay: 0.3s;
}
.video-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 108px;
  padding: 12px;
  margin-bottom: 8px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--ink) 0%, var(--green-dark) 100%);
  overflow: hidden;
}
.video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.16) 50%, transparent 60%);
  transform: translateX(-100%);
  animation: sheen 3.2s ease-in-out 3.4s infinite;
}
.play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 13px;
  padding-left: 3px;
}
.video-meta {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.chat-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  background: var(--white);
}
.composer {
  flex: 1;
  padding: 9px 14px;
  border-radius: 999px;
  background: #f0f3f2;
  color: var(--muted);
  font-size: 12px;
}
.send {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 13px;
}

@keyframes bubbleIn {
  0%,
  5% {
    opacity: 0;
    transform: translateY(14px) scale(0.96);
  }
  13%,
  76% {
    opacity: 1;
    transform: none;
  }
  87%,
  100% {
    opacity: 0;
    transform: translateY(-8px);
  }
}
@keyframes dot {
  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  30% {
    transform: translateY(-4px);
    opacity: 1;
  }
}
@keyframes sheen {
  0% {
    transform: translateX(-100%);
  }
  45%,
  100% {
    transform: translateX(100%);
  }
}
.b1 {
  animation-delay: 0s;
}
.b2 {
  animation-delay: 0.9s;
}
.b4 {
  animation-delay: 2.9s;
}

/* --- marquee ------------------------------------------------------------- */

.marquee {
  overflow: hidden;
  background: var(--ink);
  padding: 18px 0;
}
.marquee-track {
  display: flex;
  gap: 46px;
  width: max-content;
  animation: marquee 24s linear infinite;
}
.marquee-track span {
  color: #fff;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.marquee-track span::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 12px;
  border-radius: 50%;
  background: var(--green);
  vertical-align: middle;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}

/* --- sections ------------------------------------------------------------ */

.section {
  padding: 88px 0;
  border-top: 1px solid var(--line);
}
.section-mint {
  background: var(--mint);
  border-top: 0;
}
.section-title {
  font-family: var(--display);
  font-size: clamp(28px, 3.6vw, 42px);
  letter-spacing: -0.04em;
  margin: 0 0 36px;
  font-weight: 800;
}
.fine {
  font-size: 12px;
  color: var(--muted);
}
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.step {
  padding-top: 20px;
  border-top: 2px solid var(--ink);
}
.step-num {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 800;
  color: var(--green-deep);
}
.step h3 {
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: -0.02em;
  margin: 14px 0 8px;
}
.step p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.live-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.live-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}
.live-heading h2 {
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: -0.03em;
  margin: 0;
}
.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  50% {
    box-shadow: 0 0 0 9px rgba(37, 211, 102, 0);
  }
}
.live-numbers {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.live-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
}
.live-chip-active {
  border-radius: 14px;
  border-color: var(--green);
  padding: 12px 16px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.12);
}
.live-phone {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.subscribe-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.subscribe-grid h2 {
  font-family: var(--display);
  font-size: clamp(28px, 3.6vw, 42px);
  letter-spacing: -0.04em;
  margin: 0 0 14px;
  font-weight: 800;
}
.subscribe-grid p {
  color: var(--muted);
  max-width: 48ch;
}
.form-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.input {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--ink);
  padding: 13px 15px;
  outline: none;
}
.input::placeholder {
  color: #93a3aa;
}
.input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.14);
}
.password-field {
  position: relative;
}
.password-field .input {
  padding-right: 46px;
}
.password-toggle {
  position: absolute;
  top: 50%;
  right: 7px;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}
.password-toggle:hover {
  color: var(--green-deep);
  background: var(--mint);
}
.password-toggle:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 1px;
}
.password-toggle .icon {
  width: 18px;
  height: 18px;
}
.password-toggle .icon-off {
  display: none;
}
.password-toggle[aria-pressed="true"] .icon-on {
  display: none;
}
.password-toggle[aria-pressed="true"] .icon-off {
  display: block;
}
.form-row .input {
  flex: 1 1 240px;
  width: auto;
}
.form-msg {
  font-size: 13px;
  min-height: 20px;
  margin: 12px 0 0;
  color: var(--green-deep);
}
.form-msg[data-kind="ok"] {
  color: var(--green-deep);
}
.form-msg[data-kind="error"] {
  color: var(--danger);
}

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

.footer {
  background: var(--ink);
  color: #a8b8b3;
  padding: 0;
  overflow: hidden;
  font-size: 13px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  padding: 68px 0 52px;
}
.brand-light,
.brand-light:hover {
  color: #fff;
}
.footer-brand p {
  max-width: 34ch;
  margin: 18px 0 0;
  font-size: 14px;
}
.footer-col h3 {
  font-family: var(--display);
  color: #fff;
  font-size: 14px;
  margin: 0 0 16px;
}
.footer-col a {
  display: block;
  padding: 5px 0;
  font-size: 14px;
}
.footer-col p {
  font-size: 13px;
  max-width: 28ch;
}
.footer a {
  color: #a8b8b3;
}
.footer a:hover {
  color: var(--green);
}
/* Buttons in the footer need their own label color: the grey footer link
   color above has higher specificity than .btn-primary and washes them out. */
.footer .btn-primary,
.footer .btn-primary:hover {
  color: #06281a;
}
.footer-ticker {
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 13px 0;
}
.footer-ticker-track {
  display: flex;
  gap: 34px;
  width: max-content;
  animation: marquee 18s linear infinite;
}
.footer-ticker-track span {
  color: var(--green);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  white-space: nowrap;
}
.footer-wordmark {
  position: relative;
  width: 100%;
  line-height: 0;
  overflow: hidden;
  padding: 22px 0 6px;
}
.footer-wordmark svg {
  width: 100%;
  height: auto;
  display: block;
}
.footer-wordmark text {
  font-family: "Anton", Impact, sans-serif;
  font-size: 200px;
  fill: url(#footerGradient);
}
.footer-scan {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 14%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  animation: scan 4.5s linear infinite;
  pointer-events: none;
}
@keyframes scan {
  from {
    left: -14%;
  }
  to {
    left: 100%;
  }
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 6px 0 28px;
  font-size: 12px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- status / privacy / admin ------------------------------------------- */

.page-head {
  padding: 64px 0 32px;
}
.page-head h1 {
  font-family: var(--display);
  font-size: clamp(38px, 5vw, 56px);
  letter-spacing: -0.05em;
  margin: 0 0 12px;
  font-weight: 800;
}
.page-head p {
  color: var(--muted);
  max-width: 60ch;
  margin: 0;
}
.status-list,
.list {
  display: grid;
  gap: 10px;
  padding-bottom: 8px;
}
.status-item,
.list-row {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  padding: 16px 20px;
  flex-wrap: wrap;
}
.status-label {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
  min-width: 140px;
}
.status-phone {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  color: var(--muted);
}
.status-time {
  margin-left: auto;
  font-size: 12px;
  color: var(--muted);
}
.state-note {
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  padding: 28px;
  text-align: center;
  color: var(--muted);
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid transparent;
  white-space: nowrap;
}
.pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.pill-ok {
  color: var(--green-deep);
  background: var(--mint);
  border-color: rgba(8, 122, 75, 0.2);
}
.pill-bad {
  color: var(--danger);
  background: #fff0ef;
  border-color: rgba(232, 82, 74, 0.2);
}
.pill-wait {
  color: #a2680b;
  background: #fff6e3;
  border-color: rgba(162, 104, 11, 0.2);
}
.pill-off {
  color: var(--muted);
  background: #f2f5f4;
  border-color: var(--line);
}

.prose {
  padding-bottom: 88px;
}
.prose h2 {
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: -0.02em;
  margin: 42px 0 10px;
}
.prose p,
.prose li {
  color: var(--muted);
  max-width: 68ch;
}
.prose a {
  color: var(--green-deep);
  font-weight: 600;
}

.admin-main {
  padding: 48px 0 88px;
}
.admin-intro {
  margin-bottom: 28px;
}
.admin-intro h1 {
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 44px);
  letter-spacing: -0.04em;
  margin: 0 0 6px;
  font-weight: 800;
}
.admin-intro p {
  color: var(--muted);
  margin: 0;
}
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 26px;
  margin-bottom: 24px;
  box-shadow: 0 10px 30px rgba(11, 20, 26, 0.04);
}
.panel h2 {
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}
.panel-sub {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 20px;
}
.panel-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}
.panel-head h2 {
  margin: 0;
}
.panel-count {
  font-size: 12px;
  font-weight: 700;
  color: var(--green-deep);
}
.link-form {
  display: grid;
  grid-template-columns: 1fr 160px 1fr auto;
  gap: 12px;
  align-items: end;
  margin: 20px 0;
}
.link-form label,
.broadcast-form label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.link-result {
  border: 1px solid var(--green);
  border-radius: 12px;
  padding: 22px;
  margin-bottom: 22px;
  background: var(--mint);
}
.link-result h3 {
  font-family: var(--display);
  margin: 0 0 16px;
  font-size: 18px;
}
.qr-image {
  width: 200px;
  height: 200px;
  background: #fff;
  border-radius: 10px;
  padding: 8px;
  margin-bottom: 12px;
}
.pairing-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 30px;
  letter-spacing: 0.12em;
  color: var(--green-deep);
  margin: 0 0 12px;
}
.list-row {
  border-radius: 10px;
  padding: 13px 16px;
}
.list-main {
  flex: 1;
  min-width: 140px;
}
.list-meta {
  font-size: 12px;
  color: var(--muted);
}
.row-actions {
  display: flex;
  gap: 8px;
  margin-left: auto;
}
.btn-sm {
  padding: 7px 11px;
  font-size: 12px;
  border-radius: 8px;
}
.btn-danger {
  border-color: rgba(232, 82, 74, 0.4);
  color: var(--danger);
  background: transparent;
}
.btn-danger:hover {
  border-color: var(--danger);
  background: #fff0ef;
  color: var(--danger);
}
.btn-danger-solid {
  background: var(--danger-solid);
  color: #fff;
}
.btn-danger-solid:hover {
  background: #9e2b25;
  color: #fff;
  box-shadow: 0 10px 22px rgba(185, 53, 45, 0.28);
}
.broadcast-form {
  display: grid;
  gap: 14px;
  margin-bottom: 8px;
}
.broadcast-form textarea {
  min-height: 110px;
  resize: vertical;
}
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 13px 17px;
  font-size: 13px;
  z-index: 50;
  max-width: 320px;
}
.toast[data-kind="error"] {
  border-color: var(--danger);
}
.toast[data-kind="ok"] {
  border-color: var(--green);
}

/* --- confirmation dialog -------------------------------------------------- */

.confirm-dialog {
  width: min(420px, calc(100vw - 32px));
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 30px 70px rgba(11, 20, 26, 0.28);
}
.confirm-dialog::backdrop {
  background: rgba(11, 20, 26, 0.6);
  backdrop-filter: blur(3px);
}
.confirm-dialog[open] {
  animation: confirm-in 0.18s ease-out;
}
@keyframes confirm-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.confirm-card {
  padding: 28px;
}
.confirm-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--danger-soft);
  color: var(--danger-solid);
}
.confirm-icon svg {
  width: 22px;
  height: 22px;
}
.confirm-title {
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 18px 0 6px;
}
.confirm-message {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}
.confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
}
@media (max-width: 440px) {
  .confirm-actions {
    flex-direction: column;
  }
  .confirm-actions .btn {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .confirm-dialog[open] {
    animation: none;
  }
}

.login-wrap {
  min-height: calc(100vh - 72px);
  display: grid;
  place-items: center;
  padding: 40px 24px;
  background: var(--mint);
}
.login-card {
  width: min(420px, 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 34px;
  box-shadow: 0 24px 60px rgba(11, 20, 26, 0.1);
}
.login-card h1 {
  font-family: var(--display);
  font-size: 26px;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
}
.login-card p {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 22px;
}
.login-card .input {
  margin-bottom: 14px;
}
.login-card .password-field {
  margin-bottom: 14px;
}
.login-card .password-field .input {
  margin-bottom: 0;
}

/* --- longer-page sections ------------------------------------------------ */

.why-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: start;
}
.why-lead {
  font-family: var(--display);
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.18;
  letter-spacing: -0.04em;
  font-weight: 800;
  margin: 0;
}
.why-list {
  display: grid;
}
.why-item {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.why-item:last-child {
  border-bottom: 1px solid var(--line);
}
.why-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 13px;
  color: var(--green-deep);
  padding-top: 4px;
}
.why-item h3 {
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}
.why-item p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.platform-tile {
  padding: 26px 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.25s ease, transform 0.25s ease;
}
.platform-tile:nth-child(4n) {
  border-right: 0;
}
.platform-tile:nth-last-child(-n + 4) {
  border-bottom: 0;
}
.platform-tile:hover {
  background: var(--mint);
  transform: translateY(-3px);
}
.platform-tile strong {
  display: block;
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.platform-tile span {
  font-size: 12px;
  color: var(--muted);
}

.faq-list {
  border-top: 1px solid var(--line);
}
.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.faq-list summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  content: "+";
  color: var(--green-deep);
  font-size: 22px;
  line-height: 1;
}
.faq-list details[open] summary::after {
  content: "−";
}
.faq-list p {
  color: var(--muted);
  max-width: 62ch;
  margin: 14px 0 0;
}

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

@media (max-width: 940px) {
  .hero-grid,
  .subscribe-grid,
  .why-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .hero {
    padding: 64px 0;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .link-form {
    grid-template-columns: 1fr 1fr;
  }
  .status-time {
    margin-left: 0;
  }
  .platform-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .platform-tile:nth-child(4n) {
    border-right: 1px solid var(--line);
  }
  .platform-tile:nth-child(2n) {
    border-right: 0;
  }
  .platform-tile:nth-last-child(-n + 4) {
    border-bottom: 1px solid var(--line);
  }
  .platform-tile:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 600px) {
  .shell {
    width: calc(100% - 32px);
  }
  .nav {
    gap: 14px;
    font-size: 13px;
  }
  .nav a:first-child {
    display: none;
  }
  .link-form,
  .form-row {
    grid-template-columns: 1fr;
    flex-direction: column;
  }
  .form-row .btn {
    width: 100%;
  }
  .section {
    padding: 64px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal,
  .bubble,
  .typing {
    opacity: 1;
    transform: none;
  }
}
