:root {
  --site-bg: #090909;
  --site-panel: rgba(18, 18, 20, 0.58);
  --site-panel-strong: rgba(12, 12, 14, 0.82);
  --site-panel-soft: rgba(255, 255, 255, 0.04);
  --site-panel-border: rgba(255, 255, 255, 0.08);
  --site-copy: #f8f7f3;
  --site-copy-soft: #bdbab1;
  --site-copy-muted: #8c887f;
  --site-accent-red: #f14635;
  --site-accent-green: #3dd78f;
  --site-accent-green-soft: rgba(61, 215, 143, 0.16);
  --site-accent-gold: #ffcc66;
  --site-accent-ice: #d9ddd8;
  --site-shadow-soft: 0 24px 64px rgba(0, 0, 0, 0.28);
  --site-shadow-deep: 0 34px 92px rgba(0, 0, 0, 0.42);
  --site-radius-xl: 30px;
  --site-radius-lg: 22px;
  --site-radius-md: 18px;
  --site-radius-sm: 12px;
  --site-shell: 1440px;
  --site-content: 1180px;
  --site-display-font:
    "Aptos", "Aptos Display", "Segoe UI", "Helvetica Neue", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.site-page {
  margin: 0;
  min-height: 100vh;
  color: var(--site-copy);
  font-family: "Sora", "Avenir Next", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 8% 0%, rgba(241, 70, 53, 0.16), transparent 30%),
    radial-gradient(
      circle at 76% 0%,
      rgba(61, 215, 143, 0.08),
      transparent 26%
    ),
    radial-gradient(
      circle at 50% 40%,
      rgba(255, 204, 102, 0.08),
      transparent 32%
    ),
    linear-gradient(180deg, #0c0c0e 0%, #090909 48%, #050506 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}

body.site-page::before {
  position: fixed;
  inset: 0;
  background: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0.02) 0%,
    transparent 26%,
    transparent 70%,
    rgba(255, 255, 255, 0.02) 100%
  );
  opacity: 0.7;
  mix-blend-mode: screen;
  pointer-events: none;
  content: "";
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease,
    opacity 180ms ease,
    filter 180ms ease;
}

.site-shell {
  width: min(100%, var(--site-shell));
  margin: 0 auto;
  padding: 1.2rem 1.1rem 4.75rem;
}

.site-topbar,
.site-hero,
.site-principles,
.site-closing {
  width: min(100%, var(--site-content));
  margin-inline: auto;
}

.site-topbar {
  position: sticky;
  top: 1rem;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--site-panel-border);
  border-radius: 24px;
  background: rgba(8, 8, 9, 0.78);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
}

.site-topbar-branding {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.site-brand,
.site-eyebrow,
.portrait-role,
.card-kicker,
.site-trust-kicker,
.principle-card h3,
.message-party,
.device-status-label {
  font-family: "IBM Plex Mono", "SFMono-Regular", monospace;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: fit-content;
  max-width: min(100%, 13rem);
  padding: 0.82rem 0.92rem;
  border: 1px solid var(--site-panel-border);
  border-radius: var(--site-radius-lg);
  background:
    radial-gradient(
      circle at top right,
      rgba(241, 70, 53, 0.1),
      transparent 34%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.04),
      rgba(255, 255, 255, 0.015)
    ),
    rgba(255, 255, 255, 0.02);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 10px 24px rgba(0, 0, 0, 0.18);
}

.site-brand-mark {
  display: block;
  line-height: 0;
}

.site-brand-image {
  display: block;
  width: clamp(8.8rem, 11vw, 10.8rem);
  height: auto;
  filter: drop-shadow(0 7px 12px rgba(0, 0, 0, 0.18));
}

.site-topbar-banner {
  display: grid;
  align-content: center;
  min-width: 0;
}

.site-topbar-banner-line {
  margin: 0;
  color: var(--site-copy);
  max-width: 34rem;
  font-family: var(--site-display-font);
  font-size: clamp(1rem, 1.48vw, 1.28rem);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.012em;
}

