:root {
  --bg: #0c0c12;
  --bg-soft: #12131b;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-strong: #171821;
  --line: rgba(255, 255, 255, 0.105);
  --text: #f5f2ee;
  --muted: #a7a3aa;
  --orange: #f3a13b;
  --coral: #ec6d58;
  --magenta: #d64b7d;
  --purple: #9c72e8;
  --cream: #fff8ef;
  --dark-text: #1c1b22;
  --success: #69c795;
  --max: 1660px;
  --radius: 24px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px),
    var(--bg);
  background-size: 48px 48px;
  color: var(--text);
  font-family: Inter, "Segoe UI", "Microsoft YaHei", system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
main#top, section[id] { scroll-margin-top: 105px; }

.session-loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-content: center;
  place-items: center;
  gap: 14px;
  background: var(--bg);
}
.home-loading .session-loader { display: grid; }
.home-loading > :not(.session-loader) { visibility: hidden; }
.session-loader span {
  width: 42px;
  height: 42px;
  border: 3px solid rgba(255,255,255,.14);
  border-top-color: var(--orange);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
.session-loader p { margin: 0; color: var(--muted); }
@keyframes spin { to { transform: rotate(360deg); } }

.ambient {
  position: fixed;
  z-index: -1;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .19;
  pointer-events: none;
}
.ambient-one { top: -220px; left: -160px; background: var(--coral); }
.ambient-two { right: -220px; top: 300px; background: var(--purple); }
.background-motif span { position: fixed; z-index: -1; pointer-events: none; }
.motif-square { width: 72px; height: 72px; border: 1px solid rgba(240,154,65,.38); box-shadow: inset 0 0 24px rgba(240,154,65,.04); }
.square-one { top: 23%; left: 4%; transform: rotate(20deg); }
.square-two { right: 5%; bottom: 17%; width: 105px; height: 105px; border-color: rgba(183,93,190,.32); transform: rotate(45deg); }
.motif-ring { border: 1px solid rgba(255,255,255,.2); border-radius: 50%; }
.ring-one { top: 56%; right: 3%; width: 190px; height: 190px; box-shadow: 0 0 0 28px rgba(255,255,255,.022), 0 0 0 58px rgba(255,255,255,.014); }
.ring-two { left: -70px; bottom: 7%; width: 220px; height: 220px; border-color: rgba(236,105,86,.26); }
.motif-cross { width: 54px; height: 54px; opacity: .46; }
.motif-cross::before, .motif-cross::after { content: ""; position: absolute; background: linear-gradient(90deg,var(--orange),var(--magenta)); }
.motif-cross::before { top: 25px; left: 0; width: 54px; height: 2px; }
.motif-cross::after { top: 0; left: 26px; width: 2px; height: 54px; }
.cross-one { top: 16%; right: 12%; transform: rotate(13deg); }
.cross-two { left: 8%; top: 69%; transform: rotate(45deg) scale(.7); }

.section-shell, .site-nav {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.site-nav {
  position: sticky;
  top: 14px;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
  min-height: 72px;
  margin-top: 14px;
  padding: 10px 12px 10px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(12, 12, 18, .78);
  box-shadow: 0 18px 60px rgba(0,0,0,.28);
  backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: 11px; min-width: max-content; }
.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(145deg, var(--orange), var(--magenta));
  box-shadow: 0 8px 28px rgba(236,109,88,.25);
  color: white;
  font-weight: 900;
  font-size: 21px;
}
.brand-copy { display: grid; line-height: 1.15; letter-spacing: .13em; font-weight: 800; font-size: 14px; }
.brand-copy small { margin-top: 5px; color: var(--muted); font-size: 10px; letter-spacing: .06em; font-weight: 600; }
.home-nav { display: flex; justify-content: center; gap: 9px; color: #ddd9df; font-size: 14px; font-weight: 750; }
.home-nav a { padding: 8px 14px; border: 1px solid rgba(255,255,255,.075); border-radius: 9px; background: rgba(255,255,255,.032); transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease; }
.home-nav a:hover { color: white; border-color: rgba(240,151,64,.42); background: rgba(239,130,57,.1); transform: translateY(-1px); }
.nav-actions { display: flex; gap: 8px; }
.mobile-auth-actions { display: none; }
.mobile-nav-toggle { display: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 11px;
  cursor: pointer;
  font-weight: 750;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  color: #fff;
  background: linear-gradient(105deg, #e98235, #dc5e68 54%, #a85bd2);
  box-shadow: 0 10px 28px rgba(220,94,104,.22);
}
.button-ghost { border-color: var(--line); background: rgba(255,255,255,.04); color: var(--text); }
.button-ghost:hover { border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.075); }
.button-large { min-height: 52px; padding-inline: 24px; border-radius: 13px; }
.button-light { color: var(--dark-text); background: white; box-shadow: 0 12px 34px rgba(0,0,0,.18); }
.nav-actions .button-ghost {
  border-color: rgba(246,177,77,.72);
  background: linear-gradient(135deg, #f0b04b, #e58643);
  box-shadow: 0 9px 25px rgba(226,131,62,.2);
  color: #20130c;
}
.nav-actions .button-ghost:hover { border-color: #ffd08b; background: linear-gradient(135deg,#ffc86d,#ef914e); color: #1b1009; }
.mobile-auth-actions .button-ghost { border-color: rgba(246,177,77,.72); background: #e79a48; color: #20130c; }

.hero-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .66fr) minmax(800px, 1.34fr);
  align-items: center;
  gap: 56px;
  min-height: 790px;
  padding-block: 100px 100px;
}
.hero-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -4%;
  top: 12%;
  width: 54%;
  height: 70%;
  border-radius: 48%;
  background: radial-gradient(circle at center, rgba(164,91,205,.09), transparent 68%);
}
.hero-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 2%;
  bottom: 6%;
  width: 220px;
  height: 68px;
  opacity: .42;
  background: repeating-linear-gradient(90deg, rgba(240,153,64,.7) 0 2px, transparent 2px 14px);
  mask-image: linear-gradient(90deg,#000,transparent);
}
.kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: #f0a44d;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.kicker span { width: 23px; height: 2px; background: linear-gradient(90deg, var(--orange), var(--magenta)); }
.hero-copy h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(50px, 6vw, 82px);
  line-height: 1.04;
  letter-spacing: -.055em;
}
.hero-line { display: block; white-space: nowrap; }
.hero-copy h1 em {
  display: block;
  white-space: nowrap;
  margin-top: 4px;
  margin-bottom: -.12em;
  padding: .04em 0 .16em;
  line-height: 1.08;
  background: linear-gradient(90deg, #ffd26d, #f38a6c 48%, #cf78dc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: normal;
}
.hero-description { max-width: 610px; margin: 28px 0 0; color: var(--muted); font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.bonus-callout {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 0;
  color: #f0b15e;
  font-size: 13px;
  font-weight: 700;
}
.bonus-callout::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 5px rgba(105,199,149,.1); }
.hero-metrics { display: flex; gap: 0; margin-top: 42px; }
.hero-metrics div { display: grid; gap: 2px; min-width: 122px; padding-right: 24px; margin-right: 24px; border-right: 1px solid var(--line); }
.hero-metrics div:last-child { border-right: 0; }
.hero-metrics strong { font-size: 24px; }
.hero-metrics span { color: var(--muted); font-size: 12px; }

.hero-visual { position: relative; width: 100%; }
.visual-window {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  background: rgba(255,255,255,.045);
  box-shadow: 0 34px 90px rgba(0,0,0,.42);
  transform: perspective(900px) rotateY(-2deg) rotateX(1deg);
}
.window-bar { display: flex; align-items: center; gap: 7px; height: 46px; padding: 0 16px; border-bottom: 1px solid var(--line); background: rgba(0,0,0,.22); }
.window-bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff695f; }
.window-bar i:nth-child(2) { background: #f1b548; }
.window-bar i:nth-child(3) { background: #65c77c; }
.window-bar span { margin-left: 7px; color: var(--muted); font-size: 11px; letter-spacing: .08em; }
.hero-carousel-viewport { position: relative; min-height: 610px; overflow: hidden; }
.hero-compare {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 610px;
  padding: 22px;
  gap: 12px;
  transform: translateX(0);
  opacity: 1;
}
.hero-compare.carousel-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  transition:
    transform .78s cubic-bezier(.22,.78,.24,1),
    opacity .78s cubic-bezier(.22,.78,.24,1);
  will-change: transform, opacity;
}
.hero-compare.carousel-enter-right { transform: translateX(104%); opacity: .72; }
.hero-compare.carousel-enter-left { transform: translateX(-104%); opacity: .72; }
.hero-compare.carousel-active { transform: translateX(0); opacity: 1; }
.hero-compare.carousel-exit-left { transform: translateX(-104%); opacity: .58; }
.hero-compare.carousel-exit-right { transform: translateX(104%); opacity: .58; }
.image-placeholder, .result-placeholder {
  position: relative;
  display: grid;
  place-content: center;
  gap: 7px;
  min-height: 250px;
  overflow: hidden;
  border: 1px dashed rgba(255,255,255,.2);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.045), rgba(255,255,255,.01)),
    repeating-linear-gradient(45deg, transparent 0 18px, rgba(255,255,255,.018) 18px 19px);
  color: #dedbe1;
  text-align: center;
}
.image-placeholder.has-media {
  isolation: isolate;
  place-content: end start;
  padding: 20px;
  border-style: solid;
  background: #151720;
  text-align: left;
}
.image-placeholder.has-media::before { display: none; }
.image-placeholder.has-media::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 40% 0 0;
  background: linear-gradient(180deg, transparent, rgba(7,8,13,.9));
  pointer-events: none;
}
.hero-media {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #eee9df;
}
.hero-media.media-cover { object-fit: cover; }
.hero-media.media-contain { object-fit: contain; }
.image-placeholder.has-media strong,
.image-placeholder.has-media small,
.image-placeholder.has-media .placeholder-index { position: relative; z-index: 2; }
.image-placeholder.has-media strong { font-size: 16px; }
.image-placeholder.has-media small { color: #d0cbd2; }
.image-placeholder::before, .result-placeholder::before {
  content: "";
  width: 45px;
  height: 34px;
  margin: 0 auto 8px;
  border: 2px solid currentColor;
  border-radius: 7px;
  opacity: .45;
  background: linear-gradient(145deg, transparent 46%, currentColor 47% 51%, transparent 52%);
}
.placeholder-after { border-color: rgba(237,108,90,.35); background-color: rgba(221,90,107,.035); }
.image-placeholder small, .result-placeholder small { color: var(--muted); font-size: 11px; }
.placeholder-index { position: absolute; top: 14px; left: 14px; color: rgba(255,255,255,.28); font-weight: 800; font-size: 11px; letter-spacing: .1em; }
.compare-divider { position: absolute; z-index: 2; top: 50%; left: 50%; display: grid; width: 38px; height: 38px; place-items: center; transform: translate(-50%,-50%); border: 4px solid var(--panel-strong); border-radius: 50%; background: linear-gradient(135deg,var(--orange),var(--magenta)); font-size: 10px; font-weight: 900; }
.floating-note { position: absolute; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(18,19,27,.92); box-shadow: 0 12px 28px rgba(0,0,0,.3); color: #e9e5e9; font-size: 11px; }
.note-top { top: -21px; right: 58px; }
.note-bottom { bottom: -18px; left: 46px; }
.carousel-control {
  position: absolute;
  z-index: 5;
  top: 50%;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  background: linear-gradient(145deg,rgba(242,153,55,.96),rgba(211,75,120,.96));
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
  color: white;
  cursor: pointer;
  font-size: 31px;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform .2s ease, box-shadow .2s ease;
}
.carousel-control:hover { transform: translateY(-50%) scale(1.08); box-shadow: 0 14px 35px rgba(215,83,102,.35); }
.carousel-prev { left: -24px; }
.carousel-next { right: -24px; }
.carousel-dots { position: absolute; z-index: 5; left: 50%; bottom: -42px; display: flex; gap: 8px; transform: translateX(-50%); }
.carousel-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.25); cursor: pointer; transition: width .2s ease, border-radius .2s ease, background .2s ease; }
.carousel-dots button.selected { width: 28px; border-radius: 99px; background: linear-gradient(90deg,var(--orange),var(--magenta)); }
.hero-compare[data-slide-theme="high"] .placeholder-after { border-color: rgba(255,193,96,.48); background-color: rgba(242,157,60,.05); }
.hero-compare[data-slide-theme="seamless"] .image-placeholder { background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg,rgba(255,255,255,.055) 1px,transparent 1px); background-size: 50% 50%; }
.hero-compare[data-slide-theme="expansion"] .placeholder-after { box-shadow: inset 0 0 0 30px rgba(230,109,77,.035); }
.hero-compare[data-slide-theme="generation"] .placeholder-after { border-color: rgba(180,104,225,.5); background-color: rgba(159,84,204,.055); }
.hero-compare[data-slide-theme="vector"] .placeholder-before { image-rendering: pixelated; background-size: 16px 16px; }
.hero-compare[data-slide-theme="vector"] .placeholder-after { border-color: rgba(181,122,224,.48); background-image: radial-gradient(circle at 35% 35%, transparent 0 38%, rgba(218,169,255,.08) 39% 40%, transparent 41%); }

