/* Business pages use the same theme tokens and typography as the rest of the site. */
.enterprise-page {
  --enterprise-ink: var(--ink);
  --enterprise-muted: var(--muted);
  --enterprise-line: var(--line);
  --enterprise-accent: var(--accent);
  background:
    radial-gradient(ellipse at 78% 11%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 35rem),
    linear-gradient(180deg, var(--page) 0%, var(--page-2) 54%, var(--page) 100%);
  color: var(--enterprise-ink);
}

.enterprise-main { overflow: clip; }
.enterprise-hero { padding: clamp(4.25rem, 8vw, 8rem) 0 clamp(3.5rem, 7vw, 6.5rem); }
.enterprise-hero-grid {
  display: grid;
  grid-template-columns: minmax(17rem, .84fr) minmax(28rem, 1.16fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7.5rem);
}
.enterprise-hero-copy { max-width: 36rem; position: relative; z-index: 1; }
.enterprise-page .eyebrow {
  color: var(--accent);
  font-size: .73rem;
  font-weight: 680;
  letter-spacing: .14em;
  line-height: 1.4;
  text-transform: uppercase;
}
.enterprise-hero h1 {
  max-width: 15ch;
  margin: .95rem 0 1.3rem;
  font-size: clamp(2.75rem, 4.7vw, 4.35rem);
  font-weight: 620;
  letter-spacing: -.05em;
  line-height: 1.02;
}
.enterprise-lead {
  max-width: 34rem;
  color: var(--enterprise-muted);
  font-size: clamp(1.08rem, 1.45vw, 1.28rem);
  line-height: 1.65;
}
.enterprise-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.enterprise-actions .button { min-height: 2.85rem; }
.enterprise-actions .button.primary { background: var(--enterprise-accent); border-color: var(--enterprise-accent); }
.enterprise-visual {
  position: relative;
  margin: 0;
  padding: clamp(.9rem, 2.2vw, 1.5rem);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--surface), var(--page-2));
  box-shadow: var(--shadow);
  transform: rotateY(-3deg) rotateX(1deg);
}
.enterprise-visual::before {
  position: absolute;
  z-index: -1;
  inset: 12% -8% -10% 12%;
  border-radius: 50%;
  background: radial-gradient(ellipse, color-mix(in srgb, var(--accent) 18%, transparent), transparent 70%);
  content: "";
  filter: blur(28px);
}
.enterprise-window {
  overflow: hidden;
  border: 1px solid rgb(25 34 44 / 9%);
  border-radius: 1.05rem;
  background: #151b22;
  box-shadow: 0 16px 42px rgb(15 22 30 / 20%);
  color: #eef2f6;
}
.enterprise-window-bar {
  display: flex;
  align-items: center;
  gap: .8rem;
  min-height: 2.75rem;
  padding: 0 1rem;
  border-bottom: 1px solid rgb(255 255 255 / 8%);
  background: #1b222b;
  color: #b7c0ca;
  font-size: .75rem;
}
.enterprise-window-bar > span:last-child { margin-left: auto; color: #778491; }
.window-dots { display: flex; gap: .35rem; }
.window-dots i { width: .48rem; height: .48rem; border-radius: 50%; background: #67727e; }
.window-dots i:first-child { background: #cb786b; }
.window-dots i:nth-child(2) { background: #c6a86c; }
.window-dots i:last-child { background: #6eaa83; }
.enterprise-editor { padding: 1.2rem 1.35rem .95rem; color: #d8e0e8; font: 500 .88rem/1.8 ui-monospace, SFMono-Regular, Menlo, monospace; }
.enterprise-editor p { display: flex; gap: 1rem; margin: 0; white-space: nowrap; }
.enterprise-editor code { color: #e0e8f0; }
.enterprise-editor p:first-child code { padding: 0 .2rem; border-radius: .25rem; background: rgb(80 142 210 / 23%); box-shadow: 0 0 0 1px rgb(116 176 240 / 30%); }
.line-number { color: #73808d; user-select: none; }
.enterprise-assistant {
  margin: 0 .85rem .9rem;
  padding: 1rem 1.05rem;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: .85rem;
  background: linear-gradient(155deg, #252e39, #1c232c);
  box-shadow: 0 10px 28px rgb(0 0 0 / 22%);
}
.enterprise-brand { display: inline-flex; align-items: center; gap: .48rem; color: #f2f5f8; font-size: .78rem; font-weight: 650; }
.enterprise-brand img { image-rendering: pixelated; }
.enterprise-action { float: right; color: #9fb3c6; font-size: .73rem; }
.enterprise-assistant > p { margin: .85rem 0 .95rem; color: #c5ced8; font-size: .84rem; line-height: 1.55; }
.enterprise-diff { display: grid; gap: .35rem; padding-top: .75rem; border-top: 1px solid rgb(255 255 255 / 9%); font: 500 .76rem/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; }
.diff-label { margin-bottom: .15rem; color: #8e9ba8; font: 650 .65rem/1.4 system-ui, sans-serif; letter-spacing: .1em; }
.diff-before { color: #e4a49e; }
.diff-after { color: #a6d1ae; }
.enterprise-visual figcaption { display: flex; justify-content: space-between; gap: 1rem; padding: .9rem .25rem .1rem; color: var(--muted); font-size: .72rem; line-height: 1.5; }
.enterprise-visual figcaption span:first-child { flex: 0 0 auto; font-weight: 650; color: var(--ink); }
.enterprise-body { padding-bottom: clamp(4.5rem, 9vw, 8rem); }
.enterprise-section { display: grid; grid-template-columns: minmax(13rem, .75fr) minmax(0, 1.25fr); gap: var(--space-section) var(--space-column); padding: var(--space-section) 0; border-top: 1px solid var(--enterprise-line); }
.enterprise-section-head { max-width: 25rem; }
.enterprise-section-head h2, .enterprise-notice h2, .enterprise-related h2 { margin: .65rem 0 1rem; font-size: clamp(2rem, 3.4vw, 3.2rem); font-weight: 600; letter-spacing: -.05em; line-height: 1.06; }
.enterprise-section-head > p:last-child { color: var(--enterprise-muted); line-height: 1.7; }
.enterprise-rows { border-top: 1px solid var(--enterprise-line); }
.enterprise-row { display: grid; grid-template-columns: 2.7rem 1fr; gap: 1rem; padding: 1.45rem 0; border-bottom: 1px solid var(--enterprise-line); }
.enterprise-row-mark, .enterprise-step > span { color: #768a9c; font: 600 .76rem/1.5 ui-monospace, monospace; }
.enterprise-row h3, .enterprise-step h3 { margin: 0 0 .45rem; font-size: 1.16rem; font-weight: 620; letter-spacing: -.025em; }
.enterprise-row p, .enterprise-step p { max-width: 44rem; margin: 0; color: var(--enterprise-muted); line-height: 1.68; }
.enterprise-steps-section { grid-template-columns: 1fr; gap: 2rem; }
.enterprise-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.enterprise-step { min-height: 14rem; padding: 1.45rem 1.45rem 1.6rem; border: 1px solid var(--enterprise-line); border-radius: 1rem; background: var(--surface); }
.enterprise-step h3 { margin-top: 2.1rem; }
.enterprise-notice { display: flex; align-items: center; justify-content: space-between; gap: 2.5rem; margin: 1.5rem 0; padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--page-2); color: var(--ink); box-shadow: var(--shadow); }
.enterprise-notice .eyebrow { color: var(--accent); }
.enterprise-notice > div { max-width: 52rem; }
.enterprise-notice h2 { max-width: 18ch; }
.enterprise-notice p:not(.eyebrow) { max-width: 55rem; margin: 0; color: var(--muted); line-height: 1.7; }
.enterprise-notice > a { flex: 0 0 auto; color: var(--accent); font-weight: 620; text-underline-offset: .25em; }
.enterprise-notice > a:hover { color: var(--accent-h); }
.enterprise-related { padding: clamp(4rem, 8vw, 7rem) 0 0; }
.enterprise-related-head { max-width: 35rem; margin-bottom: 2rem; }
.enterprise-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.enterprise-related-link { position: relative; display: flex; flex-direction: column; min-height: 9.5rem; padding: 1.3rem 2rem 1.2rem 1.3rem; border: 1px solid var(--enterprise-line); border-radius: var(--radius-md); background: var(--surface); color: inherit; text-decoration: none; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.enterprise-related-link:hover { transform: translateY(-3px); border-color: var(--accent); background: var(--page-2); }
.enterprise-related-link > span:first-child { margin-bottom: .6rem; font-weight: 650; }
.enterprise-related-link > span:nth-child(2) { color: var(--enterprise-muted); font-size: .9rem; line-height: 1.55; }
.enterprise-related-link i { position: absolute; top: 1.25rem; right: 1.2rem; color: var(--accent); font-style: normal; }
.enterprise-page [data-reveal][data-reveal-state="waiting"] { opacity: 0; transform: translateY(12px); }
.enterprise-page [data-reveal][data-reveal-state="visible"] { opacity: 1; transform: translateY(0); transition: opacity 360ms ease, transform 360ms ease; }

@media (max-width: 900px) {
  .enterprise-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 3rem; }
  .enterprise-hero-copy { max-width: 44rem; }
  .enterprise-hero h1 { max-width: 16ch; }
  .enterprise-visual { width: min(100%, 52rem); justify-self: center; transform: none; }
  .enterprise-section { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 2.5rem; }
}
@media (max-width: 680px) {
  .enterprise-hero { padding-top: 3.2rem; }
  .enterprise-hero-grid { gap: 2.2rem; }
  .enterprise-hero h1 { max-width: none; font-size: clamp(2.35rem, 10vw, 3.65rem); }
  .enterprise-visual { padding: .7rem; border-radius: 1.1rem; }
  .enterprise-window-bar { gap: .45rem; padding: 0 .7rem; font-size: .66rem; }
  .enterprise-editor { overflow: auto; padding: 1rem .8rem .75rem; font-size: .69rem; }
  .enterprise-assistant { margin: 0 .55rem .6rem; padding: .8rem; }
  .enterprise-visual figcaption { display: grid; gap: .25rem; }
  .enterprise-section { grid-template-columns: 1fr; gap: 1.6rem; padding: 3.3rem 0; }
  .enterprise-section-head h2, .enterprise-notice h2, .enterprise-related h2 { font-size: 2.25rem; }
  .enterprise-steps, .enterprise-related-grid { grid-template-columns: 1fr; }
  .enterprise-step { min-height: auto; }
  .enterprise-step h3 { margin-top: 1.1rem; }
  .enterprise-notice { align-items: flex-start; flex-direction: column; gap: 1.4rem; }
  .enterprise-related { padding-top: 3.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .enterprise-related-link,
  .enterprise-page [data-reveal][data-reveal-state] { transition: none; }
  .enterprise-page [data-reveal][data-reveal-state="waiting"] { opacity: 1; transform: none; }
  .enterprise-related-link:hover { transform: none; }
}
