/* Eywa Generation polish. Method: unslop by Damir Sokolovsky (@heydamir), CC BY 4.0.
   https://heydamir.design/unslop — preserves Corekit composition and product behaviour. */

/* 1. Spacing: one 4px rhythm, with 2px optical adjustments inside small controls. */
.design-hero{padding:80px 28px 48px}
.design-hero h1{margin-bottom:24px}
.design-hero .lead{margin-bottom:32px}
.design-hero .actions,.design-final .actions{gap:24px}
.workspace-frame{margin-top:0;padding-inline:24px}
.workspace-chrome{height:48px;padding-inline:24px;gap:24px}
.workspace-layout{grid-template-columns:224px minmax(0,1fr);min-height:432px}
.workspace-sidebar{padding:24px 16px}
.workspace-sidebar>p{margin:32px 8px 8px}
.workspace-sidebar nav{gap:4px}
.workspace-sidebar nav>a{padding:8px 12px;gap:8px;min-height:36px}
.workspace-account{padding-top:20px;gap:8px}
.workspace-main{padding:32px}
.workspace-intro{gap:24px;margin-bottom:24px}
.workspace-panels{gap:16px;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}
.workspace-product{padding:24px;min-height:256px}
.workspace-product-top{margin-bottom:24px}
.workspace-product p{margin-bottom:16px}
.workspace-product-bottom{gap:16px;padding-top:16px;flex-wrap:wrap}
.workspace-quicklinks{gap:16px}
.workspace-quicklinks>a{padding:20px 16px;gap:12px;min-height:112px}
.workspace-footnote{gap:8px;margin-top:24px}
.design-platform-strip{margin-top:40px;padding-bottom:40px}
.design-platform-strip>div{gap:40px;margin-top:24px}
.design-section-heading{margin-bottom:48px}
.design-section-heading h2{margin-bottom:16px}
.design-feature-grid{gap:24px}
.design-feature h3{margin-bottom:12px}
.design-feature p{margin-bottom:16px}
.design-split{gap:64px}
.design-split-copy h2{margin-bottom:24px}
.design-split-copy>p{margin-bottom:24px}
.design-split-copy>.button{margin-right:24px}
.design-split-copy>.text-link{margin-top:16px}
.design-product-showcase,.design-partner-panel{padding:24px}
.showcase-caption{margin:0 0 24px;gap:16px}
.design-product-label{padding:24px;gap:16px;min-height:144px}
.design-product-sheet>div:last-child{padding:24px}
.design-panel-heading{gap:24px;margin-bottom:24px}
.design-partner-panel>h3{margin-bottom:16px}
.design-step-list{margin-top:24px;gap:12px}
.design-step-list li{padding:16px;gap:16px}
.design-step-list p{margin-top:8px}
.design-tools-grid{gap:24px}
.design-tools .design-feature,.design-features .design-feature{padding:24px}
.design-docs{gap:64px}
.design-document-list{padding:24px}
.design-document-list>a{padding:24px 0;gap:24px}
.design-empty-document h3{margin:24px 0 12px}
.design-marketing{padding:48px 40px;margin-block:24px}
.design-marketing .design-section-heading{margin-bottom:32px}
.design-marketing .generation-stats{margin-bottom:24px}
.design-rule-footer{gap:32px}
.design-faq{padding-block:96px}
.design-faq summary{padding:24px 32px 24px 0}
.design-final{padding:64px 32px;margin-block:24px 96px}
.design-final h2{margin-bottom:24px}
.design-final>p{margin-bottom:32px}

