:root {
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --blue: #0071e3;
  --cyan: #34c8ff;
  --violet: #8e5cff;
  --glass: rgba(255, 255, 255, 0.58);
  --glass-strong: rgba(255, 255, 255, 0.76);
  --glass-line: rgba(255, 255, 255, 0.7);
  --soft: #f5f5f7;
  --surface: #ffffff;
  --danger: #d8432e;
  --shadow: 0 26px 80px rgba(31, 42, 68, 0.14);
  --inner-light: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1100px 620px at 15% -10%, rgba(117, 188, 255, 0.45), transparent 62%),
    radial-gradient(900px 680px at 92% 8%, rgba(190, 174, 255, 0.5), transparent 58%),
    radial-gradient(760px 620px at 58% 38%, rgba(255, 255, 255, 0.86), transparent 70%),
    linear-gradient(180deg, #f8fbff 0%, #f5f5f7 44%, #eef3f8 100%);
  background-attachment: fixed;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(118deg, rgba(255, 255, 255, 0.8), transparent 34%),
    linear-gradient(292deg, rgba(52, 200, 255, 0.12), transparent 44%),
    linear-gradient(23deg, rgba(142, 92, 255, 0.12), transparent 52%);
  content: "";
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.2), transparent 72%);
  content: "";
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: wait;
  opacity: 0.72;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 64px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.42);
  box-shadow: 0 12px 40px rgba(31, 42, 68, 0.08);
  backdrop-filter: blur(28px) saturate(180%);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: 118px;
  height: 48px;
  display: block;
  object-fit: contain;
  opacity: 0.96;
  filter: saturate(1.05);
}

.site-nav nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: rgba(29, 29, 31, 0.72);
  font-size: 13px;
  font-weight: 650;
}

.site-nav nav a:hover {
  color: var(--blue);
}

.site-nav nav a[aria-current="page"] {
  color: var(--blue);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.account-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  max-width: 230px;
  padding: 0 10px 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.38)),
    rgba(255, 255, 255, 0.44);
  box-shadow:
    var(--inner-light),
    0 12px 32px rgba(31, 42, 68, 0.09);
  backdrop-filter: blur(20px) saturate(180%);
}

.account-chip span {
  min-width: 0;
  overflow: hidden;
  color: rgba(29, 29, 31, 0.8);
  font-size: 13px;
  font-weight: 760;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-chip strong {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 4px 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  font-size: 11px;
  font-weight: 820;
}

.icon-button {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.42);
  box-shadow:
    var(--inner-light),
    0 12px 32px rgba(31, 42, 68, 0.1);
  backdrop-filter: blur(20px) saturate(180%);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.85fr);
  gap: 46px;
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  min-height: calc(100vh - 64px);
  margin: 0 auto;
  padding: 72px 0 80px;
}

.hero-copy {
  text-align: left;
}

.hero-logo {
  width: min(360px, 62vw);
  height: auto;
  display: block;
  margin: 0 0 18px -14px;
  filter: saturate(1.05) drop-shadow(0 18px 34px rgba(60, 118, 210, 0.18));
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(40px, 4.9vw, 64px);
  line-height: 1.03;
  letter-spacing: 0;
  font-weight: 820;
  background: linear-gradient(120deg, #111114 0%, #33384b 42%, #0071e3 72%, #8e5cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  max-width: 660px;
  margin-top: 26px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.42;
  font-weight: 520;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.primary-link,
.secondary-link,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 8px;
  padding: 0 18px;
  font-size: 15px;
  font-weight: 760;
}

.primary-link,
.primary-button {
  border: 0;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), transparent 42%),
    linear-gradient(135deg, var(--blue), #0066ff 48%, var(--violet));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 18px 42px rgba(0, 113, 227, 0.3);
}

.secondary-link,
.secondary-button {
  border: 1px solid rgba(255, 255, 255, 0.74);
  color: var(--blue);
  background: rgba(255, 255, 255, 0.38);
  box-shadow:
    var(--inner-light),
    0 16px 34px rgba(31, 42, 68, 0.08);
  backdrop-filter: blur(18px) saturate(170%);
}