.recent-tasks-section { position: relative; padding-block: 80px 112px; }
.recent-tasks-heading { margin-bottom: 34px; }
.recent-task-panel {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 25px;
  background: linear-gradient(135deg, rgba(240,151,64,.07), rgba(153,91,203,.055) 58%, rgba(255,255,255,.018));
  box-shadow: 0 28px 80px rgba(0,0,0,.28);
}
.recent-task-status { display: grid; min-height: 420px; margin: 0; place-items: center; color: var(--muted); text-align: center; }
.recent-task-status[hidden] { display: none; }
.recent-task-carousel { position: relative; }
.recent-task-viewport { overflow: hidden; }
.recent-task-track { display: flex; transition: transform .72s cubic-bezier(.22,.78,.24,1); will-change: transform; }
.recent-task-card {
  display: grid;
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  min-width: 100%;
  height: 560px;
  min-height: 0;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, .75fr);
  grid-template-rows: minmax(0, 1fr);
  overflow: hidden;
}
.recent-task-media { display: grid; min-width: 0; min-height: 0; height: 100%; overflow: hidden; grid-template-columns: repeat(2, minmax(0,1fr)); grid-template-rows: minmax(0,1fr); background: #11121a; }
.recent-task-media.is-single { grid-template-columns: 1fr; }
.recent-task-figure { position: relative; min-width: 0; min-height: 0; height: 100%; margin: 0; overflow: hidden; border-right: 1px solid rgba(255,255,255,.1); background: #e9e7e2; }
.recent-task-figure:last-child { border-right: 0; }
.recent-task-figure img { display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; max-width: 100%; max-height: 100%; object-fit: contain; background: #e9e7e2; }
.recent-task-image-error { display: grid; min-height: inherit; height: 100%; place-items: center; color: #6f6972; font-size: 13px; }
.recent-task-figure figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 10px;
  background: rgba(10,11,16,.86);
  backdrop-filter: blur(10px);
  color: white;
  font-size: 12px;
  font-weight: 800;
}
.recent-task-figure figcaption small { color: #f4a445; font-size: 10px; }
.recent-task-info { display: flex; min-width: 0; min-height: 0; height: 100%; overflow: auto; flex-direction: column; justify-content: flex-start; padding: 38px 42px 68px; border-left: 1px solid rgba(255,255,255,.1); }
.recent-task-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; color: var(--muted); font-size: 11px; }
.recent-task-category { padding: 4px 9px; border: 1px solid rgba(243,161,59,.34); border-radius: 999px; background: rgba(243,161,59,.08); color: #f4aa4f; font-weight: 800; }
.recent-task-info h3 { margin: 18px 0 8px; font-size: clamp(25px, 2.5vw, 36px); line-height: 1.13; }
.recent-task-description { margin: 0; color: #c6c1c8; font-size: 14px; }
.recent-task-prompt { margin: 24px 0 0; padding: 15px 16px; border: 1px solid rgba(201,111,222,.24); border-radius: 13px; background: rgba(164,91,205,.08); color: #d8d2da; font-size: 13px; line-height: 1.65; }
.recent-task-prompt strong { display: block; margin-bottom: 5px; color: #f0a7d3; font-size: 11px; letter-spacing: .08em; }
.recent-task-control {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  background: rgba(14,15,22,.84);
  box-shadow: 0 10px 26px rgba(0,0,0,.35);
  color: white;
  cursor: pointer;
  font-size: 28px;
}
.recent-task-prev { left: 16px; }
.recent-task-next { right: 16px; }
.recent-task-control[hidden] { display: none; }
.recent-task-dots { position: absolute; z-index: 4; left: 50%; bottom: 18px; display: flex; gap: 7px; transform: translateX(-50%); }
.recent-task-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.28); cursor: pointer; transition: width .2s ease, background .2s ease; }
.recent-task-dots button.selected { width: 26px; background: linear-gradient(90deg,var(--orange),var(--magenta)); }

.features-section, .workflow-section, .cases-section, .faq-section { position: relative; padding-block: 112px; }
.features-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 54px;
  right: 0;
  width: 300px;
  height: 110px;
  border-top: 1px solid rgba(239,147,65,.14);
  border-right: 1px solid rgba(239,147,65,.14);
  transform: skewX(-22deg);
}
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 40px; }
.section-heading .kicker { margin-bottom: 20px; font-size: 16px; letter-spacing: .18em; }
.section-heading h2 { margin: 0; font-size: clamp(34px, 4.4vw, 54px); line-height: 1.04; letter-spacing: -.045em; }
.section-heading > p { max-width: 510px; margin: 0 0 5px; color: #c9c4ca; font-size: 17px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature-card { position: relative; min-height: 158px; padding: 18px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); outline: none; background: rgba(255,255,255,.02); cursor: pointer; transition: transform .22s ease, background .22s ease, box-shadow .22s ease; }
.feature-card:hover, .feature-card:focus-visible { z-index: 2; transform: translateY(-6px); background: rgba(255,255,255,.065); box-shadow: inset 0 0 0 1px rgba(239,147,65,.38), 0 18px 46px rgba(0,0,0,.22); }
.feature-main { background: linear-gradient(145deg, rgba(229,126,52,.16), rgba(192,69,118,.055)); }
.feature-no { display: inline-grid; min-width: 32px; height: 24px; place-items: center; border: 1px solid rgba(240,161,59,.2); border-radius: 7px; background: rgba(240,161,59,.055); color: #9a8592; font: 800 12px ui-monospace, monospace; letter-spacing: .08em; }
.feature-icon { position: absolute; top: 16px; right: 18px; color: #e88e4c; font-size: 21px; }
.feature-icon.cross-arrow { width: 24px; height: 24px; }
.feature-icon.cross-arrow::before, .feature-icon.cross-arrow::after { position: absolute; inset: 0; display: grid; place-items: center; font-size: 22px; font-weight: 500; }
.feature-icon.cross-arrow::before { content: "↔"; }
.feature-icon.cross-arrow::after { content: "↕"; }
.feature-card h3 { margin: 26px 0 5px; font-size: 17px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.feature-tag { display: inline-flex; margin-top: 10px; padding: 3px 7px; border: 1px solid rgba(240,161,59,.28); border-radius: 99px; color: #f0aa51; font-size: 10px; }
.feature-coming { opacity: .72; }

.showcase-section { padding-block: 105px; border-block: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.008)); }
.showcase-heading { margin-bottom: 48px; }
.showcase-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.showcase-card { padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.027); }
.showcase-wide { grid-column: 1 / -1; }
.showcase-primary { grid-column: span 6; min-height: 470px; }
.showcase-extract { grid-column: auto; }
.showcase-medium { grid-column: 1 / -1; }
.showcase-secondary { grid-column: span 6; }
.showcase-title { display: flex; align-items: center; gap: 13px; margin-bottom: 18px; }
.showcase-title > span { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid rgba(242,157,60,.32); border-radius: 10px; color: var(--orange); font: 700 11px ui-monospace, monospace; }
.showcase-title h3 { margin: 0; font-size: 19px; }
.showcase-title p { margin: 1px 0 0; color: var(--muted); font-size: 12px; }
.showcase-function { display: flex; min-width: 0; min-height: 460px; flex-direction: column; }
.showcase-function .showcase-title { min-height: 50px; }
.showcase-result-pair { flex: 1; }
.showcase-function .result-media { min-height: 0; aspect-ratio: 4 / 5; }
.result-media-dark,
.result-media-dark > img { background: #05080a; }
.result-pair { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 13px; }
.result-pair .result-placeholder { min-height: 260px; }
.result-arrow { color: var(--orange); font-size: 24px; }
.result-pair-vertical { grid-template-columns: 1fr 1fr; }
.result-pair-vertical .result-placeholder { min-height: 300px; }
.result-media {
  position: relative;
  min-width: 0;
  min-height: 300px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 16px;
  background: #151720;
}
.result-media > img,
.result-media > iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  border: 0;
}
.result-media > img { object-fit: cover; }
.result-media-contain > img { object-fit: contain; background: #eee9df; }
.result-media-pixelated > img { image-rendering: pixelated; }
.result-media figcaption {
  position: absolute;
  z-index: 2;
  right: 12px;
  bottom: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px;
  background: rgba(8,9,14,.82);
  backdrop-filter: blur(10px);
  color: #f2eef3;
  font-size: 12px;
  font-weight: 700;
}
.result-media figcaption a { color: #ffb457; text-decoration: none; }
.result-media figcaption a:hover { text-decoration: underline; }
.showcase-primary .result-media { min-height: 330px; }
.showcase-primary.showcase-extract .result-media { min-height: 390px; }
.result-media-pdf { background: #f5efe4; }
.result-media-pdf > iframe { background: #f5efe4; }
.showcase-primary .result-placeholder { min-height: 330px; }
.showcase-primary.showcase-extract .result-placeholder { min-height: 390px; }
.compact-pair .result-placeholder { min-height: 220px; }
.vector-pixels { image-rendering: pixelated; background-size: 14px 14px; }
.vector-lines { background-image: radial-gradient(circle at 40% 42%, transparent 0 34%, rgba(255,255,255,.06) 35% 36%, transparent 37%); }
.result-accent { border-color: rgba(231,113,84,.33); background-color: rgba(225,102,90,.035); }
.seam-grid { background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px); background-size: 50% 50%; }
.expansion-placeholder { display: grid; grid-template: 48px 1fr 48px / 110px 1fr 110px; min-height: 430px; overflow: hidden; border: 1px dashed rgba(255,255,255,.18); border-radius: 16px; background: rgba(255,255,255,.018); }
.expansion-placeholder > div { display: grid; grid-area: 2 / 2; place-content: center; gap: 6px; border: 1px solid rgba(255,255,255,.16); background: rgba(0,0,0,.18); text-align: center; }
.expansion-placeholder small, .extension-label { color: var(--muted); font-size: 11px; }
.extension-label { display: grid; place-items: center; background: repeating-linear-gradient(135deg,rgba(255,255,255,.025) 0 12px, transparent 12px 24px); }
.extension-top { grid-area: 1 / 1 / 2 / 4; }
.extension-bottom { grid-area: 3 / 1 / 4 / 4; }
.extension-left { grid-area: 2 / 1; writing-mode: vertical-rl; }
.extension-right { grid-area: 2 / 3; writing-mode: vertical-rl; }
.showcase-generation { grid-column: 1 / -1; }
.generation-placeholder { display: grid; grid-template-columns: .72fr 1.28fr; gap: 16px; }
.prompt-lines { display: grid; align-content: center; gap: 13px; min-height: 280px; padding: 32px; border: 1px solid var(--line); border-radius: 16px; background: rgba(0,0,0,.16); }
.prompt-lines i { display: block; height: 8px; border-radius: 99px; background: rgba(255,255,255,.1); }
.prompt-lines i:nth-child(2) { width: 78%; }
.prompt-lines i:nth-child(3) { width: 55%; }
.prompt-lines span { margin-top: 15px; color: var(--muted); font-size: 12px; }
.generation-placeholder .result-placeholder { min-height: 280px; }
.workflow-account-tip { padding: 12px 16px; border: 1px solid rgba(240,161,59,.35); border-radius: 12px; background: rgba(240,161,59,.08); color: #ffd18b !important; font-weight: 800; }

.workflow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.workflow-grid article { min-height: 220px; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.025); }
.workflow-grid span { display: block; margin-bottom: 45px; color: var(--orange); font: 800 12px ui-monospace, monospace; }
.workflow-grid h3 { margin: 0 0 9px; }
.workflow-grid p { margin: 0; color: var(--muted); font-size: 14px; }
.cases-section { padding-top: 30px; }
.cases-heading { margin-bottom: 34px; }
.case-gallery { display: grid; gap: 26px; }
.case-card { overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.027); box-shadow: 0 22px 60px rgba(0,0,0,.16); }
.case-card-heading { display: flex; align-items: center; gap: 15px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.case-card-heading span { padding: 5px 9px; border: 1px solid rgba(242,157,60,.3); border-radius: 8px; color: var(--orange); font: 700 10px ui-monospace, monospace; letter-spacing: .08em; }
.case-card-heading h3 { margin: 0; font-size: 18px; }
.case-image-button { display: block; width: 100%; padding: 0; overflow: hidden; border: 0; background: #0c0d13; cursor: zoom-in; }
.case-image-button img { display: block; width: 100%; height: auto; transition: transform .35s ease, filter .35s ease; }
.case-image-button:hover img,
.case-image-button:focus-visible img { transform: scale(1.012); filter: brightness(1.05); }
.case-lightbox { width: min(96vw, 1600px); max-width: none; max-height: 94vh; padding: 52px 14px 14px; overflow: auto; border: 1px solid rgba(255,255,255,.18); border-radius: 20px; background: #0d0e14; box-shadow: 0 30px 120px rgba(0,0,0,.72); }
.case-lightbox::backdrop { background: rgba(2,3,7,.88); backdrop-filter: blur(7px); }
.case-lightbox img { display: block; width: 100%; height: auto; max-height: calc(94vh - 68px); object-fit: contain; }
.case-lightbox-close { position: absolute; top: 9px; right: 12px; display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; background: rgba(255,255,255,.08); color: white; cursor: pointer; font-size: 24px; line-height: 1; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.faq-grid details { padding: 20px 22px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.026); }
.faq-grid summary { cursor: pointer; font-weight: 750; }
.faq-grid p { margin: 13px 0 0; color: var(--muted); font-size: 14px; }
.cta-section { display: flex; align-items: center; justify-content: space-between; gap: 35px; margin-block: 40px 90px; padding: 48px 52px; border-radius: 24px; background: linear-gradient(115deg,#df7a32,#d7556c 55%,#9c58c5); box-shadow: 0 28px 80px rgba(209,82,98,.2); }
.kicker-light { color: white; }
.kicker-light span { background: white; }
.cta-section h2 { margin: 0; font-size: clamp(30px, 4vw, 46px); line-height: 1.1; }
.cta-section p:not(.kicker) { margin: 12px 0 0; color: rgba(255,255,255,.82); }
.site-footer { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 40px; padding-block: 30px 50px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.site-footer div { display: flex; align-items: center; gap: 12px; }
.site-footer strong { color: var(--text); }
.site-footer p { margin: 0; }
.site-footer a { color: #e8a557; }

.auth-dialog {
  width: min(92vw, 500px);
  padding: 0;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 22px;
  background: #17171f;
  color: var(--text);
  box-shadow: 0 36px 100px rgba(0,0,0,.62);
}
.auth-dialog::backdrop { background: rgba(5,5,9,.76); backdrop-filter: blur(5px); }
.auth-dialog-head { display: flex; align-items: start; justify-content: space-between; padding: 25px 26px 16px; }
.auth-dialog-head .kicker { margin-bottom: 6px; }
.auth-dialog-head h2 { margin: 0; font-size: 27px; }
.dialog-close { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,.04); color: var(--text); cursor: pointer; font-size: 22px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 26px 20px; padding: 5px; border: 1px solid var(--line); border-radius: 12px; background: rgba(0,0,0,.18); }
.auth-tab { min-height: 40px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer; font-weight: 750; }
.auth-tab.selected { color: white; background: rgba(255,255,255,.09); }
.auth-form { display: grid; gap: 15px; padding: 0 26px 26px; }
.auth-form[hidden] { display: none; }
.auth-form label { display: grid; gap: 6px; color: #d5d1d7; font-size: 13px; font-weight: 700; }
.auth-form input { width: 100%; min-height: 47px; padding: 0 13px; border: 1px solid var(--line); border-radius: 10px; outline: 0; background: #0f0f15; color: white; }
.auth-form input:focus { border-color: rgba(239,145,64,.72); box-shadow: 0 0 0 3px rgba(239,145,64,.1); }
.auth-form .remember-login { display: flex; align-items: center; gap: 9px; color: #bdb7c1; font-weight: 600; cursor: pointer; }
.auth-form .remember-login input { width: 17px; height: 17px; min-height: 0; padding: 0; accent-color: var(--orange); }
.auth-submit { width: 100%; margin-top: 4px; }
.auth-submit:disabled { cursor: not-allowed; opacity: .58; transform: none; }
.field-note { margin-top: -8px; color: var(--muted); }
.input-purpose { color: #9e98a3; font-size: 11px; font-weight: 500; line-height: 1.45; }
.registration-bonus { margin: -3px 0 0; padding: 9px 11px; border: 1px solid rgba(105,199,149,.22); border-radius: 9px; background: rgba(105,199,149,.07); color: #92dcb3; font-size: 12px; }
.auth-message { min-height: 22px; margin: -14px 26px 22px; color: #ff958d; font-size: 13px; }
.auth-message.success { color: #8cdbb0; }

@media (max-width: 1120px) {
  .site-nav { grid-template-columns: auto 1fr auto; }
  .home-nav { display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px; border: 1px solid var(--line); border-radius: 15px; background: #15151d; }
  .home-nav.open { display: flex; }
  .home-nav a { padding: 11px 10px; }
  .mobile-auth-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
  .mobile-nav-toggle { display: grid; justify-self: end; gap: 4px; width: 40px; height: 40px; place-content: center; border: 1px solid var(--line); border-radius: 10px; background: transparent; }
  .mobile-nav-toggle span { display: block; width: 18px; height: 2px; background: white; }
  .nav-actions { display: none; }
  .hero-section { grid-template-columns: 1fr; gap: 70px; padding-top: 75px; }
  .hero-copy { text-align: center; }
  .hero-copy .kicker, .hero-actions { justify-content: center; }
  .hero-description { margin-inline: auto; }
  .bonus-callout { justify-content: center; }
  .hero-metrics { justify-content: center; }
  .hero-visual { width: min(100%, 880px); margin-inline: auto; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .section-heading { align-items: start; flex-direction: column; gap: 15px; }
  .site-footer { grid-template-columns: 1fr auto; }
  .site-footer p { grid-column: 1 / -1; grid-row: 2; }
}

@media (max-width: 680px) {
  .section-shell, .site-nav { width: min(calc(100% - 24px), var(--max)); }
  .site-nav { top: 8px; margin-top: 8px; min-height: 62px; padding-left: 12px; }
  .brand-copy { font-size: 12px; }
  .brand-mark { width: 34px; height: 34px; }
  .hero-section { min-height: 0; padding-block: 70px; }
  .hero-copy h1 { font-size: clamp(43px, 14vw, 60px); }
  .hero-description { font-size: 15px; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .hero-metrics { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; }
  .hero-metrics div { min-width: 0; margin-right: 10px; padding-right: 10px; }
  .hero-metrics strong { font-size: 18px; }
  .hero-carousel-viewport { min-height: 620px; }
  .hero-compare { grid-template-columns: 1fr; min-height: 620px; }
  .carousel-prev { left: 8px; }
  .carousel-next { right: 8px; }
  .compare-divider { transform: translate(-50%,-50%) rotate(90deg); }
  .visual-window { transform: none; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .feature-card { min-height: 176px; padding: 16px; }
  .feature-card h3 { margin-top: 24px; font-size: 15px; }
  .feature-card p { font-size: 11px; }
  .feature-icon { top: 14px; right: 14px; }
  .showcase-grid { grid-template-columns: 1fr; }
  .showcase-wide, .showcase-generation, .showcase-primary, .showcase-medium, .showcase-secondary, .showcase-extract, .showcase-function { grid-column: auto; }
  .result-pair, .result-pair-vertical, .generation-placeholder { grid-template-columns: 1fr; }
  .showcase-function { min-height: 0; }
  .showcase-function .result-media { aspect-ratio: 4 / 3; }
  .result-arrow { transform: rotate(90deg); text-align: center; }
  .result-pair .result-placeholder, .result-pair-vertical .result-placeholder { min-height: 230px; }
  .expansion-placeholder { grid-template: 42px 1fr 42px / 72px 1fr 72px; min-height: 360px; }
  .workflow-grid, .faq-grid { grid-template-columns: 1fr; }
  .features-section, .workflow-section, .cases-section, .faq-section, .showcase-section, .recent-tasks-section { padding-block: 75px; }
  .recent-task-card { height: auto; grid-template-columns: 1fr; grid-template-rows: auto auto; }
  .recent-task-media { min-height: 430px; }
  .recent-task-figure { min-height: 430px; }
  .recent-task-info { padding: 32px 36px 68px; border-top: 1px solid rgba(255,255,255,.1); border-left: 0; }
  .cases-section { padding-top: 15px; }
  .case-gallery { gap: 18px; }
  .case-card-heading { align-items: flex-start; flex-direction: column; gap: 8px; padding: 14px 16px; }
  .case-card-heading h3 { font-size: 15px; }
  .cta-section { align-items: stretch; flex-direction: column; padding: 34px 26px; }
  .site-footer { grid-template-columns: 1fr; gap: 14px; }
  .site-footer p { grid-column: auto; grid-row: auto; }
}

@media (max-width: 520px) {
  .recent-tasks-heading > p { font-size: 14px; }
  .recent-task-card { min-height: 0; }
  .recent-task-media { min-height: 0; height: auto; grid-template-columns: 1fr; grid-template-rows: none; overflow: visible; }
  .recent-task-figure { min-height: 320px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .recent-task-figure:last-child { border-bottom: 0; }
  .recent-task-info { padding: 28px 24px 64px; }
  .recent-task-info h3 { font-size: 26px; }
  .recent-task-control { top: 300px; width: 38px; height: 38px; }
  .recent-task-prev { left: 9px; }
  .recent-task-next { right: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-compare.carousel-layer { transition-duration: .01ms; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
