:root {
  --bg: #080a10;
  --surface: #0f1219;
  --surface-card: #12151c;
  --border: rgba(255, 255, 255, 0.08);
  --text: #e8eaef;
  --text-muted: #8b93a3;
  --accent: #38bdf8;
  --accent-secondary: #6366f1;
  --accent-dim: rgba(56, 189, 248, 0.12);
  --accent-soft: rgba(56, 189, 248, 0.28);
  --success: #34d399;
  --success-dim: rgba(52, 211, 153, 0.12);
  --success-soft: rgba(52, 211, 153, 0.32);
  --radius-lg: 14px;
  --radius-md: 10px;
  --max: 1080px;
  --nav-float-max: 760px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  font-weight: 300;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

strong {
  font-weight: 400;
  color: var(--text);
}

.page-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 45% at 50% -5%, rgba(56, 189, 248, 0.08), transparent 60%),
    radial-gradient(ellipse 50% 35% at 90% 20%, rgba(99, 102, 241, 0.06), transparent 55%);
  z-index: 0;
}

/* ── Navbar (estilo flutuante ao rolar, inspirado em foccum.com.br) ── */

.nav-shell {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 0.3rem max(1.25rem, env(safe-area-inset-right, 0px)) 0 max(1.25rem, env(safe-area-inset-left, 0px));
  pointer-events: none;
  transition: padding 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-shell.is-floating {
  padding: 1rem 0.85rem 0;
}

.site-header {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 0.15rem 0;
  min-height: 0;
  border-radius: 0;
  border: 1px solid transparent;
  background: transparent;
  transition:
    width 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    padding 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease,
    border-radius 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-shell.is-floating .site-header {
  width: min(var(--nav-float-max), calc(100% - 0rem));
  padding: 0.18rem 0.7rem;
  border-radius: 999px;
  border-color: color-mix(in srgb, var(--border) 90%, transparent);
  background: color-mix(in srgb, var(--surface-card) 92%, transparent);
  backdrop-filter: blur(16px) saturate(1.25);
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.22);
}

.site-header__end {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
}

.site-header.is-compact .brand img {
  width: 52px;
  height: auto;
}

.brand img {
  width: 64px;
  opacity: 0.95;
  transition: width 0.28s ease;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.site-nav a {
  transition: color 0.15s ease;
}

.site-nav a:hover {
  color: var(--accent);
}

.btn--nav {
  min-height: 1.85rem;
  padding: 0.28rem 0.75rem;
  font-size: 0.78rem;
  white-space: nowrap;
}

main {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding-top: 0;
  padding-bottom: max(2.5rem, env(safe-area-inset-bottom, 0px));
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1.4;
}

.hero {
  margin-top: 120px;
  padding: 0 0 5.5rem;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2rem;
  align-items: center;
}

.hero__copy {
  max-width: 36rem;
}

.hero__visual {
  display: grid;
  place-items: center;
  min-height: 420px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.lead {
  margin: 1.5rem 0 0;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 42rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  font: inherit;
  font-size: 0.92rem;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.btn--primary {
  border-color: color-mix(in srgb, var(--accent) 40%, var(--border));
  background: linear-gradient(165deg, color-mix(in srgb, var(--accent) 24%, var(--surface-card)), color-mix(in srgb, var(--accent) 10%, var(--surface)));
  color: var(--text);
  box-shadow: 0 10px 28px rgba(56, 189, 248, 0.12);
}

.btn--primary:hover:not(:disabled) {
  transform: translateY(-1px);
}

.btn--primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn--ghost {
  background: transparent;
  color: var(--text-muted);
}

.btn--ghost:hover {
  color: var(--text);
  border-color: var(--accent-soft);
}

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

.section {
  padding: 7rem 0;
  border-top: 1px solid color-mix(in srgb, var(--border) 55%, transparent);
}

.section-rule {
  margin: 0;
  padding: 0;
  border: none;
  height: 1px;
}

.section-rule--gradient {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: linear-gradient(
    90deg,
    transparent 0%,
    color-mix(in srgb, var(--accent) 55%, transparent) 16%,
    var(--accent) 32%,
    var(--accent-secondary) 50%,
    var(--accent) 68%,
    color-mix(in srgb, var(--accent) 55%, transparent) 84%,
    transparent 100%
  );
}

.section-rule--gradient + .section {
  border-top: none;
}

.section--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.section-head {
  margin-bottom: 3.25rem;
  max-width: 38rem;
}

.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-head p:last-child {
  margin: 1.1rem 0 0;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── About ── */

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

.about-card {
  padding: 1.25rem 1.15rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface-card) 90%, transparent);
}

.about-card__num {
  display: block;
  margin-bottom: 0.85rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.about-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.35;
}

.about-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ── Modules ── */

.module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}

.module-card {
  position: relative;
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface-card) 92%, transparent);
}

