/* ============ Variables ============ */
:root {
  --pi_bg: #FBF6F4;
  --pi_surface: #FFFFFF;
  --pi_text: #2A1C1C;
  --pi_muted: #6A5352;
  --pi_accent: #A8323F;
  --pi_accent_dark: #8A2833;
  --pi_accent_text: #FFFFFF;
  --pi_plate_bg: #2A1C1C;
  --pi_plate_text: #FBF6F4;
  --pi_line: #E7DCD8;
  --pi_tint: #F3EBE7;
  --pi_font: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --pi_radius: 8px;
  --pi_radius_btn: 999px;
  --pi_shadow: 0 1px 2px rgb(0 0 0 / .06), 0 12px 32px rgb(0 0 0 / .08);
  --pi_pad: clamp(16px, 4vw, 40px);
  --pi_section: clamp(64px, 9vw, 96px);
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }

body {
  margin: 0;
  font-family: var(--pi_font);
  font-weight: 400;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  line-height: 1.65;
  color: var(--pi_text);
  background-color: var(--pi_bg);
  min-width: 360px;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  color: var(--pi_text);
}

h1 { font-size: clamp(2.4rem, 4.6vw + 0.6rem, 4.6rem); line-height: 1.08; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 2.6vw + 0.8rem, 3rem); line-height: 1.15; }
h3 { font-size: clamp(1.2rem, 1rem + 0.8vw, 1.5rem); }

p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }

a { color: var(--pi_accent); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--pi_accent_dark); }

ul, ol { margin: 0; padding: 0 0 0 1.25em; }
address { font-style: normal; }

:focus-visible {
  outline: 3px solid var(--pi_accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============ Layout ============ */
.pi_shell {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--pi_pad);
}

.pi_block {
  padding-block: var(--pi_section);
  position: relative;
}

.pi_section_title { margin-bottom: 12px; }

.pi_section_lead {
  color: var(--pi_muted);
  max-width: 68ch;
  margin-bottom: 32px;
}

/* ============ Skip link ============ */
.pi_skip_link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 200;
  background: var(--pi_plate_bg);
  color: var(--pi_plate_text);
  padding: 12px 20px;
  border-radius: var(--pi_radius_btn);
  text-decoration: none;
}

.pi_skip_link:focus { left: 8px; color: var(--pi_plate_text); }

/* ============ Announcement bar ============ */
.pi_announce {
  display: none;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px var(--pi_pad);
  background: var(--pi_tint);
  border-bottom: 1px solid var(--pi_line);
}

.pi_announce_text { margin: 0; font-size: 0.9rem; color: var(--pi_text); max-width: 72ch; }

.pi_announce_close {
  font: inherit;
  font-size: 0.9rem;
  border: 1px solid var(--pi_line);
  background: var(--pi_surface);
  color: var(--pi_muted);
  border-radius: var(--pi_radius_btn);
  padding: 6px 16px;
  cursor: pointer;
}

.pi_announce_close:hover { color: var(--pi_text); border-color: var(--pi_muted); }
.pi_announce_close:focus-visible { outline: 3px solid var(--pi_accent); outline-offset: 2px; }
.pi_announce_close:active { transform: scale(0.96); }

/* ============ Header ============ */
.pi_topbar {
  position: sticky;
  top: 12px;
  z-index: 120;
  padding: 6px 12px;
}

.pi_topbar_inner {
  max-width: 1200px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--pi_surface);
  border-radius: 16px;
  box-shadow: var(--pi_shadow);
  padding: 12px 20px;
  min-height: 64px;
}

.pi_mark {
  flex: 1;
  text-align: center;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--pi_text);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pi_topbar_cta { margin-left: auto; flex: none; }

