:root {
  color-scheme: light;
  --font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-family: var(--font-family);
  font-synthesis: none;
  --ink: #282326;
  --ink-muted: #51474c;
  --line: rgba(74, 45, 54, 0.14);
  --red-ink: #671b16;
  --red-selected: #702321;
  --bg: #ffffff;
}

::selection {
  background: #171717;
  color: #ffffff;
}

::-moz-selection {
  background: #171717;
  color: #ffffff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  cursor:
    url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24'%3E%3Cpath d='M4.037 4.688a.495.495 0 0 1 .651-.651l16 6.5a.5.5 0 0 1-.063.947l-6.124 1.58a2 2 0 0 0-1.438 1.435l-1.579 6.126a.5.5 0 0 1-.947.063z' fill='%23171717' stroke='white' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E")
      3 4,
    auto !important;
}

html {
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(120, 120, 120, 0.35) transparent;
}

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

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(120, 120, 120, 0.30);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(120, 120, 120, 0.52);
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100svh;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--bg);
}

body.dialog-open {
  overflow: hidden;
}

/* When dialog is open: hide all other content, leaving only the video backdrop */
body.dialog-open .topbar,
body.dialog-open main,
body:has(.dialog-root.is-open) .topbar,
body:has(.dialog-root.is-open) main {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.topbar,
main {
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  color: #050506;
  background: #fff;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}
.skip-link:focus {
  transform: none;
}

/* Video Backdrop */
.video-backdrop {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  contain: layout paint;
  background: #fff;
}

.video-backdrop__frame {
  position: absolute;
  top: 61%;
  left: 50%;
  width: min(100%, 108dvh);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  mask-image: radial-gradient(
    ellipse 50% 50% at 50% 48%,
    #000 58%,
    #000 76%,
    transparent 100%
  );
  -webkit-mask-image: radial-gradient(
    ellipse 50% 50% at 50% 48%,
    #000 58%,
    #000 76%,
    transparent 100%
  );
}

.video-backdrop__poster,
.video-backdrop__film {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 50% 50%;
  background: #fff;
}

.video-backdrop__poster {
  user-select: none;
  -webkit-user-select: none;
}

.video-backdrop__frame:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.025;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23808080' filter='url(%23grain)' d='M0 0h160v160H0z'/%3E%3C/svg%3E");
}

.video-backdrop:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 0.65) 0%,
    rgba(255, 255, 255, 0.1) 12%,
    transparent 32%
  );
}

@media (max-width: 640px) {
  .video-backdrop__frame {
    top: 47%;
    left: 50%;
    width: min(84dvh, 190vw);
    max-width: none;
    transform: translate(-51%, -50%);
  }
  .video-backdrop:after {
    background: linear-gradient(
      to top,
      #fff 0%,
      rgba(255, 255, 255, 0.88) 10%,
      rgba(255, 255, 255, 0.38) 25%,
      transparent 47%
    );
  }
}

/* Glass Surface Styling (1:1 with WASE Secure + Central Diagonal Sheen) */
.glass {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow:
    inset 0 1px 1px #ffffff,
    inset 0 -1px 1px rgba(119, 123, 130, 0.32),
    inset 1px 0 2px rgba(255, 255, 255, 0.7),
    inset -1px 0 2px rgba(119, 123, 130, 0.16),
    0 0 0 1px rgba(98, 106, 117, 0.08),
    0 12px 30px rgba(50, 55, 65, 0.09),
    0 28px 60px rgba(40, 45, 55, 0.06);
  -webkit-backdrop-filter: blur(5px) saturate(1.05);
  backdrop-filter: blur(5px) saturate(1.05);
}

.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1.5px;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.98),
    rgba(255, 255, 255, 0.25) 22%,
    rgba(124, 131, 148, 0.25) 48%,
    rgba(255, 255, 255, 0.15) 62%,
    rgba(255, 255, 255, 0.95) 91%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
}

.glass::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: inherit;
  box-shadow:
    inset 0 2px 5px rgba(255, 255, 255, 0.8),
    inset 0 -2px 4px rgba(112, 125, 136, 0.11);
  pointer-events: none;
  z-index: 1;
}

