/*
 * Luvia public interior system — v1.5
 * Visual layer only: preserves page content, form schema and application logic.
 */

/* Shared inner-page rhythm */
.page-hero{isolation:isolate;border-bottom:1px solid rgba(21,31,72,.08)}
.page-hero>.container{position:relative;z-index:2}
.page-hero .eyebrow{display:inline-flex;align-items:center;gap:10px;margin-bottom:24px;color:var(--accent);font-weight:750}
.page-hero .eyebrow::before{width:22px;height:2px;border-radius:2px;background:var(--accent);content:""}
.page-hero .button-row{margin-top:32px}
.page-hero .button{border-radius:12px}
.page-hero__visual{padding:14px;border:1px solid rgba(21,31,72,.1);border-radius:24px;background:rgba(255,255,255,.72);box-shadow:0 30px 80px rgba(31,43,96,.12);transform:rotate(.35deg);backdrop-filter:blur(16px)}
.page-hero__visual .browser-mockup{overflow:hidden;border-radius:17px}

main#main-content:not(.brief-page):not(.auth-layout)>.section:not(.section--ink){position:relative}
main#main-content:not(.brief-page):not(.auth-layout)>.section:not(.section--ink):nth-of-type(odd){background:#f7f8fc}
.section-heading{margin-bottom:54px}
.section-heading h2{max-width:860px}
.section-heading>p:last-child{max-width:720px}

