/* Shared color and type for the home page, tariffs, and account. */
body.ultra-red {
  --ink: #f8f4f5;
  --muted: #c0b5bd;
  --line: #3b2c36;
  --surface: #19151d;
  --red: #ff6479;
  --page: #100e14;
  color-scheme: dark;
  background:
    radial-gradient(ellipse at 45% -24rem, #411929 0, transparent 54rem),
    var(--page);
  color: var(--ink);
  font-family: "Segoe UI", system-ui, sans-serif;
  accent-color: var(--red);
}
.ultra-red .wrap { width: min(1240px, calc(100% - 80px)); }
.ultra-red :focus-visible { outline: 2px solid #ff8b9b; outline-offset: 4px; }
.ultra-red .site-header {
  background: #110e16e8;
  border-color: #a7697a26;
  backdrop-filter: blur(16px);
}
.ultra-red .topbar { min-height: 74px; }
.ultra-red .wordmark { gap: 11px; letter-spacing: .07em; }
.ultra-red .wordmark img { border-radius: 10px; box-shadow: 0 0 16px #f82f583c; }
.ultra-red .button { border-radius: 10px; min-height: 44px; }
.ultra-red .button.primary {
  color: #fff;
  border-color: #ec4960;
  background: linear-gradient(150deg, #c42e4f, #ab2142 70%);
  box-shadow: inset 0 1px #ff9eb24d, 0 7px 24px #9a173548;
}
.ultra-red .button.primary:hover { background: linear-gradient(150deg, #d73e5c, #b52447 70%); }
.ultra-red .button:is(.outline,.dark-outline) {
  border-color: #aa79855c;
  background: #ffffff05;
  color: var(--ink);
}
.ultra-red .button:is(.outline,.dark-outline):hover { border-color: #ff8195a0; background: #ff819512; }
.ultra-red .eyebrow { color: #ff899b; letter-spacing: .15em; }
.ultra-red h1,.ultra-red h2,.ultra-red h3 { letter-spacing: -.028em; }

/* Home */
.ultra-home .hero {
  position: relative;
  grid-template-columns: 1.04fr 1fr;
  align-items: center;
  gap: clamp(24px, 5vw, 76px);
  padding-block: clamp(28px, 6vw, 86px);
}
.ultra-home .hero h1 {
  margin: 18px 0;
  font-size: clamp(3.25rem, 6.05vw, 6.1rem);
  line-height: .99;
  letter-spacing: -.066em;
  font-weight: 800;
}
.ultra-home .hero h1 em { color: #ff8394; font-style: normal; }
.ultra-home .hero .lead { max-width: 46ch; color: #d6cad1; line-height: 1.7; }
.ultra-home .hero .actions { margin-top: 28px; }
.ultra-home .hero-platforms { gap: 9px; margin-top: 24px; }
.ultra-home .hero-platforms a {
  padding: 4px 10px;
  border: 1px solid #98677545;
  border-radius: 7px;
  text-decoration: none;
  background: #fff1f306;
}
.ultra-home .hero-platforms a:hover { border-color: #fa96a3aa; color: var(--ink); }
.ultra-home .hero-art {
  min-height: 0;
  aspect-ratio: 1.11;
  width: 100%;
  border-radius: 24px;
  border: 1px solid #c7738b4f;
  background:
    radial-gradient(ellipse at 50% 50%, #961c3b 0, #4b1228 36%, transparent 68%),
    linear-gradient(146deg, #321724, #140f18 61%, #3a1828);
  box-shadow: inset 0 1px #f09aae3e, 0 32px 80px #08050a99;
}
.ultra-home .hero-art::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid #f69aaf30;
  border-radius: 16px;
  mask-image: linear-gradient(#000 0%, transparent 48%, #000 100%);
  background-image: radial-gradient(#f8a8b94a 1px, transparent 1px);
  background-size: 24px 24px;
}
.ultra-home .hero-art::after {
  inset: 12%;
  border: 0;
  background: radial-gradient(ellipse at center, #ff34524a, transparent 68%);
  filter: blur(26px);
  z-index: -1;
}
.ultra-home .hero-art .orbit { border-color: #ff9fb346; }
.ultra-home .hero-art img {
  width: 77%;
  max-width: 440px;
  filter: drop-shadow(0 18px 32px #210412b3);
  mask-image: radial-gradient(circle closest-side, #000 88%, transparent 100%);
}
.ultra-home :is(.band,.guide-band) {
  background: linear-gradient(130deg, #1d1420, #15131b 62%);
  border-block: 1px solid #8a53652e;
}
.ultra-red :is(.feature,.platform,.plans article,.renew) {
  background: linear-gradient(145deg, #221a26, #19151d 75%);
  border-color: #7c526450;
  border-radius: 16px;
  box-shadow: 0 10px 26px #0c080e66;
}
.ultra-home .feature-main { background: radial-gradient(ellipse at 4% 20%, #532539, transparent 70%), #241a27; }
.ultra-home .feature-grid .feature { padding: clamp(20px, 2.6vw, 34px); }
.ultra-home .plans article { padding: clamp(16px, 2.4vw, 30px); }
.ultra-home .plans article:first-child {
  background: linear-gradient(150deg, #472235, #241b28 64%);
  border-color: #eb77907d;
}
.ultra-home .plans article .button { align-self: stretch; }
.ultra-home .trial-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 14px 0 19px;
  padding: 17px 22px;
  background: linear-gradient(102deg, #472035, #211723 70%);
  border: 1px solid #e7799263;
  border-radius: 14px;
}
.trial-banner strong { display: block; margin-bottom: 3px; font-size: 1.08rem; }
.trial-banner p { margin: 0; color: var(--muted); }
.ultra-home .platform-grid .platform { padding: clamp(17px, 2.3vw, 27px); }
.ultra-home .faq-items details { border-color: #723d5559; }
.ultra-home .site-footer { background: #110f15; }

/* Account */
.ultra-account .account { padding-block: 26px 68px; }
.ultra-account .auth-layout { gap: clamp(24px, 5vw, 68px); align-items: center; min-height: 560px; }
.ultra-account .account-intro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  align-self: stretch;
  min-width: 0;
  padding: clamp(26px, 4.6vw, 68px);
  background: radial-gradient(ellipse at 85% 73%, #66243e, transparent 64%), #1d1622;
  border: 1px solid #b66b8263;
  border-radius: 20px;
}
.ultra-account .account-intro h1 {
  max-width: 9ch;
  line-height: .98;
  font-size: clamp(2.7rem, 5vw, 5.45rem);
  letter-spacing: -.062em;
  margin: 0 0 16px;
}
.ultra-account .account-intro p { max-width: 38ch; color: #dfd1d9; }
.ultra-account .account-intro img {
  display: block;
  width: min(61%, 330px);
  height: auto;
  margin: 0 0 -24px auto;
  mask-image: radial-gradient(circle closest-side, #000 87%, transparent);
}
.ultra-account .panel,.ultra-account dialog {
  background: linear-gradient(150deg, #221a26, #1a161f 78%);
  border: 1px solid #87576855;
  border-radius: 16px;
  box-shadow: 0 16px 38px #08050b40;
  min-width: 0;
}
.ultra-account .panel.auth { padding: clamp(20px, 3.3vw, 40px); }
.ultra-account .tabs {
  padding: 5px;
  border-radius: 12px;
  background: #120f17;
  border: 1px solid #9567794a;
}
.ultra-account .tabs button { flex: 1 1 auto; border-color: transparent; }
.ultra-account .tabs button[aria-pressed="true"] {
  background: #51263c;
  border-color: #b06a8370;
  color: #fff;
}
.ultra-account :is(input,select) {
  min-height: 44px;
  background: #15111a;
  border-color: #95677959;
  border-radius: 9px;
  color: var(--ink);
}
.ultra-account :is(input,select):focus { border-color: #fb8196; }
.ultra-account .dashboard-header {
  min-height: 116px;
  padding: clamp(16px, 3vw, 34px);
  margin: 0;
  border: 1px solid #c4778e5e;
  border-radius: 16px;
  background: radial-gradient(ellipse at 75% 0%, #71324d, transparent 74%), linear-gradient(125deg,#321b2d,#211824);
}
.ultra-account .dashboard-header h1 { margin-top: 0; font-size: clamp(1.8rem, 4vw, 3.45rem); }
.ultra-account .account-nav {
  margin: 0;
  background: #1c1720;
  border: 1px solid #a472854d;
  box-shadow: 0 16px 32px #09060b55;
  border-radius: 14px;
}
.ultra-account .account-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 43px;
  border-radius: 8px;
  color: #d8c9d2;
}
.ultra-account .account-nav a::before {
  content: "";
  flex: 0 0 7px;
  height: 7px;
  border: 1px solid #b38a9a;
  border-radius: 50%;
}
.ultra-account .account-nav a[aria-current] {
  color: #fff;
  background: linear-gradient(100deg,#633148,#432638);
  box-shadow: inset 2px 0 #ff8195;
}
.ultra-account .account-nav a[aria-current]::before { border-color: #ff9cad; background: #ff9cad; }
.ultra-account .subscription-panel {
  background: radial-gradient(ellipse at 80% 0%,#482038, transparent 67%), #1c1721;
  border-color: #bd718966;
}
.ultra-account .facts { gap: 9px; }
.ultra-account .facts > div {
  min-width: 0;
  background: #130f19b5;
  border: 1px solid #9e66804d;
  border-radius: 9px;
}
.ultra-account .facts dt { color: #d4bcc9; }
.ultra-account .facts dd { color: #fff3f7; overflow-wrap: anywhere; }
.ultra-account #quote:not(:empty) {
  margin: 5px 0 0;
  padding: 10px 12px;
  background: #74355142;
  border: 1px solid #ae69885c;
  border-radius: 9px;
  color: #ffe2eb;
}
.ultra-account .platform-links a { border-radius: 9px; }
.ultra-account #trial-pack { background: linear-gradient(135deg,#472337,#241b29); border-color: #d47a936e; }
.ultra-account #message:empty { display: none; }
.ultra-account #dashboard:not([hidden]) { display: grid; gap: 14px; }
.ultra-account #dashboard > :is([data-section],.companion-panel,.payment-flow) { margin-block: 0; }
.ultra-account #overview > :is(.companion-panel,.instructions) { margin-top: 14px; }

@media (min-width: 1020px) {
  .ultra-account #dashboard:not([hidden]) {
    grid-template-columns: 205px minmax(0, 1fr);
    align-items: start;
  }
  .ultra-account #dashboard > * { grid-column: 2; }
  .ultra-account #dashboard > .dashboard-header { grid-column: 1 / -1; grid-row: 1; }
  .ultra-account #dashboard > .account-nav {
    grid-column: 1;
    grid-row: 2 / span 6;
    display: grid;
    gap: 4px;
    padding: 9px;
    position: sticky;
    top: 88px;
  }
  .ultra-account .dashboard-grid { grid-template-columns: 1.16fr 1fr; gap: 14px; }
}
@media (max-width: 1019px) {
  .ultra-red .wrap { width: calc(100% - 44px); }
  .ultra-account .account-nav {
    padding: 5px;
    flex-wrap: wrap;
    overflow: visible;
  }
  .ultra-account .account-nav a { gap: 6px; }
}
@media (max-width: 720px) {
  .ultra-red .wrap { width: calc(100% - 30px); }
  .ultra-home .hero { grid-template-columns: 1fr; }
  .ultra-home .hero h1 { font-size: clamp(2.9rem, 9.1vw, 4.3rem); }
  .ultra-home .hero-art { aspect-ratio: 1.36; border-radius: 17px; }
  .ultra-home .hero-art img { width: 62%; }
  .ultra-home .trial-banner { align-items: start; flex-direction: column; padding: 15px; }
  .ultra-account .account { padding-top: 16px; }
  .ultra-account .auth-layout { min-height: 0; }
  .ultra-account .account-intro { min-height: 0; padding: 24px; }
  .ultra-account .account-intro h1 { max-width: none; font-size: clamp(2.2rem, 8vw, 3.2rem); }
  .ultra-account .account-intro p { max-width: none; }
  .ultra-account .account-intro img { display: none; }
  .ultra-account .account-nav a::before { display: none; }
}
@media (max-width: 520px) {
  .ultra-account .account-nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ultra-account .account-nav a { white-space: normal; padding: 8px 10px; }
}
@media (prefers-reduced-motion: no-preference) {
  .ultra-home .hero-art { animation: ultra-frame-enter .46s ease-out both; }
  .ultra-red :is(.button,.feature,.platform,.account-nav a) {
    transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
  }
}
@keyframes ultra-frame-enter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