.site-topbar-banner-support {
  max-width: 33rem;
  margin: 0.24rem 0 0;
  color: var(--site-copy-soft);
  font-size: 0.78rem;
  line-height: 1.45;
}

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

.site-topbar-cta,
.site-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
}

.site-whatsapp-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.02);
}

.site-whatsapp-cta:active {
  transform: translateY(1px);
}

.site-whatsapp-cta-image {
  display: block;
  width: clamp(10.6rem, 15vw, 12.8rem);
  height: auto;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.18));
}

.site-whatsapp-cta-image-large {
  width: clamp(14.5rem, 24vw, 18.4rem);
}

.site-qr-cta {
  display: grid;
  justify-items: center;
  gap: 0.9rem;
  width: min(100%, 19.25rem);
  margin: 0 auto;
  padding: 1.1rem 1.05rem 1.12rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  background:
    radial-gradient(circle at top, rgba(61, 215, 143, 0.06), transparent 44%),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.04),
      rgba(255, 255, 255, 0.015)
    ),
    rgba(14, 16, 18, 0.76);
  box-shadow:
    0 22px 44px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
  backdrop-filter: blur(14px);
}

.site-qr-cta:hover {
  transform: translateY(-2px);
  border-color: rgba(61, 215, 143, 0.18);
  box-shadow:
    0 26px 48px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.site-qr-cta:active {
  transform: translateY(1px);
}

.site-qr-frame {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 12.4rem);
  aspect-ratio: 1;
  padding: 0.8rem;
  border-radius: 28px;
  overflow: hidden;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.68),
      rgba(239, 231, 218, 0.94)
    ),
    #f6f1e8;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 20px 36px rgba(0, 0, 0, 0.18);
}

.site-qr-frame::after,
.device-screen::after {
  position: absolute;
  top: -18%;
  bottom: -18%;
  left: -42%;
  width: 32%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.18),
    rgba(255, 255, 255, 0)
  );
  opacity: 0.38;
  pointer-events: none;
  transform: skewX(-18deg) translateX(0);
  animation: siteLightSweep 18s ease-in-out infinite;
  content: "";
}

.device-screen::after {
  left: -48%;
  width: 28%;
  opacity: 0.16;
  animation-duration: 13.8s;
  animation-delay: 1.2s;
}

.site-qr-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 18px;
  object-fit: contain;
  background: transparent;
}

.site-qr-copy {
  display: grid;
  gap: 0.24rem;
  text-align: center;
}

.site-qr-copy strong {
  color: var(--site-copy);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
}

.site-qr-copy span {
  color: var(--site-copy-soft);
  font-size: 0.9rem;
  line-height: 1.48;
}

.site-hero {
  padding-top: clamp(3.25rem, 7vw, 6.1rem);
}

.site-copy {
  max-width: 47rem;
  margin: 0 auto;
  text-align: center;
}

.site-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  padding: 0.44rem 0.82rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--site-accent-ice);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.site-eyebrow::before {
  display: inline-flex;
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: var(--site-accent-green);
  box-shadow: 0 0 0 6px rgba(61, 215, 143, 0.12);
  content: "";
}

.site-copy h1,
.section-heading h2,
.site-closing h2 {
  margin: 1rem 0 0;
  font-family: var(--site-display-font);
  font-size: clamp(2.8rem, 5.2vw, 4.75rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.018em;
  text-wrap: balance;
}

.site-intro,
.portrait-caption p,
.principle-card p,
.site-closing p,
.message p,
.detail-card p,
.detail-card li {
  color: var(--site-copy-soft);
  font-size: 1rem;
  line-height: 1.72;
}

.site-intro {
  max-width: 38rem;
  margin: 1.15rem auto 0;
  font-size: 1rem;
}

.site-actions {
  display: flex;
  justify-content: center;
  margin-top: 1.8rem;
}

.site-trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.78rem;
  margin: 1.55rem auto 0;
}

.site-trust-item {
  padding: 1rem 1rem 1.02rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.024),
      rgba(255, 255, 255, 0.012)
    ),
    rgba(14, 15, 17, 0.52);
  text-align: center;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 12px 24px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(12px);
}