.danger-button {
  color: #b42318;
}

.button-row,
.admin-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.hero-device {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--glass-line);
  border-radius: 8px;
  padding: 20px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.42)),
    rgba(255, 255, 255, 0.46);
  box-shadow:
    var(--inner-light),
    var(--shadow);
  backdrop-filter: blur(34px) saturate(180%);
}

.hero-device::before,
.simple-form::before,
.output-panel::before,
.profit-card::before,
.workflow-grid a::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.92), transparent 38%),
    linear-gradient(300deg, rgba(52, 200, 255, 0.1), transparent 48%);
  content: "";
}

.device-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.device-top span,
.work-copy span,
.output-panel > div span,
.profit-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.device-top strong {
  color: var(--blue);
  font-size: 13px;
}

.flow-preview {
  display: grid;
  gap: 12px;
}

.flow-preview div {
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.46);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 10px 26px rgba(31, 42, 68, 0.06);
  backdrop-filter: blur(16px) saturate(160%);
}

.flow-preview span,
.workflow-grid span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.flow-preview strong,
.workflow-grid strong {
  display: block;
  font-size: 23px;
  line-height: 1.1;
}

.flow-preview p,
.workflow-grid p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.workflow-band,
.work-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 18px;
}

.workflow-band {
  padding: 72px 0 30px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.section-heading h2,
.work-copy h2 {
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.04;
  letter-spacing: 0;
  font-weight: 820;
}

.section-heading p,
.work-copy p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.45;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.workflow-grid a {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  border-radius: 8px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.44);
  box-shadow:
    var(--inner-light),
    0 18px 44px rgba(31, 42, 68, 0.08);
  backdrop-filter: blur(24px) saturate(170%);
}

.workflow-grid a:hover {
  transform: translateY(-2px);
  box-shadow:
    var(--inner-light),
    0 26px 60px rgba(0, 113, 227, 0.14);
}

.work-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(520px, 1fr);
  gap: 28px;
  align-items: start;
  padding: 72px 0;
}

.page-section {
  min-height: calc(100vh - 64px);
  padding-top: 96px;
}

.work-copy h1 {
  font-size: clamp(42px, 5vw, 72px);
  line-height: 0.98;
  letter-spacing: 0;
  font-weight: 820;
  background: linear-gradient(120deg, #111114 0%, #33384b 42%, #0071e3 76%, #8e5cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.work-section.alt {
  border-top: 1px solid rgba(255, 255, 255, 0.66);
}

.work-copy {
  position: sticky;
  top: 88px;
  padding-top: 12px;
}

.work-copy span {
  display: block;
  margin-bottom: 12px;
  color: var(--blue);
}

.work-panel {
  display: grid;
  gap: 14px;
  border-radius: 8px;
}

.work-panel.compact {
  grid-template-columns: 1fr;
}

.simple-form,
.output-panel,
.profit-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 8px;
  padding: 20px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.44)),
    rgba(255, 255, 255, 0.44);
  box-shadow:
    var(--inner-light),
    0 20px 52px rgba(31, 42, 68, 0.1);
  backdrop-filter: blur(26px) saturate(180%);
}

.simple-form {
  display: grid;
  gap: 14px;
}

.two-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

label {
  display: grid;
  gap: 7px;
  color: #303033;
  font-size: 13px;
  font-weight: 760;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.48);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.8),
    inset 0 -1px 0 rgba(31, 42, 68, 0.04);
  outline: none;
  font-size: 14px;
  font-weight: 620;
  backdrop-filter: blur(14px) saturate(160%);
}

input,
select {
  height: 42px;
  padding: 0 12px;
}

textarea {
  padding: 12px;
  line-height: 1.48;
  resize: vertical;
  overflow-wrap: anywhere;
  word-break: break-word;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(0, 113, 227, 0.5);
  background: rgba(255, 255, 255, 0.7);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.9),
    0 0 0 4px rgba(0, 113, 227, 0.13);
}