/* One coherent card language across every public page */
.feature-grid,.value-grid,.decision-grid,.dont-grid,.manifesto-grid,.portal-feature-grid,.portfolio-grid,.service-route-grid{gap:16px;border:0}
.feature-card,.value-grid article,.decision-grid article,.manifesto-grid article,.portal-feature-grid article,.service-detail-card,.service-route-grid>article,.concept-card,.portfolio-card{overflow:hidden;border:1px solid rgba(21,31,72,.1);border-radius:20px;background:#fff;box-shadow:0 12px 36px rgba(31,43,96,.055);transition:border-color .25s ease,box-shadow .25s ease,transform .25s ease}
.feature-card{min-height:260px;padding:30px}
.feature-card__icon,.value-grid article>span,.decision-grid article>span,.portal-feature-grid article>span{display:grid;width:38px;height:38px;place-items:center;border-radius:11px;background:var(--accent-soft);color:var(--accent);font-size:11px;font-weight:800}
.feature-card h3,.value-grid h3,.decision-grid h3,.portal-feature-grid h3{font-size:clamp(22px,2vw,29px)}
.feature-card p,.value-grid p,.decision-grid p,.portal-feature-grid p,.service-route-grid p{color:var(--muted);line-height:1.72}
@media(hover:hover){.feature-card:hover,.value-grid article:hover,.decision-grid article:hover,.manifesto-grid article:hover,.portal-feature-grid article:hover,.service-detail-card:hover,.service-route-grid>article:hover,.concept-card:hover,.portfolio-card:hover{border-color:rgba(79,86,255,.3);box-shadow:0 22px 58px rgba(31,43,96,.11);transform:translateY(-5px)}}

/* Package, pricing and comparison surfaces */
.service-grid--packages,.pricing-comparison,.addon-grid{gap:18px}
.service-grid--packages .service-card,.pricing-comparison__card,.addon-grid article{border-color:rgba(21,31,72,.1);border-radius:22px;background:#fff;box-shadow:0 14px 40px rgba(31,43,96,.06)}
.service-grid--packages .service-card{padding:34px}
.service-grid--packages .service-card--accent,.pricing-comparison__card.is-recommended{border-color:rgba(79,86,255,.45);background:linear-gradient(155deg,#111936,#171f43);color:#fff;box-shadow:0 24px 65px rgba(17,25,54,.2)}
.service-grid--packages .service-card--accent p,.service-grid--packages .service-card--accent li,.service-grid--packages .service-card--accent small,.pricing-comparison__card.is-recommended>p,.pricing-comparison__card.is-recommended dt{color:rgba(255,255,255,.68)}
.pricing-comparison__card.is-recommended dd,.pricing-comparison__card.is-recommended .pricing-comparison__price span{color:#fff}
.pricing-comparison__card.is-recommended dl>div{border-color:rgba(255,255,255,.13)}
.scope-disclosure{border:1px solid rgba(79,86,255,.18);border-left:4px solid var(--accent);border-radius:16px;background:linear-gradient(90deg,#f0f1ff,#fafaff)}

/* Process and editorial blocks */
.roadmap-step{grid-template-columns:72px 1fr;gap:28px;margin-bottom:12px;border:1px solid rgba(21,31,72,.09);border-radius:18px;padding:28px;background:#fff;box-shadow:0 10px 32px rgba(31,43,96,.045)}
.roadmap-step>span{display:grid;width:48px;height:48px;place-items:center;border:1px solid rgba(79,86,255,.22);border-radius:14px;background:var(--accent-soft);color:var(--accent);font-size:11px;font-weight:800}
.roadmap-step h2{margin:0 0 8px;font-size:clamp(25px,3vw,35px)}
.roadmap-step p{margin:0;color:var(--muted);line-height:1.7}
.process-banner{position:relative;overflow:hidden;border:0;border-radius:24px;background:linear-gradient(135deg,#101832,#18234a);color:#fff;box-shadow:0 26px 70px rgba(17,25,54,.18)}
.process-banner::after{width:260px;height:260px;border:58px solid rgba(115,121,255,.12);border-radius:50%;content:"";position:absolute;right:-80px;bottom:-145px}
.process-banner>*{position:relative;z-index:1}.process-banner p:last-child{color:rgba(255,255,255,.64)}.process-banner .text-link{color:#b7baff}
.split-section{gap:80px}.split-section>div>p:not(.eyebrow){color:var(--muted);font-size:16px;line-height:1.75}
.large-check-list{overflow:hidden;border:1px solid rgba(21,31,72,.09);border-radius:20px;background:#fff;box-shadow:0 14px 38px rgba(31,43,96,.05)}
.large-check-list li{border-bottom:1px solid rgba(21,31,72,.08);padding:20px 24px}.large-check-list li:last-child{border-bottom:0}
.design-direction{border-color:rgba(21,31,72,.1);border-radius:22px;background:#fff;box-shadow:0 16px 46px rgba(31,43,96,.07)}

/* Portal, concept, FAQ and contact pages */
.portal-product-demo__shell{border-color:rgba(255,255,255,.12);border-radius:24px;box-shadow:0 38px 90px rgba(0,0,0,.3)}
.portal-product-demo__shell>aside{background:#101832}.portal-product-demo__shell>aside a.is-active{background:#27325f}
.portal-next-action{border-color:rgba(79,86,255,.26);background:#f4f5ff}
.portal-preview{border-radius:22px;box-shadow:0 20px 55px rgba(31,43,96,.1)}
.concept-disclaimer{border:1px solid rgba(79,86,255,.18);border-radius:16px;padding:18px 20px;background:#f4f5ff}
.concept-card__content{padding:25px}
.faq-library__toolbar{border:1px solid rgba(21,31,72,.1);border-radius:20px;background:rgba(255,255,255,.94);box-shadow:0 18px 50px rgba(31,43,96,.08);backdrop-filter:blur(18px)}
.faq-search input{border-radius:12px;background:#f7f8fc}
.faq-filters button{border-radius:999px}
.faq-library__item{border-color:rgba(21,31,72,.1);background:#fff}
.faq-library__item:first-child{border-top-left-radius:18px;border-top-right-radius:18px}.faq-library__item:last-child{border-bottom-right-radius:18px;border-bottom-left-radius:18px}
.contact-layout{gap:54px}.contact-routes{position:sticky;top:calc(var(--header-height) + 28px)}
.contact-route{border-color:rgba(21,31,72,.1);border-radius:14px;background:#fff;box-shadow:0 9px 30px rgba(31,43,96,.04)}
.contact-route.is-primary{border-color:var(--accent);background:var(--accent)}
.contact-form{border-color:rgba(21,31,72,.1);border-radius:22px;box-shadow:0 24px 65px rgba(31,43,96,.09)}
.contact-form input,.contact-form select,.contact-form textarea{border-color:rgba(21,31,72,.14);background:#fafbff}

/* Eight-step application: same product-system language as the homepage */
.brief-page--v2{position:relative;padding-top:var(--header-height);background:#f4f6fb}
.brief-page--v2::before{position:absolute;inset:0 0 auto;height:620px;background:linear-gradient(90deg,rgba(79,86,255,.04) 1px,transparent 1px),linear-gradient(rgba(79,86,255,.035) 1px,transparent 1px),radial-gradient(circle at 72% 10%,rgba(112,119,255,.15),transparent 36%);background-size:76px 76px,76px 76px,auto;content:"";pointer-events:none}
.brief-v2-shell{position:relative;z-index:1;grid-template-columns:minmax(340px,380px) minmax(0,1fr);max-width:1380px;gap:24px;padding:42px 28px 82px}
.brief-v2-summary{top:calc(var(--header-height) + 22px);height:calc(100vh - var(--header-height) - 44px);min-height:610px;border:1px solid rgba(255,255,255,.1);border-radius:24px;padding:34px;background:linear-gradient(155deg,#101832 0%,#151f45 100%);box-shadow:0 26px 70px rgba(17,25,54,.22)}
.brief-v2-summary::before{position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);background-size:62px 100%;content:"";pointer-events:none}
.brief-v2-summary::after{right:-118px;bottom:-150px;width:320px;height:320px;border:72px solid rgba(115,121,255,.13)}
.brief-v2-back{display:inline-flex;width:max-content;align-items:center;border:1px solid rgba(255,255,255,.12);border-radius:999px;padding:8px 11px;color:rgba(255,255,255,.72)}
.brief-v2-summary .eyebrow{color:#aeb2ff}.brief-v2-summary h1{max-width:310px;font-size:clamp(38px,3.2vw,49px);font-weight:600}.brief-v2-summary>div>p:last-child{color:rgba(255,255,255,.64)}
.live-project-summary{border-color:rgba(255,255,255,.14)}.live-project-summary>div{border-color:rgba(255,255,255,.1);padding:13px 0}.live-project-summary dt{color:rgba(255,255,255,.45)}
.brief-v2-card{border-color:rgba(21,31,72,.1);border-radius:24px;padding:40px 44px;background:rgba(255,255,255,.97);box-shadow:0 24px 70px rgba(31,43,96,.085);backdrop-filter:blur(18px)}
.wizard-status--compact{margin-bottom:36px;border-bottom:1px solid rgba(21,31,72,.08);padding-bottom:26px}.wizard-status--compact>div:first-child{grid-template-columns:1fr auto;align-items:end}.wizard-status--compact strong{font-family:var(--font-display);font-size:28px}.wizard-status--compact .wizard-progress{height:7px;margin-top:14px;background:#e7e9f2}.wizard-status--compact .wizard-progress i{border-radius:99px;background:linear-gradient(90deg,var(--accent),#858aff)}
.brief-form--v2 .wizard-step legend{max-width:760px;font-size:clamp(34px,3.3vw,46px);font-weight:600;line-height:1.04}.brief-form--v2 .step-help{color:var(--muted);font-size:15px}
.brief-form--v2 input:not([type=checkbox]):not([type=radio]):not([type=color]),.brief-form--v2 select,.brief-form--v2 textarea{border-color:rgba(21,31,72,.14);border-radius:12px;background:#fafbff}
.brief-form--v2 input:focus,.brief-form--v2 select:focus,.brief-form--v2 textarea:focus{border-color:var(--accent);background:#fff;box-shadow:0 0 0 4px rgba(79,86,255,.1)}
.package-grid{gap:13px}.package-card>span{border-color:rgba(21,31,72,.12);border-radius:18px;background:#fbfcff}.package-card input:checked+span{border-color:var(--accent);background:#f5f6ff;box-shadow:0 0 0 3px rgba(79,86,255,.1)}
.package-card--accent input:checked+span{background:linear-gradient(145deg,var(--accent),#6268ff)}
.scope-card>span,.personality-card>span,.asset-status-card>span,.summary-card{border-color:rgba(21,31,72,.11);background:#fbfcff}
.scope-card input:checked~span,.personality-card input:checked+span,.asset-status-card input:checked+span{border-color:var(--accent);background:#f3f4ff}
.domain-state,.color-builder,.service-row,.upload-card{border-color:rgba(21,31,72,.1);background:#f8f9fd}
.scope-counter{background:var(--accent-soft)}
.price-summary{border-radius:16px;background:var(--navy)}
.wizard-actions{border-color:rgba(21,31,72,.09)}.wizard-actions .button{border-radius:11px}
.wizard-dots--compact span{background:#e5e7f0}.wizard-dots--compact li.is-active span,.wizard-dots--compact li.is-done span{background:var(--accent)}
.mobile-wizard-actions{border-color:rgba(21,31,72,.1);background:rgba(255,255,255,.96)}
.brief-success{border-radius:24px;background:#fff;box-shadow:0 28px 80px rgba(31,43,96,.1)}
body.admin-bar .brief-v2-summary{top:calc(var(--header-height) + 54px)}

/* Authentication pages share the same brand instead of the removed raster logo */
.auth-brand{background:linear-gradient(150deg,#101832,#18234b)}
.auth-brand::before{position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);background-size:72px 100%;content:""}
.auth-brand .site-brandmark{position:relative;z-index:1;color:#fff}.auth-brand .site-brandmark small{color:rgba(255,255,255,.48)}
.auth-card{border-color:rgba(21,31,72,.1);border-radius:24px;box-shadow:0 28px 80px rgba(31,43,96,.1)}
.auth-panel{background:radial-gradient(circle at 86% 12%,rgba(79,86,255,.12),transparent 34%),#f5f6fb}

@media(max-width:1100px){
  .brief-v2-shell{grid-template-columns:310px minmax(0,1fr);padding-inline:18px}.brief-v2-card{padding:34px}.service-grid--packages .service-card{padding:28px}
}

@media(max-width:900px){
  .page-hero__visual{max-width:760px}.contact-routes{position:relative;top:auto}
  .brief-page--v2{padding-top:var(--header-height)}.brief-v2-shell{display:block;padding:24px 16px 110px}.brief-v2-summary{position:relative;top:auto;height:auto;min-height:0;margin-bottom:16px;padding:26px 28px}.brief-v2-summary h1{max-width:700px}.live-project-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.brief-v2-card{padding:32px}
  body.admin-bar .brief-v2-summary{top:auto}
}

@media(max-width:767px){
  .page-hero{padding-top:118px}.page-hero .eyebrow{margin-bottom:18px}.page-hero .button-row{display:grid;width:100%;margin-top:26px}.page-hero .button{width:100%}.page-hero__visual{margin-inline:-4px;padding:8px;border-radius:18px}.section-heading{margin-bottom:38px}
  .feature-grid,.value-grid,.decision-grid,.dont-grid,.manifesto-grid,.portal-feature-grid,.portfolio-grid,.service-route-grid{gap:12px}.feature-card{min-height:0;padding:24px}.service-grid--packages .service-card{padding:25px 22px}.roadmap-step{grid-template-columns:48px 1fr;gap:16px;padding:22px 18px}.roadmap-step>span{width:40px;height:40px}.process-banner{padding:34px 25px}.split-section{gap:42px}.large-check-list li{padding:17px 18px}
  .portal-product-demo__shell{border-radius:18px}.portal-product-demo__shell>main{padding:20px}.contact-form{padding:25px 20px}
  .brief-v2-shell{padding:12px 8px 106px}.brief-v2-summary{margin-bottom:10px;border-radius:20px;padding:22px}.brief-v2-summary .brief-v2-back{display:none}.brief-v2-summary h1{margin:7px 0 0;font-size:30px}.brief-v2-summary>div>p:last-child{display:none}.live-project-summary{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:16px;gap:0 14px}.live-project-summary>div{display:grid;gap:4px;padding:8px 0}.live-project-summary>div:nth-child(4),.live-project-summary>div:nth-child(5){display:none}.live-project-summary dd{max-width:100%;font-size:11px;text-align:left}.brief-v2-card{border-radius:20px;padding:25px 18px}.wizard-status--compact{margin-bottom:27px;padding-bottom:21px}.wizard-status--compact strong{font-size:23px}.brief-form--v2 .wizard-step legend{font-size:30px}.brief-form--v2 .step-help{font-size:14px}.package-grid,.scope-grid,.goal-grid,.personality-grid,.final-summary{grid-template-columns:1fr}.mobile-wizard-actions{gap:10px;padding:11px 14px calc(11px + env(safe-area-inset-bottom));box-shadow:0 -12px 34px rgba(31,43,96,.12)}.mobile-wizard-actions .button{min-height:46px;border-radius:11px}
}

@media(max-width:420px){
  .brief-v2-shell{padding-inline:6px}.brief-v2-summary{border-radius:17px;padding:19px}.brief-v2-summary h1{font-size:27px}.brief-v2-card{border-radius:17px;padding:22px 15px}.brief-form--v2 .wizard-step legend{font-size:27px}.wizard-status--compact strong{font-size:21px}.mobile-wizard-actions{gap:7px;padding-inline:10px}.mobile-wizard-actions .button{padding-inline:15px}.contact-form{padding-inline:17px}
}

@media(prefers-reduced-motion:reduce){.feature-card,.value-grid article,.decision-grid article,.manifesto-grid article,.portal-feature-grid article,.service-detail-card,.service-route-grid>article,.concept-card,.portfolio-card{transition:none}}