.module-card__icon {
  display: none;
}

.module-card--featured {
  border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
  box-shadow: 0 18px 48px rgba(56, 189, 248, 0.08);
  padding-top: 2.35rem;
}

.module-card__ribbon {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 0.34rem 0.75rem;
  border-radius: calc(var(--radius-lg) - 1px) calc(var(--radius-lg) - 1px) 0 0;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent-dim) 65%, var(--surface-card));
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 28%, var(--border));
  white-space: nowrap;
}

.module-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
}

.module-card h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.3;
}

.module-card__price-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.68rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 22%, var(--surface-card));
  border: 1px solid color-mix(in srgb, var(--accent) 55%, var(--border));
  line-height: 1.35;
  white-space: nowrap;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 8%, transparent);
}

.module-card__desc {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

.module-card ul {
  display: none;
}

/* ── Channels ── */

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

.channel-card {
  padding: 1.2rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface-card);
}

.channel-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.35;
}

.channel-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ── Pricing panel ── */

.pricing-panel {
  width: min(720px, 100%);
  margin: 0 auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface-card) 94%, transparent);
  overflow: hidden;
}

.pricing-panel__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px minmax(0, 0.82fr);
  align-items: stretch;
}

.pricing-panel__modules {
  padding: 1.1rem;
}

.pricing-panel__divider {
  background: color-mix(in srgb, var(--border) 85%, transparent);
}

.picker {
  display: grid;
  gap: 0.45rem;
}

.picker-item {
  cursor: pointer;
}

.picker-item input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.picker-item__box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.8rem 0.95rem;
  border-radius: var(--radius-md);
  border: 1px solid color-mix(in srgb, var(--border) 75%, transparent);
  background: color-mix(in srgb, var(--bg) 35%, var(--surface-card));
  transition:
    border-color 0.08s ease,
    background 0.08s ease,
    opacity 0.08s ease;
}

.picker-item__box strong {
  font-weight: 400;
  font-size: 0.92rem;
  line-height: 1.35;
}

.picker-item__box span {
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.4;
  white-space: nowrap;
}

.picker-item input:checked + .picker-item__box {
  border-color: color-mix(in srgb, var(--accent) 38%, var(--border));
  background: color-mix(in srgb, var(--accent) 7%, var(--surface-card));
  opacity: 1;
}

.picker-item input:not(:checked) + .picker-item__box {
  opacity: 0.62;
  background: color-mix(in srgb, var(--bg) 55%, var(--surface));
  border-color: color-mix(in srgb, var(--border) 55%, transparent);
}

.picker-item:hover .picker-item__box {
  opacity: 1;
}

.pricing-summary {
  position: sticky;
  top: 4rem;
  align-self: start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
  min-height: 100%;
  padding: 1.1rem;
  background: color-mix(in srgb, var(--bg) 12%, transparent);
}

.pricing-summary .btn--block {
  margin-top: 0.25rem;
}

.pricing-summary .btn--block:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.pricing-summary .btn--block:disabled.is-empty {
  opacity: 0.38;
  border-color: var(--border);
  background: color-mix(in srgb, var(--surface-card) 80%, transparent);
  color: var(--text-muted);
  box-shadow: none;
}

.pricing-summary__promo {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--success) 35%, transparent);
  background: var(--success-dim);
}

.pricing-summary__promo span {
  font-size: 0.68rem;
  color: var(--success);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pricing-summary__promo[hidden] {
  display: none;
}

.pricing-summary__total {
  margin: 0;
  padding: 0;
  border: none;
}

.pricing-summary__price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.35rem 0.45rem;
}

.pricing-summary__compare {
  font-size: 0.88rem;
  color: var(--text-muted);
  opacity: 0.55;
}

.pricing-summary__total strong {
  font-size: 1.65rem;
  font-weight: 300;
  color: var(--text);
  transition: color 0.12s ease;
}

.pricing-summary.is-complete .pricing-summary__total strong {
  color: var(--success);
}