.site-trust-kicker {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--site-accent-gold);
  line-height: 1.35;
  text-align: center;
}

.site-trust-item p {
  margin: 0;
  color: var(--site-copy-soft);
  font-size: 0.84rem;
  line-height: 1.5;
}

.site-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 380px) minmax(0, 1fr);
  align-items: center;
  gap: 1.35rem;
  margin-top: clamp(3rem, 7vw, 5rem);
}

.portrait {
  position: relative;
  min-height: 39rem;
  margin: 0;
  border: 1px solid var(--site-panel-border);
  border-radius: 32px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: var(--site-shadow-soft);
  transition:
    opacity 260ms ease,
    transform 260ms ease,
    border-color 260ms ease,
    box-shadow 260ms ease,
    filter 260ms ease;
}

.portrait::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 5, 7, 0.05) 0%,
    rgba(5, 5, 7, 0.3) 44%,
    rgba(5, 5, 7, 0.84) 100%
  );
  pointer-events: none;
  content: "";
}

.portrait::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.88;
  content: "";
}

.portrait-customer::before {
  background:
    radial-gradient(
      circle at 72% 18%,
      rgba(241, 70, 53, 0.18),
      transparent 34%
    ),
    radial-gradient(
      circle at 18% 82%,
      rgba(255, 204, 102, 0.12),
      transparent 36%
    );
}

.portrait-provider::before {
  background:
    radial-gradient(
      circle at 22% 18%,
      rgba(255, 204, 102, 0.14),
      transparent 32%
    ),
    radial-gradient(
      circle at 82% 68%,
      rgba(61, 215, 143, 0.12),
      transparent 40%
    );
}

.portrait-media {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-size: cover;
  transform: scale(1.01);
  filter: saturate(0.88) contrast(1.06) brightness(0.84);
}

.portrait-media-customer {
  background-image: url("/customer-photo.png");
  background-position: center 18%;
}

.portrait-media-provider {
  background-image: url("/provider-photo.png");
  background-position: center 20%;
}

@supports (background-image: url("/customer-photo.webp")) {
  .portrait-media-customer {
    background-image: url("/customer-photo.webp?v=20260702-performance");
  }

  .portrait-media-provider {
    background-image: url("/provider-photo.webp?v=20260702-performance");
  }
}

