/* Palette from v3/ui_theme.py: IRIUS_LIGHT_THEME.
   Primary #7b2cff, dark #25105f, accent #c236c8, gradient accent #ff6a3d.
   Translucent tints use these same application colors. */
:root {
  --violet: #7b2cff;
  --violet-deep: #25105f;
  --orange: #ff6a3d;
  --pink: #c236c8;
  --ink: #101942;
  --muted: #44506d;
  --line: #e4e7f0;
  --soft: #fbfbff;
}
body {
  position: relative;
  isolation: isolate;
  background: #ffffff;
}
section { padding: 36px 0; }
/* Original irius.shop artwork and placement; the document's SVG filter applies
   the violet palette to both background layers. See media/README.md. */
body::before, body::after { opacity: .32; }
body::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: url("media/irius-bg-desktop.png") center top / auto no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 2200px, transparent 2964px);
  mask-image: linear-gradient(to bottom, #000 0, #000 2200px, transparent 2964px);
  pointer-events: none;
}
.review {
  background: #eef1f7;
  color: #25105f;
  font-weight: 600;
}
.review a { color: #25105f; }
header { background: #ffffffed; border-bottom: 0; }
.brand img { width: 280px; max-width: 100%; height: auto; }
.language-switch { position: relative; flex-shrink: 0; margin: 0; padding: 0; border-radius: 12px; background: transparent; }
.language-switch summary { display: flex; align-items: center; gap: 9px; padding: 9px 11px; border: 1px solid transparent; border-radius: 10px; list-style: none; color: var(--muted); font-size: 13px; font-weight: 600; line-height: 1.4; }
.language-switch summary::-webkit-details-marker { display: none; }
.language-switch summary:hover, .language-switch[open] summary { border-color: #7b2cff25; background: #7b2cff08; color: var(--violet-deep); }
.language-flag { display: block; flex-shrink: 0; width: 22px; height: 15px; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px #10194214; }
.language-chevron { margin-left: 3px; }
.language-switch[open] .language-chevron { transform: rotate(180deg); }
.language-options { position: absolute; top: calc(100% + 9px); right: 0; z-index: 5; min-width: 174px; padding: 6px; border: 1px solid var(--line); border-radius: 14px; background: #ffffff; box-shadow: 0 12px 32px #25105f1a; }
.language-options a { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 8px; color: var(--muted); text-decoration: none; font-size: 13px; line-height: 1.4; }
.language-options a:hover, .language-options a[aria-current="true"] { background: #7b2cff0c; color: var(--violet-deep); }
.language-options a[aria-current="true"]::after { content: '\2713'; margin-left: auto; color: var(--violet); }
.navlinks { gap: 20px; }
h1 { overflow-wrap: break-word; }
.navlinks a:hover { color: var(--violet); }
.button {
  border-radius: 999px;
  border-color: #e4e7f0;
  padding: 14px 23px;
  background: #ffffffed;
  box-shadow: 0 3px 0 #25105f08;
}
.button.primary {
  background: var(--violet);
  border-color: var(--violet);
  color: #fff;
  box-shadow: 0 6px 18px #7b2cff22;
}
.download-button { gap: 12px; }
.windows-icon { display: block; flex: 0 0 20px; }
.download-label { display: flex; flex-direction: column; gap: 3px; text-align: left; line-height: 1.25; }
.download-platform { font-size: 11px; font-weight: 400; white-space: nowrap; }
.navlinks .download-button { padding: 10px 16px; gap: 9px; }
.navlinks .download-platform { font-size: 10px; }
button:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 3px solid #25105f;
  outline-offset: 5px;
}
main { position: relative; isolation: isolate; }
/* One continuous, feathered tint behind all sections, without rectangular bands. */
main::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 24% at 85% 55%, #7b2cff0a 0%, transparent 72%),
    radial-gradient(ellipse 70% 24% at 10% 82%, #7b2cff08 0%, transparent 72%);
  pointer-events: none;
}
.hero-shell { position: relative; }
.hero { padding: 32px 0 36px; gap: 64px; }
.eyebrow { color: #25105f; }
.hero .eyebrow {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid #7b2cff2e;
  background: #ffffffb8;
  font-size: 11px;
  letter-spacing: .09em;
}
h1 { font-size: clamp(44px, 4.5vw, 65px); margin-top: 23px; }
h1 span { color: var(--violet); }
.hero .lead { max-width: 490px; }
.hero .actions .primary {
  background: var(--violet);
  border-color: var(--violet);
  color: #ffffff;
  box-shadow: 0 7px 20px #7b2cff22;
}
.canvas {
  background: #fff;
  color: var(--ink);
  border: 6px solid #ffffffb8;
  border-radius: 26px;
  padding: 23px;
  box-shadow: 0 22px 60px #25105f2b;
}
.canvas-label { color: #44506d; font-weight: 650; font-size: 10px; }
.canvas-label span:last-child {
  background: #eef1f7;
  border-radius: 20px;
  color: #25105f;
  padding: 2px 7px;
}
.hero-media { margin: 18px 0 20px; }
.hero-recording, .overview-player {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #fbfbff;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.hero-media figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 10px;
}
.recording-expand {
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--violet-deep);
  font-size: 11px;
}
dialog#overview { width: min(1100px, 94vw); max-height: 92vh; overflow: auto; }
dialog#overview h2 { font-size: clamp(24px, 3vw, 34px); margin-top: 0; }
dialog#overview p { color: var(--muted); }
dialog#overview form { margin-top: 18px; }
.overview-player { max-height: 65vh; }
.art {
  height: 230px;
  margin-top: 18px;
  background:
    radial-gradient(circle at 80% 15%, #ffffff 0 8%, transparent 8.3%),
    linear-gradient(145deg, #7b2cff18 0%, #c236c830 42%, #ffe9dd 100%);
  border: 1px solid #ffffff8c;
  border-radius: 15px;
}
.art::before {
  width: 410px;
  height: 250px;
  background: var(--violet);
  bottom: -160px;
  left: -30px;
  transform: rotate(12deg);
}
.art::after {
  width: 350px;
  height: 245px;
  background: #c236c8;
  left: 210px;
  bottom: -160px;
  transform: rotate(-24deg);
}
.art .caption {
  padding: 5px 11px;
  background: #25105fd9;
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
}
.play {
  background: var(--violet);
  color: #ffffff;
  box-shadow: 0 0 0 8px #ffffff80;
}
.steps { gap: 8px; }
.step {
  background: #fbfbff;
  border-color: #e4e7f0;
  color: #44506d;
  border-radius: 9px;
  font-weight: 600;
}
.step[aria-pressed="true"] {
  background: var(--violet);
  border-color: var(--violet);
  color: #fff;
}
.stage-title { color: var(--ink); font-size: 22px; }
.stage-copy { color: var(--muted); min-height: 45px; }
.workflow-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
.workflow-card { min-width: 0; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 8px 24px #25105f08; }
.workflow-preview { display: block; background: var(--soft); }
.workflow-preview img { display: block; width: 100%; height: auto; }
.workflow-copy { padding: 20px 24px 24px; }
.workflow-copy h3 { margin: 8px 0 10px; }
.workflow-copy p { margin: 0 0 14px; color: var(--muted); font-size: 14px; }
.workflow-enlarge { color: var(--violet-deep); font-size: 14px; font-weight: 650; text-underline-offset: 4px; }
.workflow-preview:hover, .workflow-enlarge:hover { opacity: .9; }
.workflow-context { margin: 16px 0 0; max-width: 900px; color: var(--muted); font-size: 12px; }
.mobile-audio-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; list-style: none; padding: 0; margin: 24px 0 0; }
.mobile-audio-step { min-width: 0; padding: 24px; border: 1px solid #7b2cff26; border-radius: 20px; background: linear-gradient(145deg, #7b2cff08, #ffffff 75%); box-shadow: 0 8px 24px #25105f08; }
.mobile-step-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--violet); }
.mobile-step-heading svg { flex: 0 0 32px; }
.mobile-audio-step h3 { margin: 14px 0 10px; }
.mobile-audio-step p { margin: 0; color: var(--muted); font-size: 14px; }
.mobile-audio-formats { margin: 16px 0 0; color: var(--muted); font-size: 12px; }
#workflow-screenshot { width: min(1440px, 96vw); max-width: 96vw; max-height: 94vh; padding: 20px; overflow: auto; }
.screenshot-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.screenshot-heading h2 { margin: 0; font-size: clamp(19px, 2.4vw, 28px); }
.screenshot-heading .button { margin-top: 0; padding: 9px 16px; }
#workflow-screenshot-image { display: block; width: 100%; height: auto; max-height: 72vh; object-fit: contain; }
.screenshot-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin: 12px 0 0; }
#workflow-screenshot .screenshot-footer { font-size: 12px; }
.tab-overview { padding-top: 32px; }
.tab-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.tab-card {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--violet);
  border-radius: 20px;
  background: #fbfbff;
  box-shadow: 0 8px 24px #25105f08;
}
.tab-card:nth-child(3n + 2) { border-top-color: var(--pink); background: #fff4fa; }
.tab-card:nth-child(3n) { background: #ffffff; }
.tab-card-heading { display: flex; align-items: center; gap: 13px; }
.tab-card-icon {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 15px;
  background: #ffffff;
  border: 1px solid var(--line);
}
.tab-card-icon img { width: 44px; height: 44px; object-fit: contain; }
.tab-card-type {
  display: block;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.tab-card h3 { margin: 5px 0 0; font-size: 21px; overflow-wrap: anywhere; }
.tab-media {
  position: relative;
  margin: 20px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
}
.tab-preview {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #fbfbff;
}
.tab-media figcaption {
  padding: 6px 10px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}
.tab-card ul {
  margin: 20px 0 0;
  padding-left: 17px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}
.tab-card li + li { margin-top: 7px; }
.tab-card li::marker { color: var(--violet); }
.comparison {
  background: transparent;
  border: 0;
}
.tier {
  border-color: #e4e7f0;
  border-radius: 22px;
  border-top: 5px solid var(--violet);
  box-shadow: 0 10px 30px #25105f08;
}
.tier.ai {
  background: linear-gradient(145deg, #7b2cff14 0%, #7b2cff08 55%, #ffffff 100%), #ffffff;
  border-color: #7b2cff33;
  border-top: 5px solid var(--violet);
  box-shadow: 0 10px 30px #7b2cff14;
}
.tag { color: #25105f; }
.tier li::marker { color: #7b2cff; }
.tier { display: flex; flex-direction: column; }
.tier ul { margin-bottom: 26px; }
.tier .button { align-self: flex-start; margin-top: auto; }
.tiers { margin-top: 24px; }
.section-head h2, .guides-header h2 { margin-bottom: 12px; }
.section-head p, .guides-header p { margin-bottom: 12px; }
.tier.free {
  background: linear-gradient(145deg, #e8f3eb 0%, #f4f9f5 55%, #ffffff 100%);
  border-color: #cadecf;
  border-top-color: #5d8b6b;
  box-shadow: 0 10px 30px #2f684414;
}
.tier.free .tag { color: #2f6844; }
.tier.free h3 { color: #27583a; }
.tier.free li::marker { color: #5d8b6b; }
.tier.free ul { padding-left: 0; list-style: none; }
.tier.free li { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 10px; margin-bottom: 7px; line-height: 1.65; }
.free-feature-tag { padding: 3px 8px; border: 1px solid #9fbea9; border-radius: 999px; background: #d7e8dd; color: #245937; font-size: 11px; font-weight: 750; line-height: 1.4; letter-spacing: .04em; }
.tier.free li strong { color: #27583a; font-weight: 700; }
.tier.free .button {
  background: #2f6844;
  border-color: #2f6844;
  color: #ffffff;
  box-shadow: 0 5px 14px #2f68441a;
}
.tier.ai .tag, .tier.ai h3 { color: var(--violet-deep); }
.tier-footer { margin-top: auto; }
.tier-footer .button { margin-top: 0; }
.plan-pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 130px), 1fr)); gap: 12px; min-height: 146px; margin: 0 0 16px; }
.free-pricing { grid-template-columns: 1fr; }
.tier.free .plan-price-option { border-color: #bcd3c3; background: #ffffffb8; }
.tier.free .plan-label, .tier.free .plan-amount { color: #27583a; }
.plan-price-option { min-width: 0; padding: 14px 16px; border: 1px solid #7b2cff26; border-radius: 14px; background: #ffffffb8; }
.plan-price-option.annual { border-color: #7b2cff55; background: #7b2cff08; }
.plan-label { color: var(--violet-deep); font-size: 11px; font-weight: 650; }
.tier .plan-amount { margin: 4px 0; color: var(--violet-deep); font-size: clamp(30px, 3vw, 38px); font-weight: 750; letter-spacing: -.04em; line-height: 1.1; white-space: nowrap; }
.plan-amount span { font-size: 13px; font-weight: 600; letter-spacing: 0; }
.tier .plan-cycle { margin: 0; font-size: 11px; }
.tier .plan-saving { margin: 6px 0 0; color: var(--violet-deep); font-size: 11px; font-weight: 650; }
.tier.ai .button {
  background: var(--violet);
  border-color: var(--violet);
  color: #ffffff;
  box-shadow: 0 5px 14px #7b2cff26;
}
.note {
  background: #ffffff9e;
  border-color: var(--violet);
  border-radius: 0 12px 12px 0;
  padding: 12px 16px;
  margin-top: 20px;
  margin-bottom: 0;
}
#guides {
  background: transparent;
}
.guide-grid { gap: 13px; border: 0; margin-top: 24px; }
.guide {
  border: 1px solid #e4e7f0;
  border-radius: 14px;
  background: #fbfbff;
  padding: 19px 20px;
  font-weight: 600;
}
.guide:nth-child(3n + 2) { background: #fbfbff; border-color: #e4e7f0; }
.guide:nth-child(3n) { background: #eef1f7; border-color: #e4e7f0; }
.guide:hover { background: #7b2cff12; border-color: var(--violet); }
.guide span {
  display: inline-grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: var(--violet);
  color: white;
  flex-shrink: 0;
}
details { background: #fbfbff; border: 1px solid #e4e7f0; margin-top: 18px; padding: 16px; }
.closing {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: linear-gradient(115deg, var(--violet-deep) 0%, var(--violet) 60%, #7b2cff 100%);
  box-shadow: 0 18px 38px #7b2cff19;
  padding: 32px;
  margin-bottom: 36px;
}
.closing::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 560px;
  height: 220px;
  right: -45px;
  bottom: -55px;
  background: #ffffff14;
  /* Keep the leftmost cloud inside its mask so the layer has no clipped edge. */
  -webkit-mask-image:
    radial-gradient(ellipse 32% 48% at 34% 100%, #000 94%, transparent 100%),
    radial-gradient(ellipse 34% 73% at 59% 100%, #000 96%, transparent 100%),
    radial-gradient(ellipse 32% 54% at 95% 100%, #000 96%, transparent 100%);
  mask-image:
    radial-gradient(ellipse 32% 48% at 34% 100%, #000 94%, transparent 100%),
    radial-gradient(ellipse 34% 73% at 59% 100%, #000 96%, transparent 100%),
    radial-gradient(ellipse 32% 54% at 95% 100%, #000 96%, transparent 100%);
  pointer-events: none;
}
.closing .eyebrow { color: #ffffff; }
.closing p { color: #fff; }
.closing .button.primary {
  background: #ffffff;
  color: var(--violet-deep);
  border-color: #ffffff;
  box-shadow: 0 6px 20px #25105f25;
}
.closing .button.primary:hover { background: #f3ebff; filter: none; }
.closing .button.primary:focus-visible { outline-color: #ffffff; }
footer {
  background: linear-gradient(to bottom, #eef1f700 0%, #eef1f7 100%);
  border: 0;
  padding: 20px 0;
}
dialog { border-top: 6px solid var(--violet); border-radius: 22px; }
dialog::backdrop { background: #25105f99; }
@media (max-width: 1100px) {
  .hero { gap: 35px; }
}
@media (max-width: 1199px) {
  .tab-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .tab-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 768px) and (max-width: 1199px) {
  body::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: 138px;
    right: 0;
    bottom: 0;
    left: 0;
    background: url("media/irius-bg-mobile.png") right top / auto no-repeat;
    -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 400px, transparent 563px);
    mask-image: linear-gradient(to bottom, #000 0, #000 400px, transparent 563px);
    pointer-events: none;
  }
}
@media (max-width: 850px) {
  nav { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 14px; padding: 10px 0; }
  .brand { grid-column: 1; grid-row: 1; min-width: 0; }
  .navlinks { grid-column: 2; grid-row: 1; }
  .workflow-grid { grid-template-columns: 1fr; }
  .mobile-audio-steps { grid-template-columns: 1fr; gap: 16px; }
  .brand img { width: 230px; }
  .hero { padding-top: 24px; padding-bottom: 32px; }
  .canvas { margin-top: 4px; max-width: 650px; }
  #features { padding-top: 32px; }
  .closing { padding: 28px; }
}
@media (max-width: 700px) {
  .brand { grid-column: 1 / -1; }
  .navlinks { grid-column: 1 / -1; grid-row: 2; justify-self: end; gap: 10px; }
}
@media (max-width: 700px) {
  .home-header > nav {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    min-height: 64px;
    padding: 8px 0;
  }
  .home-header .brand { grid-column: 1; grid-row: 1; }
  .home-header .brand img { width: 210px; }
  .home-header .navlinks { grid-column: 2; grid-row: 1; }
  .home-header .navlinks > .download-button { display: none; }
  .home-header .language-switch summary { min-height: 44px; }
}
@media (max-width: 600px) {
  .tab-grid { grid-template-columns: 1fr; gap: 16px; }
  .tab-card { padding: 23px; }
}
@media (max-width: 560px) {
  .navlinks .download-button { padding: 9px 12px; }
  .plan-price-option { padding: 12px 10px; }
  section { padding: 28px 0; }
  .brand { flex: 1; min-width: 0; }
  .brand img { width: 190px; }
  .navlinks { flex-shrink: 0; }
  .hero { gap: 30px; padding-bottom: 28px; }
  .hero .eyebrow { font-size: 9px; padding: 6px 9px; }
  h1 { font-size: clamp(36px, 10.8vw, 48px); }
  .hero .actions .button { padding: 13px 18px; }
  .canvas { padding: 16px; border-width: 4px; border-radius: 21px; }
  .canvas-label { font-size: 8px; }
  .art { height: 200px; }
  .art::after { left: 120px; }
  .art .caption { font-size: 11px; }
  .step { font-size: 10px; padding: 10px 5px; }
  .tier { padding: 26px; }
  .closing { padding: 24px; margin-bottom: 28px; }
  .closing::after { width: 360px; height: 180px; right: -70px; bottom: -45px; }
}