.pricing-summary__total small {
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* ── Ariun orb (mesh do admin) ── */

.ariun-orb {
  position: relative;
  overflow: hidden;
  color: rgba(150, 215, 255, 0.92);
}

.ariun-orb--hero {
  width: min(560px, 96vw);
  height: min(560px, 96vw);
}

.ariun-orb--hero .ariun-orb__svg {
  width: min(168%, 980px);
  opacity: 0.62;
}

.ariun-orb--showcase {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ariun-orb__stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.ariun-orb__svg {
  display: block;
  width: min(145%, 680px);
  height: auto;
  opacity: 0.58;
  transform-origin: center center;
  will-change: transform;
}

.ariun-orb--showcase .ariun-orb__svg {
  width: min(130%, 820px);
  opacity: 0.38;
}

/* ── Showcase ── */

.showcase__lead {
  margin: 0 auto 2rem;
  max-width: 34rem;
  text-align: center;
  color: var(--text-muted);
  font-size: clamp(1rem, 2.2vw, 1.12rem);
  line-height: 1.7;
}

.showcase__pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  width: min(720px, 100%);
  margin-bottom: 2rem;
}

.showcase-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.showcase-pill.is-active {
  color: var(--text);
  border-color: color-mix(in srgb, var(--accent) 38%, var(--border));
  background: color-mix(in srgb, var(--accent) 8%, var(--surface-card));
}

.showcase {
  overflow-anchor: none;
}

.showcase__frame {
  width: min(860px, 100%);
  overflow-anchor: none;
  border-radius: calc(var(--radius-lg) + 4px);
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface-card) 92%, transparent);
  overflow: hidden;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.28);
}

.showcase__chrome {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.85rem;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 30%, var(--surface-card));
}

.showcase__chrome span {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--text-muted) 35%, transparent);
}

.showcase__chrome em {
  margin-left: auto;
  font-style: normal;
  font-size: 0.72rem;
  color: var(--text-muted);
  max-width: 62%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.showcase__stage {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--bg);
}

.showcase__app {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 420px;
  padding: 1.35rem 1.45rem 1.45rem;
  overflow-anchor: none;
  background: var(--bg);
}

.showcase__content {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.28s ease, transform 0.28s ease;
  overflow-anchor: none;
}

.showcase__content.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.showcase__platforms {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.55rem;
  margin-top: 2rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.showcase__platforms-dot {
  opacity: 0.45;
}

.showcase__channels-note {
  margin: 0.75rem auto 0;
  max-width: 28rem;
  text-align: center;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* Chat (classes do admin) */

.showcase-scene--chat {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.showcase__app .chat-messages {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
  flex: 1;
  padding: 0.5rem 0 0.5rem;
  font-size: 0.86rem;
  font-weight: 300;
  line-height: 1.5;
}

.showcase__app .chat-message {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  max-width: 100%;
  animation: showcase-fade-in 0.35s ease;
}

.showcase__app .chat-message--user {
  align-self: flex-end;
  align-items: flex-end;
  max-width: min(88%, 36rem);
  width: fit-content;
}

.showcase__app .chat-message--assistant {
  align-self: flex-start;
  align-items: flex-start;
  max-width: min(92%, 40rem);
  width: fit-content;
}

.showcase__app .chat-bubble {
  width: fit-content;
  max-width: 100%;
  min-width: 2.5rem;
  line-height: 1.45;
  font-weight: 300;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.showcase__app .chat-bubble__text {
  font-weight: 300;
  white-space: pre-wrap;
  line-height: 1.5;
}

.showcase__app .chat-message__text {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-width: 100%;
  line-height: 1.5;
  font-weight: 300;
  color: var(--text);
}

.showcase__app .chat-message__body {
  min-width: 0;
  font-weight: 300;
  white-space: pre-wrap;
  line-height: 1.5;
  color: var(--text);
}

.showcase__app .chat-bubble__time {
  align-self: flex-end;
  margin-top: 0.1rem;
  font-size: 0.68rem;
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
  opacity: 0.55;
}

.showcase__app .chat-message__time {
  font-size: 0.68rem;
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
  opacity: 0.5;
}

.showcase__app .chat-bubble--user {
  background: color-mix(in srgb, var(--surface-card) 72%, transparent);
  border: 1px solid color-mix(in srgb, var(--border) 65%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.65rem 0.9rem;
  border-radius: 14px;
}

.showcase__app .chat-bubble--assistant {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0.85rem 1.05rem;
  color: var(--text);
}

.showcase__app .chat-bubble--typing {
  display: inline-flex;
  flex-direction: row;
  gap: 0.35rem;
  align-items: center;
  min-width: 64px;
  padding: 0.85rem 1.05rem;
}

.showcase__app .chat-bubble--typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-muted);
  animation: showcase-dot 1.1s ease-in-out infinite;
}

.showcase__app .chat-bubble--typing span:nth-child(2) { animation-delay: 0.15s; }
.showcase__app .chat-bubble--typing span:nth-child(3) { animation-delay: 0.3s; }

/* Hábitos (estilo admin) */

.showcase-scene--habits {
  width: 100%;
}

.showcase-panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border);
}

.showcase-panel-head strong {
  font-size: 0.95rem;
  font-weight: 400;
}

.showcase-panel-head span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.showcase-habit-list {
  display: grid;
  gap: 0.55rem;
}

.showcase-habit-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface-card);
}