/* ============ Off-canvas panel ============ */
.pi_panel_backdrop {
  position: fixed;
  inset: 0;
  background: rgb(42 28 28 / 0.55);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.pi_panel_backdrop.is_open { opacity: 1; pointer-events: auto; }

.pi_panel {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(320px, 86vw);
  background: var(--pi_plate_bg);
  color: var(--pi_plate_text);
  z-index: 160;
  transform: translateX(-102%);
  transition: transform 0.35s ease;
  display: flex;
  flex-direction: column;
  padding: 24px;
  overflow-y: auto;
}

.pi_panel.is_open { transform: translateX(0); }

.pi_panel_head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.pi_panel_title { font-weight: 700; font-size: 1rem; }

.pi_panel_close {
  font: inherit;
  font-size: 0.9rem;
  background: transparent;
  color: var(--pi_plate_text);
  border: 1px solid rgb(251 246 244 / 0.4);
  border-radius: var(--pi_radius_btn);
  padding: 6px 16px;
  cursor: pointer;
}

.pi_panel_close:hover { border-color: var(--pi_plate_text); }
.pi_panel_close:focus-visible { outline: 3px solid var(--pi_bg); outline-offset: 2px; }

.pi_panel_list { list-style: none; padding: 0; margin: 0; }

.pi_panel_link {
  display: block;
  padding: 14px 8px;
  color: var(--pi_plate_text);
  text-decoration: none;
  font-size: 1.05rem;
  border-bottom: 1px solid rgb(251 246 244 / 0.12);
  text-underline-offset: 6px;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: transparent;
  transition: text-decoration-thickness 0.25s ease, text-decoration-color 0.25s ease;
}

.pi_panel_link:hover,
.pi_panel_link[aria-current="page"] {
  text-decoration-thickness: 4px;
  text-decoration-color: #C9808A;
}

.pi_panel_link:focus-visible { outline: 3px solid var(--pi_bg); outline-offset: 2px; border-radius: 4px; }

/* ============ Panel toggle button ============ */
.pi_panel_btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  background: var(--pi_tint);
  border: 1px solid var(--pi_line);
  border-radius: var(--pi_radius_btn);
  padding: 10px 18px;
  margin-right: 8px;
  transition: border-color 0.25s ease, background-color 0.25s ease;
  cursor: pointer;
  font: inherit;
  color: var(--pi_text);
  font-size: 0.95rem;
}

.pi_panel_btn_bar {
  display: block;
  width: 18px;
  height: 2.5px;
  background: var(--pi_accent);
  margin: 0;
  border-radius: 2px;
  flex: none;
}

.pi_panel_btn_bar + .pi_panel_btn_bar { width: 12px; }

.pi_panel_btn:hover { border-color: var(--pi_accent); }
.pi_panel_btn:active { transform: scale(0.97); }

.pi_panel_btn:focus-visible { outline: 3px solid var(--pi_accent); outline-offset: 3px; border-radius: 4px; }

/* ============ Buttons ============ */
.pi_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 28px;
  white-space: nowrap;
  border-radius: var(--pi_radius_btn);
  border: 0;
  background: var(--pi_accent);
  color: var(--pi_accent_text);
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background-color 0.25s ease, transform 0.15s ease, box-shadow 0.25s ease;
}

/* Fill wave from center */
.pi_btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--pi_accent_dark);
  border-radius: inherit;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.35s ease;
  z-index: 0;
}

.pi_btn > * { position: relative; z-index: 1; }

.pi_btn:hover { color: var(--pi_accent_text); box-shadow: 0 8px 24px rgb(168 50 63 / 0.35); }
.pi_btn:hover::before { transform: scaleX(1); }

.pi_btn:focus-visible {
  color: var(--pi_accent_text);
  outline: 3px solid var(--pi_accent);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgb(168 50 63 / 0.25);
}

.pi_btn:active { transform: scale(0.97); color: var(--pi_accent_text); }

.pi_btn_ghost {
  background: transparent;
  color: var(--pi_text);
  border: 1.5px solid var(--pi_text);
}

.pi_btn_ghost::before { display: none; }
.pi_btn_ghost:hover { background: var(--pi_tint); box-shadow: none; color: var(--pi_text); }
.pi_btn_ghost:focus-visible { outline-color: var(--pi_text); }
.pi_btn_ghost:active { transform: scale(0.97); }

/* ============ Hero ============ */
.pi_hero { padding-top: clamp(40px, 6vw, 72px); }

.pi_hero_grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.pi_hero_title {
  margin-bottom: 24px;
  max-width: 20ch;
  line-height: 1.1;
}

.pi_hero_line { display: block; }

.pi_hero_line_mid {
  font-size: 0.62em;
  font-weight: 650;
  color: var(--pi_muted);
  margin-block: 0.3em;
}

.pi_hero_line_big + .pi_hero_line_big { margin-top: 0.15em; }

