:root {
  --bg: #0c0f1a;
  --text: #ede9e3;
  --text-muted: #a09a94;
  --accent: #b8a9e8;
  --accent-warm: #e8c4a0;
  --accent-cyan: #81ecec;
  --surface: rgba(255, 255, 255, 0.04);
  --border: rgba(184, 169, 232, 0.12);
  --success: #a7f3d0;
  --recording: #fb7185;
  --shadow-glow: 0 16px 48px rgba(12, 15, 26, 0.4);
  --gradient-brand: linear-gradient(135deg, var(--accent), var(--accent-warm));
  --page-padding: 1.5rem;
  --screen-transition: 400ms ease;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled,
input:disabled,
textarea:disabled {
  cursor: not-allowed;
}

a {
  color: inherit;
}

.hidden {
  display: none !important;
}

.app-shell {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: visible;
  isolation: isolate;
}

.ambient-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  animation: drift 8s ease-in-out infinite alternate;
}

.orb-one {
  width: 28rem;
  height: 28rem;
  top: -7rem;
  left: -5rem;
  background: rgba(108, 92, 231, 0.18);
  animation-duration: 8s;
}

.orb-two {
  width: 24rem;
  height: 24rem;
  right: -6rem;
  bottom: -8rem;
  background: rgba(232, 168, 124, 0.12);
  animation-duration: 10s;
}

.orb-three {
  width: 22rem;
  height: 22rem;
  top: 28%;
  left: 40%;
  background: rgba(129, 236, 236, 0.06);
  animation-duration: 12s;
}

.particle-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  bottom: -1.5rem;
  border-radius: 50%;
  opacity: 0;
  animation: particle-rise linear forwards;
}

.noise-layer {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.035;
  mix-blend-mode: soft-light;
}

.topbar {
  display: none;
}

.brand-mark {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: transparent;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-brand {
  margin-bottom: 0.5rem;
}

.credits-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-left: auto;
  padding: 0.58rem 0.9rem;
  border-radius: 999px;
  background: rgba(184, 169, 232, 0.12);
  border: 1px solid rgba(184, 169, 232, 0.22);
  color: var(--text);
  box-shadow: 0 8px 24px rgba(184, 169, 232, 0.12);
}

.credits-pill-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
}

.topbar-link {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  padding: 0.5rem 0;
}

.topbar-link:hover,
.topbar-link:focus-visible {
  color: var(--text);
}

.banner {
  position: fixed;
  top: 1.1rem;
  left: 50%;
  z-index: 14;
  width: min(92vw, 28rem);
  transform: translateX(-50%);
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(184, 169, 232, 0.22);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-glow);
  color: var(--text);
  text-align: center;
  line-height: 1.5;
}

.banner-error {
  border-color: rgba(251, 113, 133, 0.45);
}

.screen-stage {
  position: relative;
  z-index: 1;
}

.screen {
  display: none;
}

.screen.is-active {
  display: block;
}

.screen-content {
  min-height: 100vh;
  padding: var(--page-padding);
  display: flex;
  align-items: center;
  justify-content: center;
}

.authenticated-screen {
  padding-top: var(--page-padding);
}

.account-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.account-credits {
  margin-left: 0;
}

.account-sign-out {
  flex-shrink: 0;
}

.screen-stack {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.screen-stack.narrow {
  max-width: 23.75rem;
}

.screen-stack.wide {
  max-width: 34rem;
}

.paywall-stack {
  max-width: 26.25rem;
}

.centered-stack {
  text-align: center;
}

.hero-copy,
.question-block {
  width: 100%;
  text-align: center;
}

.question-block {
  text-align: left;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1 {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.25rem, 3vw, 1.3rem);
  font-weight: 300;
  line-height: 1.35;
}

.screen-copy,
.microcopy,
.context-text,
.time-row,
.pricing-meta,
.pricing-savings {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.microcopy {
  font-size: 0.84rem;
  text-align: center;
}

.muted-hint {
  opacity: 0.72;
}

.section-label,
.field-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent);
}