/* Specific glass backgrounds with original glass effect and central diagonal sheen */
.subscription.glass {
  background:
    /* 1. Diagonal soft specular reflection streak across the center */
    linear-gradient(
      112deg,
      transparent 0%,
      transparent 30%,
      rgba(255, 255, 255, 0.26) 42%,
      rgba(255, 255, 255, 0.48) 50%,
      rgba(255, 255, 255, 0.22) 58%,
      transparent 72%
    ),
    /* 2. Top-down illumination & curve lighting */
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.52) 0%,
      rgba(255, 255, 255, 0.20) 24%,
      rgba(255, 255, 255, 0.08) 58%,
      rgba(255, 255, 255, 0.26) 100%
    ),
    /* 3. Base frosted translucent glass */
    linear-gradient(
      125deg,
      rgba(255, 255, 255, 0.24) 0%,
      rgba(255, 255, 255, 0.08) 100%
    );
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow:
    inset 0 1px 1px #ffffff,
    inset 0 -1px 1px rgba(119, 123, 130, 0.32),
    inset 1px 0 2px rgba(255, 255, 255, 0.7),
    inset -1px 0 2px rgba(119, 123, 130, 0.16),
    0 0 0 1px rgba(98, 106, 117, 0.08),
    0 12px 30px rgba(50, 55, 65, 0.09),
    0 28px 60px rgba(40, 45, 55, 0.06),
    0 16px 42px -8px rgba(0, 0, 0, 0.07),
    0 32px 80px -12px rgba(0, 0, 0, 0.06);
  -webkit-backdrop-filter: blur(5px) saturate(1.05);
  backdrop-filter: blur(5px) saturate(1.05);
}

.brand.glass,
.navigation.glass {
  background:
    /* 1. Diagonal specular sheen streak across center (matches original WASE Secure) */
    linear-gradient(
      118deg,
      rgba(255, 255, 255, 0.52) 0%,
      rgba(255, 255, 255, 0.32) 18%,
      rgba(224, 228, 235, 0.42) 28%,
      rgba(224, 228, 235, 0.42) 38%,
      rgba(255, 255, 255, 0.85) 50%,
      rgba(255, 255, 255, 0.98) 58%,
      rgba(255, 255, 255, 0.80) 66%,
      rgba(245, 247, 250, 0.45) 80%,
      rgba(245, 247, 250, 0.45) 100%
    ),
    /* 2. Top-down lighting rim */
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.72) 0%,
      rgba(255, 255, 255, 0.15) 35%,
      rgba(220, 224, 232, 0.10) 70%,
      rgba(255, 255, 255, 0.35) 100%
    ),
    /* 3. Base subtle liquid glass body */
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.35) 0%,
      rgba(235, 238, 244, 0.20) 100%
    );
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow:
    inset 0 1px 1.5px #ffffff,
    inset 0 -1px 1px rgba(119, 123, 130, 0.22),
    0 5px 18px -6px rgba(31, 33, 37, 0.14),
    0 12px 28px -8px rgba(31, 33, 37, 0.08);
  -webkit-backdrop-filter: blur(8px) saturate(1.08);
  backdrop-filter: blur(8px) saturate(1.08);
}

.navigation.glass {
  transition:
    background 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Topbar */
.topbar {
  position: fixed;
  z-index: 2;
  top: max(24px, env(safe-area-inset-top));
  left: 50%;
  transform: translateX(-50%);
  width: min(920px, calc(100% - 40px));
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  width: auto;
  min-width: 0;
  height: 46px;
  padding: 0 18px;
  border-radius: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Outfit", "Inter", sans-serif;
  font-size: 19px;
  font-weight: 640;
  letter-spacing: -0.8px;
  line-height: 1;
  color: var(--ink);
  user-select: none;
  text-decoration: none;
  cursor: default;
  /* Chromatic aberration through glass */
  text-shadow:
    -0.8px 0 rgba(230, 60, 0, 0.38),
    0.8px 0 rgba(0, 130, 240, 0.42);
}

.brand i {
  width: 1px;
  height: 16px;
  background: var(--line);
}

.brand-dot {
  color: #d92531;
  padding: 0 1px;
}

a.brand {
  cursor: pointer;
}

a.brand svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.navigation svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.navigation {
  width: 160px;
  height: 46px;
  padding: 4px;
  border-radius: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}

.music-equalizer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5px;
  height: 16px;
  width: 16px;
  pointer-events: none;
}

.music-bar {
  display: block;
  width: 2.2px;
  background: var(--ink);
  border-radius: 2px;
  transition: height 0.2s ease, opacity 0.2s ease, background-color 0.2s ease;
}

