/* Behalf — Canonical Brand Tokens & Consumer App Landing Styles */
:root {
  --behalf-pine: #142620;
  --behalf-pine-elevated: #182B24;
  --behalf-pine-abyss: #0E1B16;
  --behalf-mint: #3AD086;
  --behalf-mint-hover: #4CD993;
  --behalf-mint-ink: #0D1F17;
  --behalf-limestone: #F2F1EA;
  --behalf-paper-card: #FAF9F5;
  --behalf-sage-muted: #4C635B;
  --behalf-sage-dark: #B5C7C0;
  --behalf-border-light: #DCDAD0;
  --behalf-border-dark: #284038;
  --behalf-takeover-amber: #E59A28;
  --behalf-decline-coral: #D93829;

  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', ui-monospace, monospace;
  --ease-standard: cubic-bezier(0.2, 0, 0, 1);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--behalf-pine-abyss);
  color-scheme: light;
}

body {
  font-family: var(--font-body);
  background-color: var(--behalf-limestone);
  color: var(--behalf-pine);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  caret-color: var(--behalf-mint);
}

::selection {
  background: var(--behalf-mint);
  color: var(--behalf-mint-ink);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--behalf-pine-abyss);
}

::-webkit-scrollbar-thumb {
  background: var(--behalf-border-dark);
  border-radius: 9999px;
  border: 2px solid var(--behalf-pine-abyss);
}

::-webkit-scrollbar-thumb:hover {
  background: #416D5F;
}

a {
  color: inherit;
  text-underline-offset: 4px;
}

button, input {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--behalf-mint);
  outline-offset: 3px;
}

.section-limestone :focus-visible,
.section-paper :focus-visible,
.handset-screen :focus-visible,
.beta-dialog :focus-visible,
.legal-main :focus-visible {
  outline-color: var(--behalf-pine);
}

.tnum {
  font-variant-numeric: tabular-nums;
}

.mono-num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.tnum {
  font-variant-numeric: tabular-nums;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  background: var(--behalf-mint);
  color: var(--behalf-mint-ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 10px 18px;
  border-radius: 9999px;
  z-index: 100;
  text-decoration: none;
}

.skip-link:focus {
  left: 16px;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================================================
   1. Deep Pine Monument Hero + Centered Interactive Phone
   ========================================================= */
.hero-monolith {
  background: var(--behalf-pine);
  color: var(--behalf-limestone);
  position: relative;
  overflow: hidden;
  padding-bottom: 0;
}

.hero-arcs {
  position: absolute;
  top: -110px;
  right: -95px;
  width: min(580px, 68vw);
  height: min(580px, 68vw);
  opacity: 0.12;
  pointer-events: none;
}

.app-bar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  border-radius: 8px;
}

.app-bar-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.bar-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--behalf-sage-dark);
  text-decoration: none;
  transition: color 0.16s var(--ease-standard);
}

.bar-link:hover {
  color: var(--behalf-limestone);
}

.btn-bar-cta {
  background: var(--behalf-mint);
  color: var(--behalf-mint-ink);
  border: none;
  border-radius: 9999px;
  padding: 10px 20px;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background-color 0.16s var(--ease-standard), transform 0.12s var(--ease-standard);
}

.btn-bar-cta:hover {
  background: var(--behalf-mint-hover);
}

.btn-bar-cta:active {
  transform: scale(0.98);
}

.hero-stage {
  max-width: 1120px;
  margin: 0 auto;
  padding: 6px 24px 0;
  position: relative;
  z-index: 2;
}

.hero-copy {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 22px;
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2.65rem, 5.6vw, 4.35rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
  margin-bottom: 12px;
}

.accent-dot {
  color: var(--behalf-mint);
}

.hero-sub {
  font-size: clamp(0.98rem, 1.45vw, 1.08rem);
  line-height: 1.5;
  color: var(--behalf-sage-dark);
  max-width: 56ch;
  margin: 0 auto 20px;
}