.portrait-caption {
  position: absolute;
  right: 1.35rem;
  bottom: 1.35rem;
  left: 1.35rem;
  z-index: 1;
  padding: 1.25rem 1.2rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: rgba(10, 10, 12, 0.72);
  backdrop-filter: blur(5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

.portrait-role,
.card-kicker,
.principle-card h3,
.message-party {
  color: var(--site-accent-gold);
}

.site-kai-accent {
  color: var(--site-accent-red);
}

.portrait-caption strong {
  display: block;
  margin-top: 0.65rem;
  font-size: clamp(1.35rem, 1.75vw, 1.85rem);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.portrait-caption p {
  margin: 0.7rem 0 0;
}

.device-column {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44rem;
}

.device-aura {
  position: absolute;
  inset: auto 50% 7% auto;
  width: 120%;
  height: 80%;
  transform: translateX(50%);
  border-radius: 44%;
  background:
    radial-gradient(
      circle at 50% 50%,
      rgba(61, 215, 143, 0.18),
      transparent 42%
    ),
    radial-gradient(
      circle at 50% 70%,
      rgba(255, 204, 102, 0.12),
      transparent 55%
    );
  filter: blur(34px);
  opacity: 0.42;
  pointer-events: none;
}

.device-frame {
  position: relative;
  width: min(100%, 23.4rem);
  aspect-ratio: 39 / 82;
  padding: 0.46rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 52px;
  background:
    linear-gradient(
      150deg,
      rgba(228, 232, 238, 0.94) 0%,
      rgba(184, 190, 199, 0.84) 8%,
      rgba(72, 77, 86, 0.68) 19%,
      rgba(14, 15, 18, 0.96) 34%,
      rgba(74, 80, 89, 0.92) 74%,
      rgba(198, 203, 211, 0.88) 100%
    ),
    linear-gradient(
      160deg,
      rgba(198, 204, 212, 0.97) 0%,
      rgba(144, 151, 160, 0.95) 17%,
      rgba(66, 72, 80, 0.98) 28%,
      rgba(16, 17, 20, 1) 48%,
      rgba(7, 8, 10, 1) 74%,
      rgba(170, 176, 184, 0.96) 100%
    );
  box-shadow:
    var(--site-shadow-deep),
    0 36px 78px rgba(0, 0, 0, 0.28),
    0 10px 24px rgba(255, 255, 255, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.44),
    inset 0 -14px 30px rgba(0, 0, 0, 0.36);
  transition:
    transform 260ms ease,
    border-color 260ms ease,
    box-shadow 260ms ease,
    opacity 260ms ease;
}

.device-frame::before {
  position: absolute;
  inset: 0.17rem;
  border-radius: 48px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow:
    inset 0 0 0 1px rgba(17, 18, 22, 0.56),
    inset 0 0 20px rgba(255, 255, 255, 0.04);
  content: "";
}

.device-frame::after {
  position: absolute;
  inset: 0.22rem;
  border-radius: inherit;
  background:
    linear-gradient(
      110deg,
      rgba(255, 255, 255, 0.2),
      transparent 18%,
      transparent 82%,
      rgba(255, 255, 255, 0.07)
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.08),
      transparent 7%,
      transparent 93%,
      rgba(255, 255, 255, 0.08)
    );
  mix-blend-mode: screen;
  opacity: 0.58;
  pointer-events: none;
  content: "";
}

.device-button {
  position: absolute;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(204, 210, 218, 0.92),
    rgba(114, 121, 130, 0.94) 38%,
    rgba(50, 55, 63, 0.97) 100%
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 0 -1px 0 rgba(22, 25, 31, 0.42),
    0 2px 5px rgba(0, 0, 0, 0.18);
}

.device-button-action,
.device-button-volume-up,
.device-button-volume-down {
  left: -0.18rem;
  border-radius: 0.18rem 0 0 0.18rem;
}

.device-button-action {
  top: 6.9rem;
  width: 0.22rem;
  height: 2.02rem;
}

.device-button-volume-up {
  top: 10rem;
  width: 0.2rem;
  height: 3rem;
}

.device-button-volume-down {
  top: 13.54rem;
  width: 0.2rem;
  height: 3rem;
}

.device-button-power {
  top: 11.3rem;
  right: -0.18rem;
  width: 0.22rem;
  height: 4.6rem;
  border-radius: 0 0.18rem 0.18rem 0;
}

.device-island {
  position: absolute;
  top: 0.86rem;
  left: 50%;
  z-index: 3;
  width: 33%;
  height: 1.62rem;
  transform: translateX(-50%);
  border-radius: 999px;
  background:
    radial-gradient(
      circle at 76% 50%,
      rgba(78, 86, 108, 0.34),
      transparent 12%
    ),
    linear-gradient(180deg, #0c0c0d, #040405);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 2px 0 rgba(255, 255, 255, 0.03),
    0 8px 18px rgba(0, 0, 0, 0.24);
}

.device-island::before {
  position: absolute;
  top: 50%;
  right: 0.68rem;
  width: 0.46rem;
  height: 0.46rem;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(86, 97, 118, 0.8),
    rgba(18, 20, 24, 0.96) 68%,
    #020202 100%
  );
  box-shadow:
    0 0 0 0.07rem rgba(255, 255, 255, 0.02),
    inset 0 0 0 0.03rem rgba(255, 255, 255, 0.04);
  content: "";
}

.device-island::after {
  position: absolute;
  top: 50%;
  left: 0.72rem;
  width: 1.28rem;
  height: 0.14rem;
  transform: translateY(-50%);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
  filter: blur(0.2px);
  content: "";
}

.device-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 3.28rem 0.78rem 0.86rem;
  border-radius: 46px;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(61, 215, 143, 0.06),
      transparent 28%
    ),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180' fill='none' stroke='%238e9e8a' stroke-opacity='.18' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 27c0-4 3-7 7-7h13c4 0 7 3 7 7v8c0 4-3 7-7 7h-3l-6 6v-6h-4c-4 0-7-3-7-7Z'/%3E%3Ccircle cx='130' cy='29' r='10'/%3E%3Cpath d='M130 23v12M124 29h12'/%3E%3Cpath d='M69 58l4 8 9 1-6 6 2 9-9-5-9 5 2-9-6-6 9-1Z'/%3E%3Cpath d='M143 68l13 7-11 4-2 10-7-9-12 1 7-8-5-10 10 5Z'/%3E%3Cpath d='M29 96c6-8 12-12 20-12s14 4 20 12'/%3E%3Cpath d='M21 107h58'/%3E%3Ccircle cx='99' cy='111' r='12'/%3E%3Cpath d='M99 104v8l5 3'/%3E%3Cpath d='M134 118c0-6 5-11 11-11s11 5 11 11c0 12-11 18-11 18s-11-6-11-18Z'/%3E%3Cpath d='M44 143c5 0 9 4 9 9s-4 9-9 9-9-4-9-9 4-9 9-9Zm0 4v10m-5-5h10'/%3E%3Cpath d='M97 151c0-4 3-7 7-7h10c4 0 7 3 7 7v7c0 4-3 7-7 7h-3l-5 5v-5h-2c-4 0-7-3-7-7Z'/%3E%3Cpath d='M145 149l7 7m0-7-7 7'/%3E%3C/svg%3E"),
    linear-gradient(180deg, rgba(17, 18, 21, 0.985), rgba(9, 10, 12, 0.998));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    inset 0 0 0 2px rgba(2, 3, 4, 0.68);
}