.music-btn.is-playing .music-bar:nth-child(1) {
  height: 45%;
  animation: eqBar 0.9s ease-in-out infinite alternate;
}
.music-btn.is-playing .music-bar:nth-child(2) {
  height: 95%;
  animation: eqBar 0.7s ease-in-out infinite alternate 0.15s;
}
.music-btn.is-playing .music-bar:nth-child(3) {
  height: 60%;
  animation: eqBar 1.1s ease-in-out infinite alternate 0.3s;
}
.music-btn.is-playing .music-bar:nth-child(4) {
  height: 80%;
  animation: eqBar 0.8s ease-in-out infinite alternate 0.2s;
}

.music-btn.is-paused .music-bar {
  height: 20% !important;
  opacity: 0.35;
  animation: none !important;
}

@keyframes eqBar {
  0% {
    height: 20%;
  }
  50% {
    height: 100%;
  }
  100% {
    height: 35%;
  }
}

.navigation button {
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: transparent;
  transition:
    background 0.22s cubic-bezier(0.16, 1, 0.3, 1),
    color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.navigation button:hover {
  background: rgba(255, 255, 255, 0.65);
  color: #111111;
  box-shadow:
    inset 0 1px 1.5px #ffffff,
    0 2px 8px rgba(0, 0, 0, 0.06);
}

.navigation button:active {
  background: rgba(255, 255, 255, 0.40);
  transform: scale(0.96);
}

.navigation button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 1px;
}

/* Main Layout */
main {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 116px 20px max(32px, env(safe-area-inset-bottom));
}

.subscription {
  width: min(920px, 100%);
  min-height: 170px;
  padding: 28px 32px;
  border-radius: 36px;
  display: grid;
  grid-template-columns: 1fr 370px;
  gap: 36px;
  align-items: center;
}