.store-actions {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.btn-mint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--behalf-mint);
  color: var(--behalf-mint-ink);
  text-decoration: none;
  border: none;
  border-radius: 9999px;
  padding: 15px 26px;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background-color 0.16s var(--ease-standard), transform 0.12s var(--ease-standard);
}

.btn-mint:hover {
  background: var(--behalf-mint-hover);
}

.btn-mint:active {
  transform: scale(0.985);
}

.btn-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.btn-pine-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--behalf-pine-abyss);
  color: var(--behalf-limestone);
  border: 1px solid var(--behalf-border-dark);
  border-radius: 9999px;
  padding: 15px 24px;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.16s var(--ease-standard), background-color 0.16s var(--ease-standard);
}

.btn-pine-outline:hover {
  border-color: var(--behalf-mint);
  background: var(--behalf-pine-elevated);
}

/* =========================================================
   Centered Interactive Handset Showcase
   ========================================================= */
.phone-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: start;
  gap: 28px;
  margin-top: 8px;
}

.phone-showcase > * {
  min-width: 0;
  max-width: 100%;
}

.orbit-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 56px;
}

.orbit-left {
  align-items: flex-end;
}

.orbit-right {
  align-items: flex-start;
}

.orbit-group-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.orbit-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 186px;
  padding: 11px 16px;
  border-radius: 9999px;
  border: 1px solid var(--behalf-border-dark);
  background: var(--behalf-pine-abyss);
  color: var(--behalf-sage-dark);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.18s var(--ease-standard), color 0.18s var(--ease-standard), border-color 0.18s var(--ease-standard), transform 0.14s var(--ease-standard);
}

.orbit-pill:hover {
  color: var(--behalf-limestone);
  border-color: #416D5F;
}

.orbit-pill.is-active {
  background: var(--behalf-paper-card);
  color: var(--behalf-pine);
  border-color: var(--behalf-paper-card);
}

.orbit-pill-subtle.is-active {
  background: var(--behalf-pine-elevated);
  color: var(--behalf-mint);
  border-color: #365C4E;
}

.orbit-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  flex-shrink: 0;
}

.orbit-dot-mint { background: var(--behalf-mint); }
.orbit-dot-coral { background: var(--behalf-decline-coral); }
.orbit-dot-amber { background: var(--behalf-takeover-amber); }

.handset-shell {
  width: 376px;
  max-width: 100%;
  background: #0A130F;
  border-radius: 48px;
  padding: 10px;
  border: 1px solid #2A433A;
  box-shadow: 0 28px 64px rgba(5, 12, 9, 0.36);
}

.hero-handset {
  border-radius: 48px 48px 0 0;
  border-bottom: none;
  padding-bottom: 0;
  box-shadow: 0 20px 56px rgba(5, 12, 9, 0.34);
}

.hero-handset .handset-screen {
  border-radius: 38px 38px 0 0;
  padding-bottom: 20px;
  min-height: 494px;
}

.handset-screen {
  background: var(--behalf-paper-card);
  color: var(--behalf-pine);
  border-radius: 38px;
  padding: 12px 16px 16px;
  display: flex;
  flex-direction: column;
  min-height: 506px;
}

.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--behalf-sage-muted);
  margin-bottom: 14px;
  padding: 0 4px;
}

.camera-pill {
  width: 92px;
  height: 22px;
  border-radius: 9999px;
  background: #0E1B16;
}

.status-icons {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.phone-app-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.live-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--behalf-pine);
  color: var(--behalf-mint);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border-radius: 9999px;
}

.live-status-pill.is-blocked {
  background: #3B120E;
  color: #FCA69B;
}

.live-status-pill.is-live-human {
  background: var(--behalf-mint);
  color: var(--behalf-mint-ink);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 9999px;
  background: currentColor;
}

.phone-bar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.call-timer {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--behalf-sage-muted);
}

