:root {
  color-scheme: light;
  --ink: #121512;
  --muted: #626a65;
  --subtle: #8b938e;
  --line: #e2e7e2;
  --paper: #ffffff;
  --canvas: #f5f7f4;
  --green: #227b4b;
  --green-soft: #e9f4ed;
  --radius: 18px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 280px;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
}
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img, svg { max-width: 100%; }
a { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, summary:focus-visible {
  outline: 3px solid #76b994;
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 66px;
  padding: 12px max(20px, calc((100vw - 1240px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-width: 0;
}
.site-header .brand, .brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
  color: var(--ink);
  font-size: 15px;
  font-weight: 850;
  letter-spacing: .075em;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
}
.brand strong { color: var(--ink); font-weight: 850; }
.header-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 2.5vw, 30px);
  min-width: 0;
}
.header-nav a {
  color: #454b47;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}
.header-nav a:hover { color: var(--green); }
.header-nav .nav-cta {
  padding: 10px 14px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
}
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
  min-height: 38px;
  padding: 8px 15px;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}
.header-cta:hover { background: #303a32; }

main, .page-shell, .site-footer-inner {
  width: min(100% - 40px, 1240px);
  margin-inline: auto;
}
main { padding-bottom: 72px; }
section[id] { scroll-margin-top: 88px; }
.intro {
  display: grid;
  gap: 12px;
  padding: 42px 0 30px;
}
.eyebrow, .kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  margin: 0;
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow::before, .kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}
.eyebrow-dot { display: none; }
.intro h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(31px, 7vw, 56px);
  font-weight: 820;
  letter-spacing: -.055em;
  line-height: 1.05;
}
.intro p:not(.eyebrow, .kicker) {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(15px, 2vw, 18px);
}
.intro em, .section-intro em, .contact-section em {
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}
.intro .intro-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.intro-upload {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  max-width: 100%;
  min-height: 47px;
  margin-top: 9px;
  padding: 10px 18px;
  border: 1px solid var(--ink);
  border-radius: 11px;
  background: var(--ink);
  color: white;
  font-size: 13px;
  font-weight: 780;
  text-align: center;
  cursor: pointer;
  transition: transform .16s ease, background-color .16s ease;
}
.intro-upload:hover { background: #303a32; transform: translateY(-1px); }
.intro-upload:focus-visible { outline: 3px solid #76b994; outline-offset: 3px; }

.shop-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 18px;
}
.preview-panel {
  position: relative;
  min-width: 0;
  padding: 24px 16px 20px;
  overflow: hidden;
  border: 1px solid #e8ece8;
  border-radius: 24px;
  background: radial-gradient(ellipse 72% 48% at 50% 42%, #fff 0%, var(--canvas) 83%);
  text-align: center;
}
.preview-panel::after {
  content: "";
  position: absolute;
  left: 22%;
  right: 22%;
  bottom: 31px;
  height: 18px;
  border-radius: 50%;
  background: #20302716;
  filter: blur(15px);
  pointer-events: none;
}
.preview-panel h2 { margin: 0; font-size: 16px; letter-spacing: -.02em; }
.preview-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 8px;
  color: #69736b;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
}
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border: 1px solid #cbe0d1;
  border-radius: 999px;
  background: #f2faf4;
  color: var(--green);
  font-size: 9px;
  white-space: nowrap;
}
.live-badge span { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.preview-panel > p, .preview-caption {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.phone-stage {
  position: relative;
  isolation: isolate;
  width: 320px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 320 / 700;
  margin: 4px auto 0;
  overflow: hidden;
  background: transparent;
  touch-action: none;
  user-select: none;
}
.phone-stage #container-foto, .phone-stage #img-moldura,
.phone-stage #numero-preview {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.phone-stage #container-foto {
  z-index: 1;
  overflow: hidden;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
.phone-stage #img-estampa {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform-origin: center;
  user-select: none;
  -webkit-user-drag: none;
}
.phone-stage #img-estampa:not([src]), .phone-stage #img-estampa[src=""] { display: none; }
.phone-stage #preview-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18%;
  background: linear-gradient(145deg, #e9eee8 0%, #d9e5d9 54%, #f2f4ee 100%);
  color: #23382b;
  text-align: left;
}
.phone-stage #preview-placeholder::before {
  content: "";
  position: absolute;
  width: 210%;
  height: 12%;
  transform: rotate(-35deg);
  border-top: 1px solid #ffffff99;
  border-bottom: 1px solid #ffffff99;
  background: #ffffff25;
}
.phone-stage #preview-placeholder span { position: relative; font-size: clamp(25px, 9vw, 39px); font-weight: 850; letter-spacing: -.065em; line-height: 1.03; }
.phone-stage #preview-placeholder i { color: var(--green); font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.phone-stage #numero-preview { z-index: 1; pointer-events: none; }
.phone-stage #img-moldura { z-index: 2; object-fit: contain; pointer-events: none; }
.phone-stage #texto-nome {
  position: absolute;
  z-index: 4;
  bottom: 34%;
  left: 50%;
  width: max-content;
  max-width: 75%;
  color: white;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  white-space: pre-line;
  transform: translateX(-50%);
  pointer-events: none;
}
.preview-hint {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid #dce6de;
  border-radius: 999px;
  background: #ffffffc9;
  color: #506157;
  font-size: 11px;
  font-weight: 650;
}
.preview-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 9px;
  min-height: 20px;
  margin-top: 10px;
  color: #5c655e;
  font-size: 11px;
  font-weight: 650;
}
.preview-meta span + span::before { content: "·"; margin-right: 9px; color: #9da9a0; }

.controls-panel { display: grid; gap: 14px; min-width: 0; }
.controls-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 2px 3px;
  color: var(--green);
  font-size: 10px;
  font-weight: 820;
  letter-spacing: .1em;
}
.controls-title span + span { color: var(--subtle); }
.steps {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding: 2px 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}
.steps::-webkit-scrollbar { display: none; }
.steps > * {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 32px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f2f4f2;
  color: #737b75;
  font-size: 11px;
  font-weight: 750;
  white-space: nowrap;
}
.steps .is-active, .steps [aria-current="step"] { background: var(--ink); color: white; }
.steps .is-done { background: var(--green-soft); color: var(--green); }
.section-card, .checkout-panel {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 6px 24px #15231707;
}
.section-card h2, .section-card h3, .checkout-panel h2,
.checkout-panel h3 { margin: 0 0 5px; font-size: 18px; letter-spacing: -.025em; line-height: 1.25; }
.section-card > p, .checkout-panel > p { margin: 0 0 16px; color: var(--muted); font-size: 13px; }
.section-card > :last-child, .checkout-panel > :last-child { margin-bottom: 0; }
.section-card + .section-card { margin-top: 0; }
.section-card .section-heading {
  display: flex;
  align-items: start;
  justify-content: start;
  gap: 13px;
  margin-bottom: 18px;
}
.section-card .section-heading h2 { margin: 0 0 3px; }
.section-card .section-heading p { margin: 0; color: var(--muted); font-size: 12px; }
.step-number {
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 11px;
  font-weight: 850;
}
.field { display: grid; gap: 7px; min-width: 0; margin-bottom: 15px; color: #313832; font-size: 12px; font-weight: 760; line-height: 1.35; }
.field:last-child { margin-bottom: 0; }
.field label, .field .field-label {
  color: #313832;
  font-size: 12px;
  font-weight: 760;
  line-height: 1.35;
}
.field small, .field .help { color: var(--muted); font-size: 11px; line-height: 1.45; }
.field-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 12px; }
.field input:not([type="checkbox"], [type="radio"], [type="range"], [type="color"], [type="file"]),
.field select, .field textarea,
.checkout-panel input:not([type="checkbox"], [type="radio"], [type="range"]),
.checkout-panel select, .checkout-panel textarea {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 10px 13px;
  border: 1px solid #d7ded7;
  border-radius: 11px;
  outline: none;
  background: white;
  color: var(--ink);
  font-size: 16px;
}
.field textarea, .checkout-panel textarea { min-height: 92px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus,
.checkout-panel input:focus, .checkout-panel select:focus, .checkout-panel textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px #227b4b1e;
}
.field input[type="range"] { width: 100%; margin: 5px 0; accent-color: var(--green); }
.field input[type="color"] { width: 45px; height: 40px; padding: 2px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.field input[type="file"] { width: 100%; max-width: 100%; font-size: 12px; }
.field input::placeholder, .checkout-panel input::placeholder { color: #9aa29b; }
.field-note { margin: 0; color: var(--muted); font-size: 11px; }
.compact-fields { align-items: end; }
.range-field { position: relative; }
.range-field > span { position: absolute; top: 0; right: 0; color: var(--green); font-size: 11px; }
.range-field input[type="range"] { min-height: 26px; }
.color-field input[type="color"] { width: 100%; max-width: 70px; height: 38px; padding: 2px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.adjust-controls { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.adjust-controls[hidden], .stroke-field[hidden] { display: none; }
.text-button { padding: 2px 0; border: 0; background: none; color: var(--green); font-size: 12px; font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.check-field { display: inline-flex; align-items: center; gap: 9px; margin: 4px 0 14px; color: #424b44; font-size: 12px; font-weight: 680; }
.check-field input { width: 16px; height: 16px; margin: 0; accent-color: var(--green); }
.stroke-field { display: grid; grid-template-columns: 1fr 2fr; gap: 12px; margin-bottom: 14px; }
.align-row { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.align-row > span { flex-basis: 100%; color: var(--muted); font-size: 11px; font-weight: 700; }
.align-row button {
  min-height: 31px;
  padding: 6px 10px;
  border: 1px solid #dbe4dc;
  border-radius: 8px;
  background: #fbfdfb;
  color: #36543e;
  font-size: 11px;
  font-weight: 700;
}
.align-row button:hover { border-color: var(--green); background: var(--green-soft); }
.advanced-details { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.advanced-details > summary { color: var(--green); }
.advanced-details[open] > summary { margin-bottom: 16px; }
.field-inline, .option-row, .button-row { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.option-row label, .field-inline label { display: inline-flex; align-items: center; gap: 7px; }
.option-row input, .field-inline input { accent-color: var(--green); }
details { min-width: 0; }
details > summary { cursor: pointer; color: var(--ink); font-size: 13px; font-weight: 750; }
details[open] > summary { margin-bottom: 12px; }

.button, .button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 47px;
  padding: 10px 18px;
  border: 1px solid var(--ink);
  border-radius: 11px;
  font-size: 13px;
  font-weight: 780;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform .16s ease, background-color .16s ease, border-color .16s ease;
}
.button { background: var(--ink); color: white; }
.button:hover { background: #303a32; transform: translateY(-1px); }
.button-secondary { background: white; color: var(--ink); }
.button-secondary:hover { background: var(--canvas); transform: translateY(-1px); }
.button:disabled, .button-secondary:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.button-block { width: 100%; }
.button-green { border-color: var(--green); background: var(--green); color: white; }
.button-green:hover { background: #19643c; }
.upload-button {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  min-height: 70px;
  padding: 10px 14px;
  border: 1px dashed #a9c5b0;
  border-radius: 12px;
  background: #f5faf6;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}
.upload-button:hover { border-color: var(--green); background: #ecf6ee; }
.upload-button > span:nth-child(2) { display: grid; flex: 1; gap: 2px; }
.upload-button strong { font-size: 13px; }
.upload-button small { color: var(--muted); font-size: 11px; }
.upload-button > span:last-child { color: var(--green); font-weight: 800; }
.upload-icon { display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; border-radius: 10px; background: var(--green-soft); color: var(--green); font-size: 22px; }

.price-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--ink);
  color: white;
}
.price-card > div > span { color: #b9c7bc; font-size: 10px; font-weight: 780; letter-spacing: .07em; }
.price-card > p { max-width: 170px; text-align: right; }
.price-card > .button, .price-card > small { grid-column: 1 / -1; }
.price-card p { margin: 0; color: #c6d0c8; font-size: 12px; }
.price-card strong { display: block; margin-top: 2px; font-size: 24px; letter-spacing: -.045em; line-height: 1.1; }
.price-card .button { border-color: white; background: white; color: var(--ink); }
.price-card .button { width: 100%; }
.price-card .button:hover { background: #e7f2ea; }
.price-card small { color: #bdc9c0; font-size: 11px; }

.catalog-section, .how-section, .contact-section { padding-top: 76px; }
.section-intro { margin-bottom: 24px; }
.section-intro h2 { margin-top: 10px; }
.section-intro p { max-width: 590px; margin: 10px 0 0; color: var(--muted); font-size: 13px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 15px; margin-bottom: 22px; }
.section-heading h2, .catalog-section h2, .how-section h2, .contact-section h2 {
  margin: 0;
  font-size: clamp(25px, 4vw, 38px);
  letter-spacing: -.045em;
  line-height: 1.1;
}
.section-heading p { max-width: 500px; margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.catalog-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.product-card:hover { border-color: #c8d8cb; box-shadow: 0 12px 32px #1523170e; transform: translateY(-2px); }
.product-card img { display: block; width: 100%; height: 210px; object-fit: contain; background: var(--canvas); }
.product-card .product-art, .product-card .product-image {
  display: grid;
  place-items: center;
  min-height: 180px;
  background: var(--canvas);
}
.product-card .product-art img, .product-card .product-image img { width: auto; max-width: 100%; height: 178px; object-fit: contain; }
.product-card .product-content { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 18px; }
.product-card h3 { margin: 0; font-size: 17px; letter-spacing: -.02em; }
.product-card p { margin: 0; color: var(--muted); font-size: 12px; }
.product-card .product-bottom { display: flex; align-items: center; justify-content: space-between; gap: 9px; margin-top: auto; padding-top: 7px; }
.product-card .product-price { font-size: 16px; font-weight: 800; }
.product-card .button, .product-card .button-secondary { min-height: 38px; padding: 8px 12px; font-size: 12px; }
.how-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 22px; }
.how-grid > * { min-width: 0; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.how-grid h3 { margin: 6px 0; font-size: 16px; letter-spacing: -.02em; }
.how-grid p { margin: 0; color: var(--muted); font-size: 13px; }
.how-grid .step-number { color: var(--green); font-size: 12px; font-weight: 820; letter-spacing: .08em; }
.how-grid > * > span:first-child { color: var(--green); font-size: 12px; font-weight: 820; letter-spacing: .08em; }
.contact-section {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-top: 76px;
  padding: 38px;
  border-radius: 22px;
  background: var(--ink);
  color: white;
}
.contact-section .eyebrow { color: #84d3a1; }
.contact-section .eyebrow::before { background: #84d3a1; }
.contact-section em { color: #a1dfb8; }
.contact-section p { max-width: 600px; margin-bottom: 0; color: #c5cec7; font-size: 13px; }
.contact-section .button-light { flex: 0 0 auto; border-color: white; background: white; color: var(--ink); }
.privacy-section { max-width: 770px; padding-top: 64px; }
.privacy-section h2 { margin: 0 0 10px; font-size: 18px; letter-spacing: -.02em; }
.privacy-section p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.checkout-panel { margin-top: 16px; }
.checkout-panel .field-grid { gap: 0 14px; }
.checkout-panel label { font-size: 12px; font-weight: 750; }
.checkout-panel .order-summary { padding: 15px; border-radius: 12px; background: var(--canvas); }
.order-summary dl { display: grid; grid-template-columns: 1fr auto; gap: 7px 15px; margin: 0; font-size: 13px; }
.order-summary dt { color: var(--muted); }
.order-summary dd { margin: 0; font-weight: 750; text-align: right; }
.status { min-height: 18px; margin: 7px 0; color: var(--green); font-size: 12px; font-weight: 650; line-height: 1.45; }
.status:empty { display: none; }
.status.error, .status[role="alert"] { color: #a63333; }

.modal {
  width: min(100% - 30px, 560px);
  max-height: min(90vh, 900px);
  padding: 24px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 24px 80px #07140a42;
}
.modal::backdrop { background: #0a160e99; backdrop-filter: blur(4px); }
.modal h2 { margin: 0 0 9px; font-size: 23px; letter-spacing: -.03em; }
.modal p { color: var(--muted); }
.modal .button-row { justify-content: flex-end; margin-top: 20px; }
.modal form { position: relative; display: grid; gap: 12px; }
.modal .field-grid { gap: 0 12px; }
.modal-close { position: absolute; top: -6px; right: -4px; width: 33px; height: 33px; border: 0; border-radius: 50%; background: var(--canvas); color: var(--ink); font-size: 23px; line-height: 1; }
.modal .order-summary { padding: 15px; border: 1px solid var(--line); border-radius: 12px; background: var(--canvas); color: #424a43; font-size: 12px; }
.modal .order-summary > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid #dde6de; }
.modal .order-summary > div:last-child { border-bottom: 0; }
.modal .order-summary > div > :last-child { margin-left: auto; font-weight: 750; text-align: right; }
.modal .order-summary p { margin: 3px 0; }
.modal .order-total { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; }
.modal .order-total strong { font-size: 22px; letter-spacing: -.04em; }
.modal .delivery-note, .modal .order-fineprint { margin: 0; font-size: 11px; }
.modal #send-order { width: 100%; }
.modal #copy-order { width: 100%; }
.site-footer, footer {
  padding: 34px max(20px, calc((100vw - 1240px) / 2));
  border-top: 1px solid var(--line);
  background: var(--canvas);
  color: #5a625c;
  font-size: 12px;
}
.site-footer a, footer a { text-decoration: none; }
.site-footer a:hover, footer a:hover { color: var(--green); }
.site-footer { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 25px; }
.site-footer .brand { font-size: 13px; }
.site-footer p { margin: 0; }
.site-footer > div:not(.brand) { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-left: auto; }
.site-footer small { flex-basis: 100%; color: #7b847c; }

@media (min-width: 600px) {
  .field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .how-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .preview-panel { padding: 28px; }
}

@media (min-width: 940px) {
  .intro { padding-top: 62px; padding-bottom: 38px; }
  .shop-layout { grid-template-columns: minmax(390px, .9fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 42px); }
  .preview-panel { position: sticky; top: 94px; min-height: 770px; }
  .controls-panel { gap: 16px; }
  .section-card { padding: 24px; }
  .catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .how-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
}

@media (max-width: 620px) {
  .site-header { min-height: 60px; padding-inline: 20px; }
  .header-nav { display: none; }
  .header-cta { min-height: 34px; padding: 7px 10px; font-size: 11px; }
  .intro { padding-top: 30px; padding-bottom: 23px; }
  .preview-panel { padding: 17px 8px 18px; border-radius: 19px; }
  .preview-panel::after { bottom: 23px; }
  .phone-stage { width: min(320px, 100%); }
  .section-card, .checkout-panel { padding: 17px; }
  .section-heading { align-items: start; flex-direction: column; }
  .catalog-section, .how-section, .contact-section { padding-top: 62px; }
  .price-card { align-items: stretch; }
  .price-card .button { width: 100%; }
  .contact-section { align-items: stretch; flex-direction: column; margin-top: 62px; padding: 25px; }
  .contact-section .button { width: 100%; }
  .site-footer > div:not(.brand) { flex-basis: 100%; margin-left: 0; }
  .modal { padding: 20px; }
  .modal .button-row > * { flex: 1 1 auto; }
}

@media (max-width: 340px) {
  .site-header { padding-inline: 14px; }
  .site-header .brand { font-size: 13px; }
  .header-cta { font-size: 0; }
  .header-cta span { font-size: 16px; }
  main, .page-shell { width: min(100% - 28px, 1240px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