.summary {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.eyebrow {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 450;
  line-height: 1.35;
  color: var(--ink-muted);
}

/* Price typography using Outfit / Inter font family */
.price {
  margin: 0;
  font-family: var(--font-family);
  font-size: clamp(2.9rem, 6vw, 3.6rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -1.5px;
  white-space: nowrap;
  color: #1a1719;
  font-variant-numeric: tabular-nums;
}

.term {
  min-width: 122px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-muted);
}

.term strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.term span {
  font-size: 13px;
  color: var(--ink-muted);
}

/* Purchase Section */
.purchase {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.periods {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.periods legend {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.periods label {
  /* uses custom pointer cursor */
}
.periods input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.periods span {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.36);
  color: var(--ink-muted);
  box-shadow:
    inset 0 1px 1px #ffffff,
    inset 0 -1px 1px rgba(60, 60, 60, 0.05),
    0 1px 3px rgba(0, 0, 0, 0.03);
  font-size: 13px;
  font-weight: 450;
  white-space: nowrap;
  transition:
    color 0.2s ease,
    background 0.2s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.2s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Minimalistic visible hover */
.periods label:hover span {
  background: rgba(255, 255, 255, 0.62);
  border-color: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow:
    inset 0 1px 1.5px #ffffff,
    0 3px 10px rgba(0, 0, 0, 0.045);
  transform: translateY(-1px);
}

.periods label:active span {
  background: rgba(255, 255, 255, 0.44);
  transform: translateY(0) scale(0.985);
}

.periods input:focus-visible + span {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

/* Selected plan: clean neutral glass */
.periods input:checked + span {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(255, 255, 255, 1);
  box-shadow:
    inset 0 1px 1.5px #ffffff,
    inset 0 -1px 1px rgba(60, 60, 60, 0.08),
    0 2px 6px rgba(0, 0, 0, 0.04);
  font-weight: 600;
}

.periods label:hover input:checked + span {
  background: rgba(255, 255, 255, 0.82);
  box-shadow:
    inset 0 1px 2px #ffffff,
    0 4px 12px rgba(0, 0, 0, 0.055);
  transform: translateY(-1px);
}

/* Buy Button (1:1 with WASE Secure liquid-button) */
.buy {
  width: 100%;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--red-ink);
  background: rgba(255, 255, 255, 0.44);
  box-shadow:
    inset 0 1px 1.5px #ffffff,
    inset 0 -1px 1px rgba(60, 60, 60, 0.05),
    0 2px 6px rgba(0, 0, 0, 0.03);
  font-size: 14px;
  font-weight: 570;
  transition:
    background 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    color 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Smooth, minimalistic visible hover with illumination and micro-lift */
.buy:hover {
  background: rgba(255, 255, 255, 0.76);
  border-color: rgba(255, 255, 255, 1);
  color: #8c191f;
  box-shadow:
    inset 0 1px 2px #ffffff,
    inset 0 -1px 1px rgba(60, 60, 60, 0.04),
    0 6px 18px rgba(0, 0, 0, 0.055),
    0 2px 8px rgba(103, 27, 22, 0.05);
  transform: translateY(-1px);
}

.buy:active {
  background: rgba(255, 255, 255, 0.48);
  transform: translateY(0) scale(0.992);
}

.buy:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.buy svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.buy:hover svg {
  transform: translateX(4px);
}

/* Responsive */
@media (max-width: 760px) {
  .topbar {
    top: max(14px, env(safe-area-inset-top));
    width: calc(100% - 24px);
  }
  main {
    padding: 94px 12px max(16px, env(safe-area-inset-bottom));
  }
  .subscription {
    padding: 22px;
    border-radius: 30px;
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .summary {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
  .price {
    font-size: clamp(2.4rem, 10vw, 3.2rem);
  }
  .term {
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
  }
}

@media (max-width: 420px) {
  .brand {
    font-size: 17px;
    min-width: 150px;
    padding: 0 12px;
  }
  .subscription {
    padding: 18px 16px;
  }
  .periods span {
    font-size: 11px;
    padding: 0 6px;
  }
}

@media (max-height: 680px) {
  .topbar {
    top: 12px;
  }
  main {
    padding-bottom: 12px;
  }
  .subscription {
    min-height: 150px;
    padding-block: 18px;
  }
}

/* Modal Dialog: Аккаунт и Telegram (WASE Secure 1:1) */
.dialog-root {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  will-change: opacity;
}

.dialog-root.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.dialog-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.08);
}

.dialog-container {
  position: relative;
  z-index: 1;
  width: min(520px, calc(100vw - 32px));
  max-width: 520px;
  min-height: min(540px, calc(100dvh - 56px));
  max-height: min(700px, calc(100dvh - 48px));
  border-radius: 26px;
  background:
    /* 1. Subtle diagonal specular streak across center */
    linear-gradient(
      118deg,
      transparent 0%,
      transparent 30%,
      rgba(255, 255, 255, 0.16) 46%,
      rgba(255, 255, 255, 0.28) 54%,
      rgba(255, 255, 255, 0.10) 64%,
      transparent 80%
    ),
    /* 2. Top-down lighting rim */
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.28) 0%,
      rgba(255, 255, 255, 0.06) 20%,
      rgba(255, 255, 255, 0.02) 75%,
      rgba(255, 255, 255, 0.14) 100%
    ),
    /* 3. Sheer translucent glass base matching original */
    rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow:
    inset 0 1px 1.5px #ffffff,
    inset 0 -1px 1px rgba(0, 0, 0, 0.06),
    0 20px 60px rgba(0, 0, 0, 0.14),
    0 6px 20px rgba(0, 0, 0, 0.04);
  -webkit-backdrop-filter: blur(3.5px) saturate(1.05);
  backdrop-filter: blur(3.5px) saturate(1.05);
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  contain: layout;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.dialog-heading {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 14px 24px;
  border-bottom: 1px solid rgba(32, 32, 30, 0.08);
}

.dialog-heading h2 {
  margin: 0;
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.4px;
  line-height: 1.25;
  color: #232321;
}

.dialog-close {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(0, 0, 0, 0.09);
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #232321;
  transition: background 0.16s ease, border-color 0.16s ease;
}

.dialog-close:hover {
  background: rgba(255, 255, 255, 0.50);
  border-color: rgba(0, 0, 0, 0.16);
}

.dialog-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 22px 24px 24px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.40) transparent;
}

.dialog-body::-webkit-scrollbar {
  width: 5px;
}

.dialog-body::-webkit-scrollbar-track {
  background: transparent;
  margin: 10px 0;
}

.dialog-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.dialog-body::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.65);
  border-color: rgba(255, 255, 255, 0.45);
}

.dialog-stack {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 16px;
}

.dialog-desc {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: #232321;
}