.glass-card,
.form-card,
.input-card,
.context-card,
.pricing-card {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  backdrop-filter: blur(16px);
}

.form-card,
.input-card {
  padding: 1.15rem;
  box-shadow: var(--shadow-glow);
}

.context-card {
  padding: 1rem 1.1rem;
  background: rgba(232, 196, 160, 0.08);
  border-color: rgba(232, 196, 160, 0.18);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.form-card,
.input-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

input,
textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(184, 169, 232, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  padding: 0.95rem 1rem;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

input::placeholder,
textarea::placeholder {
  color: rgba(160, 154, 148, 0.82);
}

input:focus,
textarea:focus {
  border-color: rgba(184, 169, 232, 0.3);
  box-shadow: 0 0 0 3px rgba(184, 169, 232, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

textarea {
  min-height: 8rem;
  resize: vertical;
}

.code-input {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 300;
  letter-spacing: 0.5em;
  padding-left: 1.4rem;
}

.primary-button,
.ghost-button,
.topbar-link,
.back-link,
.pricing-card,
.ring-player {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease, opacity 180ms ease;
}

.primary-button,
.ghost-button,
.back-link,
.topbar-link {
  appearance: none;
  min-height: 3rem;
  border-radius: 999px;
  padding: 0.9rem 1.2rem;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  position: relative;
}

.primary-button {
  background: var(--gradient-brand);
  color: var(--bg);
  box-shadow: 0 4px 30px rgba(184, 169, 232, 0.3);
}

.primary-button:hover,
.primary-button:focus-visible,
.ghost-button:hover,
.ghost-button:focus-visible,
.pricing-card:hover,
.pricing-card:focus-visible,
.ring-player:hover,
.ring-player:focus-visible {
  transform: translateY(-2px);
}

.primary-button:hover,
.primary-button:focus-visible {
  box-shadow: 0 10px 34px rgba(184, 169, 232, 0.38);
}

.ghost-button,
.back-link {
  background: transparent;
  border-color: rgba(184, 169, 232, 0.2);
  color: var(--accent);
}

.ghost-button:hover,
.ghost-button:focus-visible,
.back-link:hover,
.back-link:focus-visible {
  background: rgba(184, 169, 232, 0.06);
  border-color: rgba(184, 169, 232, 0.35);
}

.ghost-button:disabled,
.primary-button:disabled,
.pricing-card:disabled,
.topbar-link:disabled,
.back-link:disabled,
.ring-player:disabled {
  opacity: 0.55;
  transform: none;
  box-shadow: none;
}

.primary-button.is-loading,
.ghost-button.is-loading,
.pricing-card.is-loading {
  color: transparent;
}

.primary-button.is-loading::after,
.ghost-button.is-loading::after,
.pricing-card.is-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1rem;
  height: 1rem;
  margin-top: -0.5rem;
  margin-left: -0.5rem;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-right-color: transparent;
  animation: spin 0.75s linear infinite;
}

.primary-button.is-loading::after {
  color: var(--bg);
}

.ghost-button.is-loading::after,
.pricing-card.is-loading::after {
  color: var(--accent);
}

.back-link {
  background: transparent;
  border: 0;
  padding: 0;
  min-height: auto;
  color: var(--text-muted);
}

.back-link:hover,
.back-link:focus-visible {
  transform: none;
  color: var(--text);
}

.action-row {
  display: flex;
  gap: 0.75rem;
  align-items: stretch;
}

.action-row > * {
  flex: 1;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.icon-button.recording {
  color: #ffe4eb;
  border-color: rgba(251, 113, 133, 0.45);
  background: rgba(251, 113, 133, 0.12);
  box-shadow: 0 0 0 1px rgba(251, 113, 133, 0.18), 0 10px 28px rgba(251, 113, 133, 0.18);
}

.icon-button.recording::before {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--recording);
  box-shadow: 0 0 16px rgba(251, 113, 133, 0.75);
  animation: record-pulse 1.2s ease-in-out infinite;
}

.file-trigger {
  position: relative;
  overflow: hidden;
}

.file-trigger input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.breathing-circle,
.pulse-player,
.ring-player {
  position: relative;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.breathing-circle-auth {
  width: 6.25rem;
  height: 6.25rem;
}

.breathing-circle-small {
  width: 5rem;
  height: 5rem;
}

.breathing-circle-paywall {
  width: 4rem;
  height: 4rem;
}

.breathing-circle-outer,
.breathing-circle-inner {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.breathing-circle-outer {
  border: 1px solid rgba(184, 169, 232, 0.32);
  animation: breathe-outer 6s ease-in-out infinite;
}

.breathing-circle-inner {
  inset: 0.65rem;
  background: radial-gradient(circle at 30% 30%, rgba(232, 196, 160, 0.92), rgba(184, 169, 232, 0.65) 55%, rgba(12, 15, 26, 0.12) 100%);
  box-shadow: 0 0 30px rgba(184, 169, 232, 0.35), inset 0 0 24px rgba(255, 255, 255, 0.12);
  animation: breathe-inner 6s ease-in-out infinite 0.3s;
}

.step-indicator {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  width: 100%;
  min-height: 1rem;
}

.step-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: rgba(184, 169, 232, 0.2);
  opacity: 0.7;
  animation: dot-enter 240ms ease;
}

.step-dot.completed {
  background: rgba(184, 169, 232, 0.9);
}

.step-dot.active {
  width: 1.9rem;
  background: var(--gradient-brand);
  box-shadow: 0 0 18px rgba(184, 169, 232, 0.24);
  opacity: 1;
}

.context-text {
  margin-top: 0.5rem;
  color: var(--text);
}

.intake-stack {
  gap: 0.7rem;
}

.previous-context {
  width: 100%;
  padding-left: 0.75rem;
  border-left: 2px solid rgba(232, 196, 160, 0.3);
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
}

.intake-question {
  font-family: 'Young Serif', Georgia, serif;
  font-size: clamp(1.4rem, 4vw, 1.7rem);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.intake-subtext {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--text-muted);
  opacity: 0.6;
  margin-top: 0.4rem;
}

.intake-stack .question-block {
  margin-top: 0.35rem;
}

.intake-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.intake-form textarea {
  min-height: 6rem;
  border-color: rgba(184, 169, 232, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

.intake-form textarea:focus {
  border-color: rgba(184, 169, 232, 0.2);
  background: rgba(255, 255, 255, 0.035);
}

.voice-status {
  font-size: 0.82rem;
  text-align: center;
  color: var(--text-muted);
  margin: 0;
}

.pulse-player {
  width: 9.5rem;
  height: 9.5rem;
}

.pulse-ring,
.pulse-core,
.player-ring,
.player-core {
  position: absolute;
  border-radius: 50%;
}

.pulse-ring {
  inset: 0;
  border: 1px solid rgba(184, 169, 232, 0.18);
  animation: pulse-rings 3s ease-in-out infinite;
}

.pulse-ring-two {
  inset: 0.65rem;
  animation-delay: 0.4s;
}

.pulse-ring-three {
  inset: 1.3rem;
  animation-delay: 0.8s;
}

.pulse-core {
  inset: 2.2rem;
  background: radial-gradient(circle at 30% 30%, rgba(232, 196, 160, 0.95), rgba(184, 169, 232, 0.75) 55%, rgba(12, 15, 26, 0.12) 100%);
  box-shadow: 0 0 40px rgba(184, 169, 232, 0.3);
  animation: pulse-core 3s ease-in-out infinite;
}

.loading-dots {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 1rem;
}

.loading-dots span {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
  animation: blink 1.5s ease-in-out infinite;
}

.loading-dots span:nth-child(2) {
  animation-delay: 0.3s;
}

.loading-dots span:nth-child(3) {
  animation-delay: 0.6s;
}

.ring-player {
  width: 11.25rem;
  height: 11.25rem;
  border: 0;
  padding: 0;
  background: transparent;
}

.player-ring {
  inset: 0;
  border: 1px solid rgba(184, 169, 232, 0.2);
  animation: breathe-rings 6s ease-in-out infinite;
}

.player-ring-two {
  inset: 0.8rem;
  animation-delay: 0.35s;
}

.player-ring-three {
  inset: 1.6rem;
  animation-delay: 0.7s;
}

.player-core {
  inset: 2.5rem;
  background: radial-gradient(circle at 30% 30%, rgba(232, 196, 160, 0.95), rgba(184, 169, 232, 0.8) 52%, rgba(12, 15, 26, 0.15) 100%);
  box-shadow: 0 0 48px rgba(184, 169, 232, 0.38);
  display: grid;
  place-items: center;
  animation: breathe-inner 6s ease-in-out infinite 0.25s;
}

.ring-player.is-playing .player-ring,
.ring-player.is-playing .player-core {
  animation-duration: 4.5s;
}

.playback-glyph {
  position: relative;
  width: 1.9rem;
  height: 1.9rem;
  display: block;
}

.playback-glyph::before,
.playback-glyph::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: all 220ms ease;
}

.playback-glyph::before {
  left: 0.35rem;
  width: 0;
  height: 0;
  border-top: 0.7rem solid transparent;
  border-bottom: 0.7rem solid transparent;
  border-left: 1.05rem solid var(--bg);
}

.playback-glyph::after {
  opacity: 0;
}

.ring-player.is-playing .playback-glyph::before,
.ring-player.is-playing .playback-glyph::after {
  width: 0.4rem;
  height: 1.2rem;
  border: 0;
  background: var(--bg);
  border-radius: 999px;
  opacity: 1;
}

.ring-player.is-playing .playback-glyph::before {
  left: 0.45rem;
}

.ring-player.is-playing .playback-glyph::after {
  right: 0.45rem;
}

.playback-title {
  max-width: 22rem;
}

.progress-block {
  width: min(100%, 26rem);
}

.progress-range {
  --progress: 0%;
  width: 100%;
  margin: 0;
  padding: 0;
  appearance: none;
  height: 1rem;
  border: 0;
  background: transparent;
}

.progress-range::-webkit-slider-runnable-track {
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-warm) var(--progress), rgba(255, 255, 255, 0.08) var(--progress), rgba(255, 255, 255, 0.08) 100%);
  box-shadow: 0 0 12px rgba(184, 169, 232, 0.18);
}

.progress-range::-moz-range-track {
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.progress-range::-moz-range-progress {
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-warm));
  box-shadow: 0 0 12px rgba(184, 169, 232, 0.18);
}

.progress-range::-webkit-slider-thumb {
  appearance: none;
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 50%;
  border: 0;
  background: var(--text);
  box-shadow: 0 0 0 3px rgba(184, 169, 232, 0.18);
  margin-top: -0.42rem;
}

.progress-range::-moz-range-thumb {
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 50%;
  border: 0;
  background: var(--text);
  box-shadow: 0 0 0 3px rgba(184, 169, 232, 0.18);
}

.time-row {
  display: flex;
  justify-content: space-between;
  margin-top: 0.65rem;
}

.glow-divider {
  width: min(100%, 22rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-warm), transparent);
  box-shadow: 0 0 18px rgba(184, 169, 232, 0.28);
  animation: divider-pulse 4s ease-in-out infinite;
}

.audio-fallback {
  position: absolute;
  width: 1px;
  height: 1px;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.pricing-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
}

.pricing-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.95rem;
  padding: 1rem;
  text-align: left;
  box-shadow: var(--shadow-glow);
}

