/* SuryaSetu public pages (landing, estimate, thanks, privacy), redesign 2026-11-05.
   Direction A + C: a rooftop at dawn, a sun path that climbs with the monthly bill,
   and an estimate slip that prints.
   Scope: loaded ONLY by public templates. Every class is prefixed p-, so the admin,
   advisor and vendor screens (app.css) are untouched. Tokens come from app.css.
   Palette contract kept: navy chrome, azure action, amber only on rupees.
   Motion: CSS only plus pub.js; every animation starts from a visible state and
   prefers-reduced-motion shows the finished state. */

body.p-page { background: #f4f7fb; color: var(--text, #0f172a); }
body.p-page .bg-decor { display: none; }
.p-page main { max-width: none; padding: 0; margin: 0; }
.p-ease { --ease: cubic-bezier(.16, 1, .3, 1); }
.p-page { --ease: cubic-bezier(.16, 1, .3, 1); }
.p-wrap { width: min(1160px, 100% - 2rem); margin-inline: auto; }
.p-money { color: var(--sun-500, #e8940c); font-variant-numeric: tabular-nums; }
.p-page h1, .p-page h2, .p-page h3 { text-wrap: balance; }
.p-page :focus-visible { outline: 3px solid var(--azure-400, #0ea5e9); outline-offset: 2px; }
html[lang="hi"] .p-page { font-family: var(--font-deva); }
html[lang="hi"] .p-page h1 { line-height: 1.18; letter-spacing: 0; }

/* ---------------------------------------------------------------- header */
.p-head { background: var(--navy-900, #0b1524); color: #e6eef8; position: sticky; top: 0; z-index: 30; }
.p-head-in { display: flex; align-items: center; gap: .75rem; min-height: 56px; }
.p-brand { display: flex; align-items: center; gap: .6rem; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.1rem; letter-spacing: -.01em; }
.p-brand em { color: var(--sun-400, #fbbf24); font-style: normal; }
.p-brand-mark { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: var(--sun-500, #e8940c); color: #fff; }
.p-brand-mark svg { width: 20px; height: 20px; }
.p-brand-sub { display: none; font-weight: 500; font-size: .75rem; color: #9fb3c8; margin-left: .25rem; }
@media (min-width: 720px) { .p-brand-sub { display: inline; } }
.p-head .spacer { flex: 1; }
.p-pill { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: 0 .9rem; border: 1px solid #2b415c; border-radius: 999px; color: #dbe7f3; text-decoration: none; font-size: .875rem; }
.p-pill:hover { border-color: var(--azure-400, #0ea5e9); color: #fff; }
.p-pill svg { width: 16px; height: 16px; }

/* ----------------------------------------------------------------- hero */
.p-hero { position: relative; background: var(--navy-900, #0b1524); color: #fff; overflow: hidden; isolation: isolate; }
.p-hero-photo, .p-hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; }
.p-hero-photo img { opacity: .6; }
.p-hero-scrim { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(11,21,36,.97) 0%, rgba(11,21,36,.82) 46%, rgba(11,21,36,.42) 100%); }
.p-hero-arc { position: absolute; z-index: -1; left: -3%; bottom: 170px; width: 66%; max-width: 760px; height: auto; aspect-ratio: 600 / 230; pointer-events: none; }
.p-hero-arc path { fill: none; stroke: rgba(251,191,36,.5); stroke-width: 1.6; stroke-dasharray: 6 8; }
.p-sun { fill: var(--sun-400, #fbbf24); filter: drop-shadow(0 0 18px rgba(251,191,36,.75)); transition: cx .9s var(--ease), cy .9s var(--ease); }
.p-hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2.25rem; padding-block: 2.5rem 1.75rem; align-items: start; }
.p-eyebrow { display: inline-flex; align-items: center; gap: .45rem; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #bae6fd; border: 1px solid rgba(186,230,253,.35); border-radius: 999px; padding: .35rem .8rem; }
.p-eyebrow svg { width: 15px; height: 15px; }
.p-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.04; letter-spacing: -.035em; font-weight: 800; margin: 1rem 0 .9rem; max-width: 15ch; }
.p-lede { font-size: 1.0625rem; line-height: 1.6; color: #dbe7f3; max-width: 48ch; margin: 0; }

.p-drop { margin-top: 1.5rem; max-width: 560px; }
.p-drop-fig { display: flex; align-items: baseline; gap: .9rem; flex-wrap: wrap; }
.p-was { font-size: 1.35rem; font-weight: 600; color: #9fb3c8; text-decoration: line-through; text-decoration-thickness: 2px; font-variant-numeric: tabular-nums; }
.p-now { font-size: clamp(2.8rem, 7vw, 4.6rem); line-height: 1; letter-spacing: -.04em; font-weight: 800; color: var(--sun-400, #fbbf24); font-variant-numeric: tabular-nums; }
.p-drop-lab { display: block; font-size: .8125rem; font-weight: 600; color: #bfd0e2; margin-bottom: .15rem; }
.p-drop small { display: block; margin-top: .35rem; font-size: .8125rem; line-height: 1.45; color: #b6c6d8; max-width: 50ch; }
.p-slider { margin-top: 1.1rem; display: none; }
.js .p-slider { display: block; }
.p-slider label { display: flex; justify-content: space-between; gap: 1rem; font-size: .875rem; font-weight: 600; color: #dbe7f3; }
.p-slider label b { color: #fff; font-variant-numeric: tabular-nums; }
.p-slider input[type=range] { width: 100%; height: 44px; margin: .15rem 0 0; accent-color: var(--azure-400, #0ea5e9); background: transparent; }
.p-ticks { display: flex; justify-content: space-between; font-size: .75rem; color: #9fb3c8; font-variant-numeric: tabular-nums; }
.p-roofline { margin-top: .75rem; height: 44px; position: relative; border-bottom: 2px solid #35506f; }
.p-panel { position: absolute; bottom: 0; width: 11%; height: 26px; background: var(--azure-600, #0369a1); border: 1px solid #38bdf8; border-radius: 2px; transform-origin: bottom; transform: scaleY(.15); opacity: .35; transition: transform .5s var(--ease), opacity .5s var(--ease); }
.p-panel.on { transform: scaleY(1); opacity: 1; }

.p-calc { background: #fff; color: #0f172a; border-radius: 18px; padding: 1.25rem; box-shadow: 0 26px 54px -22px rgba(0,0,0,.65); }
.p-calc-head { display: flex; align-items: center; gap: .6rem; margin-bottom: .85rem; }
.p-calc-head h2 { font-size: 1.15rem; margin: 0; letter-spacing: -.01em; }
.p-calc-ico { width: 34px; height: 34px; border-radius: 10px; background: #fff4d6; color: #b45309; display: grid; place-items: center; flex: none; }
.p-calc-ico svg { width: 20px; height: 20px; }
.p-calc .field { margin-bottom: .8rem; }
.p-calc label { display: block; font-size: .875rem; font-weight: 600; margin-bottom: .3rem; }
.p-calc input, .p-calc select { width: 100%; min-height: 52px; font-size: 1rem; border-radius: 12px; }
.p-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; width: 100%; min-height: 52px; padding: 0 1.25rem; border: 0; border-radius: 12px; font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; color: #2a1700; background: linear-gradient(180deg, var(--sun-400, #fbbf24), var(--sun-500, #e8940c)); box-shadow: 0 8px 22px rgba(232,148,12,.34); transition: transform .15s var(--ease), box-shadow .2s; }
.p-btn:hover { box-shadow: 0 10px 26px rgba(232,148,12,.45); }
.p-btn:active { transform: translateY(1px) scale(.99); }
.p-btn svg { width: 20px; height: 20px; }
.p-btn--ghost { width: auto; background: transparent; color: #0369a1; border: 1.5px solid #0369a1; box-shadow: none; }
.p-btn--auto { width: auto; }
.p-trust { list-style: none; margin: .9rem 0 0; padding: 0; display: grid; gap: .3rem; font-size: .8125rem; color: #475569; }
.p-trust li { display: flex; gap: .45rem; align-items: flex-start; }
.p-trust svg { width: 16px; height: 16px; color: #15803d; flex: none; margin-top: 2px; }
.p-note { font-size: .8125rem; color: #475569; margin: .7rem 0 0; display: flex; gap: .4rem; }
.p-note svg { width: 15px; height: 15px; flex: none; margin-top: 2px; }

/* proof strip */
.p-proof { background: rgba(6,15,26,.72); border-top: 1px solid rgba(255,255,255,.12); }
.p-proof ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.p-proof li { padding: 1rem 1.1rem; border-right: 1px solid rgba(255,255,255,.1); }
.p-proof li:last-child { border-right: 0; }
.p-proof .n { display: block; font-size: 1.7rem; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.p-proof .l { display: block; font-size: .8125rem; line-height: 1.35; color: #c9d6e4; }
.p-proof .d { display: block; font-size: .72rem; color: #8ea4bb; margin-top: .15rem; }
.p-proof-title { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #9fb3c8; padding: .7rem 1.1rem 0; margin: 0; }
.p-proof-note { font-size: .75rem; color: #8ea4bb; margin: 0; padding: 0 1.1rem .8rem; }

/* ------------------------------------------------------------ estimate slip */
.p-slipwrap { margin-top: 1.1rem; }
.p-slipwrap > summary { list-style: none; cursor: pointer; }
.p-slipwrap > summary::-webkit-details-marker { display: none; }
.p-peek { display: flex; align-items: center; gap: .8rem; min-height: 64px; padding: .75rem 1rem; background: #fff; color: #0b1524; border: 1px dashed #7fb2d4; border-radius: 6px 6px 0 0; transform: rotate(-1deg); box-shadow: 0 14px 30px -18px rgba(0,0,0,.7); transition: transform .35s var(--ease); position: relative; }
.p-peek::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 9px; background: radial-gradient(circle at 8px -1px, transparent 6px, #fff 7px) 0 0/16px 9px repeat-x; transform: rotate(180deg); }
.p-slipwrap > summary:hover .p-peek { transform: rotate(0) translateY(-2px); }
.p-peek svg { width: 26px; height: 26px; color: #0369a1; flex: none; }
.p-peek b { display: block; font-size: .95rem; }
.p-peek span { font-size: .8rem; color: #475569; }
.p-slipwrap[open] > summary .p-peek { display: none; }
.p-slip { background: #fff; color: #0b1524; border: 1px solid #cfe3f1; padding: 1.4rem 1.3rem 1.2rem; position: relative; box-shadow: 0 22px 44px -24px rgba(3,105,161,.6); font-variant-numeric: tabular-nums; margin-top: 1.1rem; }
.p-slip::before, .p-slip::after { content: ""; position: absolute; left: 0; right: 0; height: 9px; background: radial-gradient(circle at 8px -1px, transparent 6px, #fff 7px) 0 0/16px 9px repeat-x; }
.p-slip::before { top: -8px; transform: rotate(0); }
.p-slip::after { bottom: -8px; transform: rotate(180deg); }
.p-slip-head { display: flex; justify-content: space-between; align-items: flex-start; gap: .75rem; border-bottom: 2px solid #0b1524; padding-bottom: .7rem; }
.p-slip-head h3 { margin: 0; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: #0369a1; }
.p-slip-head .where { font-size: 1.05rem; font-weight: 700; margin-top: .15rem; }
.p-slip-mark { width: 34px; height: 34px; border-radius: 9px; background: #0b1524; color: var(--sun-400, #fbbf24); display: grid; place-items: center; flex: none; }
.p-slip-mark svg { width: 20px; height: 20px; }
.p-slip-ex { font-size: .78rem; color: #92500a; background: #fffbeb; border: 1px solid #fde68a; border-radius: 6px; padding: .35rem .6rem; margin: .7rem 0 0; }
.p-slip dl { margin: .4rem 0 0; }
.p-line { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .7rem 0; border-bottom: 1px dashed #bcd0e0; }
.p-line dt { font-size: .9rem; color: #334155; }
.p-line dt small { display: block; font-size: .75rem; color: #64748b; }
.p-line dd { margin: 0; font-size: 1.1rem; font-weight: 700; text-align: right; }
.p-line--total { border-bottom: 0; border-top: 2px solid #0b1524; margin-top: .3rem; }
.p-line--total dd { font-size: 1.5rem; }
.p-line--key dd { font-size: 1.35rem; }
.p-slip-foot { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; justify-content: space-between; margin-top: .9rem; }
.p-slip-small { font-size: .75rem; line-height: 1.45; color: #475569; margin: .7rem 0 0; }
.p-slip-actions { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1rem; }
.p-slip-actions .p-btn { width: auto; flex: 1 1 11rem; min-height: 48px; }
.p-slip-actions .p-btn--ghost { color: #0369a1; background: #fff; }
.p-print-btn { display: none; }
.js .p-print-btn { display: inline-flex; }
/* the slip prints out: lines arrive one after another */
.p-slip .p-line, .p-slip-head, .p-slip-ex, .p-slip-small { opacity: 1; }
.p-slipwrap[open] .p-slip, .p-slip--live { transform-origin: top; animation: p-feed .7s var(--ease) both; }
.p-slipwrap[open] .p-line, .p-slip--live .p-line { animation: p-line .45s var(--ease) both; animation-delay: calc(.25s + var(--i, 0) * .16s); }
@keyframes p-feed { from { transform: translateY(-18px) scaleY(.92); clip-path: inset(0 0 100% 0); } to { transform: none; clip-path: inset(-12px -2px -12px -2px); } }
@keyframes p-line { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------- sections */
.p-section { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.p-section--white { background: #fff; }
.p-h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.1; letter-spacing: -.03em; font-weight: 800; margin: 0 0 1.4rem; color: #0b1524; }
.p-split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.p-steps { list-style: none; margin: 0; padding: 0; position: relative; }
.p-steps::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; background: repeating-linear-gradient(180deg, #7fb2d4 0 6px, transparent 6px 12px); }
.p-steps li { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 1rem; padding-bottom: 1.5rem; }
.p-step-n { width: 44px; height: 44px; border-radius: 50%; background: #0b1524; color: var(--sun-400, #fbbf24); display: grid; place-items: center; font-weight: 800; position: relative; z-index: 1; }
.p-steps h3 { margin: .15rem 0 .25rem; font-size: 1.1rem; }
.p-steps p { margin: 0; color: #475569; line-height: 1.55; }
.p-journey { background: #fff; border: 1px solid #d5dde8; border-radius: 16px; padding: 1.1rem 1.2rem 1rem; box-shadow: 0 18px 36px -26px rgba(11,21,36,.5); margin: 0; }
.p-journey-head { display: flex; justify-content: space-between; align-items: center; gap: .75rem; font-size: .8125rem; color: #475569; border-bottom: 1px solid #e3e9f1; padding-bottom: .7rem; margin-bottom: .8rem; }
.p-journey-head b { color: #0b1524; font-size: .95rem; }
.p-tag { font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; border: 1px solid #b6cbe0; border-radius: 999px; padding: .2rem .6rem; color: #0369a1; }
.p-journey ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.p-journey li { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: .7rem; line-height: 1.5; font-size: .95rem; }
.p-dot { width: 12px; height: 12px; border-radius: 50%; background: #cbd5e1; margin-top: .4rem; }
.p-dot--now { background: var(--azure-500, #0284c7); box-shadow: 0 0 0 5px rgba(2,132,199,.18); }
.p-journey figcaption { font-size: .75rem; color: #64748b; margin-top: .9rem; }

.p-why { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(1.5rem, 5vw, 4rem); }
.p-why-list { list-style: none; margin: 0; padding: 0; }
.p-why-list li { display: grid; grid-template-columns: 2.2rem minmax(0, 1fr); gap: 1rem; padding: 1.2rem 0; border-top: 1px solid #d5dde8; }
.p-why-list li:last-child { border-bottom: 1px solid #d5dde8; }
.p-why-list svg { width: 26px; height: 26px; color: #0369a1; }
.p-why-list h3 { margin: 0 0 .2rem; font-size: 1.15rem; }
.p-why-list p { margin: 0; color: #475569; line-height: 1.55; }
.p-disclosure { display: flex; gap: .6rem; align-items: flex-start; margin-top: 1.4rem; padding: .9rem 1rem; background: #f0f9ff; border: 1px solid #bae6fd; border-radius: 12px; font-size: .9rem; color: #0c4a6e; }
.p-disclosure svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }

.p-faq { max-width: 820px; }
.p-faq details { border-top: 1px solid #d5dde8; }
.p-faq details:last-child { border-bottom: 1px solid #d5dde8; }
.p-faq summary { cursor: pointer; list-style: none; padding: 1.05rem 2.2rem 1.05rem 0; min-height: 52px; font-weight: 700; font-size: 1.05rem; position: relative; }
.p-faq summary::-webkit-details-marker { display: none; }
.p-faq summary::after { content: "+"; position: absolute; right: .3rem; top: .75rem; font-size: 1.5rem; font-weight: 400; color: #0369a1; transition: transform .25s var(--ease); }
.p-faq details[open] summary::after { transform: rotate(45deg); }
.p-faq p { margin: 0 0 1.1rem; color: #475569; line-height: 1.6; max-width: 65ch; }

.p-close { background: var(--navy-900, #0b1524); color: #fff; text-align: center; padding-block: clamp(2.5rem, 6vw, 4rem); }
.p-close h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); margin: 0 0 .6rem; letter-spacing: -.03em; }
.p-close p { color: #c9d6e4; max-width: 50ch; margin: 0 auto 1.4rem; line-height: 1.55; }
.p-close .p-btn { width: auto; min-width: 15rem; }
.p-installer { background: #12233a; color: #e6eef8; text-align: center; padding-block: 2.2rem; border-top: 1px solid #22416a; }
.p-installer h2 { margin: .5rem 0; font-size: 1.4rem; }
.p-installer p { max-width: 54ch; margin: 0 auto 1.1rem; color: #bfd0e2; line-height: 1.55; }
.p-installer .p-btn { width: auto; }
.p-foot { background: #060f1a; color: #9fb3c8; padding-block: 1.6rem; font-size: .85rem; line-height: 1.55; }
.p-foot a { color: #cfe3f1; }
.p-foot-links { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin: .8rem 0 0; }

/* ------------------------------------------------------- inner pages */
.p-inner { padding-block: 1.5rem 3rem; }
.p-back { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; color: #0369a1; font-weight: 600; text-decoration: none; }
.p-back svg { width: 18px; height: 18px; }
.p-card { background: #fff; border: 1px solid #d5dde8; border-radius: 18px; padding: clamp(1.1rem, 3vw, 1.8rem); box-shadow: 0 18px 36px -28px rgba(11,21,36,.5); }
.p-card + .p-card { margin-top: 1.2rem; }
.p-grid2 { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(1.2rem, 4vw, 3rem); align-items: start; }
.p-inner h1 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin: .3rem 0 1rem; letter-spacing: -.03em; }
.p-inner .field { margin-bottom: .85rem; }
.p-inner label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: .3rem; }
.p-inner input[type=text], .p-inner input[type=tel], .p-inner select, .p-inner textarea { width: 100%; min-height: 52px; font-size: 1rem; border-radius: 12px; }
.p-inner label.check { display: flex; gap: .7rem; align-items: flex-start; font-weight: 500; line-height: 1.5; min-height: 48px; }
.p-inner label.check input { width: 24px; height: 24px; margin-top: 2px; flex: none; }
.p-chips { display: flex; flex-wrap: wrap; gap: .5rem .8rem; margin-top: 1rem; align-items: center; }
.p-chip { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .8rem; background: #f0f9ff; border: 1px solid #bae6fd; color: #0c4a6e; border-radius: 999px; font-size: .85rem; }
.p-chip svg { width: 16px; height: 16px; }
.p-receipt-ref { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: baseline; border-bottom: 2px solid #0b1524; padding-bottom: .6rem; }
.p-receipt-ref .k { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: #0369a1; font-weight: 700; }
.p-receipt-ref .v { font-family: ui-monospace, "Cascadia Mono", Menlo, monospace; font-size: 1.4rem; font-weight: 700; letter-spacing: .04em; }
.p-thanks-ico { width: 56px; height: 56px; border-radius: 50%; background: #ecfdf5; color: #15803d; display: grid; place-items: center; margin-bottom: .6rem; }
.p-thanks-ico svg { width: 30px; height: 30px; }
.p-next { margin: 1.3rem 0 0; padding: 0; list-style: none; counter-reset: n; display: grid; gap: .8rem; }
.p-next li { counter-increment: n; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: .8rem; line-height: 1.5; }
.p-next li::before { content: counter(n); width: 34px; height: 34px; border-radius: 50%; background: #0b1524; color: var(--sun-400, #fbbf24); display: grid; place-items: center; font-weight: 800; font-size: .9rem; }
.p-prose { background: #fff; }

/* ------------------------------------------------------------- scroll reveal */
.p-anim .p-rise { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.p-anim .p-rise.p-in { opacity: 1; transform: none; }

/* -------------------------------------------------------------- responsive */
@media (max-width: 900px) {
  .p-hero-grid, .p-split, .p-why, .p-grid2 { grid-template-columns: 1fr; }
  .p-hero-grid { gap: 1.4rem; padding-block: 1.6rem 1.2rem; }
  .p-hero-arc { width: 120%; left: -10%; bottom: auto; top: 160px; opacity: .8; }
  .p-hero-scrim { background: linear-gradient(180deg, rgba(11,21,36,.95) 0%, rgba(11,21,36,.82) 60%, rgba(11,21,36,.9) 100%); }
  .p-proof ul { grid-template-columns: 1fr 1fr; }
  .p-proof li:nth-child(2) { border-right: 0; }
  .p-proof li:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.1); }
}
@media (max-width: 420px) { .p-slip-actions .p-btn { flex-basis: 100%; } .p-brand-mark { width: 28px; height: 28px; } }

@media print {
  body.p-page { background: #fff; }
  .p-head, .p-hero, .p-proof, .p-section, .p-close, .p-installer, .p-foot, .p-back, .p-slip-actions, .p-slipwrap > summary, .skip-link, form, .p-card:not(.p-print-card) { display: none !important; }
  .p-print-card, .p-slipwrap, .p-slip { display: block !important; box-shadow: none !important; border: 0 !important; margin: 0 !important; padding: 0 !important; }
  .p-slip { animation: none !important; border: 1px solid #0b1524 !important; padding: 1rem !important; max-width: 520px; }
  .p-slip .p-line { animation: none !important; opacity: 1 !important; }
  .p-slip::before, .p-slip::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .p-sun, .p-panel, .p-peek, .p-btn, .p-faq summary::after { transition: none !important; }
  .p-slipwrap[open] .p-slip, .p-slipwrap[open] .p-line, .p-slip--live, .p-slip--live .p-line { animation: none !important; }
  .p-anim .p-rise { opacity: 1; transform: none; transition: none; }
}

/* headings inherit a dark colour from app.css: set them per surface */
.p-hero h1, .p-close h2, .p-installer h2 { color: #fff; }
.p-calc h2, .p-steps h3, .p-why-list h3, .p-faq summary, .p-inner h1, .p-inner h2, .p-journey-head b { color: #0b1524; }
.p-hero-arc { overflow: visible; }

/* 44px minimum touch targets for plain links */
.p-brand { min-height: 44px; }
.p-foot a { display: inline-flex; align-items: center; min-height: 44px; }
.p-foot-links { gap: 0 1.6rem; }

/* big, easy-to-grab slider */
.p-slider input[type=range] { -webkit-appearance: none; appearance: none; height: 48px; cursor: grab; touch-action: pan-y; }
.p-slider input[type=range]:active { cursor: grabbing; }
.p-slider input[type=range]::-webkit-slider-runnable-track { height: 10px; border-radius: 999px; background: linear-gradient(90deg, #0ea5e9, #fbbf24); }
.p-slider input[type=range]::-moz-range-track { height: 10px; border-radius: 999px; background: linear-gradient(90deg, #0ea5e9, #fbbf24); }
.p-slider input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 34px; height: 34px; margin-top: -12px; border-radius: 50%; background: #fff; border: 4px solid #0ea5e9; box-shadow: 0 4px 14px rgba(0,0,0,.45); }
.p-slider input[type=range]::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 4px solid #0ea5e9; box-shadow: 0 4px 14px rgba(0,0,0,.45); }
.p-ticks button { background: none; border: 0; color: #cfe3f1; font: inherit; font-size: .8125rem; min-height: 44px; padding: 0 .4rem; cursor: pointer; border-radius: 8px; }
.p-ticks button:hover, .p-ticks button.on { color: #fff; background: rgba(255,255,255,.1); }
.p-ticks { margin-top: -.3rem; }