.pi_accent_text {
  color: var(--pi_accent);
  font-size: clamp(2.4rem, 4.6vw + 0.6rem, 4.6rem);
  font-weight: 750;
}

.pi_hero_text { color: var(--pi_muted); max-width: 56ch; margin-bottom: 28px; }

.pi_hero_media { margin: 0; }

.pi_hero_media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--pi_radius);
  box-shadow: var(--pi_shadow);
}

/* ============ Entry animation ============ */
.pi_rise { transition: none; }

.pi_hero_copy { animation: pi_lift 0.5s ease both; }

@keyframes pi_lift {
  from { transform: translateY(12px); }
  to { transform: translateY(0); }
}

/* ============ Section reveal ============ */
html.is_live .pi_rise {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

html.is_live .pi_rise.is_up {
  opacity: 1;
  transform: translateY(0);
}

/* ============ Stats strip ============ */
.pi_stats { background: transparent; }

.pi_stats_grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  background: var(--pi_surface);
  border-radius: var(--pi_radius);
  box-shadow: var(--pi_shadow);
  padding: 32px clamp(24px, 4vw, 48px);
}

.pi_stats_intro { color: var(--pi_muted); max-width: 60ch; margin: 0; }

.pi_stats_row {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 5vw, 48px);
}

.pi_stats_item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  border-left: 3px solid var(--pi_accent);
  padding: 8px 0 8px 16px;
  min-width: 0;
}

.pi_stats_value {
  font-size: clamp(2rem, 2vw + 1.4rem, 3rem);
  font-weight: 750;
  line-height: 1;
  color: var(--pi_text);
}

.pi_stats_label { font-size: 0.95rem; line-height: 1.4; color: var(--pi_muted); }

/* ============ Tabs ============ */
.pi_tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.pi_tab {
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 20px;
  min-height: 48px;
  border-radius: var(--pi_radius_btn);
  border: 1.5px solid var(--pi_line);
  background: var(--pi_surface);
  color: var(--pi_text);
  cursor: pointer;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.pi_tab:hover { border-color: var(--pi_accent); }

.pi_tab:focus-visible { outline: 3px solid var(--pi_accent); outline-offset: 2px; }
.pi_tab:active { transform: scale(0.97); }

.pi_tab[aria-selected="true"] {
  background: var(--pi_plate_bg);
  color: var(--pi_plate_text);
  border-color: var(--pi_plate_bg);
}

/* ============ Numbered service lines ============ */
.pi_lines { display: flex; flex-direction: column; gap: 16px; }

.pi_line {
  display: flex;
  gap: 24px;
  align-items: baseline;
  background: var(--pi_surface);
  border-radius: var(--pi_radius);
  padding: 32px;
  align-items: stretch;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.pi_line:hover {
  box-shadow: 0 12px 32px rgb(168 50 63 / 0.16);
  transform: translateY(-2px);
}

.pi_line_num {
  font-size: clamp(1.4rem, 1.2rem + 1vw, 2rem);
  font-weight: 750;
  color: var(--pi_accent);
  flex: none;
  min-width: 2ch;
}

.pi_line_body { flex: 1; }

.pi_line_title { margin-bottom: 6px; }

.pi_line_text { margin: 0 0 8px; max-width: 62ch; color: var(--pi_muted); }

.pi_line.pi_is_hidden { display: none; }

.pi_read_more { margin-top: 24px; color: var(--pi_muted); }

/* ============ Dark plate / request ============ */
.pi_request {
  background: var(--pi_tint);
}

.pi_dark_plate {
  background: var(--pi_plate_bg);
  color: var(--pi_plate_text);
  border-radius: var(--pi_radius);
  padding: clamp(28px, 5vw, 56px);
  box-shadow: var(--pi_shadow);
}

.pi_plate_title { color: var(--pi_plate_text); }

.pi_plate_text { color: rgb(251 246 244 / 0.8); max-width: 60ch; margin-bottom: 28px; }

/* ============ Form ============ */
.pi_form_field { margin-bottom: 20px; }

.pi_form_label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 6px;
  color: var(--pi_plate_text);
}

.pi_form_input,
.pi_form_area {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--pi_text);
  background: var(--pi_surface);
  border: 1.5px solid var(--pi_line);
  border-radius: var(--pi_radius);
  padding: 12px 16px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.pi_form_input::placeholder,
.pi_form_area::placeholder { color: #7D6866; opacity: 1; }

.pi_form_input:focus,
.pi_form_area:focus {
  outline: none;
  border-color: var(--pi_accent);
  box-shadow: 0 0 0 3px rgb(168 50 63 / 0.2);
}

.pi_form_input.is_invalid,
.pi_form_area.is_invalid { border-color: var(--pi_accent); box-shadow: 0 0 0 3px rgb(168 50 63 / 0.25); }

.pi_form_area { resize: vertical; min-height: 120px; }

.pi_form_check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 20px;
  max-width: 52ch;
  line-height: 1.6;
  font-size: 0.95rem;
  color: rgb(251 246 244 / 0.85);
}

.pi_form_check input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--pi_accent); flex: none; }