.icon-replay {
  width: 28px;
  height: 28px;
  border-radius: 9999px;
  border: 1px solid var(--behalf-border-light);
  background: var(--behalf-limestone);
  color: var(--behalf-pine);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.icon-replay:hover {
  border-color: var(--behalf-pine);
  background: #FFFFFF;
}

.caller-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.behalf-live-mark {
  flex-shrink: 0;
}

.behalf-live-mark.is-speaking .mark-arc-inner {
  animation: wavePulseInner 2.1s ease-in-out infinite;
}

.behalf-live-mark.is-speaking .mark-arc-outer {
  animation: wavePulseOuter 2.1s ease-in-out 0.3s infinite;
}

@keyframes wavePulseInner {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@keyframes wavePulseOuter {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.22; }
}

.caller-meta {
  min-width: 0;
  flex: 1;
}

.caller-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--behalf-pine);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.caller-number {
  font-size: 0.76rem;
  color: var(--behalf-sage-muted);
}

.intent-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 9999px;
  background: #E4F5EC;
  color: #135A36;
  flex-shrink: 0;
}

.intent-badge.is-spam {
  background: #FCE6E3;
  color: #A4271B;
}

.intent-badge.is-urgent {
  background: #FCF1DD;
  color: #8A5409;
}

.transcript-well {
  flex: 1;
  background: var(--behalf-limestone);
  border: 1px solid var(--behalf-border-light);
  border-radius: 18px;
  padding: 13px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 184px;
  max-height: 220px;
  overflow-y: auto;
}