.screen-glow {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.06) 0%,
      rgba(255, 255, 255, 0.018) 12%,
      transparent 28%,
      transparent 76%,
      rgba(255, 255, 255, 0.018)
    ),
    radial-gradient(
      circle at 18% -4%,
      rgba(255, 255, 255, 0.08),
      transparent 18%
    ),
    radial-gradient(
      circle at 50% 10%,
      rgba(212, 218, 226, 0.08),
      transparent 18%
    );
  opacity: 0.94;
  pointer-events: none;
}

.device-statusbar {
  position: absolute;
  top: 0.82rem;
  left: 1rem;
  right: 1rem;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.device-statusbar-time {
  color: rgba(248, 247, 243, 0.92);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.device-statusbar-icons {
  display: flex;
  align-items: center;
  gap: 0.32rem;
  color: rgba(248, 247, 243, 0.94);
}

.device-statusbar-icon {
  display: block;
  height: auto;
}

.device-statusbar-signal {
  width: 1rem;
  fill: currentColor;
  stroke: none;
}

.device-statusbar-wifi {
  width: 0.96rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.3;
}

.device-statusbar-wifi circle {
  fill: currentColor;
  stroke: none;
}

.device-statusbar-battery {
  width: 1.42rem;
  fill: none;
  stroke: currentColor;
  stroke-linejoin: round;
  stroke-width: 1.15;
}

.device-statusbar-battery-fill {
  fill: currentColor;
  stroke: none;
}

.conversation-flow {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.6rem;
  min-height: 0;
  max-height: calc(100% - 7.3rem);
  overflow: hidden;
}

.conversation-thread-head {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.68rem;
  padding: 0.08rem 0.08rem 0.76rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.conversation-thread-avatar {
  display: inline-grid;
  place-items: center;
  width: 2.05rem;
  height: 2.05rem;
  border-radius: 50%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, #f14635 0%, #96261b 100%);
  color: var(--site-copy);
  font-family: var(--site-display-font);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 10px 18px rgba(0, 0, 0, 0.18);
}

.conversation-thread-copy {
  min-width: 0;
}

.conversation-thread-copy strong,
.conversation-thread-copy span {
  display: block;
}

.conversation-thread-copy strong {
  color: var(--site-copy);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.conversation-thread-copy span {
  margin-top: 0.15rem;
  color: var(--site-copy-soft);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

.conversation-thread-badge,
.message-time,
.card-time {
  font-family: "IBM Plex Mono", "SFMono-Regular", monospace;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.conversation-thread-badge {
  padding: 0.34rem 0.54rem;
  border: 1px solid rgba(61, 215, 143, 0.18);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(131, 255, 178, 0.14), rgba(131, 255, 178, 0)),
    rgba(61, 215, 143, 0.08);
  color: var(--site-accent-ice);
}

.flow-element {
  display: none;
}

.flow-element.is-visible {
  display: block;
  animation: siteReveal 460ms ease both;
}

@keyframes siteReveal {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.986);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes siteLightSweep {
  0%,
  16%,
  100% {
    transform: skewX(-18deg) translateX(0);
    opacity: 0;
  }

  22%,
  44% {
    opacity: 0.48;
  }

  56% {
    transform: skewX(-18deg) translateX(430%);
    opacity: 0;
  }
}

.message,
.detail-card {
  position: relative;
  z-index: 1;
  padding: 0.86rem 0.92rem 0.84rem;
  border-radius: 24px;
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.16);
}

.message p,
.detail-card p,
.detail-card ul {
  margin: 0.52rem 0 0;
}

.message-head,
.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.message-party {
  display: inline-flex;
  align-items: center;
  min-height: 1.9rem;
  padding: 0.26rem 0.62rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.card-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 1.85rem;
  padding: 0.24rem 0.62rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(33, 33, 36, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.message-time,
.card-time {
  color: rgba(248, 247, 243, 0.42);
  white-space: nowrap;
}

.message p {
  color: #101112;
  font-size: 0.92rem;
  line-height: 1.5;
}

.customer-message {
  align-self: flex-end;
  max-width: 88%;
  border: 1px solid rgba(233, 208, 164, 0.44);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.34),
      rgba(255, 255, 255, 0.08) 100%
    ),
    linear-gradient(135deg, #f1e5cd 0%, #d7bf8a 52%, #c49c56 100%);
  box-shadow:
    0 16px 28px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.customer-message .message-party {
  min-height: 1.98rem;
  padding: 0.28rem 0.72rem;
  border-color: rgba(241, 206, 143, 0.36);
  background:
    linear-gradient(180deg, rgba(68, 58, 49, 0.98), rgba(28, 26, 30, 0.98)),
    rgba(24, 24, 27, 0.98);
  color: #fff3e0;
  font-family: var(--site-display-font);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 rgba(77, 50, 17, 0.24),
    0 10px 16px rgba(0, 0, 0, 0.15);
}

.customer-message .message-time {
  color: rgba(17, 18, 20, 0.72);
}

.kai-message {
  max-width: 92%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)),
    rgba(33, 33, 36, 0.92);
}

.kai-message p {
  color: var(--site-copy);
  font-weight: 400;
  letter-spacing: 0.002em;
}

.detail-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0)),
    rgba(20, 20, 23, 0.92);
}

.detail-card p,
.detail-card li {
  font-size: 0.91rem;
  line-height: 1.5;
}

.detail-card ul {
  padding-left: 1.05rem;
}

.detail-card li + li {
  margin-top: 0.42rem;
}

.brief-card li + li {
  margin-top: 0.22rem;
}

.brief-card {
  border-color: rgba(61, 215, 143, 0.18);
}

.quote-card {
  border-color: rgba(255, 204, 102, 0.18);
}

.safety-card {
  border-color: rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0)),
    rgba(20, 20, 23, 0.92);
}