.pi_form_check a { color: #E9B7BC; }
.pi_form_check a:hover { color: var(--pi_bg); }

.pi_form_hint { font-size: 0.9rem; color: rgb(251 246 244 / 0.7); margin-bottom: 24px; }

.pi_form_wrap .pi_btn { width: 100%; }

.pi_form_wrap .pi_btn[disabled],
.pi_form_submit.is_busy {
  opacity: 0.7;
  cursor: wait;
}

/* ============ FAQ ============ */
.pi_qa { max-width: 760px; display: flex; flex-direction: column; gap: 12px; }

.pi_qa_item {
  background: var(--pi_surface);
  border-radius: var(--pi_radius);
  box-shadow: var(--pi_shadow);
  padding: 4px 24px;
  transition: box-shadow 0.3s ease;
}

.pi_qa_item:hover { box-shadow: 0 12px 32px rgb(168 50 63 / 0.14); }

.pi_qa_question {
  font-weight: 600;
  cursor: pointer;
  padding: 16px 0;
  list-style: none;
  display: block;
}

.pi_qa_summary::-webkit-details-marker { display: none; }

.pi_qa_question::after {
  content: "+";
  float: right;
  color: var(--pi_accent);
  font-weight: 750;
  margin-left: 12px;
}

.pi_qa_item[open] .pi_qa_question::after { content: "–"; }

.pi_qa_item p { padding-bottom: 16px; color: var(--pi_muted); margin: 0; }

/* ============ Coverage ============ */
.pi_coverage { background: transparent; }

.pi_coverage_grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.pi_coverage_lead { color: var(--pi_muted); max-width: 56ch; }

.pi_cities {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pi_city {
  background: var(--pi_surface);
  border: 1px solid var(--pi_line);
  border-radius: var(--pi_radius_btn);
  padding: 8px 18px;
  font-size: 0.95rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.pi_city:hover { border-color: var(--pi_accent); box-shadow: 0 6px 18px rgb(168 50 63 / 0.14); }

.pi_coverage_note { color: var(--pi_muted); font-size: 0.95rem; }

.pi_coverage_media { margin: 0; }

.pi_coverage_media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--pi_radius);
  box-shadow: var(--pi_shadow);
}

.pi_request::before,
.pi_coverage::before,
#common-questions::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, rgb(243 235 231 / 0.96), rgb(231 220 216 / 0.82));
  z-index: -1;
  border-radius: 48% 12px / 10% 30%;
}

.pi_coverage::before {
  border-radius: 12px 48% / 30% 10%;
}

#common-questions::before {
  border-radius: 40% 8px 8px 40% / 6% 24% 24% 6%;
}

.pi_request > .pi_shell,
.pi_coverage > .pi_shell,
#common-questions > .pi_shell { position: relative; }

#hero {
  background: linear-gradient(170deg, rgb(243 235 231 / 0.9), rgb(251 246 244 / 0.4));
}

/* ============ Floating bottom banner ============ */
.pi_banner {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 130;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: min(720px, calc(100vw - 32px));
  background: var(--pi_plate_bg);
  color: var(--pi_plate_text);
  border-radius: var(--pi_radius);
  box-shadow: 0 12px 32px rgb(42 28 28 / 0.3);
  padding: 14px 20px;
}

.pi_banner_text { margin: 0; font-size: 0.95rem; }

.pi_banner_close {
  flex: none;
  font: inherit;
  font-size: 0.9rem;
  background: transparent;
  color: var(--pi_plate_text);
  border: 1px solid rgb(251 246 244 / 0.4);
  border-radius: var(--pi_radius_btn);
  padding: 6px 16px;
  cursor: pointer;
  transition: border-color 0.25s ease;
}