.tx-turn {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.tx-turn.is-entering {
  animation: turnReveal 0.3s var(--ease-standard) both;
}

@keyframes turnReveal {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tx-speaker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.tx-behalf { color: #16653D; }
.tx-caller { color: var(--behalf-sage-muted); }
.tx-you { color: #855106; }
.tx-system { color: #A4271B; }

.tx-turn.is-entering {
  animation: turnReveal 0.24s var(--ease-standard) both;
}

@keyframes turnReveal {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tx-text {
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--behalf-pine);
}

.tx-cursor {
  display: inline-block;
  width: 6px;
  height: 14px;
  background: var(--behalf-mint);
  border-radius: 2px;
  margin-left: 4px;
  vertical-align: -2px;
  animation: cursorBlink 1.05s steps(1) infinite;
}

@keyframes cursorBlink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.takeover-view {
  flex: 1;
  background: var(--behalf-limestone);
  border: 1px solid var(--behalf-border-light);
  border-radius: 18px;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  min-height: 224px;
}

.takeover-view[hidden] {
  display: none;
}

.takeover-ring {
  width: 60px;
  height: 60px;
  border-radius: 9999px;
  background: rgba(58, 208, 134, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.takeover-core {
  width: 20px;
  height: 20px;
  border-radius: 9999px;
  background: var(--behalf-mint);
}

.takeover-title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
}

.takeover-body {
  font-size: 0.84rem;
  color: var(--behalf-sage-muted);
  max-width: 26ch;
}

.btn-replay-inline {
  margin-top: 4px;
  background: var(--behalf-paper-card);
  border: 1px solid var(--behalf-border-light);
  color: var(--behalf-pine);
  border-radius: 9999px;
  padding: 8px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.btn-replay-inline:hover {
  border-color: var(--behalf-pine);
}

.quick-reply-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  margin: 12px 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.quick-reply-row::-webkit-scrollbar {
  display: none;
}

.quick-chip {
  flex-shrink: 0;
  background: var(--behalf-limestone);
  border: 1px solid var(--behalf-border-light);
  color: var(--behalf-pine);
  border-radius: 9999px;
  padding: 7px 12px;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.14s ease, border-color 0.14s ease;
}

.quick-chip:hover {
  border-color: var(--behalf-pine);
  background: #FFFFFF;
}

.quick-chip:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.phone-controls {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-phone-takeover {
  width: 100%;
  background: var(--behalf-mint);
  color: var(--behalf-mint-ink);
  border: none;
  border-radius: 9999px;
  padding: 13px 16px;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.12s ease;
}

.btn-phone-takeover:hover {
  background: var(--behalf-mint-hover);
}

.btn-phone-takeover:active {
  transform: scale(0.99);
}

.phone-secondary-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.btn-phone-end {
  background: #EAECE8;
  color: var(--behalf-pine);
  border: 1px solid var(--behalf-border-light);
  border-radius: 9999px;
  padding: 10px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.btn-phone-end:hover:not(:disabled) {
  border-color: var(--behalf-pine);
}

.btn-phone-block {
  background: var(--behalf-decline-coral);
  color: #FFFFFF;
  border: none;
  border-radius: 9999px;
  padding: 10px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.btn-phone-block:hover:not(:disabled) {
  filter: brightness(0.94);
}

.btn-phone-end:disabled,
.btn-phone-block:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.preview-caption {
  text-align: center;
  font-size: 0.82rem;
  color: var(--behalf-sage-dark);
  margin: 12px auto 0;
}

/* =========================================================
   2. Limestone App Showcase: Swipeable Missed-Call Notes
   ========================================================= */
.section-limestone {
  background: var(--behalf-limestone);
  color: var(--behalf-pine);
  padding: 96px 0;
}

.split-app-moment {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.moment-copy h2,
.carrier-intro h2,
.close-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.028em;
  text-wrap: balance;
  margin-bottom: 16px;
}

.section-lead {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--behalf-sage-muted);
  max-width: 54ch;
  margin-bottom: 32px;
}

.editorial-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.editorial-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--behalf-border-light);
}

.editorial-list li:last-child {
  border-bottom: 1px solid var(--behalf-border-light);
}

.list-icon {
  width: 20px;
  height: 20px;
  color: #16653D;
  flex-shrink: 0;
  margin-top: 2px;
}

.editorial-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.editorial-list p {
  font-size: 0.9375rem;
  color: var(--behalf-sage-muted);
  max-width: 48ch;
}

.moment-device {
  display: flex;
  justify-content: center;
}

.handset-light {
  box-shadow: 0 22px 52px rgba(20, 38, 32, 0.12);
}

.handset-screen-light {
  background: var(--behalf-limestone);
  min-height: 0;
  padding-bottom: 14px;
}

.camera-pill-light {
  background: #142620;
}

.home-app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.pause-pill-mock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--behalf-paper-card);
  border: 1px solid var(--behalf-border-light);
  border-radius: 9999px;
  padding: 6px 12px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--behalf-pine);
}

.impact-card-mock {
  background: var(--behalf-pine);
  color: var(--behalf-limestone);
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 18px;
}

.impact-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--behalf-sage-dark);
  margin-bottom: 12px;
}

.impact-live {
  color: var(--behalf-mint);
}

.impact-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.impact-val {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--behalf-mint);
  line-height: 1.15;
}

.impact-key {
  font-size: 0.72rem;
  color: var(--behalf-sage-dark);
  margin-top: 2px;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.review-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
}

.review-count {
  font-size: 0.75rem;
  color: var(--behalf-sage-muted);
}

.review-deck {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.review-stack-wrap {
  position: relative;
  padding-bottom: 14px;
}

.review-stack-peek {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  background: #ECEAE1;
  border: 1px solid var(--behalf-border-light);
  border-radius: 16px;
  padding: 20px 14px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--behalf-sage-muted);
  z-index: 1;
}

.review-card {
  position: relative;
  z-index: 2;
  background: var(--behalf-paper-card);
  border: 1px solid var(--behalf-border-light);
  border-radius: 18px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.22s var(--ease-standard), opacity 0.22s var(--ease-standard);
}

.review-card.is-swiping-done {
  transform: translateX(30px) rotate(1.5deg);
  opacity: 0;
}

.review-card.is-swiping-follow {
  transform: translateX(-30px) rotate(-1.5deg);
  opacity: 0;
}

.review-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.review-caller {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
}

.review-time {
  font-size: 0.74rem;
  color: var(--behalf-sage-muted);
}

.review-summary {
  font-size: 0.875rem;
  line-height: 1.5;
  color: #263A32;
}

.review-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 6px;
}

