:root {
  color-scheme: light;
  --paper: #f7f7ef;
  --white: #fdfdf8;
  --ink: #19251e;
  --muted: #526157;
  --green: #3d654b;
  --line: #dce2d5;
  --lime: #dafa8a;
  --forest: #1b3529;
  --field-line: #ced8c9;
  --accent-line: #86a47c;
  --control-hover: #edf1e6;
  --soft: #f3f6eb;
  --selected: #edf4e5;
  --placeholder: #e3e9dc;
  --focus: #668652;
  --on-forest: #f4f8ed;
  --sans: "Inter", "Noto Sans TC", "Microsoft JhengHei", "PingFang TC", system-ui, sans-serif;
  --mono: "IBM Plex Mono", "Cascadia Mono", Consolas, monospace;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #101914;
  --white: #18231d;
  --ink: #edf3e9;
  --muted: #b1c1b3;
  --green: #a6d29d;
  --line: #35473c;
  --field-line: #4e6455;
  --accent-line: #647c66;
  --control-hover: #26392c;
  --soft: #1b2c21;
  --selected: #2b4031;
  --placeholder: #24352a;
  --focus: #a3c68a;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scrollbar-color: #789280 var(--paper); }
body { margin: 0; color: var(--ink); background: var(--paper); font: 15px/1.65 var(--sans); }
a { color: inherit; text-decoration: none; }
.icon { display: inline-block; flex: none; width: 1.1em; height: 1.1em; vertical-align: -.16em; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
button, input, select, textarea { font: inherit; color: inherit; }
button, summary { cursor: pointer; }
button { border: 0; }
:is(button, a, summary, input, select, textarea):focus-visible {
  outline: 1px solid var(--focus);
  outline-offset: 1px;
}
:is(input, select, textarea):focus-visible { outline-offset: -1px; }
[id] { scroll-margin-top: 96px; }
h1, h2, h3, p, dl, dd { margin: 0; }
.wrap { width: calc(100% - clamp(48px, 6vw, 112px)); margin-inline: auto; }
.skip { position: fixed; left: 12px; top: 12px; padding: 10px; background: var(--white); z-index: 10; transform: translateY(-150%); }
.skip:focus { transform: none; }

.header { position: sticky; top: 0; z-index: 5; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; min-height: 72px; gap: 20px; justify-content: space-between; align-items: center; }
.brand { display: inline-flex; gap: 11px; align-items: center; white-space: nowrap; font-size: 28px; line-height: 37px; font-weight: 800; letter-spacing: -.045em; }
.brand-mark { width: 37px; height: 37px; object-fit: contain; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.theme-toggle { width: 36px; height: 36px; padding: 0; font-size: 19px; line-height: 1; background: var(--white); }
.theme-sun, :root[data-theme="dark"] .theme-moon { display: none; }
:root[data-theme="dark"] .theme-sun { display: inline-block; }
#language { max-width: 100%; border: 1px solid var(--field-line); border-radius: 8px; padding: 7px 6px; background: var(--white); font-size: 13px; font-weight: 650; }
nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 32px); }
nav :is(a, button), .footer a:last-child { color: var(--muted); font-weight: 650; white-space: nowrap; }
nav button { padding: 0; background: none; }
nav :is(a, button):hover, .footer a:hover { color: var(--green); }
.header nav [aria-current="page"] { padding: 3px 8px; border-radius: 6px; background: var(--selected); color: var(--green); font-weight: 800; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 13px; padding: 10px 16px; border: 1px solid transparent; border-radius: 8px; font-weight: 750; white-space: nowrap; transition: background-color .16s, border-color .16s; }
.button-dark { background: var(--forest); color: white; }
.button-dark:hover { background: #2c523d; }
.button-outline { border-color: var(--field-line); background: transparent; }
.button-outline:hover { background: var(--control-hover); border-color: var(--accent-line); }
.header-contact { padding: 7px 12px; font-size: 13px; }

.hero { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, .76fr); gap: clamp(24px, 5vw, 78px); align-items: center; padding-block: 64px 65px; border-bottom: 1px solid var(--line); }
h1 { font-size: clamp(44px, 5.3vw, 78px); line-height: 1.11; letter-spacing: -.064em; font-weight: 900; }
h1 em { color: var(--green); font-style: normal; }
.headline-letter { animation: type-letter 1ms step-end var(--letter-delay) both; }
.headline-visual::after { content: ""; display: inline-block; width: .048em; height: .78em; margin-left: .065em; vertical-align: -.035em; background: var(--green); opacity: 0; animation: typing-caret .86s step-end var(--caret-delay) infinite; }
@keyframes type-letter { from { opacity: 0; } to { opacity: 1; } }
@keyframes typing-caret { 0% { opacity: 1; } 50% { opacity: 0; } }
.hero-copy { margin-top: 19px; color: var(--muted); font-size: clamp(15px, 1.5vw, 17px); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 23px; }
.hero-previews { position: relative; isolation: isolate; aspect-ratio: 1.35; }
.hero-previews::before { content: ""; position: absolute; inset: 13% 3% 7%; border-radius: 50%; background: radial-gradient(ellipse, #6a9a6152, transparent 70%); }
.hero-previews button { --tilt: -5deg; position: absolute; top: 6%; left: 5%; width: 82%; padding: 0; overflow: hidden; border: 1px solid var(--accent-line); border-radius: 14px; background: var(--forest); color: var(--on-forest); box-shadow: 0 15px 34px #101b144f; transform: rotate(var(--tilt)); animation: hero-hover 6.5s ease-in-out infinite; z-index: 2; }
.hero-previews button:nth-child(2) { --tilt: 4deg; top: 35%; left: auto; right: 4%; z-index: 1; animation-delay: -3s; }
.hero-previews button:is(:hover, :focus-visible) { color: var(--lime); animation-play-state: paused; }
.hero-previews img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
.hero-previews button > span { position: absolute; top: 9px; left: 9px; display: flex; gap: 8px; align-items: center; padding: 4px 7px; border-radius: 5px; background: #14261de6; font: 750 13px/1.2 var(--mono); }
.hero-previews button:nth-child(2) > span { top: auto; bottom: 9px; }
@keyframes hero-hover {
  0%, 100% { transform: translateY(0) rotate(var(--tilt)); }
  50% { transform: translateY(-8px) rotate(var(--tilt)); }
}

.workspace { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 350px); align-items: start; gap: clamp(24px, 4vw, 54px); padding-block: 38px 58px; }
.quote-section + .quote-section { margin-top: 44px; }
.quote-heading { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 10px 16px; }
.section-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-left: auto; }
.section-actions .button { padding: 6px 10px; font-size: 13px; }
.sites-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.site-card { display: flex; flex-direction: column; }
.site-picture { display: grid; place-content: center; position: relative; aspect-ratio: 16/9; background: var(--placeholder); color: var(--muted); font-size: 11px; text-align: center; border-bottom: 1px solid var(--line); }
.site-picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.site-content { flex: 1; display: flex; flex-direction: column; min-width: 0; padding: 13px; }
.site-number { position: absolute; top: 8px; left: 8px; padding: 2px 7px; border: 1px solid #5a7663; border-radius: 5px; background: #172f24ed; color: var(--on-forest); font-size: 12px; }
.site-card .site-notes { white-space: pre-wrap; margin-top: 5px; }
.site-card p { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; max-width: 100%; }
.site-card-actions { display: flex; justify-content: space-between; align-items: end; gap: 6px; flex-wrap: wrap; margin-top: auto; padding-top: 10px; }
.site-card-links { display: flex; flex-wrap: wrap; gap: 5px; }
.site-card-actions .stepper { margin-left: auto; }
.site-card .stepper button { width: 27px; }
.site-card .stepper input { width: 42px; }
.site-card .stepper :is(input, button) { min-height: 30px; }
.site-copy { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--field-line); border-radius: 7px; background: var(--white); }
@media (hover: hover) and (pointer: fine) {
  .site-copy { opacity: 0; pointer-events: none; }
  .site-card:is(:hover, :focus-within) .site-copy { opacity: 1; pointer-events: auto; }
}
.site-card-actions .button, .hosting-quantity > button { padding: 5px 9px; font-size: 12px; }
.add-site { display: grid; gap: 2px; align-content: center; justify-items: center; min-height: 164px; padding: 18px; border: 1px dashed var(--accent-line); border-radius: 13px; background: var(--soft); color: var(--ink); font-weight: 800; }
.add-site:hover { border-color: var(--green); background: var(--selected); }
.add-site .icon { color: var(--green); width: 30px; height: 30px; }
.resource-empty { padding: 14px 16px; color: var(--muted); background: var(--white); border: 1px solid var(--line); border-radius: 10px; }
.domain-panel .resource-empty { border: 0; }
.domain-panel #domains:not(:empty) { padding: 12px 0 2px; }
.domain-row { align-items: center; }
.domain-row select { min-width: 0; flex: 0 1 39%; padding: 6px 8px; border: 1px solid var(--field-line); border-radius: 7px; background: var(--white); }
.domain-actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 14px; }
.domain-actions .button { padding: 7px 10px; font-size: 13px; }
.section-head { margin-bottom: 17px; }
.section-head h2 { font-size: clamp(25px, 2.7vw, 35px); font-weight: 850; letter-spacing: -.055em; line-height: 1.25; }
.section-head p { margin-top: 5px; color: var(--muted); }
.panel { overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: var(--white); }
.stepper { flex-shrink: 0; display: inline-flex; overflow: hidden; border: 1px solid var(--field-line); border-radius: 8px; }
.stepper button, .stepper input { min-height: 40px; background: var(--white); text-align: center; }
.stepper button { padding: 0; width: 39px; color: var(--green); font-size: 19px; font-weight: 650; }
.stepper button:hover { background: var(--control-hover); }
.stepper input { width: 55px; padding: 0 3px; border: solid var(--field-line); border-width: 0 1px; appearance: textfield; font-family: var(--mono); }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { appearance: none; }
.stepper :focus-visible { outline-offset: -1px; }
.tier-details { padding: 0 18px; background: var(--soft); }
summary { font-weight: 750; }
.tier-details table { width: 100%; border-collapse: collapse; text-align: left; font-size: 13px; }
.tier-details :is(th, td) { padding: 7px 2px; border-bottom: 1px solid var(--line); }
.tier-details :is(th, td):last-child { text-align: right; }
.hint { padding-block: 10px 13px; }

.catalog-bar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; align-items: center; margin-bottom: 12px; font-size: 12px; color: var(--muted); }
.catalog-filters { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: end; margin-bottom: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.filter-field { display: grid; min-width: 0; gap: 3px; color: var(--muted); font-size: 13px; font-weight: 750; }
.filter-field:first-child { flex: 1 1 210px; }
.filter-field input, .filter-field select { width: 100%; min-width: 0; min-height: 39px; padding: 6px 9px; border: 1px solid var(--field-line); border-radius: 7px; background: var(--white); font: 500 14px/1.3 var(--sans); color: var(--ink); }
.filter-selected { min-height: 39px; display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 750; }
.filter-selected input { accent-color: var(--green); }
.filter-types { display: flex; flex: 1 0 100%; flex-wrap: wrap; gap: 6px; }
.filter-type { border: 1px solid var(--field-line); border-radius: 999px; padding: 5px 11px; background: var(--white); font-size: 13px; font-weight: 700; }
.filter-type:hover, .filter-type[aria-pressed="true"] { background: var(--selected); border-color: var(--focus); color: var(--green); }
.catalog { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.catalog-empty { padding: 24px 14px; text-align: center; color: var(--muted); }
.theme-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.theme-card:has(input:checked) { border-color: #668753; box-shadow: 0 0 0 1px #668753; }
.theme-media { position: relative; isolation: isolate; aspect-ratio: 16/9; border-bottom: 1px solid var(--line); background: var(--placeholder); }
.theme-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.theme-no-preview { position: absolute; inset: 0; display: grid; place-content: center; color: var(--muted); font-size: 12px; }
.theme-body { flex: 1; display: flex; flex-direction: column; gap: 7px; padding: 11px; }
.theme-type { position: absolute; inset: 6px auto auto 6px; z-index: 1; max-width: calc(100% - 12px); padding: 3px 6px; border-radius: 5px; background: var(--forest); color: #f5f9ef; font-size: 11px; font-weight: 750; line-height: 1.35; }
.theme-note { margin: 0; color: var(--muted); font-size: 12px; }
.theme-title { display: flex; justify-content: space-between; gap: 5px; align-items: center; flex-wrap: wrap; }
.theme-title h3 { font: 750 17px/1.2 var(--mono); }
.theme-title span { color: var(--green); font-size: 12px; font-weight: 750; white-space: nowrap; }
.theme-demos { position: absolute; inset: auto 0 0; min-height: 58%; display: flex; align-content: flex-end; justify-content: center; flex-wrap: wrap; gap: 4px; padding: 18px 6px 8px; background: linear-gradient(to bottom, transparent, #162e2330 48%, #162e2390); }
.theme-demos a { display: inline-flex; justify-content: center; align-items: center; gap: 4px; max-width: 100%; padding: 3px 6px; border-radius: 5px; background: var(--white); color: var(--ink); font-size: 11px; font-weight: 750; line-height: 1.4; text-align: center; }
.theme-demos a:hover { background: var(--lime); color: var(--forest); }
.theme-demos a:focus-visible { outline-color: var(--lime); outline-offset: 2px; }

@media (hover: hover) and (pointer: fine) {
  .theme-demos { opacity: 0; pointer-events: none; transition: opacity .16s ease; }
  .theme-media:is(:hover, :focus-within) .theme-demos { opacity: 1; pointer-events: auto; }
}
.theme-select { display: flex; align-items: center; gap: 6px; min-height: 36px; margin-top: auto; border-radius: 6px; padding: 4px 8px; background: var(--control-hover); color: var(--green); font-size: 13px; font-weight: 750; cursor: pointer; }
.theme-select:hover { background: var(--selected); }
.panel-head { padding: 14px 18px 12px; }
.hosting-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.hosting-card { display: flex; flex-direction: column; }
.hosting-info { flex: 1; padding: 15px; }
.hosting-info p { margin: 4px 0 9px; color: var(--muted); font-size: 13px; }
.hosting-info strong { color: var(--green); }
.hosting-quantity { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 7px; padding: 10px 15px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 750; }
.domain-panel { margin-top: 12px; }
.domain-row { display: flex; gap: 8px; margin: 0 18px 10px; }
.domain-row input { min-width: 0; flex: 1; padding: 6px 9px; border: 1px solid var(--field-line); border-radius: 7px; background: var(--white); }
.domain-row button { padding: 6px 9px; font-size: 13px; }

.quote-aside { padding-top: 3px; }
.quote-aside .summary { transform: translateY(var(--summary-lift, 0)); transition: transform .22s cubic-bezier(.2,.68,.3,1); }
.summary { padding: 23px; border: 1px solid #31523e; border-radius: 16px; background: var(--forest); color: #f4f8ed; }
.summary-heading { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.summary-heading h2 { font-size: 19px; }
.currency-badge { border: 1px solid #55715e; border-radius: 5px; padding: 2px 6px; color: #e1efdc; font: 600 12px/1.5 var(--mono); letter-spacing: 0; }
.summary-label { margin-top: 22px; color: #c5d7cb; font-size: 13px; }
.summary-total { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 9px; margin: 1px 0 15px; color: var(--lime); font: 750 clamp(28px, 3.5vw, 49px)/1.15 var(--mono); letter-spacing: -.085em; overflow-wrap: anywhere; }
.summary-items { display: grid; gap: 6px; max-height: min(28vh, 210px); overflow: auto; scrollbar-gutter: stable; scrollbar-width: thin; scrollbar-color: #83ac8e transparent; padding: 12px 12px 12px 0; border-block: 1px solid #496556; font-size: 13px; }
.summary-items > div { display: flex; justify-content: space-between; gap: 10px; }
.summary-items dt { overflow-wrap: anywhere; }
.summary-items dd { flex: none; white-space: nowrap; font-family: var(--mono); font-variant-numeric: tabular-nums; }
.summary-note { margin-top: 10px; color: #c5d7cb; font-size: 12px; }
.summary-note:empty { display: none; }
.renewal-table { width: 100%; margin-top: 10px; border-collapse: collapse; color: #c5d7cb; font-size: 12px; text-align: left; }
.renewal-table caption { text-align: left; color: #e1efdc; font-weight: 750; }
.renewal-table :is(th, td) { padding: 2px 0; }
.renewal-table td { text-align: right; font-family: var(--mono); }
.summary-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin-top: 16px; font-size: 13px; }
.summary-actions .button { gap: 5px; padding-inline: 5px; white-space: normal; text-align: center; }
.summary-actions #copy-link { grid-column: 1/-1; }
.button-lime { background: var(--lime); color: #20311f; }
.button-lime:hover { background: #e6ffaf; }
.button-inverse { color: #f4f8ed; background: transparent; border-color: #637f6e; }
.button-inverse:hover { background: #2f4e3d; }
.summary-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 4px; min-height: 26px; margin-top: 9px; color: #c5d7cb; font-size: 12px; }
.summary-bottom button { background: transparent; color: inherit; padding: 4px 0; text-decoration: underline; }
.summary textarea { width: 100%; min-height: 72px; color: var(--ink); background: var(--white); border-radius: 6px; }
.mobile-summary { display: none; }
.sheet-close { display: none; }
.quote-sheet { position: fixed; inset: auto 0 0; width: 100%; max-width: none; max-height: calc(100dvh - 18px); margin: 0; padding: 0; overflow: auto; overscroll-behavior: contain; border: 0; border-radius: 19px 19px 0 0; background: var(--forest); color: var(--on-forest); }
.quote-sheet::backdrop { background: #07120cc0; }
.quote-sheet .summary { border-radius: 19px 19px 0 0; padding: 16px 19px calc(18px + env(safe-area-inset-bottom)); }
.quote-sheet .summary-heading h2 { flex: 1; }
.quote-sheet .sheet-close { display: inline-grid; place-items: center; width: 36px; height: 36px; border: 1px solid #637f6e; border-radius: 8px; background: #284437; color: var(--on-forest); font-size: 24px; line-height: 1; }
.quote-sheet .summary-items { max-height: min(38dvh, 300px); }
body:has(.quote-sheet[open]) { overflow: hidden; }

.guide-main { padding-block: 44px 60px; }
.guide-main { max-width: 1120px; }
.guide-intro { margin-bottom: 25px; text-align: center; }
.guide-intro h1 { font-size: clamp(37px, 5vw, 65px); }
.guide-intro p { margin-top: 9px; color: var(--muted); }
.guide-layout { display: grid; grid-template-columns: minmax(165px, 210px) minmax(0, 920px); align-items: start; gap: 19px; }
.guide-toc { display: grid; gap: 3px; position: sticky; top: 112px; padding: 10px; border: 1px solid var(--line); border-radius: 11px; background: var(--white); }
.guide-toc a { padding: 6px 7px; white-space: normal; }
.guide-toc a:hover { background: var(--control-hover); border-radius: 6px; }
.guide-topics { display: grid; gap: 12px; }
.guide-topic { padding: 18px 21px; }
.guide-topic h2 { font-size: clamp(20px, 2.5vw, 27px); }
.guide-topic ul { margin: 8px 0 0; padding-left: 20px; color: var(--muted); }
.guide-topic li + li { margin-top: 8px; }
.guide-links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; color: var(--green); font-weight: 700; }
.guide-links a:hover { text-decoration: underline; }
.home-page main > .wrap { max-width: 1260px; }
.hero-content { max-width: 620px; }
.home-page .hero { padding-block: 40px 42px; }
.hero-copy { max-width: 490px; }
.hero-rate { margin-top: 15px; color: var(--green); font-size: 13px; font-weight: 700; }
.home-section { padding-block: 39px 43px; border-bottom: 1px solid var(--line); }
.home-section-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 15px; }
.home-section-heading .button { padding: 7px 10px; font-size: 13px; }
.featured-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.featured-grid .theme-card:last-child { display: grid; grid-column: 1/-1; grid-template-columns: minmax(0, .72fr) minmax(0, 1fr); }
.featured-grid .theme-card:last-child .theme-media { border-bottom: 0; border-right: 1px solid var(--line); }
.featured-grid .theme-body { padding: 15px; }
.featured-grid .theme-card:last-child .theme-body { justify-content: center; align-items: flex-start; padding: clamp(16px, 3.5vw, 45px); }
.featured-grid .theme-card:last-child .theme-select { margin-top: 8px; }
.featured-grid .theme-title h3 { font-size: 19px; }
.featured-description { margin-bottom: 7px; color: var(--muted); font-size: 14px; }
.hosting-band { padding: clamp(18px, 3.4vw, 40px); border-radius: 16px; background: var(--forest); color: var(--on-forest); }
.hosting-band .section-head p { color: #c4d4c7; }
.hosting-band .button { border-color: #5b7665; }
.hosting-band .button:hover { background: #294938; border-color: #789881; }
.home-plan { padding: 15px 18px; border: 1px solid #4a6755; border-radius: 10px; background: #223e30; }
.home-plan h3 { font-size: 17px; }
.home-plan p { display: flex; align-items: baseline; gap: 5px; margin-block: 4px 10px; color: var(--lime); font-size: 12px; font-weight: 750; }
.home-plan p strong { font: 750 30px/1.15 var(--mono); letter-spacing: -.06em; }
.home-plan ul { margin: 0; padding-left: 18px; color: #e0ebe1; font-size: 13px; }
.home-faq { display: grid; grid-template-columns: minmax(210px, .48fr) minmax(0, 1fr); gap: 23px; border-bottom: 0; }
.home-faq .section-head p { max-width: 28ch; }
.home-faq .section-head .button { margin-top: 12px; padding: 7px 10px; font-size: 13px; }
.home-faq-list { display: grid; gap: 7px; }
.home-faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; list-style: none; padding: 10px 14px; }
.home-faq-list summary::-webkit-details-marker { display: none; }
.home-faq-list details[open] summary .icon { transform: rotate(180deg); }
.home-faq-list p { padding: 0 14px 11px; color: var(--muted); }
.home-faq-list p a { color: var(--green); text-decoration: underline; }
.quote-intro { padding-block: 37px 19px; border-bottom: 1px solid var(--line); }
.quote-intro h1 { font-size: clamp(35px, 4vw, 58px); }
.quote-intro p { margin-top: 7px; color: var(--muted); }
.footer { padding-block: 20px; border-top: 1px solid var(--line); }
.footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 9px; flex-wrap: wrap; font-size: 13px; }

.site-dialog { --dialog-top: clamp(16px, 6vh, 56px); position: fixed; inset: var(--dialog-top) 0 auto; margin: 0 auto; width: min(780px, calc(100% - 28px)); max-height: calc(100dvh - var(--dialog-top) - 16px); padding: 0; border: 1px solid var(--line); border-radius: 16px; color: var(--ink); background: var(--white); box-shadow: 0 15px 50px #152f2640; }
.discounts-dialog { width: min(575px, calc(100% - 28px)); }
.templates-dialog { width: min(1100px, calc(100% - 28px)); }
.site-dialog::backdrop { background: #172920a6; }
.wizard-form { display: flex; flex-direction: column; max-height: calc(100dvh - var(--dialog-top) - 18px); }
.wizard-head, .wizard-actions { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 20px; }
.wizard-head p { color: var(--green); font-size: 13px; font-weight: 750; }
.wizard-head h2 { margin-top: 2px; font-size: clamp(21px, 4vw, 28px); }
.wizard-head h2:focus { outline: none; }
.wizard-close { width: 36px; height: 36px; border-radius: 7px; background: var(--control-hover); color: var(--ink); font-size: 24px; line-height: 1; }
.wizard-progress { display: flex; gap: 5px; padding: 0 20px; }
.wizard-progress span { flex: 1; height: 4px; border-radius: 5px; background: var(--line); }
.wizard-progress .active { background: #709b51; }
.wizard-body { min-height: 0; overflow: auto; padding: 16px 20px; scrollbar-color: #789280 transparent; }
.wizard-option { display: flex; align-items: center; gap: 10px; margin-bottom: 7px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.wizard-option:has(input:checked) { border-color: var(--focus); background: var(--selected); }
.wizard-option input { flex: none; margin: 0; accent-color: var(--green); }
.wizard-option small { display: block; color: var(--muted); overflow-wrap: anywhere; }
.wizard-templates, .wizard-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin-top: 9px; }
.wizard-card-slot { position: relative; display: grid; }
.wizard-card { position: relative; min-width: 0; overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 8px; background: var(--white); cursor: pointer; }
.wizard-card:hover, .wizard-card:has(:checked) { border-color: var(--focus); background: var(--selected); }
.wizard-card:has(:focus-visible) { outline: 1px solid var(--focus); outline-offset: 1px; }
.wizard-card input { position: absolute; inset: 0; z-index: 2; margin: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.wizard-card-check { display: none; position: absolute; top: 6px; right: 6px; z-index: 1; width: 22px; height: 22px; border-radius: 50%; place-items: center; background: var(--forest); color: var(--lime); font-weight: 800; line-height: 1; }
.wizard-types { margin-top: 10px; }
.wizard-card:has(:checked) .wizard-card-check { display: grid; }
.wizard-card img, .wizard-card-placeholder { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
.wizard-card-placeholder { display: grid; place-content: center; background: var(--placeholder); color: var(--muted); font-size: 12px; text-align: center; }
.wizard-card-info { display: grid; gap: 1px; padding: 8px; }
.wizard-card-info small { font-size: 12px; color: var(--muted); }
.wizard-card-info b { color: var(--green); font-size: 13px; margin-top: 4px; }
.wizard-plans .wizard-card-info { padding: 10px; }
.wizard-plans .wizard-card-info strong { padding-right: 18px; }
.wizard-card-demo { position: absolute; z-index: 3; top: 6px; left: 6px; padding: 2px 5px; border-radius: 4px; background: var(--white); color: var(--ink); font-size: 11px; font-weight: 700; }
.discounts-dialog .tier-details { padding: 14px 20px 20px; border-top: 1px solid var(--line); }
.discount-intro { color: var(--green); font-weight: 750; }
.wizard-linked { padding: 6px 0 0 14px; }
.wizard-field { display: grid; gap: 4px; color: var(--muted); font-weight: 700; font-size: 13px; }
.wizard-field :is(input, textarea) { width: 100%; min-width: 0; border: 1px solid var(--field-line); border-radius: 7px; padding: 8px 10px; background: var(--white); color: var(--ink); }
.wizard-actions { border-top: 1px solid var(--line); }
.wizard-actions button:disabled { opacity: .45; cursor: default; }

@media (max-width: 1280px) {
  .header-inner { min-height: auto; padding-block: 8px 5px; flex-wrap: wrap; gap: 5px 12px; }
  .header-inner nav { order: 1; width: 100%; justify-content: flex-start; flex-wrap: wrap; gap: 4px 20px; font-size: 13px; padding-block: 5px; }
  [id] { scroll-margin-top: 106px; }
}

@media (max-width: 960px) {
  .sites-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wrap { width: calc(100% - 48px); }
  .workspace { grid-template-columns: minmax(0, 1fr) 290px; }
  .catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hosting-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); }
}

@media (max-width: 720px) {
  .sites-grid { grid-template-columns: minmax(0, 1fr); }
  .wrap { width: calc(100% - 32px); }
  [id] { scroll-margin-top: 100px; }
  .header-inner nav { order: 1; width: 100%; justify-content: space-between; flex-wrap: wrap; gap: 4px 10px; font-size: 12px; padding-block: 5px; }
  .brand { gap: 6px; font-size: 14px; }
  .brand-mark { width: 31px; height: 31px; }
  .hero { grid-template-columns: 1fr; gap: 22px; padding-block: 36px 28px; }
  h1 { font-size: clamp(39px, 9vw, 62px); }
  .hero-copy { margin-top: 12px; }
  .desktop-break { display: none; }
  .hero-actions { margin-top: 16px; }
  .hero-previews { max-width: 450px; width: 100%; margin-inline: auto; }
  .workspace { grid-template-columns: minmax(0, 1fr); gap: 26px; padding-block: 26px 34px; }
  .section-head { margin-bottom: 12px; }
  .quote-section + .quote-section { margin-top: 31px; }
  .hosting-grid { grid-template-columns: 1fr; }
  .wizard-templates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wizard-plans { grid-template-columns: 1fr; }
  .stepper button { width: 34px; }
  .stepper input { width: 47px; }
  .quote-aside { display: none; }
  .catalog { grid-template-columns: minmax(0, 1fr); }
  .summary-total { font-size: 41px; }
  .guide-main { padding-block: 25px 38px; }
  .featured-grid { grid-template-columns: minmax(0, 1fr); }
  .home-page .hero { padding-block: 30px 27px; }
  .home-section { padding-block: 29px 32px; }
  .featured-grid .theme-card:last-child { grid-column: auto; grid-template-columns: minmax(0, 1fr); }
  .featured-grid .theme-card:last-child .theme-media { border-right: 0; border-bottom: 1px solid var(--line); }
  .featured-grid .theme-card:last-child .theme-body { padding: 15px; align-items: stretch; }
  .home-faq { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .home-page .footer { padding-bottom: 20px; }
  .guide-layout { grid-template-columns: minmax(0, 1fr); }
  .guide-toc { position: static; display: flex; flex-wrap: wrap; }
  .footer { padding-bottom: 85px; }
  .mobile-summary { display: flex; width: 100%; text-align: left; justify-content: space-between; align-items: center; gap: 8px; position: fixed; z-index: 4; inset: auto 0 0; padding: 9px 16px calc(9px + env(safe-area-inset-bottom)); border-top: 1px solid #517261; background: var(--forest); color: #eef6e9; font-size: 12px; }
  .mobile-summary strong { display: block; color: var(--lime); font: 700 16px/1.2 var(--mono); }
}

@media (max-width: 390px) {
  .header-inner .brand { width: 100%; }
  .header-inner nav { justify-content: flex-start; gap: 4px 13px; }
  [id] { scroll-margin-top: 154px; }
  .theme-title h3 { font-size: 15px; }
  .site-content { padding: 9px; }
  .domain-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  .domain-row input { grid-column: 1/-1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .theme-demos, .quote-aside .summary { transition: none; }
  .hero-previews button { animation: none; }
  .headline-letter { animation: none; }
  .headline-visual::after { animation: none; opacity: 1; }
}