.pi_banner_close:hover { border-color: var(--pi_plate_text); }
.pi_banner_close:focus-visible { outline: 3px solid var(--pi_bg); outline-offset: 2px; }
.pi_banner_close:active { transform: scale(0.95); }

/* ============ Inner page header ============ */
.pi_page_head {
  padding-top: clamp(40px, 6vw, 80px);
}

.pi_page_head h1 { margin-bottom: 16px; }

.pi_page_lead { color: var(--pi_muted); max-width: 68ch; font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem); }

/* ============ Prose ============ */
.pi_read {
  max-width: 760px;
}

.pi_read h2 { margin-top: 40px; }
.pi_read h3 { margin-top: 32px; }
.pi_read p, .pi_read li { color: var(--pi_text); }
.pi_read ul, .pi_read ol { margin-bottom: 16px; }
.pi_read a { color: var(--pi_accent); }

.pi_read table {
  width: 100%;
  border-collapse: collapse;
  background: var(--pi_surface);
  border-radius: var(--pi_radius);
  overflow: hidden;
  margin: 24px 0;
  font-size: 0.95rem;
}

.pi_read th, .pi_read td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--pi_line);
}

.pi_read th { background: var(--pi_tint); font-weight: 600; }

.pi_toc {
  background: var(--pi_surface);
  border-radius: var(--pi_radius);
  box-shadow: var(--pi_shadow);
  padding: 24px 28px;
  max-width: 760px;
  margin-bottom: 32px;
}

.pi_toc ol { margin: 0; padding-left: 1.4em; }

.pi_toc a { color: var(--pi_accent); }

/* ============ Contacts ============ */
.pi_contact_list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 760px;
}

.pi_contact_list span {
  display: block;
  font-size: 0.9rem;
  color: var(--pi_muted);
  margin-bottom: 2px;
}

/* ============ Cards / steps ============ */
.pi_steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.pi_card {
  background: var(--pi_surface);
  border-radius: var(--pi_radius);
  box-shadow: var(--pi_shadow);
  padding: 28px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.pi_card:hover { box-shadow: 0 12px 32px rgb(168 50 63 / 0.18); transform: translateY(-2px); }

.pi_card_title { margin-bottom: 8px; }

.pi_card_text { color: var(--pi_muted); margin: 0; }

/* ============ Gallery figures ============ */
.pi_photo {
  margin: 0;
}

.pi_photo img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--pi_radius);
  box-shadow: var(--pi_shadow);
}

/* ============ Thanks & 404 ============ */
.pi_confirm {
  background: var(--pi_surface);
  border-radius: var(--pi_radius);
  box-shadow: var(--pi_shadow);
  padding: clamp(28px, 5vw, 56px);
  max-width: 760px;
}

.pi_link_row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
  list-style: none;
  padding: 0;
}

/* ============ Footer ============ */
.pi_base {
  background: var(--pi_tint);
  border-top: 1px solid var(--pi_line);
  padding: clamp(48px, 7vw, 96px) 0 24px;
  margin-top: var(--pi_section);
}

.pi_base_inner {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--pi_pad);
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.pi_base_brand { font-weight: 700; margin-bottom: 8px; }

.pi_base_note { color: var(--pi_muted); font-size: 0.95rem; }

.pi_base_head { font-size: 1rem; font-weight: 700; margin-bottom: 12px; }

.pi_base_list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }

.pi_base_link { color: var(--pi_text); text-decoration: underline; text-underline-offset: 3px; }
.pi_base_link:hover { color: var(--pi_accent_dark); }

.pi_base_col ul li span {
  font-size: 0.9rem;
  color: var(--pi_muted);
}

.pi_base_owner address { margin-top: 16px; font-size: 0.95rem; color: var(--pi_muted); }

.pi_base_owner p { margin: 0 0 6px; }

.pi_base_bottom {
  max-width: 1200px;
  margin: 32px auto 0;
  padding: 16px var(--pi_pad) 0;
  border-top: 1px solid var(--pi_line);
}

.pi_base_copy { font-size: 0.9rem; color: var(--pi_muted); margin: 0; }

