/*
 * SolarNova Roof shared interface layer
 * Applies the ui-ux-pro-max design system without changing application logic.
 */

:root {
  --sn-primary: #0f172a;
  --sn-primary-strong: #020617;
  --sn-secondary: #334155;
  --sn-accent: #0369a1;
  --sn-accent-strong: #075985;
  --sn-accent-soft: #e0f2fe;
  --sn-canvas: #f8fafc;
  --sn-surface: #ffffff;
  --sn-surface-subtle: #f1f5f9;
  --sn-ink: #0f172a;
  --sn-muted: #526277;
  --sn-line: #dbe3ed;
  --sn-line-strong: #c3cfdd;
  --sn-success: #047857;
  --sn-warning: #a15c00;
  --sn-danger: #b91c1c;
  --sn-ring: rgba(3, 105, 161, 0.24);
  --sn-shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --sn-shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.07);
  --sn-shadow-md: 0 18px 44px rgba(15, 23, 42, 0.1);
  --sn-radius-sm: 8px;
  --sn-radius-md: 12px;
  --sn-radius-lg: 18px;
  --sn-radius-xl: 26px;
  --sn-content: 1220px;
  --sn-font:
    "Yu Gothic UI", "Hiragino Kaku Gothic ProN", "Meiryo", system-ui,
    -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html {
  color-scheme: light;
  background: var(--sn-canvas);
  scroll-padding-top: 92px;
}

body {
  font-family: var(--sn-font);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

::selection {
  color: #ffffff;
  background: var(--sn-accent);
}

:where(a, button, input, select, textarea, summary) {
  -webkit-tap-highlight-color: transparent;
}

:where(a, button, summary, [role="button"]) {
  cursor: pointer;
  touch-action: manipulation;
}

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--sn-ring);
  outline-offset: 3px;
}

:where(button, input, select, textarea):disabled {
  cursor: not-allowed;
  opacity: 0.56;
}