.fixing-card {
  border-color: rgba(241, 70, 53, 0.14);
}

.support-card {
  margin-top: 0;
}

.dispute-card {
  border-color: rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0)),
    rgba(20, 20, 23, 0.92);
}

.rate-card {
  border-color: rgba(255, 255, 255, 0.08);
}

.device-status {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  left: 1rem;
  z-index: 2;
  margin-top: 0;
  padding: 1rem 1rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0)),
    rgba(12, 12, 14, 0.84);
  text-align: center;
}

.device-status-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  isolation: isolate;
  min-height: 2.2rem;
  min-width: 9.2rem;
  padding: 0.52rem 1.05rem;
  border: 1px solid rgba(255, 240, 214, 0.3);
  border-radius: 999px;
  overflow: hidden;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.18),
      rgba(255, 255, 255, 0) 42%
    ),
    linear-gradient(135deg, #f1bf67 0%, #d89a42 48%, #a55d1d 100%);
  color: #ffffff;
  font-family: var(--site-display-font);
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-shadow: 0 1px 1px rgba(64, 29, 0, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 -2px 0 rgba(92, 55, 13, 0.18),
    0 12px 22px rgba(216, 154, 66, 0.2),
    0 4px 10px rgba(38, 22, 5, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.device-status-label::before {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(
      circle at 18% 22%,
      rgba(255, 255, 255, 0.24),
      rgba(255, 255, 255, 0) 34%
    ),
    linear-gradient(
      120deg,
      rgba(255, 255, 255, 0.16),
      rgba(255, 255, 255, 0) 48%
    );
  content: "";
  mix-blend-mode: screen;
  opacity: 0.8;
  pointer-events: none;
}

.device-status-label::after {
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.16),
    rgba(255, 255, 255, 0) 58%
  );
  content: "";
  pointer-events: none;
}

.device-status-support {
  margin: 0.72rem 0 0;
  color: var(--site-copy-soft);
  font-size: 0.86rem;
  line-height: 1.5;
  text-align: center;
}

.site-stage[data-focus="customer"] .portrait-customer,
.site-stage[data-focus="provider"] .portrait-provider {
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow:
    var(--site-shadow-soft),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 0 14px rgba(255, 255, 255, 0.015);
  transform: translateY(-4px);
}

.site-stage[data-focus="phone"] .device-frame {
  border-color: rgba(61, 215, 143, 0.24);
  box-shadow:
    var(--site-shadow-deep),
    0 0 0 1px rgba(61, 215, 143, 0.1),
    0 0 0 20px rgba(61, 215, 143, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -10px 24px rgba(0, 0, 0, 0.34);
  transform: translateY(-4px) scale(1.01);
}

.site-stage[data-focus="customer"] .portrait-provider,
.site-stage[data-focus="provider"] .portrait-customer,
.site-stage[data-focus="phone"] .portrait {
  opacity: 0.78;
  filter: saturate(0.9);
}

.site-principles {
  padding-top: clamp(4.6rem, 8vw, 7rem);
}

.section-heading {
  max-width: 42rem;
  text-align: center;
  margin: 0 auto;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.15rem;
}

.principle-card,
.site-closing {
  border: 1px solid var(--site-panel-border);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.024),
      rgba(255, 255, 255, 0.012)
    ),
    rgba(255, 255, 255, 0.02);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 12px 22px rgba(0, 0, 0, 0.14);
}