/* ============ Breakpoints ============ */
@media (max-width: 479px) {
  .pi_topbar_inner { flex-wrap: wrap; gap: 8px; padding: 10px 14px; }
  .pi_panel_btn { margin-right: 0; padding: 8px 14px; gap: 8px; }
  .pi_topbar_cta { padding: 10px 16px; min-height: 44px; }
  .pi_mark {
    order: 3;
    flex-basis: 100%;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    font-size: 0.95rem;
    line-height: 1.3;
    margin: 2px 0 0;
  }
  .pi_stats_row { grid-template-columns: 1fr; }
  .pi_line { flex-direction: column; gap: 8px; padding: 20px; }
  .pi_banner { flex-direction: column; text-align: center; bottom: 16px; left: 16px; right: 16px; transform: none; }
  .pi_btn { width: 100%; }
  .pi_hero_cta { width: 100%; }
}

@media (min-width: 480px) {
  .pi_hero_grid { gap: 40px; }
}

@media (min-width: 640px) {
  .pi_steps { grid-template-columns: repeat(2, 1fr); }
  .pi_stats_row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pi_form_wrap .pi_btn { width: auto; }
}

@media (min-width: 768px) {
  .pi_hero_grid { grid-template-columns: 1.1fr 1fr; }
  .pi_coverage_grid { grid-template-columns: 1fr 1fr; }
  .pi_base_inner { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .pi_steps { grid-template-columns: repeat(3, 1fr); }
  .pi_base_inner { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
  .pi_panel_btn_label { display: none; }
}

@media (min-width: 1280px) {
  .pi_hero_grid { gap: 56px; }
  .pi_lines { gap: 12px; }
  .pi_stats_grid { grid-template-columns: auto minmax(0, 1fr); align-items: center; }
}

@media (max-height: 600px) {
  .pi_hero { padding-top: 32px; padding-bottom: 32px; }
  .pi_block { padding-block: 48px; }
}

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .pi_hero_copy { animation: none; }
  html.is_live .pi_rise { opacity: 1; transform: none; transition: none; }
  .pi_panel, .pi_panel_backdrop { transition: none; }
}

/* ============ Form on dark plate ============ */
.pi_dark_plate .pi_form_input,
.pi_dark_plate .pi_form_area {
  background: rgb(251 246 244 / 0.08);
  border: 1px solid rgb(251 246 244 / 0.25);
  color: var(--pi_plate_text);
}

.pi_dark_plate .pi_form_input::placeholder,
.pi_dark_plate .pi_form_area::placeholder { color: rgb(251 246 244 / 0.6); opacity: 1; }

.pi_dark_plate .pi_form_input:focus,
.pi_dark_plate .pi_form_area:focus {
  border-color: #E9B7BC;
  box-shadow: 0 0 0 3px rgb(233 183 188 / 0.25);
}

.pi_dark_plate .pi_form_input.is_invalid,
.pi_dark_plate .pi_form_area.is_invalid {
  border-color: #E9B7BC;
  box-shadow: 0 0 0 3px rgb(233 183 188 / 0.3);
}

/* ============ Stats & headings tuning ============ */
@media (min-width: 480px) and (max-width: 639px) {
  .pi_stats_row { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 639px) {
  .pi_block h2 {
    font-size: clamp(1.75rem, 7vw, 2.25rem);
    letter-spacing: -0.01em;
  }
  .pi_line { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .pi_panel_btn, .pi_tab { transform: none; }
}

/* ============ Background layer ============ */
body {
  background-image:
    radial-gradient(640px 340px at 88% -60px, rgb(168 50 63 / 0.08), transparent 70%),
    radial-gradient(560px 440px at -80px 40%, rgb(42 28 28 / 0.05), transparent 72%);
  background-repeat: no-repeat;
}

/* ============ Overflow guards ============ */
.pi_mark { min-width: 0; }
.pi_hero_grid > *, .pi_coverage_grid > *, .pi_steps > *, .pi_base_inner > *, .pi_stats_grid > * { min-width: 0; }
.pi_read { overflow-wrap: break-word; }
.pi_line_body { min-width: 0; }

/* ============ Media tuning ============ */
@media (max-width: 479px) {
  .pi_hero_media img { width: 100%; }
  .pi_stats_grid { padding: 24px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { overflow-x: clip; }
}

/* ============ Overflow safety ============ */
.pi_stats_label { overflow-wrap: break-word; }