.showcase-habit-row__icon {
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
}

.showcase-habit-row__main {
  min-width: 0;
}

.showcase-habit-row__main h4 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 300;
}

.showcase-habit-row__bar {
  margin-top: 0.45rem;
  height: 4px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--border) 80%, transparent);
  overflow: hidden;
}

.showcase-habit-row__bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.showcase-habit-row__week {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.showcase-habit-row__check {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  border: 1.5px solid color-mix(in srgb, var(--border) 80%, transparent);
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.showcase-habit-row__check.is-done {
  border-color: var(--success);
  background: color-mix(in srgb, var(--success) 18%, transparent);
  color: var(--success);
}

.showcase-habit-row.is-done .showcase-habit-row__main h4 {
  color: var(--text-muted);
  text-decoration: line-through;
  text-decoration-color: color-mix(in srgb, var(--text-muted) 50%, transparent);
}

@keyframes showcase-fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes showcase-dot {
  0%, 80%, 100% { opacity: 0.35; transform: scale(1); }
  40% { opacity: 1; transform: scale(1.15); }
}

@keyframes showcase-eq {
  0%, 100% { height: 35%; }
  50% { height: 100%; }
}

/* ── Voice test ── */

.voice-test.section {
  padding: 4.25rem 0 3rem;
}

.voice-test .section-head {
  margin-bottom: 0.65rem;
}

.voice-test__intro {
  margin: 0.65rem 0 0;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 32rem;
}

.voice-test__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 1.75rem;
  width: min(1040px, 100%);
  align-items: center;
  margin-top: -0.5rem;
}

.voice-test__orb-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  height: min(760px, 98vw);
  margin: -1.5rem 0 -2rem;
}

.ariun-orb--voice {
  width: min(760px, 98vw);
  height: min(760px, 98vw);
  color: rgba(150, 215, 255, 0.92);
  transition: color 1.15s ease-in-out, opacity 0.85s ease;
}

.ariun-orb--voice .ariun-orb__svg {
  width: min(180%, 1280px);
  opacity: 0.62;
  transition: color 1.15s ease-in-out, opacity 0.85s ease;
}

.ariun-orb--voice.is-speaking {
  color: rgba(61, 206, 122, 0.95);
}

.ariun-orb--voice.is-speaking .ariun-orb__svg {
  opacity: 0.95;
}

.voice-test__samples {
  display: grid;
  gap: 0.55rem;
  align-content: center;
}

.voice-sample {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  width: 100%;
  padding: 0.95rem 1.05rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface-card) 88%, transparent);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition:
    border-color 0.15s ease,
    background 0.15s ease,
    transform 0.15s ease;
}

.voice-sample__index {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  background: color-mix(in srgb, var(--bg) 40%, var(--surface-card));
  border: 1px solid var(--border);
}

.voice-sample__label {
  min-width: 0;
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.45;
}

.voice-sample:hover {
  border-color: color-mix(in srgb, var(--accent) 32%, var(--border));
  transform: translateY(-1px);
}

.voice-sample.is-active {
  border-color: color-mix(in srgb, var(--success) 45%, var(--border));
  background: color-mix(in srgb, var(--success) 8%, var(--surface-card));
}

.voice-sample.is-active .voice-sample__index {
  color: var(--success);
  border-color: color-mix(in srgb, var(--success) 40%, var(--border));
  background: color-mix(in srgb, var(--success) 12%, transparent);
}