.button-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.output-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.output-heading strong {
  color: var(--blue);
}

.content-output-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.content-output-tab {
  min-height: 74px;
  display: grid;
  gap: 4px;
  justify-items: start;
  border: 1px solid rgba(215, 224, 238, 0.72);
  border-radius: 8px;
  padding: 14px 16px;
  color: rgba(29, 29, 31, 0.72);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.44)),
    rgba(255, 255, 255, 0.44);
  box-shadow: var(--inner-light);
  cursor: pointer;
  backdrop-filter: blur(20px) saturate(170%);
}

.content-output-tab span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 780;
}

.content-output-tab strong {
  font-size: 17px;
  line-height: 1.2;
}

.content-output-tab.active {
  border-color: rgba(0, 113, 227, 0.32);
  color: var(--blue);
  background:
    linear-gradient(145deg, rgba(238, 247, 255, 0.9), rgba(255, 255, 255, 0.58)),
    rgba(255, 255, 255, 0.54);
  box-shadow:
    var(--inner-light),
    0 14px 34px rgba(0, 113, 227, 0.12);
}

.content-output-stage {
  display: grid;
}

.content-output-card {
  display: none;
  min-width: 0;
  padding: 18px;
}

.content-output-card.active {
  display: block;
}

.content-output-card .output-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  margin-bottom: 12px;
}

.mini-copy-button {
  justify-self: end;
  border: 1px solid rgba(215, 224, 238, 0.78);
  border-radius: 999px;
  padding: 7px 12px;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  font-weight: 780;
  cursor: pointer;
}

.result-view {
  display: block;
  min-height: 340px;
  max-height: 760px;
  overflow: auto;
  border: 1px solid rgba(215, 224, 238, 0.82);
  border-radius: 8px;
  padding: 0;
  color: #202124;
  background: rgba(255, 255, 255, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 10px 34px rgba(31, 42, 68, 0.06);
  font-size: 15px;
  line-height: 1.72;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
  text-align: left;
}

.result-view > *,
.report-body > * {
  max-width: 100%;
}

.report-document {
  min-width: 0;
}

.storyboard-board {
  min-width: 0;
  background:
    radial-gradient(circle at 18% 0%, rgba(102, 162, 255, 0.13), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(245, 250, 255, 0.72));
}

.storyboard-delivery-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(215, 224, 238, 0.88);
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(20px) saturate(160%);
}

.storyboard-delivery-header div {
  display: grid;
  gap: 3px;
}

.storyboard-delivery-header span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.storyboard-delivery-header strong {
  color: #1d1d1f;
  font-size: 22px;
  font-weight: 920;
}

.storyboard-delivery-header p {
  max-width: 280px;
  margin: 0;
  color: rgba(29, 29, 31, 0.54);
  font-size: 13px;
  font-weight: 760;
  text-align: right;
}

.storyboard-image-slot {
  padding: 22px;
  border-bottom: 1px solid rgba(215, 224, 238, 0.82);
}

.storyboard-image-card {
  display: grid;
  gap: 14px;
  margin: 0;
}