.dialog-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.dialog-note-icon {
  flex-shrink: 0;
  margin-top: 1px;
  color: #535350;
}

.dialog-note p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.48;
  color: #535350;
}

/* History stub empty state */
.dialog-history-stub {
  margin-top: auto;
  margin-bottom: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 20px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 1px 1.5px #ffffff,
    0 8px 24px rgba(0, 0, 0, 0.03);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  gap: 10px;
}

.dialog-stub-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.40);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: inset 0 1px 1px #ffffff, 0 2px 6px rgba(0, 0, 0, 0.02);
  font-size: 12.5px;
  font-weight: 600;
  color: #232321;
}

.dialog-stub-badge svg {
  color: #535350;
}

.dialog-stub-hint {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: #636360;
  max-width: 330px;
}

/* Help Dialog: Steps */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 4px;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.55);
  box-shadow:
    inset 0 1px 1px #ffffff,
    0 1px 3px rgba(0, 0, 0, 0.02);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 600;
  color: #232321;
  flex-shrink: 0;
  margin-top: 1px;
}

.step-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.step-title {
  margin: 0;
  font-size: 14.5px;
  font-weight: 650;
  color: #232321;
  letter-spacing: -0.2px;
  line-height: 1.35;
}

.step-desc {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.48;
  color: #555552;
}

/* Help Dialog: FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(32, 32, 30, 0.08);
  margin-top: 4px;
}

.faq-item {
  border-bottom: 1px solid rgba(32, 32, 30, 0.08);
}

.faq-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  font-size: 14px;
  font-weight: 600;
  color: #232321;
  list-style: none;
  user-select: none;
  transition: color 0.16s ease;
}

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

.faq-summary:hover {
  color: #000000;
}

.faq-icon {
  width: 16px;
  height: 16px;
  color: #6a6a66;
  flex-shrink: 0;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
}

.faq-content {
  padding: 0 0 14px;
  font-size: 12.5px;
  line-height: 1.5;
  color: #555552;
}

/* Legal Links */
.dialog-legal-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 2px;
}

.dialog-legal-links a {
  font-size: 12.5px;
  color: #6e6e6a;
  text-decoration: none;
  transition: color 0.18s ease;
}

.dialog-legal-links a:hover {
  color: #171717;
  text-decoration: underline;
}

.dialog-support-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.dialog-footer {
  flex-shrink: 0;
  padding: 14px 20px max(18px, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(55, 45, 40, 0.08);
  display: flex;
  flex-direction: column;
}

.dialog-primary-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(239, 126, 111, 0.32);
  background: rgba(225, 34, 27, 0.16);
  color: #671b16;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  transition:
    background 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.18s ease;
}

.dialog-primary-btn:hover {
  background: rgba(225, 34, 27, 0.26);
  border-color: rgba(239, 126, 111, 0.48);
  box-shadow: 0 4px 14px rgba(225, 34, 27, 0.08);
}

.dialog-primary-btn:active {
  background: rgba(225, 34, 27, 0.32);
  transform: scale(0.992);
}

@media (max-width: 640px) {
  .dialog-container {
    width: 100%;
    max-width: none;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
    border: 0;
  }
}

/* Legal Documents (Offer & Privacy) */
.legal-page {
  min-height: 100dvh;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: 100px 20px 60px;
  position: relative;
  z-index: 1;
}

.legal-topbar {
  position: fixed;
  z-index: 20;
  top: max(20px, env(safe-area-inset-top));
  left: 50%;
  transform: translateX(-50%);
  width: min(860px, calc(100% - 32px));
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.legal-card {
  width: 100%;
  max-width: 860px;
  padding: 42px 48px;
  border-radius: 28px;
  background:
    /* 1. Diagonal glass streak */
    linear-gradient(
      118deg,
      rgba(255, 255, 255, 0.58) 0%,
      rgba(255, 255, 255, 0.36) 24%,
      rgba(224, 228, 235, 0.42) 34%,
      rgba(255, 255, 255, 0.88) 50%,
      rgba(255, 255, 255, 0.98) 56%,
      rgba(255, 255, 255, 0.75) 66%,
      rgba(245, 247, 250, 0.45) 100%
    ),
    /* 2. Top-down lighting */
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.75) 0%,
      rgba(255, 255, 255, 0.30) 35%,
      rgba(220, 224, 232, 0.15) 70%,
      rgba(255, 255, 255, 0.45) 100%
    ),
    /* 3. Translucent frosted body */
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.42) 0%,
      rgba(235, 238, 244, 0.25) 100%
    );
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow:
    inset 0 1px 1.5px #ffffff,
    inset 0 -1px 1px rgba(119, 123, 130, 0.22),
    0 16px 42px -8px rgba(0, 0, 0, 0.07),
    0 32px 80px -12px rgba(0, 0, 0, 0.06);
  -webkit-backdrop-filter: blur(14px) saturate(1.08);
  backdrop-filter: blur(14px) saturate(1.08);
}