/* ── FAQ ── */

.faq-list {
  display: grid;
  gap: 0.85rem;
  width: min(36rem, 100%);
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--surface-card) 92%, transparent);
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.15rem;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.45;
  list-style: none;
}

.faq-item summary::after {
  content: "";
  flex-shrink: 0;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 1.5px solid var(--text-muted);
  border-bottom: 1.5px solid var(--text-muted);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  opacity: 0.7;
}

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

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

.faq-item p {
  margin: 0;
  padding: 0 1.15rem 1.15rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ── Integrations ── */

.integrations-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  width: min(960px, 100%);
}

.integration-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface-card) 92%, transparent);
  text-align: left;
}

.integration-card__icon {
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--accent-soft);
}

.integration-card__icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.integration-card h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 400;
}

.integration-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.integration-card--whatsapp {
  border-color: color-mix(in srgb, #25d366 32%, var(--border));
  box-shadow: 0 16px 40px rgba(37, 211, 102, 0.06);
}

.integration-card__icon--whatsapp {
  color: #25d366;
  background: color-mix(in srgb, #25d366 12%, var(--surface-card));
  border-color: color-mix(in srgb, #25d366 28%, var(--border));
}

/* ── Download ── */

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  width: min(720px, 100%);
}

.download-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface-card) 92%, transparent);
  text-align: left;
}

.download-card__icon {
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--accent-soft);
}

.download-card__icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.download-card h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 400;
}

.download-card p {
  margin: 0;
  flex: 1;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.download-card .btn {
  margin-top: 0.45rem;
  width: 100%;
}

.download-ios-steps {
  width: min(720px, 100%);
  margin-top: 1.25rem;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--border));
  background: color-mix(in srgb, var(--accent) 6%, var(--surface-card));
}

.download-ios-steps__list {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.download-ios-steps__list a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.download-ios-steps__list strong {
  color: var(--text);
  font-weight: 400;
}

.download-ios-steps__glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  margin: 0 0.1rem;
  vertical-align: middle;
  color: var(--accent);
}

.download-ios-steps__glyph svg {
  width: 100%;
  height: 100%;
}

.download-ios-steps__note {
  margin: 0.85rem 0 0;
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

.download-card.is-highlight {
  border-color: color-mix(in srgb, var(--accent) 38%, var(--border));
  box-shadow: 0 16px 40px rgba(56, 189, 248, 0.08);
}

/* ── CTA ── */

.cta {
  width: 100%;
  padding-bottom: 3.5rem;
}

.cta.section {
  padding-bottom: 3.5rem;
}

.cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: min(32rem, 100%);
  margin: 0 auto;
}

.cta h2 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 300;
  line-height: 1.25;
}

.cta p {
  margin: 1.1rem 0 1.75rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Footer ── */

.site-footer {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 2rem));
  margin: 1.5rem auto 0;
  padding: 2.5rem 0 2rem;
  border-top: 1px solid var(--border);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}

