/* =====================================================================
   Templatehouse: site styles. Mobile-first, no dependencies.
   Design direction (see DESIGN.md): clean, minimal, mostly monochrome,
   thin 1px hairlines echoing the line-art logo, one restrained accent.
   ===================================================================== */
@font-face{font-family:"Poppins";src:url(../assets/fonts/poppins-regular.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Poppins";src:url(../assets/fonts/poppins-medium.woff2) format("woff2");font-weight:500;font-style:normal;font-display:swap}
:root{
  --ink:#111111; --ink-2:#3a3a3a; --muted:#6b6b6b; --faint:#9a9a9a;
  --line:#e7e7e4; --line-strong:#cfcfca; --bg:#ffffff; --bg-soft:#f6f6f4; --bg-softer:#fbfbfa;
  --accent:#2d6a4f; --accent-soft:#e9f2ed;          /* the single, restrained accent */
  --error:#b42318; --error-soft:#fef3f2;
  --radius:12px; --radius-sm:8px; --max:1180px;
  --font-display:"Poppins",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  --font:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --hair:1px solid var(--line);
}
*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;font-family:var(--font);color:var(--ink);background:var(--bg);line-height:1.65;font-size:1rem;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:var(--ink);text-decoration-thickness:1px;text-underline-offset:3px}
a:hover{color:var(--accent)}
h1,h2,h3,h4{font-family:var(--font-display);font-weight:400;line-height:1.12;margin:0 0 .6em;letter-spacing:-.025em;color:var(--ink)}
h1{font-size:clamp(2.3rem,6.2vw,4.1rem)}
h2{font-size:clamp(1.75rem,4vw,2.6rem)}
h3{font-size:1.15rem;font-weight:500;letter-spacing:-.01em}
p{margin:0 0 1em}
strong{font-weight:600}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:4px}
.skip-link{position:absolute;left:-999px;top:0;background:var(--ink);color:#fff;padding:.6rem 1rem;z-index:100}
.skip-link:focus{left:1rem;top:1rem;color:#fff}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}
.container{width:100%;max-width:var(--max);margin:0 auto;padding:0 1.25rem}
.section{padding:4.5rem 0}
@media (min-width:900px){.section{padding:6rem 0}}
.section-soft{background:var(--bg-soft);border-top:var(--hair);border-bottom:var(--hair)}
.eyebrow{display:inline-flex;align-items:center;gap:.5rem;font-size:.76rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);margin-bottom:1rem}
.eyebrow::before{content:"";width:18px;height:1px;background:var(--ink)}
.lead{font-size:1.12rem;color:var(--ink-2);max-width:60ch}
.center{text-align:center}
.center .lead,.section-head .lead{margin-left:auto;margin-right:auto}
.section-head{max-width:740px;margin:0 auto 3rem;text-align:center}
.section-head .eyebrow{justify-content:center}
.section-head.left{margin-left:0;text-align:left}.section-head.left .eyebrow{justify-content:flex-start}.section-head.left .lead{margin-left:0}
.muted{color:var(--muted)}
.small{font-size:.9rem}
.accent{color:var(--accent)}

/* Line icons: thin stroke, same style as the logo */
.li{width:24px;height:24px;flex:0 0 auto;stroke:currentColor;fill:none;stroke-width:1.25;stroke-linejoin:miter;stroke-linecap:butt}
.icon{width:48px;height:48px;border:var(--hair);border-radius:50%;display:grid;place-items:center;margin-bottom:1.1rem;color:var(--ink);background:var(--bg)}
.icon .li{width:22px;height:22px}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.85rem 1.35rem;border-radius:var(--radius-sm);font-weight:500;font-size:.98rem;text-decoration:none;border:1px solid transparent;cursor:pointer;transition:background .15s,border-color .15s,color .15s;font-family:inherit;line-height:1.2;white-space:nowrap}
.btn-primary{background:var(--ink);color:#fff;border-color:var(--ink)}
.btn-primary:hover{background:#2b2b2b;color:#fff}
.btn-outline{background:var(--bg);color:var(--ink);border-color:var(--line-strong)}
.btn-outline:hover{border-color:var(--ink);color:var(--ink)}
.btn-ghost{background:transparent;color:var(--ink);padding-left:.25rem;padding-right:.25rem;text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px}
.btn-ghost:hover{color:var(--accent)}
.btn-light{background:#fff;color:var(--ink);border-color:#fff}
.btn-light:hover{background:#ececec;color:var(--ink)}
.btn-on-dark{background:transparent;color:#fff;border-color:rgba(255,255,255,.4)}
.btn-on-dark:hover{border-color:#fff;color:#fff}
.btn-sm{padding:.55rem .95rem;font-size:.9rem}
.btn-block{width:100%}
.btn[disabled]{opacity:.55;cursor:not-allowed}
.btn-row{display:flex;flex-wrap:wrap;gap:.75rem}
.arrow::after{content:"→";transition:transform .15s}
.btn:hover .arrow::after,.btn.arrow:hover::after{transform:translateX(2px)}

/* Header */
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.94);backdrop-filter:saturate(180%) blur(10px);border-bottom:var(--hair)}
.nav{display:flex;align-items:center;justify-content:space-between;height:68px;gap:1rem}
.logo{display:inline-flex;align-items:center;text-decoration:none}
.logo img{height:30px;width:auto}
@media (min-width:900px){.nav{height:76px}.logo img{height:36px}}
.nav-toggle{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border:var(--hair);border-radius:var(--radius-sm);background:#fff;cursor:pointer}
.nav-toggle span{display:block;width:18px;height:1px;background:var(--ink);position:relative}
.nav-toggle span::before,.nav-toggle span::after{content:"";position:absolute;left:0;width:18px;height:1px;background:var(--ink)}
.nav-toggle span::before{top:-6px}.nav-toggle span::after{top:6px}
.nav-menu{display:none;position:absolute;top:68px;left:0;right:0;background:#fff;border-bottom:var(--hair);padding:.5rem 1.25rem 1.5rem}
.nav-menu.open{display:block}
.nav-menu ul{list-style:none;margin:0 0 1rem;padding:0}
.nav-menu a.nav-link{display:block;padding:.85rem 0;color:var(--ink);text-decoration:none;border-bottom:var(--hair)}
.nav-menu a.nav-link[aria-current="page"]{color:var(--accent)}
@media (min-width:900px){
  .nav-toggle{display:none}
  .nav-menu{display:flex!important;position:static;align-items:center;gap:1.25rem;padding:0;border:0;background:transparent}
  .nav-menu ul{display:flex;gap:.25rem;margin:0}
  .nav-menu a.nav-link{border:0;padding:.45rem .75rem;font-size:.95rem;color:var(--ink-2)}
  .nav-menu a.nav-link:hover{color:var(--ink)}
  .nav-menu a.nav-link[aria-current="page"]{color:var(--ink);text-decoration:underline;text-underline-offset:8px;text-decoration-thickness:1px}
}

/* Hero */
.hero{padding:3.5rem 0 4rem;border-bottom:var(--hair)}
.hero-grid{display:grid;gap:3rem;align-items:center}
.hero h1{max-width:13ch}
.hero-points{list-style:none;padding:0;margin:2rem 0 0;display:grid;gap:.6rem;color:var(--ink-2);font-size:.95rem}
.hero-points li{display:flex;gap:.6rem;align-items:center}
.hero-points .li{width:20px;height:20px;color:var(--accent)}
.hero-visual{position:relative;padding-bottom:12%}
.frame{border:var(--hair);border-radius:10px;background:#fff;overflow:hidden;box-shadow:0 1px 0 rgba(0,0,0,.02),0 18px 40px -18px rgba(0,0,0,.18)}
.frame-bar{display:flex;gap:5px;padding:9px 11px;border-bottom:var(--hair)}
.frame-bar i{width:7px;height:7px;border-radius:50%;border:1px solid var(--line-strong);display:block}
.hero-visual .frame.f1{width:84%}
.hero-visual .frame.f2{position:absolute;width:50%;right:0;bottom:0}
.hero-visual .frame.f3{position:absolute;width:38%;right:6%;top:-8%;display:none}
.hero-badge{position:absolute;left:0;bottom:2%;z-index:2;background:#fff;border:var(--hair);border-radius:999px;padding:.55rem 1rem .55rem .7rem;font-size:.85rem;display:flex;gap:.5rem;align-items:center}
.hero-badge .dot{width:8px;height:8px;border-radius:50%;background:var(--accent)}
@media (min-width:900px){.hero{padding:5.5rem 0 6rem}.hero-grid{grid-template-columns:1fr 1.05fr}.hero-visual .frame.f3{display:block}}

/* Trust strip */
.trust{border-bottom:var(--hair)}
.trust-grid{display:grid;grid-template-columns:1fr 1fr}
.trust-item{display:flex;gap:.75rem;align-items:flex-start;padding:1.4rem .75rem 1.4rem 0;font-size:.92rem;color:var(--ink-2)}
.trust-item strong{display:block;color:var(--ink);font-weight:500;font-family:var(--font-display);letter-spacing:-.01em}
.trust-item .li{margin-top:2px}
@media (min-width:900px){.trust-grid{grid-template-columns:repeat(4,1fr)}.trust-item{padding:1.6rem 1.25rem;border-left:var(--hair)}.trust-item:first-child{border-left:0;padding-left:0}}

/* Grids & cards */
.grid{display:grid;gap:1.25rem}
@media (min-width:640px){.grid-2,.grid-3,.grid-4{grid-template-columns:repeat(2,1fr)}}
@media (min-width:960px){.grid-3{grid-template-columns:repeat(3,1fr)}.grid-4{grid-template-columns:repeat(4,1fr)}}
.card{background:var(--bg);border:var(--hair);border-radius:var(--radius);padding:1.6rem}
.card p:last-child{margin-bottom:0}
.lined{display:grid;border-top:var(--hair)}
.lined>*{padding:1.75rem 0;border-bottom:var(--hair)}
@media (min-width:900px){.lined.cols-4{grid-template-columns:repeat(4,1fr)}.lined.cols-4>*{padding:2rem 1.5rem;border-bottom:0;border-left:var(--hair)}.lined.cols-4>*:first-child{border-left:0;padding-left:0}}
.step-num{font-family:var(--font-display);font-size:.85rem;color:var(--muted);display:block;margin-bottom:1rem;letter-spacing:.05em}
.steps .icon{margin-bottom:1.25rem}

/* Category tiles */
.cat-tiles{display:grid;gap:1rem}
@media (min-width:640px){.cat-tiles{grid-template-columns:repeat(2,1fr)}}
@media (min-width:1000px){.cat-tiles{grid-template-columns:repeat(5,1fr)}}
.cat-tile{display:flex;flex-direction:column;border:var(--hair);border-radius:var(--radius);overflow:hidden;text-decoration:none;color:var(--ink);background:#fff;transition:border-color .15s}
.cat-tile:hover{border-color:var(--ink);color:var(--ink)}
.cat-tile img{aspect-ratio:16/10;object-fit:cover;object-position:top;border-bottom:var(--hair)}
.cat-tile span{display:flex;flex-direction:column;padding:.85rem 1rem;font-size:.95rem;line-height:1.35}
.cat-tile small{color:var(--muted)}

/* Gallery */
.gallery-tools{display:grid;gap:1rem;margin-bottom:1.25rem}
.gallery-tools .search{max-width:420px}
.tabs{display:flex;gap:.25rem;overflow-x:auto;border-bottom:var(--hair);scrollbar-width:thin}
.tab{flex:0 0 auto;border:0;background:none;padding:.8rem .9rem;font:inherit;font-size:.93rem;color:var(--muted);cursor:pointer;border-bottom:1px solid transparent;margin-bottom:-1px;white-space:nowrap}
.tab:hover{color:var(--ink)}
.tab[aria-selected="true"]{color:var(--ink);border-bottom-color:var(--ink)}
.tab .count{display:inline-block;margin-left:.35rem;font-size:.75rem;color:var(--faint);font-variant-numeric:tabular-nums}
.search{position:relative}
.search .li{position:absolute;left:.8rem;top:50%;transform:translateY(-50%);width:18px;height:18px;color:var(--muted)}
.search input{padding-left:2.4rem!important}
.result-meta{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1.25rem;font-size:.9rem;color:var(--muted)}
.tpl-grid{display:grid;gap:1.5rem}
@media (min-width:640px){.tpl-grid{grid-template-columns:repeat(2,1fr)}}
@media (min-width:1024px){.tpl-grid{grid-template-columns:repeat(3,1fr);gap:2rem 1.5rem}}
.tpl-card{display:flex;flex-direction:column}
.tpl-thumb{position:relative;aspect-ratio:16/10;overflow:hidden;background:var(--bg-soft);border:var(--hair);border-radius:var(--radius);padding:0;cursor:zoom-in;display:block;width:100%}
.tpl-thumb img{width:100%;height:100%;object-fit:cover;object-position:top;transition:transform .6s ease}
.tpl-card:hover .tpl-thumb img{transform:scale(1.025)}
.tpl-body{padding:1rem .1rem 0;display:flex;flex-direction:column;flex:1}
.tpl-title{display:flex;justify-content:space-between;align-items:baseline;gap:.75rem}
.tpl-title h3{margin:0 0 .3rem;font-size:1.1rem}
.tpl-title small{color:var(--muted);font-size:.78rem;white-space:nowrap}
.tpl-body p{color:var(--ink-2);font-size:.93rem;margin-bottom:.7rem}
.tags{display:flex;flex-wrap:wrap;gap:.35rem;margin:0 0 1rem;padding:0;list-style:none}
.tags li{font-size:.76rem;border:var(--hair);color:var(--ink-2);padding:.15rem .55rem;border-radius:999px}
.tpl-actions{display:flex;gap:.5rem;margin-top:auto}
.tpl-actions .btn{flex:1;padding:.65rem .7rem;font-size:.9rem}
.empty-state{grid-column:1/-1;text-align:center;padding:3rem 1rem;color:var(--muted);border:1px dashed var(--line-strong);border-radius:var(--radius)}

/* Modal */
.modal{position:fixed;inset:0;z-index:100;display:none;align-items:flex-end;justify-content:center;background:rgba(17,17,17,.6)}
.modal.open{display:flex}
.modal-dialog{background:#fff;width:100%;max-width:1100px;max-height:94vh;border-radius:14px 14px 0 0;display:flex;flex-direction:column;overflow:hidden}
.modal-head{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.9rem 1.25rem;border-bottom:var(--hair)}
.modal-head h2{font-size:1.15rem;margin:0;font-weight:500}
.modal-head p{margin:0;font-size:.85rem;color:var(--muted)}
.modal-close{width:40px;height:40px;border-radius:50%;border:var(--hair);background:#fff;font-size:1.3rem;cursor:pointer;line-height:1;flex:0 0 auto}
.modal-body{overflow:auto;background:var(--bg-soft);flex:1}
.modal-body img{width:100%}
.modal-foot{display:flex;flex-wrap:wrap;gap:.6rem;padding:.9rem 1.25rem;border-top:var(--hair);align-items:center;justify-content:space-between}
.view-toggle{display:flex;border:var(--hair);border-radius:var(--radius-sm);overflow:hidden}
.view-toggle button{border:0;background:#fff;padding:.5rem .9rem;font:inherit;font-size:.88rem;cursor:pointer;color:var(--muted)}
.view-toggle button[aria-pressed="true"]{background:var(--ink);color:#fff}
@media (min-width:768px){.modal{align-items:center;padding:2rem}.modal-dialog{border-radius:14px}}
.modal-body.mobile-view{display:flex;justify-content:center;padding:1.5rem}
.modal-body.mobile-view .device{width:390px;max-width:100%;border:1px solid var(--ink);border-radius:28px;padding:10px;background:#fff}
.modal-body.mobile-view iframe{width:100%;height:700px;border:0;display:block;border-radius:18px}

/* Pricing */
.price-grid{display:grid;gap:1.25rem;align-items:stretch}
@media (min-width:960px){.price-grid{grid-template-columns:repeat(3,1fr)}}
.price-card{position:relative;background:#fff;border:var(--hair);border-radius:var(--radius);padding:2rem 1.6rem;display:flex;flex-direction:column}
.price-card.featured{border-color:var(--ink)}
.price-card .ribbon{position:absolute;top:-11px;left:1.6rem;background:var(--ink);color:#fff;font-size:.72rem;font-weight:600;padding:.2rem .65rem;border-radius:999px;letter-spacing:.06em;text-transform:uppercase}
.price{font-family:var(--font-display);font-size:2.7rem;letter-spacing:-.03em;margin:.4rem 0 .2rem;line-height:1.1}
.price small{font-family:var(--font);font-size:.9rem;color:var(--muted);letter-spacing:0}
.checklist{list-style:none;padding:0;margin:1.25rem 0 1.75rem;border-top:var(--hair)}
.checklist li{padding:.6rem 0 .6rem 1.7rem;position:relative;color:var(--ink-2);border-bottom:var(--hair);font-size:.95rem}
.checklist li::before{content:"";position:absolute;left:.1rem;top:1.05rem;width:.75rem;height:.4rem;border-left:1.25px solid var(--accent);border-bottom:1.25px solid var(--accent);transform:rotate(-45deg)}
.price-card .btn{margin-top:auto}
.table-wrap{overflow-x:auto}
table.addons{width:100%;border-collapse:collapse}
table.addons th,table.addons td{padding:.95rem 0;border-bottom:var(--hair);text-align:left}
table.addons th{font-size:.76rem;text-transform:uppercase;letter-spacing:.12em;color:var(--muted);font-weight:600}
table.addons td:last-child{white-space:nowrap;text-align:right;font-variant-numeric:tabular-nums}
table.addons th:last-child{text-align:right}
.mini-price{display:flex;flex-direction:column;gap:.15rem}

/* FAQ */
.faq{max-width:820px;margin:0 auto;border-top:var(--hair)}
.faq details{border-bottom:var(--hair)}
.faq summary{cursor:pointer;font-family:var(--font-display);font-size:1.05rem;padding:1.25rem 0;list-style:none;display:flex;justify-content:space-between;gap:1rem;letter-spacing:-.01em}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";font-size:1.4rem;line-height:1;font-weight:300}
.faq details[open] summary::after{content:"−"}
.faq details p{color:var(--ink-2);padding-bottom:.5rem}

/* CTA band */
.cta-band{background:var(--ink);color:#d6d6d6;border-radius:var(--radius);padding:3.5rem 1.5rem;text-align:center}
.cta-band h2{color:#fff}
.cta-band p{color:#bdbdbd;max-width:600px;margin:0 auto 1.75rem}
.cta-band .btn-row{justify-content:center}

/* Ownership split */
.split{display:grid;gap:2.5rem;align-items:center}
@media (min-width:900px){.split{grid-template-columns:1fr 1fr;gap:4rem}}
.keys{list-style:none;margin:0;padding:0;border-top:var(--hair)}
.keys li{display:flex;gap:1rem;align-items:center;padding:1rem 0;border-bottom:var(--hair)}
.keys li span{margin-left:auto;font-size:.8rem;color:var(--accent)}

.placeholder-note{border:1px dashed #b98900;background:#fffaeb;color:#5c4400;border-radius:var(--radius-sm);padding:1rem 1.25rem;font-size:.92rem}
.page-head{padding:3.5rem 0 3rem;border-bottom:var(--hair)}
.page-head p{max-width:680px}
.prose{max-width:780px}
.prose h2{font-size:1.35rem;margin-top:2.2rem;font-weight:500}
.prose li{margin-bottom:.4rem}

/* Forms */
.field{margin-bottom:1.25rem}
.field label,.field .label{display:block;font-weight:500;margin-bottom:.45rem;font-size:.95rem}
.req{color:var(--error)}
.hint{display:block;font-size:.85rem;color:var(--muted);margin-top:.35rem;font-weight:400}
input[type=text],input[type=email],input[type=tel],input[type=url],input[type=date],input[type=number],input[type=search],select,textarea{width:100%;padding:.75rem .9rem;border:1px solid var(--line-strong);border-radius:var(--radius-sm);font:inherit;color:var(--ink);background:#fff;transition:border-color .15s,box-shadow .15s;-webkit-appearance:none;appearance:none}
select{background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23111' stroke-width='1.2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right .9rem center/12px 8px;padding-right:2.4rem}
input:hover,select:hover,textarea:hover{border-color:#a9a9a3}
input:focus,select:focus,textarea:focus{outline:none;border-color:var(--ink);box-shadow:0 0 0 3px rgba(17,17,17,.08)}
textarea{min-height:110px;resize:vertical}
input[type=file]{width:100%;padding:.85rem;border:1px dashed var(--line-strong);border-radius:var(--radius-sm);background:var(--bg-softer);font:inherit;font-size:.92rem}
input[type=file]::file-selector-button{font:inherit;font-size:.88rem;border:1px solid var(--line-strong);background:#fff;border-radius:6px;padding:.45rem .8rem;margin-right:.8rem;cursor:pointer}
.invalid,input.invalid,select.invalid,textarea.invalid{border-color:var(--error)!important}
.error-msg{display:block;color:var(--error);font-size:.85rem;margin-top:.35rem}
.check{display:flex;align-items:flex-start;gap:.65rem;padding:.35rem 0;cursor:pointer}
.check input{width:1.05rem;height:1.05rem;margin-top:.22rem;accent-color:var(--ink);flex:0 0 auto}
.check-grid{display:grid;gap:.5rem;grid-template-columns:1fr}
@media (min-width:560px){.check-grid{grid-template-columns:repeat(2,1fr)}}
@media (min-width:860px){.check-grid.cols-3{grid-template-columns:repeat(3,1fr)}}
.pill-check{border:var(--hair);border-radius:var(--radius-sm);padding:.65rem .8rem;background:#fff;transition:border-color .15s}
.pill-check:hover{border-color:var(--line-strong)}
.pill-check:has(input:checked){border-color:var(--ink);background:var(--bg-softer)}
.two-col{display:grid;gap:0 1rem}
@media (min-width:640px){.two-col{grid-template-columns:1fr 1fr}}

/* Multi-step project form */
.form-intro{display:flex;flex-wrap:wrap;gap:.5rem 1.5rem;margin-top:1.25rem;font-size:.92rem;color:var(--ink-2)}
.form-intro>span{display:inline-flex;gap:.45rem;align-items:center}
.form-intro .li{width:18px;height:18px;color:var(--accent)}
.form-shell{display:grid;grid-template-columns:minmax(0,1fr);gap:2rem;padding:2.5rem 0 5rem}
.form-shell>*{min-width:0}
@media (min-width:1000px){.form-shell{grid-template-columns:250px minmax(0,1fr);gap:3rem}}
.steps-nav{display:none}
@media (min-width:1000px){
  .steps-nav{display:block;position:sticky;top:100px;align-self:start}
  .steps-nav ol{list-style:none;padding:0;margin:0;counter-reset:s;border-left:var(--hair)}
  .steps-nav li{counter-increment:s;padding:.55rem 0 .55rem 1.1rem;position:relative;color:var(--faint);font-size:.93rem;margin-left:-1px;border-left:1px solid transparent}
  .steps-nav li::before{content:counter(s,decimal-leading-zero) "  ";font-size:.75rem;font-variant-numeric:tabular-nums;margin-right:.35rem}
  .steps-nav li.current{color:var(--ink);border-left-color:var(--ink)}
  .steps-nav li.done{color:var(--ink-2)}
  .steps-nav li.done::after{content:"";position:absolute;right:0;top:1rem;width:.6rem;height:.32rem;border-left:1.25px solid var(--accent);border-bottom:1.25px solid var(--accent);transform:rotate(-45deg)}
}
.form-card{background:#fff;border:var(--hair);border-radius:var(--radius);padding:1.4rem}
@media (min-width:640px){.form-card{padding:2.25rem 2.5rem}}
.tpl-bar{display:flex;align-items:center;gap:.9rem;border:var(--hair);border-radius:var(--radius-sm);padding:.6rem;margin-bottom:1.5rem;background:var(--bg-softer)}
.tpl-bar img,.tpl-bar .ph{width:84px;height:52px;object-fit:cover;object-position:top;border-radius:6px;border:var(--hair);flex:0 0 auto;background:var(--bg-soft);display:grid;place-items:center}
.tpl-bar .ph .li{width:20px;height:20px;color:var(--muted)}
.tpl-bar div{min-width:0;flex:1}
.tpl-bar small{display:block;font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.tpl-bar strong{display:block;font-weight:500;font-family:var(--font-display);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tpl-bar .actions{display:flex;gap:.25rem;flex:0 0 auto}
.tpl-bar .actions a,.tpl-bar .actions button{font:inherit;font-size:.85rem;background:none;border:0;color:var(--ink);text-decoration:underline;text-underline-offset:3px;cursor:pointer;padding:.3rem .4rem}
.progress-wrap{margin-bottom:1.75rem}
.progress-meta{display:flex;justify-content:space-between;font-size:.85rem;color:var(--muted);margin-bottom:.55rem}
.progress{height:2px;background:var(--line);overflow:hidden}
.progress-bar{height:100%;width:0;background:var(--ink);transition:width .35s}
.form-step{display:none}
.form-step.active{display:block;animation:fadeIn .25s ease}
@keyframes fadeIn{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.form-step fieldset{border:0;padding:0;margin:0;min-width:0}
.step-title{font-family:var(--font-display);font-size:1.65rem;font-weight:400;margin-bottom:.35rem;padding:0;letter-spacing:-.02em}
.step-intro{color:var(--muted);margin-bottom:1.75rem}
.form-nav{display:flex;justify-content:space-between;align-items:center;gap:.75rem;margin-top:2rem;padding-top:1.5rem;border-top:var(--hair)}
.save-status{font-size:.82rem;color:var(--muted)}
@media (max-width:559px){.form-nav{flex-wrap:wrap}.form-nav .save-status{order:3;width:100%;text-align:center}.form-nav .btn{flex:1}}
.tpl-select-wrap{display:grid;gap:1rem;align-items:center}
@media (min-width:640px){.tpl-select-wrap{grid-template-columns:1fr 200px}}
.tpl-preview{border:var(--hair);border-radius:var(--radius-sm);overflow:hidden;aspect-ratio:16/10;background:var(--bg-soft);display:grid;place-items:center;color:var(--muted);font-size:.85rem;text-align:center}
.tpl-preview img{width:100%;height:100%;object-fit:cover;object-position:top}
.color-row{display:flex;align-items:center;gap:.6rem;margin-bottom:.6rem}
.color-row input[type=color]{width:50px;height:46px;border:1px solid var(--line-strong);border-radius:var(--radius-sm);padding:3px;background:#fff;cursor:pointer;flex:0 0 auto}
.color-row input[type=text]{max-width:160px;font-family:ui-monospace,Menlo,Consolas,monospace;text-transform:uppercase}
.icon-btn{border:var(--hair);background:#fff;border-radius:var(--radius-sm);width:40px;height:40px;cursor:pointer;font-size:1.1rem;color:var(--muted)}
.page-block{border:var(--hair);border-radius:var(--radius-sm);padding:1rem;margin-bottom:1rem;background:var(--bg-softer)}
.page-block h4{margin:0 0 .6rem;font-size:1rem;font-weight:500}
.page-block textarea:disabled{background:var(--bg-soft);color:var(--muted)}
.file-list{list-style:none;padding:0;margin:.75rem 0 0}
.file-list li{display:grid;grid-template-columns:56px 1fr;gap:.75rem;align-items:center;padding:.6rem;border:var(--hair);border-radius:var(--radius-sm);margin-bottom:.5rem;background:#fff}
.file-list img,.file-list .file-ph{width:56px;height:56px;object-fit:cover;border-radius:6px;background:var(--bg-soft);display:grid;place-items:center;font-size:.7rem;color:var(--muted)}
.file-list .fname{font-size:.85rem;font-weight:500;word-break:break-all;margin-bottom:.3rem}
.file-list input{padding:.5rem .7rem;font-size:.9rem}
.review-section{border:var(--hair);border-radius:var(--radius-sm);margin-bottom:1rem;overflow:hidden}
.review-section header{display:flex;justify-content:space-between;align-items:center;background:var(--bg-softer);padding:.7rem 1rem;font-weight:500;border-bottom:var(--hair)}
.review-section header button{background:none;border:0;color:var(--ink);cursor:pointer;font:inherit;font-size:.88rem;text-decoration:underline;text-underline-offset:3px}
.review-section dl{margin:0;padding:.5rem 1rem 1rem;display:grid;gap:.2rem .75rem}
@media (min-width:640px){.review-section dl{grid-template-columns:190px 1fr}}
.review-section dt{color:var(--muted);font-size:.88rem;padding-top:.45rem}
.review-section dd{margin:0;padding-top:.4rem;white-space:pre-wrap;word-break:break-word}
.swatch{display:inline-block;width:14px;height:14px;border-radius:3px;vertical-align:-2px;margin-right:.3rem;border:1px solid rgba(0,0,0,.15)}
.alert{border-radius:var(--radius-sm);padding:1rem 1.25rem;margin:1rem 0;font-size:.95rem}
.alert-error{background:var(--error-soft);border:1px solid #f4c7c3;color:#7a1a12}
.alert-info{background:var(--bg-softer);border:var(--hair);color:var(--ink-2)}
.alert-success{background:var(--accent-soft);border:1px solid #c5ddd0;color:#1d4a36}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

/* Footer */
.site-footer{background:var(--ink);color:#a3a3a3;padding:4rem 0 2rem}
.footer-grid{display:grid;gap:2.25rem}
@media (min-width:800px){.footer-grid{grid-template-columns:1.6fr 1fr 1fr 1fr}}
.site-footer h4{color:#fff;font-size:.8rem;font-family:var(--font);font-weight:600;letter-spacing:.12em;text-transform:uppercase;margin-bottom:1rem}
.site-footer ul{list-style:none;padding:0;margin:0}
.site-footer li{margin-bottom:.5rem}
.site-footer a{color:#d4d4d4;text-decoration:none}
.site-footer a:hover{color:#fff;text-decoration:underline}
.site-footer .logo img{height:34px}
.footer-bottom{border-top:1px solid #2a2a2a;margin-top:3rem;padding-top:1.5rem;display:flex;flex-wrap:wrap;gap:.5rem 1.5rem;justify-content:space-between;font-size:.85rem}
.stat{font-family:var(--font-display);font-size:4rem;letter-spacing:-.03em;line-height:1}

/* ---------- Domain step, updates service ---------- */
.check-grid.cols-1{grid-template-columns:1fr}
.subpanel{border-left:2px solid var(--line);padding:.25rem 0 .25rem 1.1rem;margin:0 0 1.25rem}
.domain-choices{display:grid;gap:.5rem}
.domain-cost{background:var(--bg-softer);border:var(--hair);border-radius:var(--radius-sm);padding:1rem 1.1rem}
.domain-cost p{margin:0 0 .6rem;font-size:.92rem;color:var(--ink-2)}
.note-line{display:flex;gap:.6rem;align-items:flex-start;margin:1.75rem auto 0;max-width:760px;font-size:.95rem;color:var(--ink-2)}
.note-line .li{width:20px;height:20px;flex:0 0 auto;color:var(--accent);margin-top:.15rem}
.opt-desc{display:block;color:var(--muted);font-size:.85rem;margin-top:.15rem}
.alert-warn{display:flex;gap:.75rem;align-items:flex-start;background:#fbf7ea;border:1px solid #e9dcae;color:#4d3d08}
.alert-warn .li{width:22px;height:22px;flex:0 0 auto;margin-top:.1rem}
.tier-info:not(:empty),.access-help:not(:empty),.pay-box:not(:empty){margin-top:.9rem;border:var(--hair);border-radius:var(--radius-sm);padding:1rem 1.1rem;background:var(--bg-softer);font-size:.93rem;color:var(--ink-2)}
.access-help{margin-bottom:1.25rem}
.tier-info ul,.pay-box ul{margin:.4rem 0 0;padding-left:1.1rem}
.tier-info strong,.pay-box strong{color:var(--ink)}
.pay-box .btn{margin-top:.75rem}
.pay-box{margin-top:1.25rem}
.update-success{padding:.5rem 0}
.update-success .icon{margin-bottom:1rem}
.update-success:focus{outline:none}
.price-card .price small:first-child{margin-right:.15rem}

/* Hide injected host badge */
#nl-badge-frame, #nl-hud-frame { display: none !important; visibility: hidden !important; }
