.demo-page .home-nav { border-bottom:1px solid var(--home-line); }
.demo-hero { padding:60px 0 52px; border-bottom:1px solid var(--home-line); background:radial-gradient(65% 130% at 0 100%,var(--home-a),transparent 85%),radial-gradient(65% 100% at 100% 100%,var(--home-b),transparent 85%),var(--home-bg); }
.demo-hero .home-hero-badge { margin-bottom:25px; }
.demo-hero-grid { display:grid; grid-template-columns:1.3fr 1fr; align-items:end; gap:70px; }
.demo-hero h1 { margin:0; font-size:clamp(38px,4.5vw,56px); line-height:1.12; letter-spacing:-.045em; font-weight:550; text-wrap:balance; }
.demo-hero-grid > p { max-width:44ch; margin:0; font-size:16px; line-height:1.85; color:var(--home-muted); }
.demo-layout { display:grid; grid-template-columns:.85fr 1.15fr; gap:70px; align-items:start; padding-top:54px; }
.demo-overview { min-width:0; padding-top:10px; }
.demo-overview h2 { margin:0 0 20px; font-size:32px; line-height:1.22; letter-spacing:-.035em; font-weight:500; }
.demo-overview-intro { margin:0; max-width:46ch; font-size:14px; line-height:1.85; color:var(--home-muted); }
.demo-topics { display:grid; gap:28px; margin:30px 0 0; padding:0; list-style:none; }
.demo-topics li { display:flex; align-items:start; gap:17px; }
.demo-topics li > span { display:grid; place-items:center; width:34px; height:34px; flex-shrink:0; border-radius:9px; background:var(--home-brand-gradient); color:var(--home-brand-ink); font-size:11px; }
.demo-topics h3 { margin:0 0 9px; font-size:16px; font-weight:500; line-height:1.4; letter-spacing:-.02em; }
.demo-topics p { margin:0; color:var(--home-muted); font-size:13px; line-height:1.8; }
.demo-next { margin-top:36px; padding-top:28px; border-top:1px solid var(--home-line); }
.demo-next h2 { font-size:21px; margin-bottom:24px; }
.demo-next ol { list-style:none; padding:0 0 0 18px; margin:0; border-left:1px solid var(--home-line); display:grid; gap:24px; }
.demo-next li { position:relative; }
.demo-next li::before { content:''; position:absolute; left:-23px; top:5px; width:8px; height:8px; border-radius:50%; background:var(--home-brand-end); }
.demo-next strong { display:block; font-size:13px; font-weight:500; margin-bottom:7px; }
.demo-next li > span { display:block; font-size:12px; color:var(--home-muted); line-height:1.8; }
.demo-direct { margin-top:34px; padding:24px; border:1px solid var(--home-line); border-radius:12px; background:var(--home-soft); }
.demo-direct h2 { font-size:21px; margin-bottom:20px; }
.demo-direct > a { display:flex; align-items:start; justify-content:space-between; gap:15px; padding:10px 0; font-size:13px; overflow-wrap:anywhere; }
.demo-direct > a:hover { text-decoration:underline; text-underline-offset:4px; }
.demo-direct > p { margin:15px 0 0; padding-top:15px; border-top:1px solid var(--home-line); font-size:12px; color:var(--home-muted); line-height:1.8; }
.demo-form-card { min-width:0; padding:32px; border:1px solid var(--home-line); border-radius:16px; background:var(--home-card); box-shadow:0 8px 35px color-mix(in srgb,var(--home-a) 13%,transparent); }
.demo-form-heading { margin-bottom:30px; }
.demo-form-heading h2 { margin:0 0 14px; font-size:29px; line-height:1.2; font-weight:500; letter-spacing:-.035em; }
.demo-form-heading > p { margin:0; font-size:13px; line-height:1.75; color:var(--home-muted); }
.demo-form-card fieldset { min-width:0; border:0; padding:0; margin:0 0 28px; }
.demo-form-card fieldset + fieldset { padding-top:24px; border-top:1px solid var(--home-line); }
.demo-form-card legend { display:flex; align-items:center; gap:12px; width:100%; padding:0; margin-bottom:22px; font-size:14px; line-height:1.5; font-weight:500; }
.demo-form-card legend > span { display:grid; place-items:center; width:25px; height:25px; flex-shrink:0; border:1px solid var(--home-line); border-radius:7px; background:var(--home-soft); font-size:10px; color:var(--home-muted); }
.demo-form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.demo-full { grid-column:1 / -1; }
.demo-field { min-width:0; }
.demo-field > label { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:4px 10px; margin-bottom:8px; font-size:12px; line-height:1.5; font-weight:500; }
.demo-required,.demo-optional { font-weight:400; font-size:10px; color:var(--home-muted); }
.demo-field input,.demo-field select,.demo-field textarea { display:block; width:100%; min-width:0; max-width:100%; padding:11px 12px; min-height:44px; border:1px solid var(--home-line); border-radius:8px; background:var(--home-bg); color:var(--home-fg); font:inherit; font-size:14px; line-height:1.6; }
.demo-field select { appearance:auto; }
.demo-field textarea { resize:vertical; min-height:120px; }
.demo-field textarea::placeholder { color:var(--home-muted); opacity:1; }
.demo-field input:focus-visible,.demo-field select:focus-visible,.demo-field textarea:focus-visible,.demo-error-summary:focus-visible,.demo-success:focus-visible { outline:2px solid var(--home-c); outline-offset:3px; }
.demo-field [aria-invalid=true] { border-color:#c8584a; }
.demo-hint,.demo-preference-note { margin:8px 0 0; color:var(--home-muted); font-size:11px; line-height:1.75; }
.demo-preference-note { margin:-5px 0 20px; padding:12px 14px; border-radius:8px; background:var(--home-soft); }
.demo-preference-note strong { font-weight:500; color:var(--home-fg); }
.demo-field-error { margin:8px 0 0; font-size:12px; line-height:1.7; color:#b73e32; }
:root[data-theme=dark] .demo-field-error { color:#ffaca1; }
.demo-page .demo-submit { width:100%; border-radius:9px; }
.demo-submit:disabled { opacity:.65; cursor:wait; }
.demo-form-status { margin:12px 0 0; font-size:12px; color:var(--home-muted); line-height:1.7; }
.demo-form-status:empty { display:none; }
.demo-privacy { margin:16px 0 0; color:var(--home-muted); font-size:11px; line-height:1.8; }
.demo-privacy a { color:var(--home-fg); text-decoration:underline; text-underline-offset:3px; }
.demo-error-summary { padding:20px; margin-bottom:28px; border:1px solid #c8584a; border-radius:10px; background:var(--home-soft); scroll-margin-top:95px; }
.demo-error-summary h3 { margin:0 0 12px; font-size:15px; font-weight:500; }
.demo-error-summary ul { padding-left:18px; margin:0; font-size:12px; line-height:1.8; }
.demo-error-summary li + li { margin-top:7px; }
.demo-error-summary a { text-decoration:underline; text-underline-offset:3px; }
.demo-success { scroll-margin-top:95px; }
.demo-success-icon { display:grid; place-items:center; width:52px; height:52px; margin-bottom:24px; border-radius:14px; background:var(--home-brand-gradient); color:var(--home-brand-ink); font-size:25px; }
.demo-success h2 { margin:0 0 20px; font-size:34px; font-weight:500; letter-spacing:-.035em; line-height:1.2; }
.demo-success > p { color:var(--home-muted); line-height:1.85; font-size:14px; margin:0; }
.demo-success-note { padding:20px; margin-top:26px; border:1px solid var(--home-line); border-radius:10px; background:var(--home-soft); }
.demo-success-note strong { font-size:13px; font-weight:500; }
.demo-success-note p { margin:9px 0 0; color:var(--home-muted); font-size:12px; line-height:1.8; }
.demo-success .home-actions { flex-wrap:wrap; justify-content:start; margin-top:28px; }
.demo-success .home-text-link { margin-top:0; }
.demo-faq { display:grid; grid-template-columns:.85fr 1.15fr; gap:70px; padding-top:72px; padding-bottom:64px; }
.demo-faq h2 { margin:0 0 18px; font-size:31px; line-height:1.2; font-weight:500; letter-spacing:-.035em; }
.demo-faq > div > p { margin:0; max-width:40ch; font-size:14px; line-height:1.8; color:var(--home-muted); }
.demo-faq-items details { border-top:1px solid var(--home-line); }
.demo-faq-items details:last-child { border-bottom:1px solid var(--home-line); }
.demo-faq-items summary { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:20px 0; list-style:none; cursor:pointer; font-size:14px; line-height:1.6; font-weight:500; }
.demo-faq-items summary::-webkit-details-marker { display:none; }
.demo-faq-items summary > span { color:var(--home-muted); font-size:22px; font-weight:400; }
.demo-faq-items details[open] summary > span { transform:rotate(45deg); }
.demo-faq-items details p { margin:0; padding-bottom:22px; font-size:13px; color:var(--home-muted); line-height:1.85; }
.demo-faq-items a { color:var(--home-fg); text-decoration:underline; text-underline-offset:4px; }
.demo-faq-items summary:focus-visible { outline:2px solid var(--home-c); outline-offset:3px; }
@media(max-width:1050px) { .demo-hero-grid,.demo-layout,.demo-faq { gap:36px; } .demo-form-card { padding:26px; } .demo-layout { grid-template-columns:.8fr 1.2fr; } .demo-form-grid { grid-template-columns:minmax(0,1fr); gap:18px; } }
@media(max-width:800px) { .demo-hero-grid,.demo-layout,.demo-faq { grid-template-columns:minmax(0,1fr); gap:28px; } .demo-hero-grid > p { max-width:58ch; } .demo-overview { display:contents; } .demo-overview > section:first-child { order:0; } .demo-form-card { order:1; } .demo-next { order:2; margin-top:0; } .demo-direct { order:3; margin-top:0; } .demo-topics { gap:22px; } .demo-form-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .demo-faq { padding-top:50px; } }
@media(max-width:600px) { .demo-hero { padding:44px 0 38px; } .demo-hero h1 { font-size:39px; } .demo-hero h1 br { display:none; } .demo-hero-grid > p { font-size:15px; } .demo-layout { padding-top:34px; gap:28px; } .demo-overview h2 { font-size:28px; } .demo-overview h2 br { display:none; } .demo-form-card { padding:23px; } .demo-form-grid { grid-template-columns:minmax(0,1fr); gap:18px; } .demo-form-heading h2 { font-size:27px; } .demo-form-card legend { font-size:13px; gap:10px; } .demo-direct h2,.demo-next h2 { font-size:22px; } .demo-success h2 { font-size:29px; } .demo-faq { padding-bottom:35px; } .demo-faq h2 { font-size:28px; } .demo-faq-items summary { font-size:13px; } }