.site-footer__brand p {
  margin: 0.85rem 0 0;
  max-width: 26ch;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.site-footer__col {
  display: grid;
  gap: 0.55rem;
  align-content: start;
}

.site-footer__col strong {
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 400;
  margin-bottom: 0.25rem;
}

.site-footer__col a {
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: color 0.15s ease;
}

.site-footer__col a:hover {
  color: var(--accent);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.5rem 1rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
  color: var(--text-muted);
  font-size: 0.8rem;
}

@media (max-width: 900px) {
  main {
    width: min(var(--max), calc(100% - 1.5rem));
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero__visual {
    min-height: 240px;
    order: 0;
  }

  .hero__copy {
    max-width: none;
  }

  .showcase__lead {
    margin-bottom: 1.5rem;
    padding-inline: 0.15rem;
  }

  .showcase__pills {
    gap: 0.45rem;
    margin-bottom: 1.5rem;
  }

  .showcase__frame {
    border-radius: var(--radius-lg);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
  }

  .showcase__stage,
  .showcase__app {
    min-height: 320px;
  }

  .showcase__app {
    padding: 1rem 1rem 1.1rem;
  }

  .showcase-scene--chat,
  .showcase-scene--habits {
    width: 100%;
  }

  .showcase-habit-row {
    gap: 0.55rem;
    padding: 0.75rem 0.85rem;
  }

  .showcase-habit-row__week {
    font-size: 0.72rem;
  }

  .voice-test.section {
    padding: 3.25rem 0 2.25rem;
  }

  .voice-test .section-head {
    margin-bottom: 0.5rem;
    padding-inline: 0.15rem;
  }

  .voice-test__layout {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    margin-top: 0;
  }

  .voice-test__samples {
    order: -1;
    width: 100%;
  }

  .voice-test__orb-wrap {
    height: min(400px, 92vw);
    margin: 0;
  }

  .ariun-orb--voice {
    width: min(400px, 92vw);
    height: min(400px, 92vw);
  }

  .ariun-orb--hero {
    width: min(360px, 88vw);
    height: min(360px, 88vw);
  }

  .integrations-grid,
  .module-grid,
  .channels-grid,
  .download-grid {
    grid-template-columns: 1fr;
  }

  .pricing-panel {
    width: 100%;
  }

  .pricing-panel__body {
    grid-template-columns: 1fr;
  }

  .pricing-panel__divider {
    height: 1px;
    margin: 0 1.35rem;
  }

  .pricing-summary {
    position: static;
  }

  .site-footer {
    width: min(var(--max), calc(100% - 1.5rem));
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 720px) {
  .site-header__end {
    gap: 0;
  }

  .site-nav {
    display: none;
  }

  .section-head {
    margin-bottom: 2rem;
    padding-inline: 0.15rem;
  }

  .section-head h2 {
    font-size: clamp(1.35rem, 6vw, 1.75rem);
  }

  .showcase-pill {
    font-size: 0.72rem;
    padding: 0.38rem 0.72rem;
  }

  .showcase__app .chat-messages {
    font-size: 0.82rem;
  }

  .showcase__app .chat-message--user {
    max-width: min(92%, 100%);
  }

  .showcase__app .chat-message--assistant {
    max-width: min(96%, 100%);
  }

  .module-card__head {
    flex-wrap: wrap;
  }

  .picker-item__box {
    flex-wrap: wrap;
    row-gap: 0.25rem;
  }

  .picker-item__box span {
    white-space: normal;
  }

  .faq-item summary {
    font-size: 0.9rem;
    padding: 1rem;
  }

  .faq-item p {
    padding: 0 1rem 1rem;
    font-size: 0.86rem;
  }
}

@media (max-width: 640px) {
  main {
    width: min(var(--max), calc(100% - 1.15rem));
  }

  .hero {
    margin-top: 92px;
    padding-bottom: 3.25rem;
  }

  .hero h1 {
    font-size: clamp(1.75rem, 8vw, 2.35rem);
  }

  .lead {
    margin-top: 1.1rem;
    font-size: 0.98rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    margin-top: 1.75rem;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .section {
    padding: 3.75rem 0;
  }

  .section-head {
    margin-bottom: 1.75rem;
  }

  .voice-test.section {
    padding: 2.75rem 0 2rem;
  }

  .voice-test__intro {
    font-size: 0.92rem;
  }

  .voice-sample {
    padding: 0.85rem 0.9rem;
    gap: 0.7rem;
  }

  .voice-sample__label {
    font-size: 0.84rem;
  }

  .voice-test__orb-wrap {
    height: min(320px, 86vw);
  }

  .ariun-orb--voice {
    width: min(320px, 86vw);
    height: min(320px, 86vw);
  }

  .integration-card,
  .module-card,
  .download-card {
    padding: 1.15rem 1rem;
  }

  .pricing-panel__modules,
  .pricing-summary {
    padding: 1rem;
  }

  .cta h2 {
    font-size: clamp(1.25rem, 6.5vw, 1.55rem);
  }

  .cta p {
    margin: 0.9rem 0 1.35rem;
    font-size: 0.92rem;
  }

  .nav-shell.is-floating .site-header {
    width: calc(100% - 0rem);
  }

  .site-footer {
    width: min(var(--max), calc(100% - 1.15rem));
    padding-top: 2rem;
  }

  .site-footer__brand p {
    max-width: none;
  }
}

@media (max-width: 380px) {
  .showcase-pill {
    flex: 1 1 calc(50% - 0.25rem);
    justify-content: center;
    text-align: center;
  }

  .showcase__pills {
    justify-content: stretch;
  }

  .module-card__price-badge {
    font-size: 0.72rem;
    padding: 0.24rem 0.55rem;
  }

  .voice-sample__index {
    width: 1.75rem;
    height: 1.75rem;
    font-size: 0.66rem;
  }
}