.storyboard-image-toolbar {
  width: min(100%, 860px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 auto;
  padding: 10px 12px;
  border: 1px solid rgba(188, 213, 255, 0.78);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.storyboard-image-toolbar div {
  display: grid;
  gap: 2px;
}

.storyboard-image-toolbar span {
  color: rgba(29, 29, 31, 0.42);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.storyboard-image-toolbar strong {
  color: #1d1d1f;
  font-size: 15px;
  font-weight: 900;
}

.storyboard-image-card img {
  width: min(100%, 860px);
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  border: 1px solid rgba(188, 213, 255, 0.88);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow:
    0 28px 80px rgba(31, 42, 68, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.storyboard-image-card figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: min(100%, 860px);
  margin: 0 auto;
  color: rgba(29, 29, 31, 0.62);
  font-size: 13px;
  font-weight: 760;
}

.storyboard-image-card figcaption strong {
  color: var(--blue);
  font-weight: 900;
}

.storyboard-image-loading,
.storyboard-image-error {
  min-height: 360px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 24px;
  border: 1px solid rgba(215, 224, 238, 0.86);
  border-radius: 8px;
  color: rgba(29, 29, 31, 0.64);
  background: rgba(255, 255, 255, 0.62);
  text-align: center;
}

.storyboard-image-loading.compact {
  min-height: 220px;
}

.storyboard-image-loading span {
  width: 24px;
  height: 24px;
  border: 3px solid rgba(0, 113, 227, 0.18);
  border-top-color: var(--blue);
  border-radius: 999px;
  animation: spin 0.9s linear infinite;
}

.storyboard-image-loading strong,
.storyboard-image-error strong {
  color: #1d1d1f;
  font-size: 15px;
  font-weight: 900;
}

.storyboard-image-loading p,
.storyboard-image-error p {
  max-width: 560px;
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
}

.storyboard-image-error {
  border-color: rgba(255, 80, 80, 0.34);
  color: rgba(181, 38, 38, 0.82);
  background: rgba(255, 246, 246, 0.72);
}

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

.storyboard-frames {
  display: grid;
  gap: 12px;
  padding: 14px 18px 18px;
}

.storyboard-details {
  border-top: 1px solid rgba(255, 255, 255, 0.72);
}

.storyboard-details summary {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 14px 20px;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.84);
  border-bottom: 1px solid rgba(215, 224, 238, 0.8);
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
  backdrop-filter: blur(18px) saturate(160%);
}

.storyboard-frame {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  padding: 10px;
  border: 1px solid rgba(215, 224, 238, 0.78);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.66);
}

.frame-visual {
  aspect-ratio: 9 / 16;
  display: grid;
  align-content: space-between;
  gap: 8px;
  padding: 12px 10px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent 36%),
    radial-gradient(circle at 22% 20%, rgba(255, 255, 255, 0.72), transparent 28%),
    linear-gradient(145deg, #0a64d8, #7a5cff 52%, #9bdcff);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 12px 28px rgba(0, 113, 227, 0.22);
}

.frame-visual span {
  width: 34px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #0a64d8;
  background: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 860;
}

.frame-visual strong {
  font-size: 15px;
  line-height: 1.2;
}

.frame-visual p {
  font-size: 11px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.86);
}

.frame-copy {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 8px;
}

.frame-copy b {
  color: var(--blue);
  font-size: 13px;
}

.frame-copy p {
  color: rgba(29, 29, 31, 0.76);
  font-size: 13px;
  line-height: 1.55;
}

.storyboard-text {
  border-top: 1px solid rgba(215, 224, 238, 0.82);
}

.storyboard-empty {
  min-height: 320px;
  display: grid;
  place-items: center;
  padding: 20px;
  color: var(--muted);
  font-weight: 760;
  text-align: center;
}

.report-header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(215, 224, 238, 0.86);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px) saturate(160%);
}

.report-header span {
  color: #1d1d1f;
  font-size: 13px;
  font-weight: 860;
  letter-spacing: 0;
}

.report-header time {
  color: rgba(29, 29, 31, 0.56);
  font-size: 12px;
  font-weight: 720;
}

.report-body {
  padding: 18px;
}

.result-view h2 {
  margin: 22px 0 12px;
  padding: 11px 12px;
  border: 1px solid rgba(215, 224, 238, 0.78);
  border-radius: 8px;
  color: #111827;
  background: rgba(245, 248, 252, 0.78);
  font-size: 18px;
  line-height: 1.35;
  font-weight: 860;
}

.result-view h2:first-child {
  margin-top: 0;
}

.result-view h3 {
  margin: 18px 0 8px;
  color: var(--blue);
  font-size: 15px;
  line-height: 1.45;
  font-weight: 840;
}

.result-view p {
  margin: 9px 0;
}