.legal-header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(32, 32, 30, 0.08);
}

.legal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 1px 1px #ffffff, 0 1px 3px rgba(0, 0, 0, 0.03);
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 14px;
}

.legal-title {
  margin: 0 0 10px;
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  letter-spacing: -0.6px;
  line-height: 1.25;
  color: var(--ink);
}

.legal-date {
  margin: 0;
  font-size: 13px;
  color: var(--ink-muted);
}

.legal-content {
  font-size: 14.5px;
  line-height: 1.7;
  color: #2b2b28;
}

.legal-content h2 {
  margin: 32px 0 14px;
  font-size: 18px;
  font-weight: 680;
  letter-spacing: -0.3px;
  color: var(--ink);
  line-height: 1.35;
}

.legal-content p {
  margin: 0 0 14px;
}

.legal-content ul,
.legal-content ol {
  margin: 0 0 16px 22px;
  padding: 0;
}

.legal-content li {
  margin-bottom: 8px;
}

.legal-content strong {
  font-weight: 600;
  color: #171717;
}

.legal-content a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(0, 0, 0, 0.25);
  transition: text-decoration-color 0.16s ease;
}

.legal-content a:hover {
  text-decoration-color: #171717;
}

.legal-card-footer {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(32, 32, 30, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.legal-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.52);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  box-shadow:
    inset 0 1px 1.5px #ffffff,
    0 2px 8px rgba(0, 0, 0, 0.03);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.16s ease;
}

.legal-back-btn:hover {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(255, 255, 255, 0.98);
}

.legal-back-btn:active {
  transform: scale(0.99);
}

@media (max-width: 760px) {
  .legal-page {
    padding: 85px 14px 40px;
  }
  .legal-card {
    padding: 28px 20px;
    border-radius: 22px;
  }
}

/* User Profile in Account Modal */
.profile-user-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 18px;
  box-shadow: inset 0 1px 1px #ffffff, 0 2px 6px rgba(0, 0, 0, 0.03);
  margin-bottom: 6px;
}

.profile-user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #202020, #404040);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 650;
  font-size: 14px;
}

.profile-user-names {
  display: flex;
  flex-direction: column;
}

.profile-name {
  font-size: 14px;
  font-weight: 650;
  color: var(--ink);
  line-height: 1.25;
}

.profile-subname {
  font-size: 12px;
  color: var(--ink-muted);
}

.profile-logout-btn {
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 500;
  color: #555552;
  cursor: pointer;
  transition: all 0.2s ease;
}

.profile-logout-btn:hover {
  background: rgba(255, 255, 255, 0.7);
  color: #c02020;
  border-color: rgba(192, 32, 32, 0.25);
}

/* Subscription Card */
.sub-card {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.40);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: inset 0 1px 1.5px #ffffff, 0 4px 14px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sub-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sub-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
}

.sub-status-badge.active {
  background: rgba(34, 197, 94, 0.16);
  color: #15803d;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.sub-status-badge.expired {
  background: rgba(239, 68, 68, 0.16);
  color: #b91c1c;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.sub-days-left {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.3px;
}

.sub-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.sub-meta-item {
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.38);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sub-meta-label {
  font-size: 11px;
  color: var(--ink-muted);
}

.sub-meta-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

/* Copy Link Pill Box */
.sub-copy-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 14px;
  padding: 5px 6px 5px 12px;
}

.sub-copy-input {
  flex: 1;
  background: transparent;
  border: 0;
  font-family: monospace;
  font-size: 12px;
  color: #333;
  outline: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  user-select: all;
}

.sub-copy-btn {
  padding: 7px 14px;
  border-radius: 10px;
  background: #171717;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border: 0;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sub-copy-btn:hover {
  background: #333;
  transform: translateY(-1px);
}