.btn-review-done {
  background: var(--behalf-pine);
  color: var(--behalf-mint);
  border: none;
  border-radius: 9999px;
  padding: 10px 12px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.btn-review-done:hover {
  background: #1C352C;
}

.btn-review-follow {
  background: var(--behalf-limestone);
  color: var(--behalf-pine);
  border: 1px solid var(--behalf-border-light);
  border-radius: 9999px;
  padding: 10px 12px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.btn-review-follow:hover {
  border-color: var(--behalf-pine);
}

.review-empty {
  background: var(--behalf-paper-card);
  border: 1px solid var(--behalf-border-light);
  border-radius: 18px;
  padding: 28px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.review-empty-check {
  width: 42px;
  height: 42px;
  border-radius: 9999px;
  background: var(--behalf-mint);
  color: var(--behalf-mint-ink);
  display: flex;
  align-items: center;
  justify-content: center;
}

.review-empty strong {
  font-family: var(--font-display);
  font-size: 0.98rem;
}

.review-empty p {
  font-size: 0.83rem;
  color: var(--behalf-sage-muted);
}

.review-toast {
  margin-top: 8px;
  margin-bottom: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #16653D;
  min-height: 18px;
}

.phone-tab-bar {
  margin-top: auto;
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--behalf-paper-card);
  border: 1px solid var(--behalf-border-light);
  border-radius: 9999px;
  padding: 4px;
}

.phone-tab {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 12px;
  border-radius: 9999px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--behalf-sage-muted);
}

.phone-tab.is-active {
  background: var(--behalf-pine);
  color: var(--behalf-limestone);
}

/* =========================================================
   3. Paper Band: Indian Carrier Setup & Transparency
   ========================================================= */
.section-paper {
  background: var(--behalf-paper-card);
  border-top: 1px solid var(--behalf-border-light);
  border-bottom: 1px solid var(--behalf-border-light);
  padding: 96px 0;
}

.split-carrier {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: start;
}

.carrier-selector {
  display: inline-flex;
  gap: 8px;
  background: var(--behalf-limestone);
  border: 1px solid var(--behalf-border-light);
  padding: 5px;
  border-radius: 9999px;
  margin-bottom: 18px;
}

.carrier-tab {
  border: none;
  background: transparent;
  color: var(--behalf-sage-muted);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 9999px;
  cursor: pointer;
  transition: background-color 0.16s var(--ease-standard), color 0.16s var(--ease-standard);
}

.carrier-tab:hover {
  color: var(--behalf-pine);
}

.carrier-tab.is-active {
  background: var(--behalf-pine);
  color: var(--behalf-limestone);
}

.carrier-card {
  background: var(--behalf-limestone);
  border: 1px solid var(--behalf-border-light);
  border-radius: 18px;
  padding: 24px;
}

.carrier-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.carrier-card-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
}

.carrier-status {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 9999px;
  background: #E4F5EC;
  color: #135A36;
}

.carrier-status.is-soon {
  background: #FCF1DD;
  color: #8A5409;
}

.carrier-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.carrier-steps li {
  font-size: 0.9375rem;
  color: #243830;
  padding-left: 18px;
  position: relative;
}

.carrier-steps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: var(--behalf-pine);
}

.code-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.ussd-pill {
  background: var(--behalf-paper-card);
  border: 1px solid var(--behalf-border-light);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 0.78rem;
  color: var(--behalf-pine);
}

.ussd-pill span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--behalf-sage-muted);
  margin-bottom: 2px;
}

.carrier-disable {
  font-size: 0.85rem;
  color: var(--behalf-sage-muted);
  padding-top: 12px;
  border-top: 1px solid var(--behalf-border-light);
}