.result-view ul {
  display: grid;
  gap: 8px;
  margin: 10px 0 16px;
  padding-left: 0;
  list-style: none;
}

.result-view li {
  position: relative;
  padding: 9px 11px 9px 28px;
  border: 1px solid rgba(215, 224, 238, 0.66);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
}

.result-view li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 18px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--blue);
}

.profit-card {
  display: grid;
  gap: 8px;
}

.profit-card strong {
  color: var(--blue);
  font-size: 48px;
  line-height: 1;
}

.profit-card strong.risk {
  color: var(--danger);
}

.profit-card p {
  color: var(--muted);
  font-size: 14px;
}

.module-notes {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.module-notes div,
.module-guide article {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.28)),
    rgba(255, 255, 255, 0.34);
  box-shadow:
    var(--inner-light),
    0 16px 42px rgba(31, 42, 68, 0.08);
  backdrop-filter: blur(22px) saturate(170%);
}

.module-notes div {
  padding: 16px;
}

.module-notes strong,
.module-guide span {
  display: block;
  color: var(--blue);
  font-size: 12px;
  font-weight: 820;
  margin-bottom: 7px;
}

.module-notes p,
.module-guide p {
  margin: 0;
  color: rgba(29, 29, 31, 0.72);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 560;
}

.module-guide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.module-guide article {
  min-height: 118px;
  padding: 15px;
}

.billing-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 96px 0 72px;
}

.billing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.billing-grid.single {
  grid-template-columns: minmax(360px, 720px);
  justify-content: center;
}

.billing-card {
  display: grid;
  gap: 18px;
  align-content: start;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 8px;
  padding: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.42)),
    rgba(255, 255, 255, 0.5);
  box-shadow:
    var(--inner-light),
    0 22px 54px rgba(31, 42, 68, 0.1);
  backdrop-filter: blur(26px) saturate(180%);
}

.billing-card.featured {
  border-color: rgba(0, 113, 227, 0.28);
}

.billing-card h2 {
  font-size: 30px;
  line-height: 1.1;
}

.billing-price {
  display: flex;
  align-items: end;
  gap: 8px;
}

.billing-price strong {
  font-size: 56px;
  line-height: 0.95;
  letter-spacing: 0;
  background: linear-gradient(115deg, #111827 0%, #006ee6 48%, #7a5cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.billing-price span {
  padding-bottom: 7px;
  color: var(--muted);
  font-weight: 760;
}

.admin-price strong {
  font-size: 48px;
}

.billing-card p {
  color: var(--muted);
  line-height: 1.55;
}

.plan-limits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.plan-limits span {
  min-height: 44px;
  display: grid;
  place-items: center;
  padding: 10px 8px;
  border: 1px solid rgba(0, 113, 227, 0.16);
  border-radius: 8px;
  background: rgba(240, 247, 255, 0.58);
  color: #0a64d8;
  font-size: 14px;
  font-weight: 760;
  text-align: center;
}

.billing-card ul {
  display: grid;
  gap: 9px;
  padding: 0;
  list-style: none;
}

.billing-card li {
  padding: 10px 12px;
  border: 1px solid rgba(215, 224, 238, 0.62);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.48);
  color: rgba(29, 29, 31, 0.76);
  font-size: 14px;
  font-weight: 650;
}

.account-status {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(0, 113, 227, 0.22);
  border-radius: 8px;
  background: rgba(235, 245, 255, 0.68);
}

.account-status span {
  color: var(--blue);
  font-weight: 820;
}

.account-status strong {
  color: #1d1d1f;
  font-weight: 820;
}

.admin-grant {
  display: grid;
  gap: 12px;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(215, 224, 238, 0.72);
}

.admin-grant h3 {
  font-size: 18px;
}

.admin-grant p {
  font-size: 13px;
}

.form-message {
  min-height: 42px;
  display: none;
  align-items: center;
  border: 1px solid rgba(215, 224, 238, 0.72);
  border-radius: 8px;
  padding: 10px 12px;
  color: rgba(29, 29, 31, 0.72);
  background: rgba(255, 255, 255, 0.54);
  font-size: 13px;
  font-weight: 720;
}

