/* Shared layout and defined edges, with light surface colors kept theme-specific. */

html[data-theme="light"] .hero::before {
  background-image: linear-gradient(#3d5aa92e 1px, transparent 1px), linear-gradient(90deg, #3d5aa92e 1px, transparent 1px);
}

html[data-theme] .hero::before {
  mask-image: radial-gradient(ellipse at 58% 50%, #000 28%, #000c 70%, #0005 100%);
  -webkit-mask-image: radial-gradient(ellipse at 58% 50%, #000 28%, #000c 70%, #0005 100%);
}
html[data-theme="light"] .section-grid::after {
  background-image: linear-gradient(#3d5aa932 1px, transparent 1px), linear-gradient(90deg, #3d5aa932 1px, transparent 1px);
}
html[data-theme] .section-grid::after {
  mask-image: radial-gradient(ellipse at 50% 50%, #000 10%, #000b 62%, transparent 95%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 10%, #000b 62%, transparent 95%);
}
html[data-theme] .final-cta.section-grid::after {
  mask-image: linear-gradient(transparent, #000c 25%, #000c 75%, transparent);
  -webkit-mask-image: linear-gradient(transparent, #000c 25%, #000c 75%, transparent);
}
html[data-theme="light"] .product-demo-stage {
  background-image: radial-gradient(ellipse at 50% 45%, #3d5aa90c, transparent 70%), linear-gradient(#3d5aa91c 1px, transparent 1px), linear-gradient(90deg, #3d5aa91c 1px, transparent 1px);
}

html[data-theme="light"] .hero h1 em { color: var(--blue); background: none; box-shadow: none; }
html[data-theme] .hero-secondary { display: none; }
html[data-theme="light"] :is(.site-header, .hero, .final-cta, .alternative) .button {
  color: #fff; background: var(--navy); border-color: var(--navy);
  box-shadow: 0 6px 16px #09152b16;
}
html[data-theme="light"] :is(.site-header, .hero, .final-cta, .alternative) .button:hover {
  color: #fff; background: var(--blue); border-color: var(--blue); filter: none;
}
html[data-theme="light"] .channel-field {
  border: 2px solid #3d5aa970; box-shadow: 0 5px 18px #09152b0c; background: #fff;
}
html[data-theme] .channel-field {
  border-width: 2px;
  border-style: solid;
}
html[data-theme="light"] .channel-field:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px #3d5aa91a; }
html[data-theme="light"] .product-motion {
  box-shadow: -24px 30px 70px -16px #09152b66, -4px 8px 22px #09152b24;
}
html[data-theme] .product-motion {
  border-radius: 15px;
}
html[data-theme="light"] .product-aura { background: #3d5aa92f; box-shadow: 0 0 90px 14px #3d5aa92e; }

/* Direct reassurance beneath the primary action. */
html[data-theme="light"] .hero .risk-strip {
  border-top: 1px solid #3d5aa940;
}
html[data-theme] .hero .risk-strip {
  width: 100%; max-width: 600px; margin: 24px 0 0; padding: 20px 0 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px;
  border-top-width: 1px;
  border-top-style: solid; border-bottom: 0;
}
html[data-theme] .hero .risk-strip>div {
  display: flex; align-items: flex-start; gap: 8px; padding: 0; border: 0;
}
html[data-theme="light"] .hero .risk-strip svg { color: var(--blue);
}
html[data-theme] .hero .risk-strip svg {
  width: 21px; height: 21px; flex-shrink: 0; margin-top: 1px;
}
html[data-theme] .hero .risk-strip span { display: block; }
html[data-theme="light"] .hero .risk-strip strong { color: var(--navy); }
html[data-theme] .hero .risk-strip strong { font-size: 13px; line-height: 1.45; font-weight: 750; }
html[data-theme="light"] .hero .risk-strip small { color: #4f607a; }
html[data-theme] .hero .risk-strip small { font-size: 11px; line-height: 1.6; margin-top: 5px; max-width: none; text-align: left; }

/* The same defined edge ties the illustrations and content cards together. */
html[data-theme="light"] :is(.problem .problem-panel, .solution .feature-art, .solution .mini-board, .solution .report-preview, .product-demo-frame, .stories .story-placeholder, .alternative) {
  border: 2px solid #3d5aa970;
  box-shadow: 0 12px 30px -12px #09152b20, 0 0 32px -16px #3d5aa92b;
}
html[data-theme] :is(.problem .problem-panel, .solution .feature-art, .solution .mini-board, .solution .report-preview, .product-demo-frame, .stories .story-placeholder, .alternative) {
  border-width: 2px;
  border-style: solid;
}
html[data-theme="light"] .problem .problem-panel { background: #fff; }
html[data-theme] .problem .problem-panel p { font-size: 15px; line-height: 1.8; }
html[data-theme="light"] .problem :is(.cost-stack, .guessing-visual) { border: 2px solid #3d5aa936; }
html[data-theme] .problem :is(.cost-stack, .guessing-visual) { border-width: 2px; border-style: solid; }
html[data-theme] .problem :is(.receipt, .small-stat, .question-bubble, .video-outline) { border-width: 2px; }
html[data-theme="light"] .solution .mini-board article { border: 2px solid #3d5aa938; }
html[data-theme] .solution .mini-board article { border-width: 2px; border-style: solid; }
html[data-theme="light"] .stories .story-frame { border: 2px dashed #3d5aa957; }
html[data-theme] .stories .story-frame { border-width: 2px; border-style: dashed; }

@media (min-width:1600px) { html[data-theme] .hero .risk-strip { max-width: 660px; } }
@media (min-width:851px) and (max-width:1150px) {
  html[data-theme] .hero h1 { margin-top: 36px; }
  html[data-theme] .hero .risk-strip { gap: 11px; margin-top: 20px; }
  html[data-theme] .hero .risk-strip>div { display: block; }
  html[data-theme] .hero .risk-strip svg { margin-bottom: 7px; }
  html[data-theme] .hero .risk-strip strong { font-size: 12px; }
}
@media (max-width:600px) {
  html[data-theme] .hero .risk-strip { grid-template-columns: 1fr; gap: 14px; margin-top: 22px; padding-top: 20px; }
  html[data-theme] .hero .risk-strip>div { padding: 0 !important; gap: 11px; }
  html[data-theme] .hero .risk-strip strong { font-size: 13px; }
  html[data-theme] .hero .risk-strip small { margin-top: 2px; font-size: 12px; }
  html[data-theme] .hero .risk-strip svg { width: 22px; height: 22px; margin-top: 2px; }
  html[data-theme] .problem .problem-panel p { font-size: 14px; }
  html[data-theme="light"] .product-motion { box-shadow: -12px 20px 42px -8px #09152b5c; }
  html[data-theme] .product-motion { border-radius: 9px; }
}