.pricing-card:hover,
.pricing-card:focus-visible {
  border-color: rgba(184, 169, 232, 0.3);
  box-shadow: 0 22px 44px rgba(12, 15, 26, 0.42), 0 0 30px rgba(184, 169, 232, 0.12);
}

.pricing-card-featured {
  border-color: rgba(184, 169, 232, 0.4);
  box-shadow: 0 22px 44px rgba(12, 15, 26, 0.44), 0 0 32px rgba(184, 169, 232, 0.18);
}

.pricing-featured-badge {
  position: absolute;
  top: -0.55rem;
  right: 1rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: var(--gradient-brand);
  color: var(--bg);
  font-size: 0.68rem;
  font-weight: 700;
}

.pricing-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 1.3rem;
}

.pricing-main {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.pricing-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.pricing-savings {
  color: var(--success);
}

.pricing-price-block {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.1rem;
}

.pricing-price {
  font-size: 1.1rem;
  color: var(--text);
}

.pricing-currency {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

:focus-visible {
  outline: 2px solid rgba(184, 169, 232, 0.55);
  outline-offset: 3px;
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    transform: translate3d(2rem, -1.2rem, 0) scale(1.06);
  }
}

@keyframes particle-rise {
  0% {
    transform: translateY(0);
    opacity: 0;
  }

  15% {
    opacity: 0.95;
  }

  100% {
    transform: translateY(-115vh);
    opacity: 0;
  }
}

@keyframes breathe-outer {
  0%,
  100% {
    transform: scale(0.92);
    opacity: 0.7;
  }

  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}

@keyframes breathe-inner {
  0%,
  100% {
    transform: scale(0.9);
    opacity: 0.7;
  }

  50% {
    transform: scale(1.1);
    opacity: 1;
  }
}

@keyframes pulse-rings {
  0%,
  100% {
    transform: scale(0.94);
    opacity: 0.45;
  }

  50% {
    transform: scale(1.05);
    opacity: 0.95;
  }
}

@keyframes pulse-core {
  0%,
  100% {
    transform: scale(0.94);
    opacity: 0.72;
  }

  50% {
    transform: scale(1.06);
    opacity: 1;
  }
}

@keyframes breathe-rings {
  0%,
  100% {
    transform: scale(0.92);
    opacity: 0.45;
  }

  50% {
    transform: scale(1.03);
    opacity: 0.9;
  }
}

@keyframes blink {
  0%,
  80%,
  100% {
    opacity: 0.2;
    transform: translateY(0);
  }

  40% {
    opacity: 1;
    transform: translateY(-2px);
  }
}

@keyframes divider-pulse {
  0%,
  100% {
    opacity: 0.4;
    transform: scaleX(0.96);
  }

  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes record-pulse {
  0%,
  100% {
    transform: scale(0.9);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.15);
    opacity: 1;
  }
}

@keyframes dot-enter {
  from {
    opacity: 0;
    transform: scale(0.8);
  }

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

@media (max-width: 420px) {
  :root {
    --page-padding: 1rem;
  }

  .authenticated-screen {
    padding-top: var(--page-padding);
  }

  .topbar {
    display: none;
  }

  .account-row {
    flex-wrap: wrap;
  }

  .action-row {
    flex-wrap: wrap;
  }

  .action-row > * {
    min-width: calc(50% - 0.375rem);
  }
}

@media (max-width: 360px), (max-height: 720px) {
  .breathing-circle-auth {
    width: 5.3rem;
    height: 5.3rem;
  }

  .breathing-circle-small {
    width: 4.5rem;
    height: 4.5rem;
  }

  .ring-player {
    width: 9.75rem;
    height: 9.75rem;
  }

  .player-core {
    inset: 2.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .orb,
  .particle,
  .breathing-circle-outer,
  .breathing-circle-inner,
  .pulse-ring,
  .pulse-core,
  .player-ring,
  .player-core,
  .loading-dots span,
  .glow-divider,
  .icon-button.recording::before {
    animation: none !important;
  }

  .screen,
  .primary-button,
  .ghost-button,
  .pricing-card,
  .ring-player,
  .topbar-link,
  .back-link,
  input,
  textarea {
    transition: none !important;
  }

  .particle-layer {
    display: none;
  }
}