.sub-copy-btn:active {
  transform: translateY(0);
}

.sub-renew-btn {
  width: 100%;
  padding: 12px;
  border-radius: 999px;
  background: rgba(225, 34, 27, 0.14);
  border: 1px solid rgba(239, 126, 111, 0.35);
  color: #671b16;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
}

.sub-renew-btn:hover {
  background: rgba(225, 34, 27, 0.24);
  border-color: rgba(239, 126, 111, 0.55);
}

/* History List */
.history-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.history-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.65);
}

.history-item-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.history-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}

.history-date {
  font-size: 11.5px;
  color: var(--ink-muted);
}

.history-item-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.history-amount {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.history-status {
  font-size: 11px;
  font-weight: 600;
}

.history-status.done {
  color: #16a34a;
}

.history-status.pending {
  color: #d97706;
}

.history-clear-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #a82020;
  background: rgba(225, 34, 27, 0.08);
  border: 1px solid rgba(225, 34, 27, 0.20);
  cursor: pointer;
  transition: all 0.2s ease;
}

.history-clear-btn:hover {
  background: rgba(225, 34, 27, 0.16);
  border-color: rgba(225, 34, 27, 0.35);
  color: #8b1010;
}

.history-confirm-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(255, 240, 240, 0.7);
  border: 1px solid rgba(225, 34, 27, 0.25);
  border-radius: 16px;
  text-align: center;
  width: 100%;
}

.history-confirm-text {
  font-size: 12.5px;
  font-weight: 600;
  color: #701a1a;
  line-height: 1.4;
}

.history-confirm-actions {
  display: flex;
  gap: 8px;
}

.history-confirm-yes {
  flex: 1;
  padding: 8px 12px;
  border-radius: 999px;
  background: #d92531;
  color: #ffffff;
  border: 0;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.history-confirm-yes:hover {
  background: #b51c27;
}

.history-confirm-no {
  flex: 1;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
  border: 1px solid rgba(0, 0, 0, 0.14);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.history-confirm-no:hover {
  background: rgba(255, 255, 255, 1);
}

/* Auth Waiting State */
.auth-waiting-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 24px 16px;
}

.auth-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(0, 0, 0, 0.1);
  border-top-color: #171717;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* Floating Toast */
.toast-msg {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(40px);
  background: #171717;
  color: #ffffff;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
  white-space: nowrap;
}

.toast-msg.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Trial Card in Pricing Block */
.trial-card {
  margin-top: 10px;
  padding: 14px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    inset 0 1px 1.5px #ffffff,
    0 4px 14px rgba(0, 0, 0, 0.03);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.trial-card:hover {
  background: rgba(255, 255, 255, 0.48);
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow:
    inset 0 1px 2px #ffffff,
    0 6px 18px rgba(0, 0, 0, 0.05);
}

.trial-card-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.trial-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--red-ink);
}

.trial-title {
  font-size: 13.5px;
  font-weight: 650;
  color: var(--ink);
  letter-spacing: -0.2px;
}

.trial-desc {
  font-size: 11.5px;
  color: var(--ink-muted);
}

.trial-btn {
  flex-shrink: 0;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.65);
  color: var(--red-ink);
  font-size: 12.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  box-shadow:
    inset 0 1px 1px #ffffff,
    0 2px 6px rgba(0, 0, 0, 0.04);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.trial-btn:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: #ffffff;
  color: #8c191f;
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 1.5px #ffffff,
    0 4px 10px rgba(103, 27, 22, 0.08);
}

.trial-btn:active {
  transform: translateY(0) scale(0.98);
}

/* Account Dialog Trial Banner */
.account-trial-banner {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(160, 40, 40, 0.18);
  background: linear-gradient(135deg, rgba(255, 240, 240, 0.55), rgba(255, 255, 255, 0.45));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    inset 0 1px 1.5px #ffffff,
    0 3px 10px rgba(160, 40, 40, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.account-trial-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.account-trial-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
}

.account-trial-subtitle {
  font-size: 12px;
  color: var(--ink-muted);
}

.account-trial-btn {
  flex-shrink: 0;
  padding: 7px 15px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: var(--red-ink);
  color: #ffffff;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(103, 27, 22, 0.25);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.account-trial-btn:hover {
  background: #8c191f;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(103, 27, 22, 0.35);
}

.account-trial-btn:active {
  transform: translateY(0) scale(0.98);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