.trust-subheading {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.trust-list {
  display: flex;
  flex-direction: column;
}

.trust-item {
  padding: 18px 0;
  border-top: 1px solid var(--behalf-border-light);
}

.trust-item:last-child {
  border-bottom: 1px solid var(--behalf-border-light);
}

.trust-item dt {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.trust-item dd {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--behalf-sage-muted);
}

/* =========================================================
   4. Deep Pine Close + Minimal Footer
   ========================================================= */
.section-close {
  background: var(--behalf-pine);
  color: var(--behalf-limestone);
  padding: 88px 0;
  text-align: center;
}

.close-inner {
  max-width: 680px;
}

.close-sub {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--behalf-sage-dark);
  margin: 0 auto 28px;
  max-width: 54ch;
}

.close-note {
  margin-top: 18px;
  font-size: 0.85rem;
  color: var(--behalf-sage-dark);
}

.site-footer {
  background: var(--behalf-pine-abyss);
  color: var(--behalf-sage-dark);
  border-top: 1px solid var(--behalf-border-dark);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  font-size: 0.875rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--behalf-sage-dark);
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--behalf-limestone);
}

.footer-copy {
  font-size: 0.82rem;
  color: #819990;
}

/* =========================================================
   5. Accessible Closed Beta & iOS Waitlist Dialog
   ========================================================= */
.beta-dialog {
  width: min(440px, calc(100vw - 32px));
  margin: auto;
  padding: 26px;
  border: 1px solid var(--behalf-border-light);
  border-radius: 22px;
  background: var(--behalf-paper-card);
  color: var(--behalf-pine);
  box-shadow: 0 24px 64px rgba(10, 20, 16, 0.28);
}

.beta-dialog::backdrop {
  background: rgba(14, 27, 22, 0.68);
}

.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.dialog-head h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.dialog-close {
  width: 34px;
  height: 34px;
  border-radius: 9999px;
  border: 1px solid var(--behalf-border-light);
  background: var(--behalf-limestone);
  color: var(--behalf-pine);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.dialog-close:hover {
  border-color: var(--behalf-pine);
}

.dialog-desc {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--behalf-sage-muted);
  margin-bottom: 18px;
}

.field-group {
  margin-bottom: 16px;
}

.field-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 7px;
  color: var(--behalf-pine);
}

.seg-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.seg-row-4 {
  grid-template-columns: repeat(4, 1fr);
}

.seg-btn {
  padding: 10px 8px;
  border-radius: 12px;
  border: 1px solid var(--behalf-border-light);
  background: var(--behalf-limestone);
  color: var(--behalf-pine);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.14s ease, border-color 0.14s ease;
}

.seg-btn.is-active {
  background: var(--behalf-pine);
  color: var(--behalf-limestone);
  border-color: var(--behalf-pine);
}

.text-input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--behalf-border-light);
  background: #FFFFFF;
  color: var(--behalf-pine);
  font-size: 0.95rem;
}

.text-input::placeholder {
  color: var(--behalf-sage-muted);
  opacity: 1;
}

.text-input:focus {
  border-color: var(--behalf-pine);
}

.text-input[aria-invalid="true"] {
  border-color: var(--behalf-decline-coral);
}

.field-error {
  margin-top: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #B42C1F;
}

.btn-dialog-submit {
  width: 100%;
  background: var(--behalf-mint);
  color: var(--behalf-mint-ink);
  border: none;
  border-radius: 9999px;
  padding: 14px 20px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 4px;
}

.btn-dialog-submit:hover {
  background: var(--behalf-mint-hover);
}

.dialog-confirm {
  text-align: center;
  padding-top: 6px;
}

.dialog-confirm[hidden] {
  display: none;
}