:where(button, .button-primary, .button-secondary, .nav-link):active {
  filter: brightness(0.96);
  transform: translateY(0);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border-radius: var(--sn-radius-sm);
  color: #ffffff;
  background: var(--sn-accent);
  box-shadow: var(--sn-shadow-md);
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Shared portal shell */
body.portal-body.product-landing,
body.portal-body.portal-dashboard:not([data-page="admin"]) {
  color-scheme: light;
  --portal-bg: var(--sn-canvas);
  --portal-surface: var(--sn-surface);
  --portal-surface-2: var(--sn-surface-subtle);
  --portal-surface-3: #edf5fb;
  --portal-ink: var(--sn-ink);
  --portal-muted: var(--sn-muted);
  --portal-line: var(--sn-line);
  --portal-accent: var(--sn-accent);
  --portal-accent-2: var(--sn-accent-strong);
  --portal-success: var(--sn-success);
  --portal-warning: var(--sn-warning);
  --portal-danger: var(--sn-danger);
  --portal-shadow: var(--sn-shadow-md);
  --portal-soft-shadow: var(--sn-shadow-sm);
  color: var(--sn-ink);
  background:
    radial-gradient(circle at 8% 4%, rgba(3, 105, 161, 0.07), transparent 28rem),
    linear-gradient(180deg, #ffffff 0, var(--sn-canvas) 34rem);
}

body.portal-body.product-landing::before,
body.portal-body.portal-dashboard:not([data-page="admin"])::before {
  opacity: 1;
  background:
    linear-gradient(90deg, rgba(3, 105, 161, 0.025) 1px, transparent 1px),
    linear-gradient(rgba(3, 105, 161, 0.025) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to bottom, #000 0, transparent 42rem);
}

body.portal-body .site-header {
  min-height: 76px;
}

body.portal-body.product-landing .site-header,
body.portal-body.portal-dashboard:not([data-page="admin"]) .site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  max-width: none;
  padding: 14px max(20px, calc((100vw - var(--sn-content)) / 2));
  border-bottom: 1px solid rgba(219, 227, 237, 0.9);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 22px rgba(15, 23, 42, 0.045);
  backdrop-filter: blur(16px);
}

body.portal-body.product-landing .brand,
body.portal-body.portal-dashboard:not([data-page="admin"]) .brand {
  color: var(--sn-ink);
}

body.portal-body.product-landing .brand-mark,
body.portal-body.portal-dashboard:not([data-page="admin"]) .brand-mark {
  border-color: var(--sn-line);
  border-radius: 11px;
  background: #ffffff;
  box-shadow: var(--sn-shadow-xs);
}

body.portal-body.product-landing .brand strong,
body.portal-body.portal-dashboard:not([data-page="admin"]) .brand strong {
  color: var(--sn-primary);
  font-size: 16px;
  letter-spacing: -0.01em;
}

body.portal-body.product-landing .brand small,
body.portal-body.portal-dashboard:not([data-page="admin"]) .brand small {
  color: var(--sn-muted);
}

body.portal-body.product-landing .nav-link,
body.portal-body.product-landing .button-secondary,
body.portal-body.portal-dashboard:not([data-page="admin"]) .nav-link,
body.portal-body.portal-dashboard:not([data-page="admin"]) .button-secondary {
  min-height: 44px;
  border: 1px solid var(--sn-line-strong);
  border-radius: var(--sn-radius-sm);
  color: var(--sn-primary);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--sn-shadow-xs);
}

body.portal-body.product-landing .nav-link:hover,
body.portal-body.product-landing .button-secondary:hover,
body.portal-body.portal-dashboard:not([data-page="admin"]) .nav-link:hover,
body.portal-body.portal-dashboard:not([data-page="admin"]) .button-secondary:hover {
  border-color: #91a4b8;
  background: var(--sn-surface-subtle);
  box-shadow: 0 5px 14px rgba(15, 23, 42, 0.07);
  transform: translateY(-1px);
}

body.portal-body.product-landing .button-primary,
body.portal-body.product-landing .nav-link-primary,
body.portal-body.portal-dashboard:not([data-page="admin"]) .button-primary,
body.portal-body.portal-dashboard:not([data-page="admin"]) .nav-link-primary {
  min-height: 44px;
  border: 1px solid var(--sn-accent);
  border-radius: var(--sn-radius-sm);
  color: #ffffff;
  background: var(--sn-accent);
  box-shadow: 0 8px 20px rgba(3, 105, 161, 0.18);
}

body.portal-body.product-landing .button-primary:hover,
body.portal-body.product-landing .nav-link-primary:hover,
body.portal-body.portal-dashboard:not([data-page="admin"]) .button-primary:hover,
body.portal-body.portal-dashboard:not([data-page="admin"]) .nav-link-primary:hover {
  border-color: var(--sn-accent-strong);
  background: var(--sn-accent-strong);
  box-shadow: 0 10px 24px rgba(3, 105, 161, 0.22);
  transform: translateY(-1px);
}

/* Product landing */
body.product-landing main {
  width: min(var(--sn-content), calc(100vw - 40px));
}

body.product-landing .product-hero {
  min-height: min(650px, calc(100svh - 118px));
  margin-top: 28px;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(400px, 0.86fr);
  gap: clamp(28px, 5vw, 64px);
  padding: clamp(36px, 5vw, 66px);
  border: 1px solid #d8e4ee;
  border-radius: var(--sn-radius-xl);
  color: var(--sn-ink);
  background:
    radial-gradient(circle at 92% 16%, rgba(3, 105, 161, 0.14), transparent 25rem),
    linear-gradient(135deg, #ffffff, #eff8fd 62%, #e4f3fb);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.11);
}

body.product-landing .product-hero::after {
  inset: auto 0 0;
  height: 28%;
  background: linear-gradient(0deg, rgba(3, 105, 161, 0.035), transparent);
}

body.product-landing .product-hero-content {
  max-width: 680px;
}

body.product-landing .product-hero h1 {
  max-width: 9em;
  color: var(--sn-primary-strong);
  font-size: clamp(44px, 5.8vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

body.product-landing .product-hero-lead {
  max-width: 62ch;
  margin-top: 24px;
  color: var(--sn-muted);
  font-size: clamp(16px, 1.55vw, 19px);
  line-height: 1.9;
}

body.product-landing .hero-actions {
  margin-top: 30px;
}

body.product-landing .hero-actions > * {
  min-height: 50px;
  padding-inline: 24px;
}

body.product-landing .product-proof-row {
  max-width: none;
  margin-top: 34px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.product-landing .product-proof-row div {
  padding: 16px 18px;
  border-color: var(--sn-line);
  border-radius: var(--sn-radius-md);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--sn-shadow-xs);
  backdrop-filter: blur(8px);
}

body.product-landing .product-proof-row dt {
  color: var(--sn-muted);
}

body.product-landing .product-proof-row dd {
  color: var(--sn-primary);
  font-weight: 750;
}

body.product-landing .hero-preview-card {
  position: relative;
  z-index: 2;
  align-self: center;
  border: 1px solid #ccdbe7;
  border-radius: var(--sn-radius-lg);
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.15);
  transform: rotate(1deg);
  overflow: hidden;
}

body.product-landing .hero-preview-card img {
  background: #e9f2f8;
}

body.product-landing .hero-preview-card figcaption {
  border-color: var(--sn-line);
  background: #ffffff;
}

body.product-landing .hero-preview-card figcaption span {
  color: var(--sn-accent);
}

body.product-landing .hero-preview-card figcaption strong {
  color: var(--sn-primary);
}

body.product-landing .product-section {
  padding: clamp(52px, 7vw, 84px) 0;
}

body.product-landing .section-heading {
  max-width: 840px;
  margin-bottom: 30px;
}

body.product-landing .section-heading h2,
body.product-landing .mission-label h2,
body.product-landing .insight-copy h2,
body.product-landing .product-cta h2 {
  color: var(--sn-primary-strong);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.2;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

body.product-landing .product-section .section-heading p:not(.eyebrow),
body.product-landing .mission-copy p,
body.product-landing .insight-copy p {
  color: var(--sn-muted);
  line-height: 1.9;
}

body.product-landing .mission-section {
  border-bottom: 1px solid var(--sn-line);
}

body.product-landing .screen-card,
body.product-landing .usecase-card,
body.product-landing .operation-card,
body.product-landing .pricing-plan-card,
body.product-landing .addon-card,
body.product-landing .faq-grid details,
body.product-landing .capability-grid article,
body.product-landing .document-sheet,
body.product-landing .product-visual-panel {
  border: 1px solid var(--sn-line);
  border-radius: var(--sn-radius-lg);
  color: var(--sn-ink);
  background: #ffffff;
  box-shadow: var(--sn-shadow-sm);
  backdrop-filter: none;
}

body.product-landing .screen-card,
body.product-landing .usecase-card,
body.product-landing .operation-card,
body.product-landing .capability-grid article {
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

body.product-landing .screen-card:hover,
body.product-landing .usecase-card:hover,
body.product-landing .operation-card:hover,
body.product-landing .capability-grid article:hover {
  border-color: #b7cad9;
  box-shadow: var(--sn-shadow-md);
  transform: translateY(-2px);
}

body.product-landing .screen-card img {
  background: #e8f0f6;
}

body.product-landing .screen-card h3,
body.product-landing .usecase-card h3,
body.product-landing .operation-card h3,
body.product-landing .capability-grid h3,
body.product-landing .pricing-group-head h3,
body.product-landing .addon-card h3,
body.product-landing .faq-grid summary {
  color: var(--sn-primary);
}

body.product-landing .screen-card p,
body.product-landing .usecase-card p,
body.product-landing .operation-card p,
body.product-landing .capability-grid p,
body.product-landing .pricing-group-head p,
body.product-landing .addon-card p,
body.product-landing .faq-grid p {
  color: var(--sn-muted);
}

body.product-landing .flow-line-item {
  border-color: var(--sn-line);
  background: var(--sn-surface-subtle);
}

body.product-landing .flow-line-item strong,
body.product-landing .usecase-card > span {
  color: var(--sn-accent);
  background: var(--sn-accent-soft);
}

body.product-landing .trial-banner {
  border: 1px solid #bae6fd;
  border-radius: var(--sn-radius-lg);
  color: var(--sn-primary);
  background: #f0f9ff;
  box-shadow: none;
}

body.product-landing .pricing-plan-card.featured-plan {
  border: 2px solid var(--sn-accent);
  background: linear-gradient(180deg, #f0f9ff, #ffffff 38%);
  box-shadow: 0 22px 52px rgba(3, 105, 161, 0.15);
}

body.product-landing .plan-badge {
  color: #ffffff;
  background: var(--sn-accent);
}

body.product-landing .plan-head span,
body.product-landing .plan-head p,
body.product-landing .pricing-plan-card ul,
body.product-landing .pricing-table th,
body.product-landing .pricing-table td {
  color: var(--sn-muted);
}

body.product-landing .plan-head strong,
body.product-landing .pricing-table td:first-child {
  color: var(--sn-primary);
}

body.product-landing .comparison-wrap {
  border: 1px solid var(--sn-line);
  border-radius: var(--sn-radius-lg);
  background: #ffffff;
  box-shadow: var(--sn-shadow-sm);
}

body.product-landing .pricing-table th {
  background: var(--sn-surface-subtle);
}

body.product-landing .pricing-table th,
body.product-landing .pricing-table td {
  border-color: var(--sn-line);
}

body.product-landing .pricing-calculator {
  border: 1px solid #c7ddea;
  border-radius: var(--sn-radius-lg);
  background:
    radial-gradient(circle at 90% 0, rgba(3, 105, 161, 0.1), transparent 20rem),
    #ffffff;
  box-shadow: var(--sn-shadow-sm);
}

body.product-landing .pricing-calculator-copy h3,
body.product-landing .pricing-calculator-result strong,
body.product-landing .pricing-calculator-result b {
  color: var(--sn-primary);
}

body.product-landing .pricing-calculator-copy p:not(.eyebrow),
body.product-landing .pricing-calculator-result p,
body.product-landing .pricing-calculator-form label > span {
  color: var(--sn-muted);
}

body.product-landing .pricing-calculator-result,
body.product-landing .toggle-line {
  border-color: var(--sn-line);
  background: var(--sn-surface-subtle);
}

body.product-landing .faq-grid summary {
  min-height: 44px;
}

body.product-landing .product-cta {
  margin-block: 32px 64px;
  border: 1px solid #c4dce9;
  border-radius: var(--sn-radius-xl);
  color: var(--sn-primary);
  background:
    radial-gradient(circle at 90% 0, rgba(3, 105, 161, 0.16), transparent 24rem),
    linear-gradient(135deg, #f0f9ff, #ffffff);
  box-shadow: var(--sn-shadow-md);
}

body.product-landing .product-cta p {
  color: var(--sn-muted);
}

body.product-landing .site-footer {
  width: min(var(--sn-content), calc(100vw - 40px));
  border-top: 1px solid var(--sn-line);
  color: var(--sn-muted);
}

/* Member, organization, and legal portal pages */
body.portal-dashboard:not([data-page="admin"]) main.dashboard-layout {
  width: min(var(--sn-content), calc(100vw - 40px));
  padding-block: 24px 56px;
}

body.portal-dashboard:not([data-page="admin"]) .section-shell {
  padding: 20px 0;
}

body.portal-dashboard:not([data-page="admin"]) .section-heading {
  margin-bottom: 22px;
}

body.portal-dashboard:not([data-page="admin"]) .section-heading h1,
body.portal-dashboard:not([data-page="admin"]) .section-heading h2,
body.portal-dashboard:not([data-page="admin"]) .card-head h2,
body.portal-dashboard:not([data-page="admin"]) .content-card h2,
body.portal-dashboard:not([data-page="admin"]) .content-card h3 {
  color: var(--sn-primary);
  letter-spacing: -0.025em;
}

body.portal-dashboard:not([data-page="admin"]) .content-card,
body.portal-dashboard:not([data-page="admin"]) .summary-card,
body.portal-dashboard:not([data-page="admin"]) .summary-list div,
body.portal-dashboard:not([data-page="admin"]) .metric-grid article,
body.portal-dashboard:not([data-page="admin"]) .admin-side-nav,
body.portal-dashboard:not([data-page="admin"]) .org-side-nav {
  border: 1px solid var(--sn-line);
  border-radius: var(--sn-radius-md);
  color: var(--sn-ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--sn-shadow-sm);
  backdrop-filter: none;
}

body.portal-dashboard:not([data-page="admin"]) .content-card {
  padding: clamp(20px, 3vw, 28px);
}

body.portal-dashboard:not([data-page="admin"]) .content-card p,
body.portal-dashboard:not([data-page="admin"]) .muted,
body.portal-dashboard:not([data-page="admin"]) .summary-list dt,
body.portal-dashboard:not([data-page="admin"]) table th,
body.portal-dashboard:not([data-page="admin"]) table td {
  color: var(--sn-muted);
}

body.portal-dashboard:not([data-page="admin"]) .summary-list dd,
body.portal-dashboard:not([data-page="admin"]) table td:first-child {
  color: var(--sn-primary);
}

body.portal-dashboard:not([data-page="admin"]) .card-head {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--sn-line);
}

body.portal-dashboard:not([data-page="admin"]) .admin-side-nav {
  padding: 10px;
}

body.portal-dashboard:not([data-page="admin"]) .admin-nav-button {
  min-height: 44px;
  border-radius: var(--sn-radius-sm);
  color: var(--sn-muted);
}

body.portal-dashboard:not([data-page="admin"]) .admin-nav-button:hover {
  color: var(--sn-primary);
  background: var(--sn-surface-subtle);
  transform: none;
}

body.portal-dashboard:not([data-page="admin"]) .admin-nav-button.active {
  border-color: #bae6fd;
  color: var(--sn-accent-strong);
  background: #f0f9ff;
  box-shadow: inset 3px 0 0 var(--sn-accent);
}

body.portal-dashboard:not([data-page="admin"]) input:not([type="checkbox"]),
body.portal-dashboard:not([data-page="admin"]) select,
body.portal-dashboard:not([data-page="admin"]) textarea {
  min-height: 46px;
  border: 1px solid var(--sn-line-strong);
  border-radius: var(--sn-radius-sm);
  color: var(--sn-ink);
  background: #ffffff;
  box-shadow: var(--sn-shadow-xs);
}

body.portal-dashboard:not([data-page="admin"]) input:not([type="checkbox"]):focus-visible,
body.portal-dashboard:not([data-page="admin"]) select:focus-visible,
body.portal-dashboard:not([data-page="admin"]) textarea:focus-visible {
  border-color: var(--sn-accent);
  box-shadow: 0 0 0 4px var(--sn-ring);
  outline: none;
}

body.portal-dashboard:not([data-page="admin"]) .table-wrap {
  border: 1px solid var(--sn-line);
  border-radius: var(--sn-radius-md);
  background: #ffffff;
}

body.portal-dashboard:not([data-page="admin"]) table th {
  background: var(--sn-surface-subtle);
}

body.portal-dashboard:not([data-page="admin"]) table th,
body.portal-dashboard:not([data-page="admin"]) table td {
  border-bottom-color: var(--sn-line);
}

body.portal-dashboard:not([data-page]) .content-card {
  max-width: 900px;
  margin-inline: auto;
}

body.portal-dashboard:not([data-page]) .content-card p,
body.portal-dashboard:not([data-page]) .content-card li {
  color: #425168;
  line-height: 1.9;
}

/* Keep the admin console aligned with the same interaction language. */
body.portal-dashboard[data-page="admin"] {
  --portal-accent: var(--sn-accent);
  --portal-accent-2: var(--sn-accent-strong);
  --portal-line: var(--sn-line);
  --portal-line-strong: var(--sn-line-strong);
  --portal-ink: var(--sn-ink);
  --portal-muted: var(--sn-muted);
  --portal-surface-2: var(--sn-surface-subtle);
  --portal-soft-shadow: var(--sn-shadow-sm);
}

body.portal-dashboard[data-page="admin"] .site-header {
  box-shadow: 0 6px 22px rgba(15, 23, 42, 0.05);
}

body.portal-dashboard[data-page="admin"] .admin-side-nav,
body.portal-dashboard[data-page="admin"] .content-card,
body.portal-dashboard[data-page="admin"] .summary-card,
body.portal-dashboard[data-page="admin"] .metric-grid article {
  border-radius: var(--sn-radius-md);
}

body.portal-dashboard[data-page="admin"] .admin-nav-button,
body.portal-dashboard[data-page="admin"] .button-primary,
body.portal-dashboard[data-page="admin"] .button-secondary,
body.portal-dashboard[data-page="admin"] .nav-link {
  min-height: 44px;
}

body.portal-dashboard[data-page="admin"] .admin-nav-button.active {
  color: var(--sn-accent-strong);
  background: #f0f9ff;
  box-shadow: inset 3px 0 0 var(--sn-accent);
}

body.portal-dashboard[data-page="admin"] .button-primary {
  background: var(--sn-accent);
  box-shadow: 0 8px 20px rgba(3, 105, 161, 0.18);
}

body.portal-dashboard[data-page="admin"] input:focus-visible,
body.portal-dashboard[data-page="admin"] select:focus-visible,
body.portal-dashboard[data-page="admin"] textarea:focus-visible {
  border-color: var(--sn-accent) !important;
  box-shadow: 0 0 0 4px var(--sn-ring);
}

body.portal-dashboard[data-page="admin"] .admin-billing-plan-form {
  margin-block: var(--sn-space-6);
  padding: var(--sn-space-6);
  border: 1px solid var(--sn-line);
  border-radius: var(--sn-radius-lg);
  background: var(--sn-surface-subtle);
}

body.portal-dashboard[data-page="admin"] .admin-billing-plan-form input[readonly] {
  color: var(--sn-muted);
  background: #eaf0f4;
  cursor: default;
}

/* Portal authentication pages build on the focused auth experience. */
body.portal-body.portal-auth {
  --auth-bg: var(--sn-canvas);
  --auth-surface: var(--sn-surface);
  --auth-surface-subtle: var(--sn-surface-subtle);
  --auth-ink: var(--sn-ink);
  --auth-muted: var(--sn-muted);
  --auth-line: var(--sn-line);
  --auth-accent: var(--sn-accent);
  --auth-accent-hover: var(--sn-accent-strong);
  --auth-focus: var(--sn-ring);
}

body.portal-body.portal-auth .auth-card {
  border-radius: var(--sn-radius-lg);
  box-shadow: var(--sn-shadow-md);
}

body.portal-body.portal-auth .auth-security-note,
body.portal-body.portal-auth .auth-assurance {
  border-radius: var(--sn-radius-sm);
}

/* Lightweight public account pages */
body.auth-public {
  min-height: 100svh;
  margin: 0;
  color: var(--sn-ink);
  background:
    linear-gradient(90deg, rgba(3, 105, 161, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(3, 105, 161, 0.03) 1px, transparent 1px),
    radial-gradient(circle at 50% 0, rgba(3, 105, 161, 0.09), transparent 30rem),
    var(--sn-canvas);
  background-size: 36px 36px, 36px 36px, auto, auto;
}

body.auth-public .auth-header {
  min-height: 76px;
  padding: 14px max(20px, calc((100vw - 1120px) / 2));
  border-bottom: 1px solid rgba(219, 227, 237, 0.92);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 22px rgba(15, 23, 42, 0.045);
  backdrop-filter: blur(16px);
}

body.auth-public .auth-brand {
  gap: 12px;
  color: var(--sn-primary);
  font-size: 16px;
  letter-spacing: -0.01em;
}

body.auth-public .auth-brand img {
  width: 44px;
  height: 44px;
  border: 1px solid var(--sn-line);
  border-radius: 11px;
  box-shadow: var(--sn-shadow-xs);
}

body.auth-public .auth-layout {
  width: min(100% - 32px, 560px);
  min-height: calc(100svh - 76px);
  margin: 0 auto;
  display: grid;
  place-items: center;
  padding: 48px 0 64px;
}

body.auth-public .auth-card {
  width: 100%;
  padding: clamp(26px, 5vw, 42px);
  border: 1px solid var(--sn-line);
  border-radius: var(--sn-radius-lg);
  color: var(--sn-ink);
  background: #ffffff;
  box-shadow: var(--sn-shadow-md);
}

body.auth-public .auth-eyebrow {
  margin-bottom: 10px;
  color: var(--sn-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

body.auth-public .auth-card h1,
body.auth-public .auth-card h2 {
  margin: 0;
  color: var(--sn-primary);
  font-size: clamp(26px, 5vw, 34px);
  line-height: 1.3;
  letter-spacing: -0.03em;
}

body.auth-public .auth-lead,
body.auth-public .auth-note,
body.auth-public .auth-switch {
  color: var(--sn-muted);
  line-height: 1.75;
}

body.auth-public .auth-form {
  gap: 18px;
  margin-top: 26px;
}

body.auth-public .auth-form label {
  color: var(--sn-primary);
  font-weight: 700;
}

body.auth-public .auth-form input,
body.auth-public .auth-form select {
  min-height: 48px;
  border: 1px solid var(--sn-line-strong);
  border-radius: var(--sn-radius-sm);
  color: var(--sn-ink);
  background: #ffffff;
  box-shadow: var(--sn-shadow-xs);
}

body.auth-public .auth-form input:hover,
body.auth-public .auth-form select:hover {
  border-color: #91a4b8;
}

body.auth-public .auth-form input:focus-visible,
body.auth-public .auth-form select:focus-visible {
  border-color: var(--sn-accent);
  box-shadow: 0 0 0 4px var(--sn-ring);
  outline: none;
}

body.auth-public .auth-form button,
body.auth-public .account-row button,
body.auth-public .billing-summary button {
  min-height: 48px;
  border-radius: var(--sn-radius-sm);
  color: #ffffff;
  background: var(--sn-accent);
  box-shadow: 0 8px 20px rgba(3, 105, 161, 0.18);
}

body.auth-public .auth-form button:hover,
body.auth-public .account-row button:hover,
body.auth-public .billing-summary button:hover {
  background: var(--sn-accent-strong);
}

body.auth-public a {
  color: var(--sn-accent);
  font-weight: 700;
  text-underline-offset: 3px;
}

body.auth-public .auth-status:not(:empty) {
  padding: 12px 14px;
  border: 1px solid var(--sn-line);
  border-radius: var(--sn-radius-sm);
  background: var(--sn-surface-subtle);
}

/* Roof drafting workspace */
body.workspace-body {
  --workspace-primary: var(--sn-primary);
  --workspace-accent: var(--sn-accent);
  --workspace-accent-strong: var(--sn-accent-strong);
  --workspace-neutral-border: var(--sn-line);
  --workspace-panel-divider: var(--sn-line);
  color: var(--sn-ink);
  background: #eaf1f6;
}

body.workspace-body .topbar {
  border-bottom: 1px solid var(--sn-line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 7px 24px rgba(15, 23, 42, 0.07);
  backdrop-filter: blur(14px);
}

body.workspace-body .workspace-brand-mark {
  border: 1px solid var(--sn-line);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: var(--sn-shadow-xs);
}

body.workspace-body .workspace-brand-copy strong,
body.workspace-body .topbar-copy h1,
body.workspace-body .section-title,
body.workspace-body .control-group label {
  color: var(--sn-primary);
}

body.workspace-body .topbar-copy p,
body.workspace-body .eyebrow,
body.workspace-body .muted,
body.workspace-body .metric,
body.workspace-body .help p {
  color: var(--sn-muted);
}

body.workspace-body .panel,
body.workspace-body .workspace-onboarding-card,
body.workspace-body .modal {
  border-color: var(--sn-line);
  border-radius: var(--sn-radius-md);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--sn-shadow-sm);
}

body.workspace-body .control-group {
  border-bottom-color: var(--sn-line);
}

body.workspace-body input:not([type="checkbox"]):not([type="radio"]),
body.workspace-body select,
body.workspace-body textarea {
  min-height: 44px;
  border: 1px solid var(--sn-line-strong);
  border-radius: var(--sn-radius-sm);
  color: var(--sn-ink);
  background: #ffffff;
  box-shadow: var(--sn-shadow-xs);
}

body.workspace-body input:not([type="checkbox"]):not([type="radio"]):focus-visible,
body.workspace-body select:focus-visible,
body.workspace-body textarea:focus-visible {
  border-color: var(--sn-accent);
  box-shadow: 0 0 0 4px var(--sn-ring);
  outline: none;
}

body.workspace-body button,
body.workspace-body summary,
body.workspace-body .workspace-userbar-link,
body.workspace-body .mobile-account-link {
  min-height: 44px !important;
  border-radius: var(--sn-radius-sm);
}

body.workspace-body button.primary,
body.workspace-body .generate-roof-btn {
  border-color: var(--sn-accent);
  color: #ffffff;
  background: var(--sn-accent);
  box-shadow: 0 8px 18px rgba(3, 105, 161, 0.17);
}

body.workspace-body button.primary:hover,
body.workspace-body .generate-roof-btn:hover {
  background: var(--sn-accent-strong);
}

body.workspace-body .tool.active,
body.workspace-body .segmented-control button.active,
body.workspace-body .segmented-control button[aria-pressed="true"],
body.workspace-body .mobile-panel-tabs button.active {
  border-color: #7dd3fc;
  color: var(--sn-accent-strong);
  background: var(--sn-accent-soft);
}

body.workspace-body .advanced-settings,
body.workspace-body .project-extra,
body.workspace-body .spec-card,
body.workspace-body .explain-action {
  border-color: var(--sn-line);
  border-radius: var(--sn-radius-sm);
  background: var(--sn-surface-subtle);
}

body.workspace-body .canvas-wrap {
  border-color: #c7d5e1 !important;
  background: #dce8f0 !important;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1) !important;
}

body.workspace-body .quick-toolbar,
body.workspace-body .canvas-hud {
  border-color: var(--sn-line) !important;
  border-radius: var(--sn-radius-md) !important;
  background: rgba(255, 255, 255, 0.97) !important;
  box-shadow: var(--sn-shadow-sm) !important;
}

body.workspace-body .workspace-account-menu .workspace-userbar-actions,
body.workspace-body .workspace-action-menu-panel,
body.workspace-body .mobile-more-panel,
body.workspace-body .support-popover {
  border-color: var(--sn-line);
  border-radius: var(--sn-radius-md);
  background: #ffffff;
  box-shadow: var(--sn-shadow-md);
}

/* Shared tables and state colors */
body.portal-body table,
body.workspace-body table {
  font-variant-numeric: tabular-nums;
}

.form-status.is-error,
.auth-status.is-error {
  color: var(--sn-danger);
}

.form-status.is-success,
.auth-status.is-success {
  color: var(--sn-success);
}

@media (max-width: 1080px) {
  body.product-landing .product-hero {
    grid-template-columns: 1fr;
  }

  body.product-landing .product-hero-content {
    max-width: 820px;
  }

  body.product-landing .product-hero h1 {
    max-width: 12em;
  }

  body.product-landing .hero-preview-card {
    width: min(100%, 820px);
    transform: none;
  }

  body.portal-dashboard[data-page="organization"] .organization-console-shell {
    grid-template-columns: 210px minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 78px;
  }

  body.portal-body.product-landing .site-header,
  body.portal-body.portal-dashboard:not([data-page="admin"]) .site-header {
    min-height: 70px;
    padding: 10px 16px;
  }

  body.portal-body.product-landing .site-header .brand small,
  body.portal-body.portal-dashboard:not([data-page="admin"]) .site-header .brand small {
    display: none;
  }

  body.portal-body.product-landing .brand-mark,
  body.portal-body.portal-dashboard:not([data-page="admin"]) .brand-mark {
    width: 42px;
    height: 42px;
  }

  body.portal-body.product-landing .site-nav,
  body.portal-body.portal-dashboard:not([data-page="admin"]) .site-nav {
    flex-wrap: nowrap;
    gap: 6px;
  }

  body.portal-body.product-landing .nav-link,
  body.portal-body.portal-dashboard:not([data-page="admin"]) .nav-link {
    min-width: 0;
    padding-inline: 11px;
    font-size: 12px;
    white-space: nowrap;
  }

  body.product-landing main,
  body.portal-dashboard:not([data-page="admin"]) main.dashboard-layout {
    width: min(100% - 28px, var(--sn-content));
  }

  body.product-landing .product-hero {
    min-height: auto;
    margin-top: 16px;
    padding: 32px 22px 24px;
    border-radius: var(--sn-radius-lg);
  }

  body.product-landing .product-hero h1 {
    font-size: clamp(38px, 12vw, 52px);
  }

  body.product-landing .product-proof-row {
    grid-template-columns: 1fr;
  }

  body.product-landing .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  body.product-landing .hero-actions > * {
    width: 100%;
  }

  body.product-landing .product-section {
    padding: 48px 0;
  }

  body.product-landing .section-heading h2,
  body.product-landing .mission-label h2,
  body.product-landing .insight-copy h2,
  body.product-landing .product-cta h2 {
    font-size: clamp(29px, 9vw, 38px);
  }

  body.product-landing .screen-card,
  body.product-landing .usecase-card,
  body.product-landing .operation-card,
  body.product-landing .capability-grid article,
  body.product-landing .pricing-plan-card,
  body.product-landing .addon-card {
    border-radius: var(--sn-radius-md);
  }

  body.product-landing .product-cta {
    margin-bottom: 40px;
    border-radius: var(--sn-radius-lg);
  }

  body.portal-dashboard[data-page="organization"] .organization-console-shell {
    grid-template-columns: 1fr;
  }

  body.portal-dashboard:not([data-page="admin"]) .org-side-nav {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.portal-dashboard:not([data-page="admin"]) .admin-nav-button {
    justify-content: center;
    text-align: center;
  }

  body.auth-public .auth-header {
    padding-inline: 16px;
  }

  body.auth-public .auth-layout {
    width: min(100% - 28px, 560px);
    padding: 32px 0 48px;
  }

  body.auth-public .auth-card {
    padding: 24px 20px;
    border-radius: var(--sn-radius-md);
  }

  body.auth-public .auth-form input,
  body.auth-public .auth-form select,
  body.workspace-body input:not([type="checkbox"]):not([type="radio"]),
  body.workspace-body select,
  body.workspace-body textarea {
    font-size: 16px;
  }
}

/* Editorial refinement: isolate the landing page from legacy brochure overrides. */
body.portal-body.product-landing.landing-refresh {
  --landing-ink: #17251d;
  --landing-muted: #617066;
  --landing-line: #cfd7cd;
  --landing-paper: #f5f4ee;
  --landing-surface: #fffef9;
  --landing-lime: #d6e96e;
  --landing-lime-deep: #bdd751;
  --landing-blue: #17251d;
  color: var(--landing-ink) !important;
  background: var(--landing-paper) !important;
}

body.portal-body.product-landing.landing-refresh main > section,
body.portal-body.product-landing.landing-refresh .site-footer {
  border-top: 0 !important;
  color: var(--landing-ink) !important;
  background: transparent !important;
}

body.portal-body.product-landing.landing-refresh .site-header {
  border-color: var(--landing-line) !important;
  background: rgba(245, 244, 238, 0.94) !important;
}

body.portal-body.product-landing.landing-refresh .site-nav {
  gap: 4px;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.portal-body.product-landing.landing-refresh .site-nav .nav-link {
  min-height: 44px;
  padding: 0 10px;
  border: 0 !important;
  border-radius: 0 !important;
  color: var(--landing-muted) !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 13px;
  font-weight: 650;
}

body.portal-body.product-landing.landing-refresh .site-nav .nav-link:hover {
  color: var(--landing-ink) !important;
  background: transparent !important;
  text-decoration: underline;
  text-underline-offset: 5px;
}

body.portal-body.product-landing.landing-refresh .site-nav .nav-link-primary,
body.portal-body.product-landing.landing-refresh .button-primary {
  border: 1px solid var(--landing-ink) !important;
  border-radius: 2px !important;
  color: var(--landing-ink) !important;
  background: var(--landing-lime) !important;
  box-shadow: none !important;
}

body.portal-body.product-landing.landing-refresh .site-nav .nav-link-primary {
  margin-left: 8px;
  padding: 0 17px;
}

body.portal-body.product-landing.landing-refresh .site-nav .nav-link-primary:hover,
body.portal-body.product-landing.landing-refresh .button-primary:hover {
  color: var(--landing-ink) !important;
  background: var(--landing-lime-deep) !important;
}

body.portal-body.product-landing.landing-refresh .button-secondary {
  border: 1px solid var(--landing-ink) !important;
  border-radius: 2px !important;
  color: var(--landing-ink) !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.portal-body.product-landing.landing-refresh .button-secondary:hover {
  color: var(--landing-ink) !important;
  background: rgba(23, 37, 29, 0.06) !important;
}

body.product-landing.landing-refresh .landing-hero {
  min-height: min(690px, calc(100svh - 80px));
  border-bottom: 1px solid var(--landing-ink) !important;
  background: transparent !important;
}

body.product-landing.landing-refresh .product-hero h1,
body.product-landing.landing-refresh .section-heading h2,
body.product-landing.landing-refresh .mission-label h2,
body.product-landing.landing-refresh .insight-copy h2,
body.product-landing.landing-refresh .product-cta h2,
body.product-landing.landing-refresh .pricing-group-head h3,
body.product-landing.landing-refresh .addon-card h3,
body.product-landing.landing-refresh .trial-banner h3,
body.product-landing.landing-refresh .plan-head strong,
body.product-landing.landing-refresh .pricing-table td:first-child,
body.product-landing.landing-refresh .faq-grid summary,
body.product-landing.landing-refresh .product-proof-row dt,
body.product-landing.landing-refresh .product-proof-row dd {
  color: var(--landing-ink) !important;
  text-shadow: none !important;
}

body.product-landing.landing-refresh .product-hero h1 {
  font-size: clamp(50px, 5.35vw, 76px);
  font-weight: 750;
  letter-spacing: -0.085em;
}

body.product-landing.landing-refresh .product-hero-lead,
body.product-landing.landing-refresh .product-section .section-heading p:not(.eyebrow),
body.product-landing.landing-refresh .mission-copy p,
body.product-landing.landing-refresh .insight-copy p,
body.product-landing.landing-refresh .operation-card p,
body.product-landing.landing-refresh .pricing-group-head p,
body.product-landing.landing-refresh .faq-grid p,
body.product-landing.landing-refresh .product-cta p,
body.product-landing.landing-refresh .trial-banner p,
body.product-landing.landing-refresh .plan-head p,
body.product-landing.landing-refresh .pricing-plan-card ul,
body.product-landing.landing-refresh .pricing-table th,
body.product-landing.landing-refresh .pricing-table td,
body.product-landing.landing-refresh li {
  color: var(--landing-muted) !important;
  text-shadow: none !important;
}

body.product-landing.landing-refresh .eyebrow,
body.product-landing.landing-refresh .media-placeholder .media-kicker,
body.product-landing.landing-refresh .card-index,
body.product-landing.landing-refresh .aerial-steps span,
body.product-landing.landing-refresh .proposal-flow span {
  color: #536b59 !important;
}

body.product-landing.landing-refresh .product-proof-row {
  border-color: var(--landing-ink) !important;
}

body.product-landing.landing-refresh .product-proof-row div {
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.product-landing.landing-refresh .product-proof-row div + div {
  border-color: var(--landing-line) !important;
}

body.product-landing.landing-refresh .landing-media,
body.product-landing.landing-refresh .hero-preview-card,
body.product-landing.landing-refresh .pain-card {
  border-color: var(--landing-ink) !important;
  border-radius: 0 !important;
  background: var(--landing-surface) !important;
  box-shadow: none !important;
}

body.product-landing.landing-refresh .media-placeholder {
  color: var(--landing-ink) !important;
  background:
    linear-gradient(135deg, transparent 0 67%, rgba(23, 37, 29, 0.12) 67.1% 67.4%, transparent 67.5% 100%),
    linear-gradient(90deg, rgba(23, 37, 29, 0.1) 1px, transparent 1px),
    #e6ebe1 !important;
  background-size: auto, 112px 100%, auto !important;
}

body.product-landing.landing-refresh .media-placeholder::before {
  top: 12%;
  right: 10%;
  width: 28%;
  height: 64%;
  border: 1px solid rgba(23, 37, 29, 0.24);
  border-radius: 0;
}

body.product-landing.landing-refresh .media-placeholder::after {
  top: auto;
  right: 10%;
  bottom: 18%;
  width: 46%;
  height: 1px;
  border: 0;
  border-radius: 0;
  background: rgba(23, 37, 29, 0.38);
}

body.product-landing.landing-refresh .media-placeholder-hero {
  background-color: #dfe8dd !important;
}

body.product-landing.landing-refresh .media-placeholder-wide {
  background-color: #d5e0d3 !important;
}

body.product-landing.landing-refresh .media-placeholder-document,
body.product-landing.landing-refresh .media-placeholder-compact {
  background-color: #ecebe3 !important;
}

body.product-landing.landing-refresh .hero-preview-card figcaption {
  border-color: var(--landing-ink) !important;
  border-radius: 0 !important;
  background: var(--landing-surface) !important;
}

body.product-landing.landing-refresh .hero-preview-card figcaption span,
body.product-landing.landing-refresh .hero-preview-card figcaption strong {
  color: var(--landing-ink) !important;
}

body.product-landing.landing-refresh .pain-section {
  border-top: 0 !important;
  border-bottom: 0 !important;
  background: #e9eee6 !important;
}

body.product-landing.landing-refresh .pain-section .section-heading {
  max-width: 860px;
}

body.product-landing.landing-refresh .pain-grid {
  gap: 0;
  border-top: 1px solid var(--landing-ink);
  border-left: 1px solid var(--landing-ink);
}

body.product-landing.landing-refresh .pain-card {
  border: 0 !important;
  border-right: 1px solid var(--landing-ink) !important;
  border-bottom: 1px solid var(--landing-ink) !important;
}

body.product-landing.landing-refresh .aerial-section {
  padding-right: clamp(24px, 5vw, 72px);
  padding-left: clamp(24px, 5vw, 72px);
  background: #edf0e9 !important;
}

body.product-landing.landing-refresh .proposal-flow {
  border-color: var(--landing-ink) !important;
}

body.product-landing.landing-refresh .proposal-flow article {
  border-color: var(--landing-line) !important;
}

body.product-landing.landing-refresh .proposal-flow h3,
body.product-landing.landing-refresh .pain-card h3,
body.product-landing.landing-refresh .operation-card h3 {
  color: var(--landing-ink) !important;
}

body.product-landing.landing-refresh .capability-section {
  background: var(--landing-ink) !important;
}

body.product-landing.landing-refresh .capability-grid article {
  border-color: rgba(255, 255, 255, 0.36) !important;
  border-radius: 0 !important;
  color: #ffffff !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.product-landing.landing-refresh .capability-grid article span {
  color: var(--landing-lime) !important;
}

body.product-landing.landing-refresh .capability-grid h3 {
  color: #ffffff !important;
}

body.product-landing.landing-refresh .capability-grid p {
  color: rgba(255, 255, 255, 0.72) !important;
}

body.product-landing.landing-refresh .pricing-section {
  background: #e3eadf !important;
}

body.product-landing.landing-refresh .trial-banner,
body.product-landing.landing-refresh .pricing-calculator,
body.product-landing.landing-refresh .pricing-plan-card,
body.product-landing.landing-refresh .faq-grid details,
body.product-landing.landing-refresh .operation-card {
  border-color: var(--landing-ink) !important;
  border-radius: 0 !important;
  background: var(--landing-surface) !important;
  box-shadow: none !important;
}

body.product-landing.landing-refresh .trial-banner {
  background: var(--landing-lime) !important;
}

body.product-landing.landing-refresh .featured-plan {
  border-color: var(--landing-ink) !important;
  background: var(--landing-ink) !important;
}

body.product-landing.landing-refresh .featured-plan .button-primary {
  color: var(--landing-ink) !important;
}

body.product-landing.landing-refresh .pricing-calculator-result {
  background: #edf3ce !important;
}

body.product-landing.landing-refresh .comparison-wrap,
body.product-landing.landing-refresh .pricing-table {
  border-color: var(--landing-ink) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.product-landing.landing-refresh .pricing-table th {
  background: #d9e1d6 !important;
}

body.product-landing.landing-refresh .pricing-table td {
  background: var(--landing-surface) !important;
}

body.product-landing.landing-refresh .product-cta {
  border: 1px solid var(--landing-ink) !important;
  border-radius: 0 !important;
  background: var(--landing-ink) !important;
  box-shadow: none !important;
}

body.product-landing.landing-refresh .product-cta .eyebrow,
body.product-landing.landing-refresh .product-cta h2 {
  color: #ffffff !important;
}

body.product-landing.landing-refresh .product-cta p {
  color: rgba(255, 255, 255, 0.72) !important;
}

body.product-landing.landing-refresh .product-cta .button-secondary {
  border-color: #ffffff !important;
  color: #ffffff !important;
}

body.product-landing.landing-refresh .site-footer {
  border-top: 1px solid var(--landing-line) !important;
  background: var(--landing-paper) !important;
}

@media (max-width: 760px) {
  body.portal-body.product-landing.landing-refresh .site-nav .nav-link-primary {
    margin-left: 0;
  }

  body.product-landing.landing-refresh .product-hero h1 {
    font-size: clamp(44px, 12vw, 58px);
  }

  body.product-landing.landing-refresh .pain-grid {
    border-right: 1px solid var(--landing-ink);
  }

  body.product-landing.landing-refresh .pain-card {
    border-right: 0 !important;
  }

  body.product-landing.landing-refresh .aerial-section {
    padding-right: 22px;
    padding-left: 22px;
  }
}

@media (max-width: 420px) {
  body.portal-body.product-landing .brand > span:last-child,
  body.portal-body.portal-dashboard:not([data-page="admin"]) .brand > span:last-child {
    display: none;
  }

  body.product-landing .product-hero {
    padding-inline: 18px;
  }

  body.portal-dashboard:not([data-page="admin"]) .org-side-nav {
    grid-template-columns: 1fr;
  }
}

/* LP content expansion: keeps the established visual system while making
   proposal scope, samples, and handoff information easier to scan. */
body.product-landing.landing-refresh .proposal-boundary-grid,
body.product-landing.landing-refresh .document-sample-grid {
  display: grid;
  gap: 0;
  margin: 28px 0;
  border-top: 1px solid var(--landing-ink);
  border-left: 1px solid var(--landing-ink);
}

body.product-landing.landing-refresh .proposal-boundary-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.product-landing.landing-refresh .document-sample-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.product-landing.landing-refresh .proposal-boundary-grid article,
body.product-landing.landing-refresh .document-sample-card {
  min-width: 0;
  padding: clamp(22px, 3vw, 36px);
  border-right: 1px solid var(--landing-ink);
  border-bottom: 1px solid var(--landing-ink);
  background: var(--landing-surface);
}

body.product-landing.landing-refresh .proposal-boundary-grid h3,
body.product-landing.landing-refresh .document-sample-card h3 {
  margin: 10px 0 14px;
  color: var(--landing-ink);
  font-size: clamp(20px, 2.1vw, 28px);
  letter-spacing: -0.04em;
}

body.product-landing.landing-refresh .proposal-boundary-grid ul,
body.product-landing.landing-refresh .document-sample-card ul {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
  padding-left: 1.25em;
}

body.product-landing.landing-refresh .proposal-boundary-grid li,
body.product-landing.landing-refresh .document-sample-card li,
body.product-landing.landing-refresh .document-sample-card p:not(.sample-label) {
  color: var(--landing-muted) !important;
}

body.product-landing.landing-refresh .proposal-boundary-statement {
  margin: 22px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--landing-ink);
  color: var(--landing-ink);
  background: var(--landing-lime);
  font-size: 15px;
  line-height: 1.8;
}

body.product-landing.landing-refresh .proposal-boundary-statement strong {
  color: var(--landing-ink);
}

body.product-landing.landing-refresh .sample-label {
  margin: 0;
  color: #536b59 !important;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.12em;
}

body.product-landing.landing-refresh .document-sample-card p:not(.sample-label) {
  min-height: 5.5em;
  margin: 0;
  line-height: 1.75;
}

body.product-landing.landing-refresh .document-media {
  margin-top: 28px;
}

@media (max-width: 760px) {
  body.product-landing.landing-refresh .proposal-boundary-grid,
  body.product-landing.landing-refresh .document-sample-grid {
    grid-template-columns: 1fr;
    border-right: 1px solid var(--landing-ink);
  }

  body.product-landing.landing-refresh .proposal-boundary-grid article,
  body.product-landing.landing-refresh .document-sample-card {
    border-right: 0;
  }

  body.product-landing.landing-refresh .document-sample-card p:not(.sample-label) {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .skip-link,
  .site-header,
  .site-footer,
  .topbar,
  .support-root {
    display: none !important;
  }

  body {
    background: #ffffff !important;
  }

  body.portal-body main,
  body.workspace-body main {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}

/* Landing refresh: image areas deliberately remain replaceable placeholders. */
body.portal-body.product-landing.landing-refresh {
  --landing-ink: #172228;
  --landing-muted: #5f6b70;
  --landing-line: #d7dedb;
  --landing-paper: #f7f5f0;
  --landing-surface: #ffffff;
  --landing-lime: #d9f05a;
  --landing-lime-deep: #bcd639;
  --landing-blue: #244f67;
  color: var(--landing-ink);
  background: var(--landing-paper);
}

body.portal-body.product-landing.landing-refresh::before {
  display: none;
}

body.portal-body.product-landing.landing-refresh main {
  width: min(100% - 48px, 1320px);
}

body.portal-body.product-landing.landing-refresh .site-header {
  min-height: 80px;
  border-color: rgba(23, 34, 40, 0.1);
  background: rgba(247, 245, 240, 0.9);
  box-shadow: none;
}

body.portal-body.product-landing.landing-refresh .brand-mark {
  border-color: transparent;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.portal-body.product-landing.landing-refresh .brand strong,
body.portal-body.product-landing.landing-refresh .brand {
  color: var(--landing-ink);
}

body.portal-body.product-landing.landing-refresh .brand small,
body.portal-body.product-landing.landing-refresh .footer-copy {
  color: var(--landing-muted);
}

body.portal-body.product-landing.landing-refresh .nav-link,
body.portal-body.product-landing.landing-refresh .button-secondary {
  border-color: rgba(23, 34, 40, 0.2);
  border-radius: 999px;
  color: var(--landing-ink);
  background: transparent;
  box-shadow: none;
}

body.portal-body.product-landing.landing-refresh .nav-link:hover,
body.portal-body.product-landing.landing-refresh .button-secondary:hover {
  border-color: var(--landing-ink);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: none;
}

body.portal-body.product-landing.landing-refresh .nav-link-primary,
body.portal-body.product-landing.landing-refresh .button-primary {
  border-color: var(--landing-ink);
  border-radius: 999px;
  color: var(--landing-ink);
  background: var(--landing-lime);
  box-shadow: none;
}

body.portal-body.product-landing.landing-refresh .nav-link-primary:hover,
body.portal-body.product-landing.landing-refresh .button-primary:hover {
  border-color: var(--landing-ink);
  color: var(--landing-ink);
  background: var(--landing-lime-deep);
  box-shadow: none;
}

body.portal-body.product-landing.landing-refresh .eyebrow {
  color: var(--landing-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

body.product-landing.landing-refresh .landing-hero {
  min-height: min(720px, calc(100svh - 80px));
  margin-top: 0;
  padding: clamp(52px, 7vw, 104px) 0 clamp(64px, 8vw, 112px);
  border: 0;
  border-radius: 0;
  color: var(--landing-ink);
  background: transparent;
  box-shadow: none;
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1fr);
  gap: clamp(44px, 7vw, 108px);
}

body.product-landing.landing-refresh .landing-hero::after {
  display: none;
}

body.product-landing.landing-refresh .product-hero-content {
  max-width: 650px;
}

body.product-landing.landing-refresh .product-hero h1 {
  max-width: 8.2em;
  margin-top: 18px;
  color: var(--landing-ink);
  font-size: clamp(48px, 5.55vw, 82px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.075em;
}

body.product-landing.landing-refresh .product-hero-lead {
  max-width: 43em;
  margin-top: 28px;
  color: var(--landing-muted);
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.95;
}

body.product-landing.landing-refresh .hero-actions {
  gap: 12px;
  margin-top: 32px;
}

body.product-landing.landing-refresh .hero-actions > * {
  min-height: 52px;
  padding-inline: 25px;
}

body.product-landing.landing-refresh .product-proof-row {
  gap: 0;
  max-width: 620px;
  margin-top: 40px;
  border-top: 1px solid var(--landing-line);
  border-bottom: 1px solid var(--landing-line);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.product-landing.landing-refresh .product-proof-row div {
  min-height: 86px;
  padding: 14px 14px 12px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.product-landing.landing-refresh .product-proof-row div + div {
  padding-left: 14px;
  border-left: 1px solid var(--landing-line);
}

body.product-landing.landing-refresh .product-proof-row dt {
  color: var(--landing-muted);
  font-size: 11px;
  font-weight: 600;
}

body.product-landing.landing-refresh .product-proof-row dd {
  margin-top: 8px;
  color: var(--landing-ink);
  font-size: 12px;
  line-height: 1.5;
}

body.product-landing.landing-refresh .landing-media {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--landing-line);
  border-radius: 2px;
  background: var(--landing-surface);
}

body.product-landing.landing-refresh .hero-preview-card {
  width: auto;
  align-self: stretch;
  border: 1px solid var(--landing-line);
  border-radius: 2px;
  background: var(--landing-surface);
  box-shadow: none;
  transform: none;
}

body.product-landing.landing-refresh .media-placeholder {
  position: relative;
  display: flex;
  min-height: 260px;
  padding: 26px;
  overflow: hidden;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  color: var(--landing-ink);
  background:
    linear-gradient(120deg, transparent 0 49%, rgba(23, 34, 40, 0.1) 49.2% 49.8%, transparent 50% 100%),
    linear-gradient(34deg, transparent 0 49%, rgba(23, 34, 40, 0.1) 49.2% 49.8%, transparent 50% 100%),
    linear-gradient(90deg, rgba(23, 34, 40, 0.065) 1px, transparent 1px),
    linear-gradient(rgba(23, 34, 40, 0.065) 1px, transparent 1px),
    #e8ebe3;
  background-size: auto, auto, 38px 38px, 38px 38px, auto;
}

body.product-landing.landing-refresh .media-placeholder::before {
  position: absolute;
  top: 14%;
  right: 8%;
  width: 43%;
  aspect-ratio: 1;
  border: 1px solid rgba(23, 34, 40, 0.24);
  border-radius: 50%;
  content: "";
}

body.product-landing.landing-refresh .media-placeholder::after {
  position: absolute;
  top: 24%;
  right: 18%;
  width: 20%;
  aspect-ratio: 1;
  border: 1px solid rgba(23, 34, 40, 0.24);
  border-radius: 50%;
  content: "";
}

body.product-landing.landing-refresh .media-placeholder strong,
body.product-landing.landing-refresh .media-placeholder small,
body.product-landing.landing-refresh .media-placeholder .media-kicker {
  position: relative;
  z-index: 1;
}

body.product-landing.landing-refresh .media-placeholder strong {
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 700;
  letter-spacing: -0.05em;
}

body.product-landing.landing-refresh .media-placeholder small,
body.product-landing.landing-refresh .media-placeholder .media-kicker {
  margin-bottom: 9px;
  color: var(--landing-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

body.product-landing.landing-refresh .media-placeholder small {
  margin: 10px 0 0;
  color: var(--landing-muted);
  font-weight: 600;
  letter-spacing: 0;
}

body.product-landing.landing-refresh .media-placeholder-hero {
  min-height: 500px;
  padding: clamp(28px, 4vw, 54px);
  background-color: #dce8dc;
}

body.product-landing.landing-refresh .hero-preview-card figcaption {
  display: flex;
  gap: 8px;
  padding: 19px 22px;
  border-color: var(--landing-line);
  background: var(--landing-surface);
}

body.product-landing.landing-refresh .hero-preview-card figcaption span {
  color: var(--landing-blue);
}

body.product-landing.landing-refresh .hero-preview-card figcaption strong {
  color: var(--landing-ink);
}

body.product-landing.landing-refresh .product-section {
  padding: clamp(72px, 10vw, 144px) 0;
}

body.product-landing.landing-refresh .section-heading {
  max-width: 780px;
  margin-bottom: 44px;
}

body.product-landing.landing-refresh .section-heading-split {
  max-width: 920px;
}

body.product-landing.landing-refresh .section-heading h2,
body.product-landing.landing-refresh .mission-label h2,
body.product-landing.landing-refresh .insight-copy h2,
body.product-landing.landing-refresh .product-cta h2 {
  color: var(--landing-ink);
  font-size: clamp(36px, 4.6vw, 64px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.06em;
}

body.product-landing.landing-refresh .product-section .section-heading p:not(.eyebrow),
body.product-landing.landing-refresh .mission-copy p,
body.product-landing.landing-refresh .insight-copy p {
  color: var(--landing-muted);
  line-height: 1.9;
}

body.product-landing.landing-refresh .pain-section {
  border-top: 1px solid var(--landing-line);
  border-bottom: 1px solid var(--landing-line);
}

body.product-landing.landing-refresh .pain-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

body.product-landing.landing-refresh .pain-card {
  min-height: 100%;
  padding: 0 0 28px;
  border: 1px solid var(--landing-line);
  background: var(--landing-surface);
}

body.product-landing.landing-refresh .media-placeholder-compact {
  min-height: 192px;
  padding: 20px;
  background-color: #e9e7e0;
}

body.product-landing.landing-refresh .media-placeholder-compact strong {
  font-size: 18px;
}

body.product-landing.landing-refresh .pain-card .card-index,
body.product-landing.landing-refresh .pain-card h3,
body.product-landing.landing-refresh .pain-card > p:last-child {
  margin-right: 28px;
  margin-left: 28px;
}

body.product-landing.landing-refresh .card-index {
  margin-top: 26px;
  margin-bottom: 14px;
  color: var(--landing-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

body.product-landing.landing-refresh .pain-card h3 {
  margin-top: 0;
  margin-bottom: 14px;
  color: var(--landing-ink);
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.3;
  letter-spacing: -0.04em;
}

body.product-landing.landing-refresh .pain-card > p:last-child {
  margin-top: 0;
  margin-bottom: 0;
  color: var(--landing-muted);
  line-height: 1.8;
}

body.product-landing.landing-refresh .aerial-section {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(36px, 7vw, 108px);
}

body.product-landing.landing-refresh .aerial-copy h2 {
  max-width: 9.5em;
  margin: 16px 0 24px;
  color: var(--landing-ink);
  font-size: clamp(38px, 4.5vw, 62px);
  line-height: 1.1;
  letter-spacing: -0.06em;
}

body.product-landing.landing-refresh .aerial-copy > p:not(.eyebrow) {
  color: var(--landing-muted);
  line-height: 1.9;
}

body.product-landing.landing-refresh .aerial-note {
  margin-top: 22px;
  font-size: 13px;
}

body.product-landing.landing-refresh .aerial-steps {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 32px 0 0;
  border-top: 1px solid var(--landing-line);
  list-style: none;
}

body.product-landing.landing-refresh .aerial-steps li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  column-gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--landing-line);
}

body.product-landing.landing-refresh .aerial-steps span {
  grid-row: span 2;
  color: var(--landing-blue);
  font-size: 12px;
  font-weight: 800;
}

body.product-landing.landing-refresh .aerial-steps b {
  color: var(--landing-ink);
  font-size: 15px;
}

body.product-landing.landing-refresh .aerial-steps small {
  margin-top: 5px;
  color: var(--landing-muted);
  font-size: 13px;
}

body.product-landing.landing-refresh .aerial-media {
  min-height: 560px;
}

body.product-landing.landing-refresh .media-placeholder-wide {
  min-height: 560px;
  padding: 44px;
  background-color: #dde5e2;
}

body.product-landing.landing-refresh .proposal-section {
  padding-top: 0;
}

body.product-landing.landing-refresh .proposal-flow {
  display: grid;
  border-top: 1px solid var(--landing-ink);
  border-bottom: 1px solid var(--landing-ink);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.product-landing.landing-refresh .proposal-flow article {
  min-height: 244px;
  padding: 26px 22px;
  border-left: 1px solid var(--landing-line);
}

body.product-landing.landing-refresh .proposal-flow article:first-child {
  border-left: 0;
}

body.product-landing.landing-refresh .proposal-flow span {
  color: var(--landing-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

body.product-landing.landing-refresh .proposal-flow h3 {
  margin: 66px 0 10px;
  color: var(--landing-ink);
  font-size: 23px;
  letter-spacing: -0.04em;
}

body.product-landing.landing-refresh .proposal-flow p {
  margin: 0;
  color: var(--landing-muted);
  line-height: 1.75;
}

body.product-landing.landing-refresh .capability-section {
  background: var(--landing-ink);
}

body.product-landing.landing-refresh .capability-section .eyebrow,
body.product-landing.landing-refresh .capability-section .section-heading h2 {
  color: #ffffff;
}

body.product-landing.landing-refresh .capability-section .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

body.product-landing.landing-refresh .capability-section .section-heading {
  margin-bottom: 46px;
}

body.product-landing.landing-refresh .capability-grid {
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.product-landing.landing-refresh .capability-grid article {
  min-height: 216px;
  padding: 28px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0;
  color: #ffffff;
  background: transparent;
  box-shadow: none;
}

body.product-landing.landing-refresh .capability-grid article span {
  color: var(--landing-lime);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.product-landing.landing-refresh .capability-grid h3 {
  margin: 54px 0 10px;
  color: #ffffff;
  font-size: 26px;
  letter-spacing: -0.04em;
}

body.product-landing.landing-refresh .capability-grid p {
  max-width: 36em;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
}

body.product-landing.landing-refresh .insight-section {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(36px, 7vw, 108px);
}

body.product-landing.landing-refresh .insight-copy h2 {
  margin-top: 16px;
}

body.product-landing.landing-refresh .document-media {
  min-height: 420px;
}

body.product-landing.landing-refresh .media-placeholder-document {
  min-height: 420px;
  padding: 38px;
  background-color: #edf0e7;
}

body.product-landing.landing-refresh .pricing-section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-right: max(24px, calc((100vw - 1320px) / 2));
  padding-left: max(24px, calc((100vw - 1320px) / 2));
  background: #e7ece6;
}

body.product-landing.landing-refresh .pricing-heading {
  max-width: none;
}

body.product-landing.landing-refresh .trial-banner,
body.product-landing.landing-refresh .pricing-calculator,
body.product-landing.landing-refresh .pricing-plan-card,
body.product-landing.landing-refresh .faq-grid details,
body.product-landing.landing-refresh .operation-card {
  border-color: var(--landing-line);
  border-radius: 2px;
  background: var(--landing-surface);
  box-shadow: none;
}

body.product-landing.landing-refresh .trial-banner {
  color: var(--landing-ink);
  background: var(--landing-lime);
}

body.product-landing.landing-refresh .trial-banner h3,
body.product-landing.landing-refresh .trial-banner strong,
body.product-landing.landing-refresh .plan-head strong,
body.product-landing.landing-refresh .pricing-table td:first-child,
body.product-landing.landing-refresh .faq-grid summary {
  color: var(--landing-ink);
}

body.product-landing.landing-refresh .pricing-plan-grid {
  gap: 12px;
}

body.product-landing.landing-refresh .pricing-plan-card {
  padding: 26px;
}

body.product-landing.landing-refresh .featured-plan {
  border-color: var(--landing-ink);
  background: var(--landing-ink);
}

body.product-landing.landing-refresh .featured-plan *,
body.product-landing.landing-refresh .featured-plan .plan-head strong {
  color: #ffffff;
}

body.product-landing.landing-refresh .featured-plan .plan-badge {
  color: var(--landing-ink);
  background: var(--landing-lime);
}

body.product-landing.landing-refresh .featured-plan .button-primary {
  color: var(--landing-ink);
}

body.product-landing.landing-refresh .pricing-calculator input {
  border-color: var(--landing-line-strong);
  color: var(--landing-ink);
  background: #ffffff;
}

body.product-landing.landing-refresh .pricing-calculator-result {
  color: var(--landing-ink);
  background: #eef4ce;
}

body.product-landing.landing-refresh .comparison-wrap {
  border-color: var(--landing-line);
  border-radius: 2px;
  box-shadow: none;
}

body.product-landing.landing-refresh .pricing-table th {
  color: var(--landing-muted);
  background: #f5f7f3;
}

body.product-landing.landing-refresh .pricing-table td {
  color: var(--landing-ink);
  background: #ffffff;
}

body.product-landing.landing-refresh .operation-grid {
  gap: 12px;
}

body.product-landing.landing-refresh .operation-card {
  padding: 26px;
}

body.product-landing.landing-refresh .operation-card h3 {
  color: var(--landing-ink);
}

body.product-landing.landing-refresh .operation-card p,
body.product-landing.landing-refresh .faq-grid p {
  color: var(--landing-muted);
}

body.product-landing.landing-refresh .faq-grid {
  gap: 10px;
}

body.product-landing.landing-refresh .faq-grid details {
  padding: 0 22px;
}

body.product-landing.landing-refresh .faq-grid summary {
  padding: 20px 0;
}

body.product-landing.landing-refresh .product-cta {
  margin: 0 0 72px;
  padding: clamp(44px, 7vw, 92px);
  border: 0;
  border-radius: 2px;
  color: #ffffff;
  background: var(--landing-blue);
  box-shadow: none;
}

body.product-landing.landing-refresh .product-cta::before,
body.product-landing.landing-refresh .product-cta::after {
  display: none;
}

body.product-landing.landing-refresh .product-cta .eyebrow,
body.product-landing.landing-refresh .product-cta h2 {
  color: #ffffff;
}

body.product-landing.landing-refresh .product-cta p {
  color: rgba(255, 255, 255, 0.76);
}

body.product-landing.landing-refresh .product-cta .button-secondary {
  border-color: rgba(255, 255, 255, 0.7);
  color: #ffffff;
  background: transparent;
}

body.product-landing.landing-refresh .site-footer {
  border-top: 1px solid var(--landing-line);
  color: var(--landing-ink);
  background: var(--landing-paper);
}

@media (max-width: 1080px) {
  body.product-landing.landing-refresh .landing-hero,
  body.product-landing.landing-refresh .aerial-section,
  body.product-landing.landing-refresh .insight-section {
    grid-template-columns: 1fr;
  }

  body.product-landing.landing-refresh .landing-hero {
    min-height: auto;
  }

  body.product-landing.landing-refresh .product-hero h1 {
    max-width: 10em;
  }

  body.product-landing.landing-refresh .hero-preview-card {
    width: min(100%, 840px);
  }

  body.product-landing.landing-refresh .aerial-copy,
  body.product-landing.landing-refresh .insight-copy {
    max-width: 760px;
  }
}

@media (max-width: 760px) {
  body.portal-body.product-landing.landing-refresh main {
    width: min(100% - 32px, 1320px);
  }

  body.portal-body.product-landing.landing-refresh .site-header {
    min-height: 70px;
    padding-inline: 16px;
  }

  body.product-landing.landing-refresh .landing-hero {
    gap: 42px;
    padding: 48px 0 64px;
  }

  body.product-landing.landing-refresh .product-hero h1 {
    max-width: 9em;
    font-size: clamp(42px, 12vw, 60px);
  }

  body.product-landing.landing-refresh .product-proof-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.product-landing.landing-refresh .product-proof-row div:nth-child(3) {
    border-left: 0;
  }

  body.product-landing.landing-refresh .product-proof-row div:nth-child(n + 3) {
    border-top: 1px solid var(--landing-line);
  }

  body.product-landing.landing-refresh .media-placeholder-hero,
  body.product-landing.landing-refresh .media-placeholder-wide {
    min-height: 400px;
  }

  body.product-landing.landing-refresh .pain-grid,
  body.product-landing.landing-refresh .capability-grid,
  body.product-landing.landing-refresh .proposal-flow {
    grid-template-columns: 1fr;
  }

  body.product-landing.landing-refresh .pain-card .card-index,
  body.product-landing.landing-refresh .pain-card h3,
  body.product-landing.landing-refresh .pain-card > p:last-child {
    margin-right: 22px;
    margin-left: 22px;
  }

  body.product-landing.landing-refresh .proposal-flow article,
  body.product-landing.landing-refresh .proposal-flow article:first-child {
    min-height: auto;
    padding: 22px 0;
    border-top: 1px solid var(--landing-line);
    border-left: 0;
  }

  body.product-landing.landing-refresh .proposal-flow article:first-child {
    border-top: 0;
  }

  body.product-landing.landing-refresh .proposal-flow h3,
  body.product-landing.landing-refresh .capability-grid h3 {
    margin-top: 22px;
  }

  body.product-landing.landing-refresh .capability-grid article {
    min-height: auto;
  }

  body.product-landing.landing-refresh .aerial-media,
  body.product-landing.landing-refresh .document-media,
  body.product-landing.landing-refresh .media-placeholder-document {
    min-height: 340px;
  }

  body.product-landing.landing-refresh .pricing-section {
    padding-right: 16px;
    padding-left: 16px;
  }

  body.product-landing.landing-refresh .product-cta {
    margin-bottom: 48px;
    padding: 38px 24px;
  }
}

/* Studio-inspired composition: use the reference's hierarchy, not its brand assets or copy. */
body.portal-body.product-landing.landing-refresh.studio-inspired {
  --landing-ink: #242424;
  --landing-muted: #6b6b6b;
  --landing-line: #e3e3e0;
  --landing-paper: #f4f4f2;
  --landing-surface: #ffffff;
  --landing-lime: #242424;
  --landing-lime-deep: #090909;
  --landing-blue: #242424;
  background: var(--landing-paper) !important;
}

body.portal-body.product-landing.landing-refresh.studio-inspired main {
  width: min(100% - 96px, 1304px);
}

body.portal-body.product-landing.landing-refresh.studio-inspired .site-header {
  position: sticky;
  top: 22px;
  width: min(100% - 96px, 1304px);
  min-height: 64px;
  margin: 30px auto 0;
  padding: 10px 20px;
  border: 1px solid #ececeb !important;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06) !important;
}

body.portal-body.product-landing.landing-refresh.studio-inspired .brand-mark {
  width: 34px;
  height: 34px;
}

body.portal-body.product-landing.landing-refresh.studio-inspired .site-nav {
  gap: 14px;
}

body.portal-body.product-landing.landing-refresh.studio-inspired .site-nav .nav-link {
  min-height: 40px;
  padding: 0;
  color: #4d4d4d !important;
  font-size: 13px;
  font-weight: 700;
}

body.portal-body.product-landing.landing-refresh.studio-inspired .site-nav .nav-link-primary {
  min-height: 40px;
  margin-left: 0;
  padding: 0 16px;
  border-color: #242424 !important;
  border-radius: 10px !important;
  color: #ffffff !important;
  background: #242424 !important;
}

body.portal-body.product-landing.landing-refresh.studio-inspired .site-nav .nav-link-primary:hover {
  color: #ffffff !important;
  background: #090909 !important;
}

body.product-landing.landing-refresh.studio-inspired .landing-hero {
  min-height: 720px;
  margin-top: 66px;
  padding: clamp(54px, 7vw, 106px) 0;
  border: 0 !important;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
  gap: clamp(44px, 8vw, 122px);
}

body.product-landing.landing-refresh.studio-inspired .product-hero h1 {
  max-width: 8em;
  color: #202020 !important;
  font-size: clamp(52px, 5.7vw, 84px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.075em;
}

body.product-landing.landing-refresh.studio-inspired .product-hero-lead {
  max-width: 36em;
  color: #5e5e5e !important;
  line-height: 1.9;
}

body.product-landing.landing-refresh.studio-inspired .hero-actions {
  gap: 16px;
}

body.product-landing.landing-refresh.studio-inspired .button-primary {
  min-height: 54px;
  padding-inline: 24px;
  border-color: #242424 !important;
  border-radius: 10px !important;
  color: #ffffff !important;
  background: #242424 !important;
}

body.product-landing.landing-refresh.studio-inspired .button-primary:hover {
  color: #ffffff !important;
  background: #090909 !important;
}

body.product-landing.landing-refresh.studio-inspired .button-secondary {
  min-height: 54px;
  padding-inline: 24px;
  border: 0 !important;
  border-radius: 0 !important;
  color: #242424 !important;
  background: transparent !important;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

body.product-landing.landing-refresh.studio-inspired .button-secondary:hover {
  color: #242424 !important;
  background: transparent !important;
}

body.product-landing.landing-refresh.studio-inspired .product-proof-row {
  max-width: 590px;
  margin-top: 46px;
  border-color: #d8d8d5 !important;
}

body.product-landing.landing-refresh.studio-inspired .product-proof-row dd,
body.product-landing.landing-refresh.studio-inspired .product-proof-row dt {
  color: #373737 !important;
}

body.product-landing.landing-refresh.studio-inspired .hero-preview-card,
body.product-landing.landing-refresh.studio-inspired .landing-media {
  border: 0 !important;
  border-radius: 28px !important;
  background: #e7e7e4 !important;
  box-shadow: none !important;
}

body.product-landing.landing-refresh.studio-inspired .media-placeholder {
  background:
    radial-gradient(circle at 74% 34%, rgba(255, 255, 255, 0.84) 0 7%, transparent 7.2%),
    linear-gradient(145deg, #e2e2df 0 50%, #d5d5d1 50% 100%) !important;
}

body.product-landing.landing-refresh.studio-inspired .media-placeholder::before {
  top: 13%;
  right: 11%;
  width: 38%;
  height: 64%;
  border: 1px solid rgba(36, 36, 36, 0.14);
  border-radius: 999px;
}

body.product-landing.landing-refresh.studio-inspired .media-placeholder::after {
  right: 17%;
  bottom: 24%;
  width: 26%;
  height: 26%;
  border: 1px solid rgba(36, 36, 36, 0.15);
  border-radius: 50%;
  background: transparent;
}

body.product-landing.landing-refresh.studio-inspired .media-placeholder-hero {
  min-height: 530px;
  background-color: #dfdfdc !important;
}

body.product-landing.landing-refresh.studio-inspired .hero-preview-card figcaption {
  padding: 22px 26px;
  border: 0 !important;
  background: #ffffff !important;
}

body.product-landing.landing-refresh.studio-inspired .product-section {
  padding: clamp(80px, 11vw, 164px) 0;
}

body.product-landing.landing-refresh.studio-inspired .section-heading {
  max-width: 900px;
  margin-bottom: 54px;
}

body.product-landing.landing-refresh.studio-inspired .section-heading h2,
body.product-landing.landing-refresh.studio-inspired .insight-copy h2,
body.product-landing.landing-refresh.studio-inspired .aerial-copy h2 {
  color: #202020 !important;
  font-size: clamp(40px, 4.8vw, 68px);
  letter-spacing: -0.065em;
}

body.product-landing.landing-refresh.studio-inspired .pain-section {
  padding: clamp(82px, 11vw, 164px) clamp(24px, 6vw, 84px);
  border-radius: 32px;
  background: #ececea !important;
}

body.product-landing.landing-refresh.studio-inspired .pain-grid {
  gap: 20px;
  border: 0;
}

body.product-landing.landing-refresh.studio-inspired .pain-card {
  overflow: hidden;
  border: 0 !important;
  border-radius: 20px !important;
  background: #ffffff !important;
}

body.product-landing.landing-refresh.studio-inspired .media-placeholder-compact {
  min-height: 230px;
  border-radius: 20px 20px 0 0;
  background-color: #dededb !important;
}

body.product-landing.landing-refresh.studio-inspired .pain-card .card-index,
body.product-landing.landing-refresh.studio-inspired .pain-card h3,
body.product-landing.landing-refresh.studio-inspired .pain-card > p:last-child {
  margin-right: 30px;
  margin-left: 30px;
}

body.product-landing.landing-refresh.studio-inspired .aerial-section {
  padding: clamp(42px, 7vw, 92px);
  border-radius: 32px;
  background: #ffffff !important;
}

body.product-landing.landing-refresh.studio-inspired .aerial-media {
  overflow: hidden;
  border-radius: 24px !important;
}

body.product-landing.landing-refresh.studio-inspired .media-placeholder-wide {
  min-height: 580px;
  background-color: #dededb !important;
}

body.product-landing.landing-refresh.studio-inspired .proposal-flow {
  gap: 16px;
  border: 0 !important;
}

body.product-landing.landing-refresh.studio-inspired .proposal-flow article {
  min-height: 260px;
  padding: 30px;
  border: 0 !important;
  border-radius: 18px;
  background: #ffffff;
}

body.product-landing.landing-refresh.studio-inspired .proposal-flow h3 {
  margin-top: 78px;
}

body.product-landing.landing-refresh.studio-inspired .capability-section {
  padding: clamp(74px, 10vw, 134px) clamp(24px, 6vw, 84px);
  border-radius: 32px;
  background: #242424 !important;
}

body.product-landing.landing-refresh.studio-inspired .capability-grid {
  gap: 20px;
  border: 0;
}

body.product-landing.landing-refresh.studio-inspired .capability-grid article {
  min-height: 250px;
  padding: 30px;
  border: 0 !important;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

body.product-landing.landing-refresh.studio-inspired .insight-section {
  padding: clamp(42px, 7vw, 92px);
  border-radius: 32px;
  background: #e7e7e4 !important;
}

body.product-landing.landing-refresh.studio-inspired .document-media {
  overflow: hidden;
  border-radius: 24px !important;
}

body.product-landing.landing-refresh.studio-inspired .pricing-section {
  width: auto;
  margin-left: 0;
  padding: clamp(42px, 7vw, 92px);
  border-radius: 32px;
  background: #e7e7e4 !important;
}

body.product-landing.landing-refresh.studio-inspired .trial-banner,
body.product-landing.landing-refresh.studio-inspired .pricing-calculator,
body.product-landing.landing-refresh.studio-inspired .pricing-plan-card,
body.product-landing.landing-refresh.studio-inspired .faq-grid details,
body.product-landing.landing-refresh.studio-inspired .operation-card {
  border: 0 !important;
  border-radius: 18px !important;
  background: #ffffff !important;
}

body.product-landing.landing-refresh.studio-inspired .trial-banner {
  background: #ffffff !important;
}

body.product-landing.landing-refresh.studio-inspired .featured-plan {
  background: #242424 !important;
}

body.product-landing.landing-refresh.studio-inspired .comparison-wrap,
body.product-landing.landing-refresh.studio-inspired .pricing-table {
  border: 0 !important;
  border-radius: 18px !important;
}

body.product-landing.landing-refresh.studio-inspired .product-cta {
  padding: clamp(56px, 9vw, 120px);
  border: 0 !important;
  border-radius: 32px !important;
  background: #242424 !important;
}

body.product-landing.landing-refresh.studio-inspired .product-cta .button-primary {
  border-color: #ffffff !important;
  color: #242424 !important;
  background: #ffffff !important;
}

body.product-landing.landing-refresh.studio-inspired .site-footer {
  margin-top: 64px;
  padding-top: 28px;
  border-top: 0 !important;
}

@media (max-width: 980px) {
  body.portal-body.product-landing.landing-refresh.studio-inspired .site-header,
  body.portal-body.product-landing.landing-refresh.studio-inspired main {
    width: min(100% - 48px, 1304px);
  }

  body.product-landing.landing-refresh.studio-inspired .landing-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body.portal-body.product-landing.landing-refresh.studio-inspired .site-header {
    top: 10px;
    width: calc(100% - 24px);
    margin-top: 12px;
    border-radius: 14px;
  }

  body.portal-body.product-landing.landing-refresh.studio-inspired main {
    width: min(100% - 28px, 1304px);
  }

  body.product-landing.landing-refresh.studio-inspired .landing-hero {
    min-height: auto;
    margin-top: 30px;
    padding: 44px 0 72px;
  }

  body.product-landing.landing-refresh.studio-inspired .product-hero h1 {
    font-size: clamp(45px, 12vw, 58px);
  }

  body.product-landing.landing-refresh.studio-inspired .pain-section,
  body.product-landing.landing-refresh.studio-inspired .aerial-section,
  body.product-landing.landing-refresh.studio-inspired .capability-section,
  body.product-landing.landing-refresh.studio-inspired .insight-section,
  body.product-landing.landing-refresh.studio-inspired .pricing-section,
  body.product-landing.landing-refresh.studio-inspired .product-cta {
    padding: 30px 20px;
    border-radius: 22px;
  }

  body.product-landing.landing-refresh.studio-inspired .pain-grid,
  body.product-landing.landing-refresh.studio-inspired .capability-grid,
  body.product-landing.landing-refresh.studio-inspired .proposal-flow {
    gap: 14px;
  }

  body.product-landing.landing-refresh.studio-inspired .proposal-flow article {
    min-height: 190px;
    border-radius: 14px;
  }

  body.product-landing.landing-refresh.studio-inspired .media-placeholder-hero,
  body.product-landing.landing-refresh.studio-inspired .media-placeholder-wide {
    min-height: 390px;
  }
}
