/* Marketing-only layout. Product drawings keep their own light canvas in both themes. */
.landing-page .public-container { width:min(1280px,100% - 64px); }
@media (min-width:1201px) { .landing-page .public-nav { padding-inline:max(32px,calc((100% - 1280px)/2)); } }
.landing-page .landing-hero { position:relative; padding:78px 0 76px; overflow:hidden; background:radial-gradient(ellipse at 85% 5%,#296046 0,transparent 58%),#123d30; }
.landing-page .hero-grid { grid-template-columns:minmax(0,.94fr) minmax(0,1.2fr); gap:48px; position:relative; }
.landing-page .hero-copy h1 { font-size:clamp(40px,4.2vw,62px); line-height:1.08; }
.landing-page .hero-description { font-size:17px; line-height:1.7; max-width:490px; }
.landing-page .hero-copy .landing-kicker { display:flex; align-items:center; gap:9px; }
.landing-page .hero-copy .landing-kicker::before { content:""; width:7px; height:7px; border-radius:50%; background:#c2ec97; box-shadow:0 0 0 5px #c2ec9714; }
.home-dashboard-wrap { position:relative; min-width:0; padding:15px 0; }
.home-dashboard-wrap::before { content:""; position:absolute; inset:0 -16px; border:1px solid #ffffff1c; border-radius:28px; transform:rotate(-3deg); background:#ffffff06; pointer-events:none; }
.landing-page .landing-context { flex-direction:row; align-items:center; justify-content:flex-start; gap:18px; padding-block:24px; font-size:13px; }
.landing-page .landing-context > span:last-child { margin-left:auto; text-align:right; max-width:370px; }
.home-context-icon { display:grid; place-items:center; flex:none; width:42px; height:42px; border-radius:12px; background:var(--accent-soft); color:var(--accent); }
.landing-page .landing-section { padding-block:72px; }
.landing-page .landing-section-heading { max-width:760px; }
.landing-page .landing-section-heading > p:last-child { max-width:620px; }
.landing-page .landing-section-heading h2 { max-width:700px; }
.landing-page .landing-kicker { margin-bottom:16px; }
.home-icon { display:inline-grid; place-items:center; flex:none; width:46px; height:46px; border-radius:13px; color:var(--accent); background:var(--accent-soft); }
.home-icon svg { display:block; }
.landing-page .home-core-card { position:relative; padding:26px; background:transparent; }
.home-core-card > .home-icon { margin-bottom:21px; }
.landing-page .home-core-card .feature-number { position:absolute; top:43px; left:86px; margin:0; font-size:10px; letter-spacing:.06em; }
.landing-page .home-core-card h3 { font-size:20px; }
.landing-page .home-core-card > p { font-size:14px; line-height:1.7; color:var(--muted); }
.landing-page .home-core-card .feature-detail { color:var(--accent); border-color:var(--border); font-size:12px; }
.landing-page #elgsena { border-top:1px solid var(--border); }
.home-showcases { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.home-showcase { display:flex; flex-direction:column; min-width:0; border:1px solid var(--border); border-radius:22px; overflow:hidden; background:var(--surface,#fff); }
.home-showcase-copy { padding:28px 30px; }
.home-showcase-copy .home-icon { width:38px; height:38px; border-radius:10px; margin-bottom:16px; }
.home-showcase-copy .home-icon svg { width:21px; height:21px; }
.home-showcase h3 { margin:0 0 12px; font-size:24px; line-height:1.3; letter-spacing:-.03em; }
.home-showcase p { color:var(--muted); font-size:14px; line-height:1.75; margin:0; }
.home-showcase .dt-behavior-figure { margin-top:auto; border:0; border-top:1px solid #e1e6db; border-radius:0; }
.home-showcase--survey { grid-column:1/-1; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:center; background:var(--accent-soft); }
.home-showcase--survey .home-showcase-copy { padding:34px; }
.home-showcase--survey .home-icon { background:var(--surface,#fff); }
.home-showcase--survey .dt-behavior-figure { border-top:0; border-left:1px solid #e1e6db; align-self:stretch; display:flex; flex-direction:column; }
.home-showcase--survey .dt-behavior-canvas { flex:1; min-height:280px; }
/* Share content, preview and caption rows so both product windows align as copy wraps. */
@supports (grid-template-rows:subgrid) {
 @media (min-width:761px) {
  .home-showcase:not(.home-showcase--survey) { display:grid; grid-row:span 3; grid-template-rows:subgrid; row-gap:0; }
  .home-showcase:not(.home-showcase--survey) > .dt-behavior-figure { display:grid; grid-row:span 2; grid-template-rows:subgrid; row-gap:0; margin-top:0; }
  .home-showcase:not(.home-showcase--survey) .dt-behavior-canvas { display:flex; flex-direction:column; }
  .home-showcase:not(.home-showcase--survey) .dt-preview-app { flex:1; }
  .home-showcase:not(.home-showcase--survey) .dt-preview-site { display:flex; flex-direction:column; }
  .home-showcase:not(.home-showcase--survey) .dt-preview-site-hero { flex:1; }
 }
}
.home-tools { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin-top:28px; align-items:start; }
.home-tool { border:1px solid var(--border); border-radius:14px; background:var(--surface,#fff); min-width:0; }
.home-tool summary { display:flex; align-items:center; gap:12px; padding:18px; list-style:none; cursor:pointer; border-radius:inherit; }
.home-tool summary::-webkit-details-marker { display:none; }
.home-tool summary::marker { content:""; }
.home-tool summary:focus-visible { outline:2px solid var(--accent); outline-offset:3px; }
.home-tool summary:hover { background:var(--accent-soft); }
.home-tool .home-icon { width:38px; height:38px; border-radius:10px; }
.home-tool .home-icon svg { width:21px; height:21px; }
.home-tool h3 { font-size:15px; line-height:1.5; letter-spacing:-.01em; margin:0; flex:1; text-wrap:initial; }
.home-expand { flex:none; width:22px; height:22px; display:grid; place-items:center; color:var(--muted); font-size:21px; font-weight:400; line-height:1; transition:transform .16s; }
.home-tool[open] .home-expand { transform:rotate(45deg); }
.home-tool > p { margin:0; padding:0 20px 22px; color:var(--muted); font-size:14px; line-height:1.75; }
.landing-page #elgsena > .field-help { margin:22px 0 0; text-align:center; color:var(--muted); font-size:12px; }
.home-section-links { font-size:13px; color:var(--muted); margin:25px 0 0; }
.home-section-links a { text-underline-offset:4px; }
.landing-page #planai { border-top:1px solid var(--border); }
.home-plan-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.home-plan > .btn { text-align:center; white-space:normal; }
.landing-page .conversion-story { padding-block:50px; }
.conversion-story .home-icon { margin-bottom:22px; background:var(--surface,#fff); }
.landing-page .story-grid { gap:65px; }
.landing-page .story-grid h2 { font-size:32px; }
.landing-page .story-grid > div:last-child > p:first-child { color:var(--muted); }
.landing-page .story-example { border-color:var(--border); }
.home-steps { gap:40px; counter-reset:home-step; }
.home-steps li { position:relative; }
.home-steps li:not(:last-child)::after { content:""; position:absolute; top:23px; left:65px; right:0; border-top:1px dashed var(--border); }
.home-steps li > span { width:46px; height:46px; border-radius:50%; }
.home-steps p { font-size:14px; }
.landing-page .landing-cta { background:radial-gradient(ellipse at 90% 5%,#296046 0,transparent 64%),#123d30; padding:46px; border-radius:22px; }
@media (max-width:1100px) {
 .landing-page .hero-grid { grid-template-columns:minmax(0,1fr); gap:36px; }
 .landing-page .hero-copy { max-width:720px; }
 .landing-page .hero-copy h1 { max-width:700px; font-size:58px; }
 .landing-page .hero-description { max-width:620px; }
 .home-dashboard-wrap { max-width:760px; width:100%; justify-self:center; }
 .home-dashboard-wrap .dt-dashboard { max-width:none; }
 .landing-page .landing-context > span:last-child { display:none; }
 .home-tools { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:760px) {
 .landing-page .public-container { width:calc(100% - 40px); }
 .landing-page .landing-hero { padding-block:48px; }
 .landing-page .hero-copy h1 { font-size:clamp(39px,7.8vw,56px); }
 .landing-page .landing-section { padding-block:48px; }
 .landing-page .landing-section-heading h2 { font-size:30px; }
 .home-showcases { grid-template-columns:minmax(0,1fr); gap:20px; }
 .home-showcase--survey { grid-column:auto; display:flex; }
 .home-showcase-copy, .home-showcase--survey .home-showcase-copy { padding:24px; }
 .home-showcase--survey .dt-behavior-figure { border-left:0; border-top:1px solid #e1e6db; }
 .home-showcase--survey .dt-behavior-canvas { min-height:260px; }
 .home-showcase h3 { font-size:23px; }
 .home-plan-grid { grid-template-columns:minmax(0,1fr); }
 .landing-page .story-grid { gap:25px; }
 .landing-page .story-grid h2 { font-size:28px; }
 .landing-page .landing-cta { padding:30px; }
 .home-steps li:not(:last-child)::after { display:none; }
}
@media (max-width:480px) {
 .landing-page .public-container { width:calc(100% - 32px); }
 .home-dashboard-wrap::before { inset:4px -5px; transform:rotate(-1.5deg); }
 .landing-page .hero-description { font-size:16px; }
 .landing-page .landing-context { font-size:12px; gap:12px; }
 .home-context-icon { width:36px; height:36px; border-radius:10px; }
 .home-tools { grid-template-columns:minmax(0,1fr); gap:10px; }
 .home-tool summary { padding:15px; }
}
@media (prefers-reduced-motion:reduce) { .home-expand { transition:none; } }