.confirm-badge {
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  border-radius: 9999px;
  background: var(--behalf-mint);
  color: var(--behalf-mint-ink);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dialog-confirm h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.confirm-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-full {
  width: 100%;
}

.btn-light-sec {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--behalf-limestone);
  color: var(--behalf-pine);
  border: 1px solid var(--behalf-border-light);
  border-radius: 9999px;
  padding: 13px 20px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.btn-light-sec:hover {
  border-color: var(--behalf-pine);
}

/* =========================================================
   Responsive Breakpoints
   ========================================================= */
@media (max-height: 840px) and (min-width: 981px), (max-width: 1360px) and (min-width: 981px) {
  .app-bar {
    padding: 14px 32px;
  }

  .hero-copy {
    margin-bottom: 14px;
  }

  .hero-copy h1 {
    font-size: clamp(2.45rem, 4.6vw, 3.65rem);
    margin-bottom: 8px;
  }

  .hero-sub {
    font-size: 0.96rem;
    margin-bottom: 14px;
  }

  .btn-mint,
  .btn-pine-outline {
    padding: 12px 22px;
    font-size: 0.9rem;
  }

  .preview-caption {
    margin-top: 10px;
  }

  .orbit-col {
    padding-top: 34px;
  }

  .hero-handset .handset-screen {
    min-height: 440px;
    padding-bottom: 16px;
  }

  .transcript-well {
    min-height: 152px;
    max-height: 178px;
  }
}

@media (max-width: 980px) {
  .phone-showcase {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 10px;
  }

  .orbit-left {
    order: 1;
  }

  .orbit-right {
    order: 2;
  }

  .hero-handset {
    order: 3;
    margin-top: 4px;
  }

  .orbit-col {
    padding-top: 0;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px;
  }

  .orbit-group-box {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
  }

  .orbit-pill {
    min-width: auto;
    padding: 8px 13px;
    font-size: 0.8rem;
  }

  .split-app-moment,
  .split-carrier {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .section-limestone,
  .section-paper,
  .section-close {
    padding: 68px 0;
  }
}

@media (max-width: 560px) {
  .app-bar {
    padding: 12px 16px;
  }

  .brand-link img {
    width: 96px;
    height: auto;
  }

  .app-bar-actions {
    gap: 12px;
  }

  .btn-bar-cta {
    padding: 8px 14px;
    font-size: 0.8rem;
  }

  .hero-stage {
    padding: 4px 14px 0;
  }

  .hero-copy {
    margin-bottom: 12px;
  }

  .hero-copy h1 {
    font-size: 2.15rem;
    margin-bottom: 8px;
  }

  .hero-sub {
    font-size: 0.875rem;
    line-height: 1.42;
    margin-bottom: 14px;
  }

  .store-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .store-actions .btn-mint,
  .store-actions .btn-pine-outline {
    width: 100%;
    padding: 11px 10px;
    font-size: 0.84rem;
    gap: 6px;
  }

  .preview-caption {
    margin-top: 10px;
    font-size: 0.74rem;
  }

  .orbit-left .orbit-pill,
  .orbit-right .orbit-pill {
    padding: 6px 10px;
    font-size: 0.73rem;
  }

  #orbit-strict-toggle {
    display: none;
  }

  .handset-shell {
    width: 100%;
    max-width: 358px;
    border-radius: 36px;
    padding: 7px;
  }

  .hero-handset {
    border-radius: 36px 36px 0 0;
    padding-bottom: 0;
  }

  .handset-screen {
    border-radius: 29px;
    padding: 10px 13px 14px;
    min-height: 452px;
  }

  .hero-handset .handset-screen {
    border-radius: 29px 29px 0 0;
    min-height: 430px;
    padding-bottom: 16px;
  }

  .handset-screen-light {
    min-height: 0;
  }

  .status-row {
    margin-bottom: 8px;
  }

  .phone-app-bar,
  .caller-header {
    margin-bottom: 10px;
  }

  .transcript-well {
    min-height: 148px;
    max-height: 172px;
    padding: 10px 12px;
    gap: 8px;
  }

  .tx-text {
    font-size: 0.82rem;
    line-height: 1.38;
  }

  .quick-reply-row {
    margin: 9px 0;
  }

  .quick-chip {
    padding: 6px 10px;
    font-size: 0.72rem;
  }

  .btn-phone-takeover {
    padding: 11px 14px;
    font-size: 0.86rem;
  }

  .carrier-selector {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }

  .carrier-tab {
    padding: 9px 6px;
    font-size: 0.82rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