.principle-card {
  padding: 1.35rem;
  border-radius: var(--site-radius-xl);
}

.principle-card h3 {
  margin: 0;
  color: var(--site-accent-gold);
  font-size: 0.8rem;
  line-height: 1.45;
  letter-spacing: 0.12em;
  text-align: center;
}

.principle-card p {
  margin: 0.8rem 0 0;
}

.site-closing {
  max-width: 52rem;
  margin-top: clamp(4rem, 7vw, 6rem);
  padding: 1.8rem 1.8rem 1.95rem;
  border-radius: 34px;
  text-align: center;
}

.site-closing p {
  max-width: 37rem;
  margin: 1rem auto 0;
}

.site-closing .site-button {
  margin-top: 1.6rem;
}

body.legal-page {
  margin: 0;
  min-height: 100vh;
  color: var(--site-copy);
  font-family: "Sora", "Avenir Next", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 8% 0%, rgba(241, 70, 53, 0.16), transparent 30%),
    radial-gradient(
      circle at 76% 0%,
      rgba(61, 215, 143, 0.08),
      transparent 26%
    ),
    radial-gradient(
      circle at 50% 40%,
      rgba(255, 204, 102, 0.08),
      transparent 32%
    ),
    linear-gradient(180deg, #0c0c0e 0%, #090909 48%, #050506 100%);
  background-attachment: fixed;
}