.form-message:not(:empty) {
  display: flex;
}

.form-message[data-tone="success"] {
  border-color: rgba(20, 184, 120, 0.34);
  color: #087a4f;
  background: rgba(228, 255, 244, 0.62);
}

.form-message[data-tone="error"] {
  border-color: rgba(239, 68, 68, 0.34);
  color: #b42318;
  background: rgba(255, 241, 241, 0.7);
}

.wide-button {
  width: 100%;
  justify-content: center;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(18, 26, 44, 0.34);
  backdrop-filter: blur(18px) saturate(160%);
}

.modal-backdrop.show {
  display: grid;
}

.payment-modal {
  position: relative;
  width: min(460px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  padding: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(236, 247, 255, 0.7)),
    rgba(255, 255, 255, 0.76);
  box-shadow:
    var(--inner-light),
    0 34px 90px rgba(22, 34, 57, 0.24);
}

.payment-modal > span {
  color: var(--blue);
  font-weight: 820;
}

.payment-modal h2 {
  margin-top: 10px;
  font-size: 30px;
}

.payment-modal p {
  margin-top: 8px;
  color: var(--muted);
  font-weight: 650;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(215, 224, 238, 0.8);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  color: #1d1d1f;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.payment-options {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.payment-option {
  display: grid;
  gap: 5px;
  width: 100%;
  border: 1px solid rgba(215, 224, 238, 0.82);
  border-radius: 8px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.64);
  color: #1d1d1f;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(31, 42, 68, 0.07);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.payment-option:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 113, 227, 0.34);
  box-shadow: 0 18px 42px rgba(31, 42, 68, 0.1);
}

.payment-option:disabled {
  cursor: wait;
  opacity: 0.78;
  transform: none;
}

.payment-option.primary {
  border-color: rgba(0, 113, 227, 0.26);
  background: linear-gradient(135deg, rgba(0, 113, 227, 0.12), rgba(122, 92, 255, 0.12));
}

.payment-option strong {
  font-size: 18px;
}

.payment-option small {
  color: var(--muted);
  font-weight: 680;
}

.content-guide article:nth-child(2) span {
  color: #8e5cff;
}

.content-guide article:nth-child(3) span {
  color: #0aa8d8;
}

.table-wrap {
  overflow-x: auto;
  margin: 10px 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.56);
}

table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}

th,
td {
  padding: 10px 11px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: #303033;
  background: rgba(245, 245, 247, 0.8);
  font-weight: 820;
}

.copy-buffer {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.loading-text {
  color: var(--muted);
  font-weight: 760;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  max-width: min(420px, calc(100% - 36px));
  padding: 12px 14px;
  border-radius: 8px;
  color: #fff;
  background: #1d1d1f;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-nav nav {
    display: none;
  }

  .account-chip {
    max-width: 190px;
  }

  .hero,
  .work-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .work-copy {
    position: static;
  }

  .workflow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .module-guide {
    grid-template-columns: 1fr;
  }

  .content-output-tabs {
    grid-template-columns: 1fr;
  }

  .billing-grid,
  .button-row,
  .admin-action-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-nav {
    padding: 0 14px;
  }

  .brand img {
    width: 92px;
    height: 38px;
  }

  .account-chip {
    max-width: 150px;
    padding-left: 10px;
  }

  .account-chip strong {
    display: none;
  }

  .hero,
  .workflow-band,
  .work-section {
    width: min(100% - 24px, 1180px);
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-logo {
    width: min(250px, 74vw);
    margin-left: -8px;
  }

  .workflow-grid,
  .two-fields {
    grid-template-columns: 1fr;
  }

  .simple-form,
  .output-panel,
  .profit-card,
  .hero-device,
  .workflow-grid a,
  .module-guide article,
  .module-notes div {
    padding: 16px;
  }
}