/* 2. Color: graphite ramp; the product label keeps the existing restrained ink tint. */
.design-home{--muted:#525252;--polish-meta:#737373;--polish-line:#17171714}
.design-home p{color:var(--muted)}
.workspace-frame:before{content:none}
.workspace-window{box-shadow:0 8px 24px #17171706}
.workspace-window,.workspace-product,.workspace-quicklinks>a,.design-product-sheet,
.design-partner-panel,.design-product-showcase,.design-document-list,.design-marketing,
.design-marketing .generation-stats,.design-step-list li,.design-final{border-color:var(--polish-line)}
.workspace-chrome,.workspace-sidebar,.workspace-account,.workspace-product-bottom{border-color:var(--polish-line)}
.workspace-chrome,.workspace-lang,.workspace-sidebar>p,.workspace-account small,
.workspace-quicklinks small,.workspace-product-bottom,.workspace-footnote,
.design-platform-strip>span,.design-platform-strip>div,.showcase-caption,
.design-rule-footer>p,.design-step-list p,.design-kicker{color:var(--polish-meta)}
.workspace-sidebar nav>a{color:var(--muted)}
.workspace-sidebar nav>a.workspace-active{color:var(--ink);background:#f4f4f5}
.workspace-product p{color:var(--muted)}
.workspace-product-top .tag,.design-panel-heading .tag{color:#525252;background:transparent;border:0;padding:0}
.design-home .quicklink-symbol{color:#525252;background:#f4f4f5;border-color:var(--polish-line)}
.design-home .feature-number{color:#737373;background:transparent!important;border:0}
.design-home .status-dot{background:#737373}

/* 3. Icons: no new decoration; align the existing navigation markers and links. */
.workspace-sidebar .nav-mark{width:16px;height:16px;flex-basis:16px;border-color:#737373;border-radius:4px}
.workspace-quicklinks>a>span:last-child,.workspace-product-top>span:last-child{font-size:16px;color:#737373}
.design-home .text-link:after{font-size:16px}
.design-home .feature-number{font-size:12px;letter-spacing:0;justify-content:start;width:32px;height:24px;margin-bottom:24px}

/* 4. Copy: specific CMS headline, no decorative announcement or label punctuation. */
.design-badge{display:none}
.design-home .design-kicker,.design-home .eyebrow{text-transform:none;letter-spacing:0}
.design-home .design-kicker{margin-bottom:16px}

/* 5. Type: keep Inter; three text roles, readable preview, tabular figures. */
.design-hero h1{font-size:clamp(48px,4.8vw,64px);font-weight:500;letter-spacing:-.03em;max-width:920px;line-height:1.08}
.design-home h2{font-weight:500;letter-spacing:-.025em}
.design-home h3{font-weight:500;letter-spacing:0}
.design-home .design-feature h3{font-size:18px;line-height:1.4}
.design-hero .lead{font-size:18px;line-height:28px;max-width:640px}
.design-home .workspace-chrome,.design-home .workspace-lang,.design-home .workspace-sidebar>p,
.design-home .workspace-intro .design-kicker,.design-home .workspace-account small,
.design-home .workspace-quicklinks small,.design-home .workspace-product-top .tag,
.design-home .workspace-product-bottom,.design-home .workspace-footnote,
.design-home .showcase-caption,.design-home .design-product-label>span,
.design-home .design-product-sheet .tag,.design-home .design-step-list li>span,
.design-home .design-panel-heading .tag,.design-home .design-marketing .generation-stats span,
.design-home .design-marketing .generation-stats small{font-size:12px;line-height:18px;letter-spacing:0;font-weight:400}
.design-home .workspace-sidebar nav>a,.design-home .workspace-account,
.design-home .workspace-quicklinks strong,.design-home .workspace-intro .small-button,
.design-home .workspace-product p,.design-home .design-step-list strong,
.design-home .design-step-list p,.design-home .design-product-sheet p,
.design-home .design-rule-footer>p{font-size:13px;line-height:20px;letter-spacing:0}
.design-home .workspace-quicklinks strong,.design-home .design-step-list strong{font-weight:500}
.design-home .workspace-intro h2{font-size:28px;line-height:36px;letter-spacing:-.02em}
.design-home .workspace-product h3{font-size:24px;line-height:32px;letter-spacing:-.02em;font-weight:500}
.design-home .workspace-product p{max-width:none}
.design-home .design-product-sheet .text-link,.design-home .design-feature .text-link,
.design-home .design-rule-footer .small-button{font-size:13px;letter-spacing:0}
.design-home .design-product-label>strong{font-weight:500;letter-spacing:-.02em}
.generation-stats,.feature-number,.quicklink-symbol,.design-step-list li>span,.workspace-product-bottom{font-variant-numeric:tabular-nums}

/* 6. Layout: preserve every section and the Corekit arrangement; simplify mobile preview. */
.design-hero .hero-copy{max-width:960px}
.workspace-intro h2{max-width:480px}
.workspace-intro .small-button{white-space:nowrap}
.workspace-account>span:last-child{margin-left:auto}
.workspace-quicklinks>a>span:nth-child(2){min-width:0}
.design-home .design-features .design-feature{background:transparent;border:0;border-top:1px solid var(--polish-line);border-radius:0;padding:24px 0}
.design-home .design-tools .design-feature{background:#fff;border-color:var(--polish-line)}

/* 7. Details: radius follows function; log in is a quiet link, not another primary action. */
.button,.small-button,.header-actions .small-button,.design-hero .button{border-radius:10px}
.header-actions .small-button[href^='/login']{background:transparent;border-color:transparent;padding-inline:12px}
.header-actions .small-button[href^='/login']:hover{text-decoration:underline;text-underline-offset:4px}
.design-home .tag{border-radius:6px}
.workspace-window,.design-product-showcase,.design-partner-panel,.design-final{border-radius:20px}
.workspace-product,.workspace-quicklinks>a,.design-product-sheet,.design-document-list,
.design-home .design-tools .design-feature,.design-marketing{border-radius:16px}
.design-step-list li,.quicklink-symbol{border-radius:8px}
.design-product-showcase .design-product-sheet{border-radius:8px}
.design-marketing .generation-stats{border-radius:8px}
.design-hero .button,.design-final .button{padding:12px 24px;min-height:48px}

/* 8. Visuals: retain live catalogue content; no generated or invented medical imagery. */
.workspace-product{box-shadow:none}
.workspace-product:hover{box-shadow:none;border-color:#a3a3a3}
.workspace-window,.design-product-sheet{box-shadow:0 8px 24px #17171706}
.design-home .design-product-label{background:#eceff4}

/* 9. Motion: feedback only, one curve; reduced motion remains respected. */
.design-home a,.design-home button{transition:color 160ms cubic-bezier(.22,1,.36,1),background-color 160ms cubic-bezier(.22,1,.36,1),border-color 160ms cubic-bezier(.22,1,.36,1)}
@media(max-width:1000px){
 .workspace-layout{grid-template-columns:192px minmax(0,1fr)}
 .workspace-main{padding:24px}.workspace-sidebar{padding:24px 12px}
 .workspace-panels{grid-template-columns:1fr}.workspace-quicklinks{display:none}
 .workspace-product{min-height:224px}.workspace-intro h2{font-size:26px;line-height:32px}
 .design-split,.design-docs{gap:40px}.design-marketing{padding:40px 32px}
}
@media(max-width:800px){
 .design-hero{padding:64px 24px 40px}.design-hero h1{font-size:48px}
 .design-hero .lead{font-size:16px;line-height:26px}
 .workspace-frame{padding-inline:24px}.workspace-layout{grid-template-columns:168px minmax(0,1fr);min-height:400px}
 .workspace-main{padding:24px}.workspace-sidebar{padding:24px 12px}
 .workspace-sidebar nav>a{font-size:12px;padding:8px;gap:8px;min-height:40px}
 .workspace-account{flex-wrap:wrap}.workspace-brand{font-size:18px;letter-spacing:-.02em}
 .workspace-footnote{align-items:start}.workspace-footnote .status-dot{margin-top:6px}
 .design-section-heading{margin-bottom:32px}.design-section-heading h2{margin-bottom:16px}
 .design-split,.design-docs{gap:32px}.design-feature-grid,.design-tools-grid{gap:24px}
 .design-features .feature-number{margin-bottom:16px}
 .design-tools .design-feature{padding:24px;column-gap:16px}
 .design-marketing{margin-inline:24px;padding:40px 24px}
 .design-rule-footer{gap:16px}.design-final{margin-inline:24px;padding:48px 24px;margin-bottom:64px}
 .design-home .design-tools .feature-number{width:32px;margin:0}
}
@media(max-width:480px){
 .design-hero{padding:48px 24px 32px}.design-hero h1{font-size:36px;line-height:1.12;letter-spacing:-.02em;max-width:360px;margin-bottom:24px}
 .design-hero .lead{font-size:15px;line-height:24px;margin-bottom:24px}
 .design-hero .actions,.design-final .actions{gap:16px}
 .design-hero .button{font-size:12px;padding:12px 16px;min-height:44px}
 .design-hero .design-secondary-link{font-size:12px;min-height:44px}
 .workspace-frame{padding-inline:16px}.workspace-window{border-radius:16px}
 .workspace-layout{grid-template-columns:1fr;min-height:0}.workspace-sidebar{display:none}
 .workspace-main{padding:24px 20px}.workspace-chrome{height:40px;padding:0 16px;gap:12px}
 .design-home .workspace-chrome>span:nth-child(2),.design-home .workspace-lang{font-size:11px;line-height:16px;letter-spacing:0}
 .window-dots{display:none}.workspace-intro{margin-bottom:24px;gap:16px}
 .design-home .workspace-intro .design-kicker{font-size:12px;margin-bottom:8px}
 .design-home .workspace-intro h2{font-size:24px;line-height:32px;letter-spacing:-.02em}
 .workspace-product{padding:20px;min-height:272px;border-radius:12px}
 .workspace-product-top{margin-bottom:20px}.design-home .workspace-product-top .tag{font-size:11px;line-height:16px;max-width:220px}
 .design-home .workspace-product h3{font-size:24px;line-height:32px;margin-bottom:12px}
 .design-home .workspace-product p{font-size:13px;line-height:20px}
 .design-home .workspace-product-bottom{font-size:11px;line-height:18px;padding-top:16px}
 .design-home .workspace-footnote{font-size:11px;line-height:18px;margin-top:20px}
 .workspace-footnote .status-dot{margin-top:6px;flex-shrink:0}
 .design-platform-strip{margin:32px 24px 0;padding:0 0 32px}
 .design-platform-strip>div{gap:16px 24px;margin-top:16px;font-size:12px;letter-spacing:0}
 .design-platform-strip>span{font-size:12px}
 .design-home .section{padding:48px 24px}
 .design-section-heading{margin-bottom:32px}.design-section-heading h2{font-size:30px;line-height:1.2}
 .design-feature-grid{gap:24px}
 .design-home .design-features .design-feature{padding:20px 0 0;grid-template-columns:32px minmax(0,1fr);column-gap:16px}
 .design-home .feature-number{width:32px;height:24px;margin:0;font-size:12px}
 .design-home .design-feature h3{font-size:17px;line-height:24px;letter-spacing:0}
 .design-home .design-feature p,.design-home .design-tools .design-feature p{font-size:14px;line-height:24px}
 .design-home .design-feature .text-link{font-size:13px;min-height:44px}
 .design-split{gap:32px}.design-split-copy h2{font-size:30px;line-height:1.2;margin-bottom:24px}
 .design-split-copy>p{font-size:14px;line-height:24px;margin-bottom:24px}
 .design-split-copy>.button{margin-right:16px}.design-split-copy>.text-link{margin-top:16px;font-size:13px}
 .design-product-showcase,.design-partner-panel{padding:24px;border-radius:20px}
 .design-home .showcase-caption{font-size:11px;line-height:18px;gap:12px;flex-wrap:wrap;margin-bottom:20px}
 .showcase-caption>span:last-child{text-align:left}
 .design-product-label{padding:20px;min-height:144px;gap:16px}
 .design-home .design-product-label>span{font-size:11px;line-height:18px}
 .design-home .design-product-label>strong{font-size:26px;letter-spacing:-.02em}
 .design-product-sheet>div:last-child{padding:20px}
 .design-home .design-product-sheet .tag{font-size:11px;line-height:18px}
 .design-home .design-product-sheet p{font-size:13px;line-height:22px}
 .design-home .design-product-sheet .text-link{font-size:13px}
 .design-panel-heading{font-size:13px;margin-bottom:24px;gap:16px}
 .design-partner-panel>h3{font-size:24px;line-height:32px;margin-bottom:16px}
 .design-home .design-partner-panel>p{font-size:14px;line-height:24px}
 .design-step-list{gap:12px;margin-top:24px}.design-step-list li{padding:16px;gap:12px}
 .design-home .design-step-list strong,.design-home .design-step-list p{font-size:13px;line-height:22px}
 .design-home .design-tools .design-feature{padding:24px;grid-template-columns:32px minmax(0,1fr);column-gap:16px;border-radius:16px}
 .design-docs h2{font-size:30px}.design-docs p{font-size:14px;line-height:24px}
 .design-document-list{padding:24px;border-radius:16px}.design-empty-document h3{font-size:24px}
 .design-document-list strong{font-size:14px}.design-document-list>a{gap:16px}
 .design-home .design-marketing{margin:16px;padding:32px 20px;border-radius:20px}
 .design-marketing .design-section-heading{margin-bottom:24px}.design-marketing .design-section-heading h2{font-size:28px}
 .design-marketing .design-section-heading p{font-size:13px;line-height:22px}
 .design-marketing .generation-stats{grid-template-columns:1fr}
 .design-marketing .generation-stats>div{display:grid;grid-template-columns:minmax(0,1fr) 32px;gap:8px 16px;padding:16px;text-align:left;border-right:0;border-bottom:1px solid var(--polish-line)}
 .design-marketing .generation-stats>div:last-child{border-bottom:0}
 .design-home .design-marketing .generation-stats span{font-size:13px;line-height:20px}
 .design-marketing .generation-stats strong{grid-column:2;grid-row:1 / span 2;font-size:28px;line-height:1;margin:0;align-self:center;text-align:right;font-weight:500}
 .design-home .design-marketing .generation-stats small{font-size:11px;line-height:18px;margin:0}
 .design-home .design-rule-footer>p{font-size:12px;line-height:20px}
 .design-home .design-rule-footer .small-button{font-size:13px;white-space:normal;text-align:center}
 .design-home .design-faq{padding-top:64px;gap:24px}.design-faq h2{font-size:30px}
 .design-faq summary{font-size:14px;line-height:24px;padding:24px 32px 24px 0}
 .design-faq details p{font-size:14px;line-height:24px}
 .design-home .design-final{padding:40px 24px;margin:16px 16px 64px;border-radius:20px}
 .design-final h2{font-size:32px;line-height:1.16;letter-spacing:-.02em;margin-bottom:24px}
 .design-final>p{font-size:14px;line-height:24px;margin-bottom:24px}
 .design-final .button{font-size:13px;padding:12px 20px}.design-final .design-secondary-link{font-size:13px}
 .design-home .design-kicker{font-size:12px;line-height:18px;letter-spacing:0;text-transform:none}
}
@media(max-width:360px){
 .design-hero h1{font-size:32px;letter-spacing:-.02em}
 .design-hero .actions{gap:8px 16px}.design-hero .button{font-size:12px}.design-hero .design-secondary-link{font-size:12px}
 .workspace-main{padding:24px 16px}.workspace-product{padding:16px}
 .design-home .workspace-intro h2{font-size:22px;line-height:28px}
 .design-home .workspace-chrome>span:nth-child(2){font-size:11px}.workspace-lang{display:none}
 .design-home .section{padding-inline:20px}.design-home .design-marketing{padding-inline:20px}
}
@media(prefers-reduced-motion:reduce){.design-home a,.design-home button{transition:none}}