body.legal-page::before {
  position: fixed;
  inset: 0;
  background: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0.02) 0%,
    transparent 26%,
    transparent 70%,
    rgba(255, 255, 255, 0.02) 100%
  );
  opacity: 0.7;
  mix-blend-mode: screen;
  pointer-events: none;
  content: "";
}

.legal-page {
  display: grid;
  place-items: center;
  padding: 1.2rem;
}

.legal-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 880px);
  padding: clamp(1.6rem, 3vw, 2.7rem);
  border: 1px solid var(--site-panel-border);
  border-radius: var(--site-radius-xl);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.03),
      rgba(255, 255, 255, 0.015)
    ),
    rgba(14, 15, 17, 0.74);
  backdrop-filter: blur(18px);
  box-shadow: var(--site-shadow-soft);
}

.legal-shell h1 {
  margin: 1rem 0 0;
  font-family: var(--site-display-font);
  font-size: clamp(2.2rem, 5vw, 3.7rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.legal-shell p {
  color: var(--site-copy-soft);
  font-size: 1rem;
  line-height: 1.72;
}

.legal-back {
  display: inline-flex;
  margin-bottom: 1.3rem;
  color: var(--site-copy-soft);
  font-weight: 600;
}

.legal-back:hover {
  color: var(--site-copy);
}

@media (max-width: 1180px) {
  .site-stage {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.15rem;
  }

  .device-column {
    order: 2;
    min-height: 0;
    padding: 1rem 0;
  }

  .portrait-customer {
    order: 1;
  }

  .portrait-provider {
    order: 3;
  }

  .portrait {
    min-height: 32rem;
  }
}

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

  .site-topbar-branding {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    text-align: center;
  }

  .site-topbar-banner {
    justify-items: center;
  }

  .principles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-shell {
    padding-inline: 0.82rem;
  }

  .site-topbar {
    top: 0.75rem;
    padding: 0.72rem;
    border-radius: 20px;
  }

  .site-topbar-banner {
    display: none;
  }

  .site-brand {
    padding: 0.58rem 0.66rem;
  }

  .site-brand-image {
    width: clamp(7.2rem, 34vw, 8.4rem);
  }

  .site-whatsapp-cta-image {
    width: min(100%, 13rem);
  }

  @supports (background-image: url("/customer-photo-mobile.webp")) {
    .portrait-media-customer {
      background-image: url("/customer-photo-mobile.webp?v=20260702-performance");
    }

    .portrait-media-provider {
      background-image: url("/provider-photo-mobile.webp?v=20260702-performance");
    }
  }

  .site-whatsapp-cta-image-large {
    width: min(100%, 18rem);
  }

  .site-qr-cta {
    width: min(100%, 17rem);
    padding: 0.92rem 0.92rem 0.98rem;
    border-radius: 28px;
  }

  .site-qr-frame {
    width: min(100%, 11rem);
    border-radius: 24px;
  }

  .site-trust-strip {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
  }

  .site-copy h1,
  .section-heading h2,
  .site-closing h2 {
    font-size: clamp(2.2rem, 10vw, 3.2rem);
  }

  .legal-shell h1 {
    font-size: clamp(1.9rem, 8vw, 2.9rem);
  }

  .portrait {
    min-height: 28rem;
  }

  .portrait-caption {
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    padding: 1rem;
  }

  .device-frame {
    width: min(100%, 21.2rem);
    border-radius: 44px;
  }

  .device-screen {
    padding: 2.96rem 0.88rem 0.88rem;
    border-radius: 36px;
  }

  .conversation-flow {
    gap: 0.72rem;
    max-height: calc(100% - 7rem);
  }

  .message,
  .detail-card,
  .device-status {
    border-radius: 20px;
  }

  .principles-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-closing {
    padding: 1.5rem 1.2rem;
    border-radius: 28px;
  }
}

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

  button,
  a,
  .portrait,
  .device-frame {
    transition: none;
  }

  .flow-element.is-visible {
    animation: none;
  }
}
