/* Cacto Tech: the page tokens and the page CSS.
   Tokens: start.mjs brand --page software --bg "#f7f6f0" --ink "#062a24" --accent "#0a543f" --surface "#eceade"
   --type instrument --radius soft (the logo's own colours: the deep ground ink, the wordmark green for actions,
   the cream of the circuit lines as the ground). Keep the :root block as printed.
   Everything else here sits inside a visual (system.md: page CSS only where a reference says page CSS). */
:root {
  --p-bg: #f7f6f0; --p-surface: #eceade; --p-ink: #062a24; --p-muted: #566b64;
  --p-accent: #0a543f; --p-accent-ink: #f7f6f0; --p-action: #0a543f; --p-action-ink: #f7f6f0;
  --p-inv-bg: #062a24; --p-inv-surface: #173630; --p-inv-ink: #f7f6f0; --p-inv-muted: #95a29b;
  --p-inv-accent: #f7f6f0; --p-inv-accent-ink: #062a24; --p-inv-action: #f7f6f0; --p-inv-action-ink: #062a24;
  --font-display: "Instrument Sans", system-ui, sans-serif;
  --font-text: "Instrument Sans", system-ui, sans-serif;
  --font-mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --display-weight: 500;
  --display-tracking: -0.028em;
  --display-tracking-xl: -0.036em;
  --display-stretch: 96%;
  --ly-scale: 1.04;
}

/* ---- the logo: the client's own file, never redrawn ---- */
.nav__logo img { display: block; height: 44px; width: auto; }
.footer .nav__logo img { height: 56px; }
@media (max-width: 639px) { .nav__logo img { height: 36px; } }

/* the cactus mark inline in the hero's headline, where the centred hero sets its mark */
.cp-mark { display: inline-block; height: .78em; width: auto; vertical-align: -.08em; margin-inline: .04em .1em; }

/* ---- the language switch: two plain words before the main button ---- */
.cp-lang { display: inline-flex; gap: var(--s-1); }
.cp-lang a { display: inline-flex; align-items: center; min-height: 44px; font: 500 14px/1 var(--font-text); color: var(--muted); padding: 0 var(--s-2); border-radius: var(--r-sm); text-decoration: none; }
.cp-lang a[aria-current] { color: var(--ink); }
@media (max-width: 1023px) { .nav__actions .cp-lang { display: none; } }

/* ---- phones inside a visual: the apps' own screens at their real ratio (1080 x 2400, 9:20) ---- */
.cp-phones { display: flex; justify-content: center; align-items: flex-start; gap: var(--s-6); }
.cp-phone { flex: 0 0 auto; width: var(--phone-w, 248px); aspect-ratio: 9 / 20; border-radius: 30px; padding: 7px;
  background: #0d1f1b; box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 30px 60px -20px rgba(6,42,36,.45), 0 12px 24px -12px rgba(6,42,36,.35); }
.cp-phone > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 24px; }
.hero--centred .cp-phones { --phone-w: 236px; }
.hero--centred .cp-phone:nth-child(2) { margin-top: var(--s-7); }
@media (max-width: 639px) {
  .hero--centred .cp-phones { --phone-w: 132px; gap: var(--s-4); }
  .hero--centred .cp-phone { border-radius: 20px; padding: 5px; }
  .hero--centred .cp-phone > img { border-radius: 16px; }
  .hero--centred .cp-phone:nth-child(2) { margin-top: var(--s-6); }
}

/* app cards: the phone rises out of the panel and is cut by its foot */
#apps .panel { --p-h: 400px; }
#apps .stage { display: flex; justify-content: center; }
#apps .cp-phone { --phone-w: 236px; margin-top: var(--s-7); }
@media (max-width: 1023px) { #apps .panel { --p-h: 320px; } #apps .cp-phone { --phone-w: 190px; margin-top: var(--s-6); } }
@media (max-width: 639px) { #apps .panel { --p-h: 230px; } #apps .cp-phone { --phone-w: 150px; } }

/* catalogue cards (the products page): one panel height for the group */
#catalog .panel { --p-h: 300px; }
#catalog .stage { display: flex; justify-content: center; }
#catalog .cp-phone { --phone-w: 200px; margin-top: var(--s-6); }
@media (max-width: 639px) { #catalog .panel { --p-h: 220px; } #catalog .cp-phone { --phone-w: 150px; } }

/* a product's own page: its phone in the split frame */
.cp-frame-phones { display: flex; justify-content: center; padding-top: var(--s-7); height: 100%; }
.cp-frame-phones .cp-phone { --phone-w: 260px; }
@media (max-width: 639px) { .cp-frame-phones .cp-phone { --phone-w: 190px; } .cp-frame-phones { padding-top: var(--s-6); } }

/* screenshots row on a product page: whole phones, one row from line to line */
.cp-shots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-5); }
.cp-shots--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.cp-shots .cp-phone { width: 100%; }
@media (max-width: 639px) { .cp-shots, .cp-shots--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); } .cp-shots .cp-phone { border-radius: 20px; padding: 5px; } .cp-shots .cp-phone > img { border-radius: 16px; } }

/* real tool icons on a light tile, in their own colours (icons.md) */
.cp-icons { display: flex; flex-wrap: wrap; align-content: flex-start; gap: var(--s-3); padding: var(--s-6); }
.cp-icon { width: 72px; height: 72px; display: grid; place-items: center; border-radius: var(--r-md);
  background: #fff; border: 1px solid color-mix(in oklab, var(--ink) 10%, transparent); }
.cp-icon > img { width: 36px; height: 36px; object-fit: contain; }
#services .panel { --p-h: 200px; }
@media (max-width: 639px) { #services .panel { --p-h: 120px; } .cp-icons { padding: var(--s-4); } .cp-icon { width: 56px; height: 56px; } .cp-icon > img { width: 28px; height: 28px; } }

/* the store and site links on a product page: one row each, real marks */
.cp-links { display: grid; gap: var(--s-3); margin-top: var(--s-5); }
.cp-store { display: flex; align-items: center; gap: var(--s-4); min-height: 64px; padding: var(--s-3) var(--s-4);
  border: 1px solid color-mix(in oklab, var(--ink) 14%, transparent); border-radius: var(--r-md); text-decoration: none; color: var(--ink); background: var(--card, #fff); }
.cp-store > img { width: 32px; height: 32px; object-fit: contain; }
.cp-store b { display: block; font: 500 16px/1.3 var(--font-text); }
.cp-store span { font: 400 14px/1.4 var(--font-text); color: var(--muted); }

/* the honeypot field: off the screen for people, still in the form for scripts that fill every field */
.cp-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* the filter chips on the products page (htmx swaps only the results under them) */
.cp-filters { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: 0 0 var(--s-6); list-style: none; padding: 0; }
.cp-filters a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s-4); border-radius: 999px;
  border: 1px solid color-mix(in oklab, var(--ink) 16%, transparent); color: var(--ink); text-decoration: none; font: 500 15px/1 var(--font-text); }
.cp-filters a[aria-current] { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* about page: the cactus mark large on the lit ground of its frame */
.cp-mark-frame { display: grid; place-items: center; height: 100%; padding: var(--s-7); }
.cp-mark-frame > img { width: min(100%, 420px); height: auto; }

/* the delivery state line above the contact form */
.cp-note { padding: var(--s-4) var(--s-5); border-radius: var(--r-md); background: var(--g-alt, var(--surface)); margin-bottom: var(--s-5); font: 400 16px/1.5 var(--font-text); }

/* Page compositions share the kit's typography, spacing and interaction tokens. */
main > :is(section, .section) { height: auto; min-height: 0; padding-block: clamp(48px, 7vw, 100px); }
main > :is(section, .section) > :is(.wrap, .container) { height: auto; }
main > .hero { padding-top: clamp(40px, 6vw, 80px); padding-bottom: 0; }
.hero--centred h1 { font-size: clamp(42px, 5.4vw, 76px); line-height: 1.04; }
.hero--centred .hero__window { position: relative; flex: none; height: 380px; margin-top: 48px; border-radius: 20px 20px 0 0; overflow: hidden; background: #e4e8d9; }
.cp-hero-ground { position: absolute; inset: 0; }
.hero--centred .hero__window > .cp-phones { display: flex; }
.section-head--split { margin-bottom: 36px; }
.section-head--split h2 { max-width: 24ch; }
.cp-grid, .cp-service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 28px; }
.cp-service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cp-card__link { display: block; color: inherit; text-decoration: none; }
.cp-card__visual { height: 330px; overflow: hidden; border-radius: 16px; background: #e5e7dc; }
.cp-card:nth-child(2n) .cp-card__visual { background: #e8e1cf; }
.cp-card__visual .stage { height: 100%; display: flex; justify-content: center; }
.cp-card__visual .cp-phone { --phone-w: 210px; margin-top: 32px; transition: transform 250ms ease; }
.cp-card__link:hover .cp-phone { transform: translateY(-6px); }
.cp-card__cover { width: 100%; height: 100%; object-fit: contain; padding: 28px; }
.cp-card__body { padding-block: 22px; }
.cp-card__meta { display: flex; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.cp-card__meta span + span::before { content: '\00b7'; margin-right: 12px; }
.cp-card__title { font-size: 28px; margin-bottom: 12px; }
.cp-card__text { color: var(--muted); max-width: 52ch; margin-bottom: 20px; }
.cp-card__cta, .cp-link { text-decoration: underline; text-underline-offset: 5px; font-weight: 500; }
.cp-statement { background: var(--surface); }
.cp-statement h2 { font-size: 20px; margin-bottom: 32px; }
.cp-statement__text { max-width: 22ch; font-size: clamp(34px, 4.4vw, 64px); line-height: 1.12; letter-spacing: -.028em; margin-bottom: 28px; }
.cp-statement__text strong { font-weight: 500; color: var(--action); }
.cp-service-card { padding-top: 24px; border-top: 1px solid var(--line); }
.cp-service-card h3, .cp-service-card__title { font-size: 25px; margin-bottom: 18px; }
.cp-service-card p { color: var(--muted); }
.cp-split { display: grid !important; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; }
.cp-delivery h2 { margin-bottom: 24px; }
.cp-delivery .link { display: inline-block; margin-top: 28px; }
.cp-delivery-list { list-style: none; padding: 0; }
.cp-delivery-list li { padding: 24px 0; border-bottom: 1px solid var(--line); font-size: 23px; }
.cp-page-hero { padding-bottom: 24px; }
.cp-page-hero__title { font-size: clamp(38px, 5vw, 68px); line-height: 1.08; max-width: 21ch; }
.cp-page-hero__lead { font-size: clamp(19px, 2vw, 24px); color: var(--muted); max-width: 60ch; margin-top: 24px; }
.cp-breadcrumb { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; padding: 0; margin-bottom: 32px; color: var(--muted); font-size: 14px; }
.cp-breadcrumb li + li::before { content: '/'; margin-right: 12px; }
.row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px 24px; }
.row > * { min-width: 0; grid-column: span 12; }
.cp-prose { max-width: 70ch; font-size: 19px; line-height: 1.7; }
.cp-prose p { margin-bottom: 24px; }
.cp-section__title { font-size: 28px; margin-block: 32px 20px; }
.cp-feature-list { padding-left: 22px; line-height: 1.65; }
.cp-feature-list li { margin-bottom: 16px; }
.cp-panel { background: var(--surface); border-radius: 16px; padding: 28px; }
.cp-panel__title { font-size: 25px; margin-bottom: 20px; }
.cp-panel__subtitle { font-size: 18px; margin-block: 28px 16px; }
.cp-identity { display: flex; align-items: start; gap: 28px; }
.cp-identity__logo { width: 80px; height: 80px; object-fit: contain; }
.cp-chip-list, .cp-link-group { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.cp-chip { display: inline-block; font-size: 14px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 8px; }
.cp-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.cp-link-group { flex-direction: column; }
.cp-store-link { display: block; padding: 12px 0; overflow-wrap: anywhere; }
.cp-store-link__platform { display: block; font-weight: 600; }
.cp-store-link__label { font-size: 15px; }
.cp-notice, .cp-empty { color: var(--muted); }
.cp-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px; }
.cp-gallery__item { margin: 0; }
.cp-gallery__item img { width: 100%; height: auto; border-radius: 16px; }
.cp-gallery__item figcaption { font-size: 14px; margin-top: 12px; }
.cp-filters__list { display: flex; flex-wrap: wrap; list-style: none; padding: 0; gap: 10px; margin-bottom: 36px; }
.cp-filter { display: inline-flex; min-height: 44px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; }
.cp-filter[aria-current] { background: var(--ink); color: var(--bg); }
.cp-form .form-label { display: block; margin-bottom: 8px; font-weight: 500; }
.cp-form :is(.form-control, .form-select) { width: 100%; border: 1px solid var(--line-strong); border-radius: 8px; padding: 13px 16px; background: var(--bg); color: var(--ink); font: inherit; }
.cp-form textarea { resize: vertical; }
.cp-form .mb-3, .cp-form .mb-4 { margin-bottom: 24px; }
.cp-form .form-check-input { width: 18px; height: 18px; accent-color: var(--action); margin-right: 8px; }
.cp-error { display: block; color: #9a3029; margin-top: 8px; font-size: 14px; }
.input-validation-error { border-color: #9a3029 !important; }
.cp-alert { padding: 20px; background: var(--surface); margin-bottom: 28px; border-radius: 8px; }
.cp-alert--error { color: #9a3029; }
.cp-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cp-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.cp-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border: 1px solid var(--action); border-radius: 8px; font: inherit; font-weight: 500; text-decoration: none; cursor: pointer; }
.cp-button--primary { color: var(--action-ink); background: var(--action); }
.cp-button--ghost { color: var(--action); background: transparent; }
.cp-button:hover { filter: brightness(.9); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
footer.closing { height: auto; min-height: 0; padding-block: 72px 32px; }
footer.closing > .wrap { height: auto; }
.closing__links { margin-top: 48px; }
@media (min-width: 768px) { .row > .col-md-6 { grid-column: span 6; } .row > .col-md-4 { grid-column: span 4; } }
@media (min-width: 1024px) { .row > .col-lg-7 { grid-column: span 7; } .row > .col-lg-5 { grid-column: span 5; } .row > .col-lg-4 { grid-column: span 4; } }
@media (max-width: 767px) {
  .cp-grid, .cp-service-grid, .cp-split { grid-template-columns: 1fr; gap: 32px; }
  .hero--centred .hero__window { height: 280px; margin-top: 32px; }
  .cp-card__visual { height: 280px; }
  .cp-identity { flex-direction: column; }
  .cp-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .cp-panel { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) { .cp-card__visual .cp-phone { transition: none; } }

/* The Diário RPD hero composition, expressed as a Cacto Tech circuit board.
   Tracks print once and hold; reduced motion shows the finished board immediately. */
main > .cp-hardware-hero { position: relative; overflow: hidden; padding-block: clamp(64px, 7vw, 100px) 76px; background: #083f33; color: #f7f6f0; }
main > .cp-hardware-hero > .wrap.cp-hardware-hero__inner { display: grid; grid-template-columns: 1.12fr 1fr; gap: 64px; align-items: center; min-height: 510px; }
.cp-hardware-hero h1 { font-size: clamp(44px, 4.7vw, 68px); line-height: 1.06; font-weight: 650; letter-spacing: -.035em; max-width: 14ch; color: inherit; }
.cp-hardware-hero__lead { font-size: clamp(18px, 1.65vw, 23px); line-height: 1.5; max-width: 47ch; margin-top: 26px; color: #e0e9de; }
.cp-hero-products { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-block: 28px 36px; font-size: 14px; color: #dce8c8; }
.cp-hero-products :is(span, a) { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.cp-hero-products :is(span, a)::before { content: ''; width: 6px; height: 6px; border: 1px solid currentColor; border-radius: 50%; }
.cp-hardware-hero .btn--primary { background: #e8edc9; color: #083f33; border-color: #e8edc9; }
.cp-hardware-hero .btn--secondary { color: #f7f6f0; background: transparent; border-color: #92ac9b; }
.cp-hardware-hero .btn:hover { background: #fff; color: #083f33; }
.cp-hardware-hero__visual { position: relative; height: 510px; isolation: isolate; }
.cp-hardware-hero__visual .cp-phone { position: absolute; width: 225px; box-shadow: 0 24px 48px -16px #001d18; }
.cp-phone--diary { left: 0; top: 0; transform: rotate(-5deg); z-index: 1; }
.cp-phone--mind { right: 0; top: 48px; transform: rotate(5deg); z-index: 2; }
.cp-circuit { position: absolute; inset: 0; width: 100%; height: 100%; color: #d5dfad; pointer-events: none; opacity: .3; }
.cp-circuit__tracks path { stroke-dasharray: 1; stroke-dashoffset: 0; animation: cp-print-track 4s cubic-bezier(.16, 1, .3, 1) both; }
.cp-circuit__tracks path:nth-child(3n + 2) { animation-delay: .4s; }
.cp-circuit__tracks path:nth-child(3n) { animation-delay: .8s; }
.cp-circuit__pads { animation: cp-print-pads 1s ease 2.1s both; }
.cp-board-edge { position: absolute; bottom: -1px; left: 0; width: 100%; height: 28px; fill: var(--bg); pointer-events: none; }
@keyframes cp-print-track { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes cp-print-pads { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 1100px) and (min-width: 768px) {
  main > .cp-hardware-hero > .wrap.cp-hardware-hero__inner { gap: 36px; }
  .cp-hardware-hero__visual .cp-phone { width: 180px; }
  .cp-hardware-hero__visual { height: 450px; }
}
@media (max-width: 767px) {
  main > .cp-hardware-hero { padding-block: 48px 64px; }
  main > .cp-hardware-hero > .wrap.cp-hardware-hero__inner { grid-template-columns: 1fr; gap: 44px; min-height: 0; }
  .cp-hardware-hero h1 { max-width: 16ch; font-size: clamp(40px, 8.5vw, 56px); }
  .cp-hardware-hero__lead { max-width: 100%; }
  .cp-hardware-hero__visual { height: 380px; width: min(100%, 360px); margin-inline: auto; }
  .cp-hardware-hero__visual .cp-phone { width: 156px; }
  .cp-phone--diary { left: 10px; }
  .cp-phone--mind { right: 10px; top: 30px; }
  .cp-circuit { opacity: .18; }
}
@media (prefers-reduced-motion: reduce) {
  .cp-circuit__tracks path, .cp-circuit__pads { animation: none; }
}

html[data-buttons] .cp-hardware-hero .btn--secondary { color: #f7f6f0; background: transparent; border-color: #92ac9b; }
html[data-buttons] .cp-hardware-hero .btn--secondary:hover { background: #f7f6f0; color: #083f33; }

/* Reserve the fixed navigation height before every route. */
main { padding-top: var(--nav); }

/* Sertão palette: warm paper, clay, sunlight and mandacaru green.
   Bree Serif brings a printed, cordel-inspired rhythm; body copy stays in Instrument Sans. */
:root {
  --p-bg: #f6eedc; --p-surface: #ebe0c7; --p-muted: #57654f;
  --font-display: 'Bree Serif', Georgia, serif;
  --display-weight: 400; --display-tracking: -.018em; --display-tracking-xl: -.025em;
}
h1, h2, .cp-page-hero__title, .close__word { font-family: var(--font-display); font-weight: 400; }
.cp-hardware-hero h1 { font-weight: 400; letter-spacing: -.02em; }
main > .cp-hardware-hero { background: #163e31; }
html[data-buttons] .cp-hardware-hero .btn--primary { background: #ebbb65; color: #213b2d; border-color: #ebbb65; }
.cp-card__visual { background: #e6d3af; }
.cp-card:nth-child(2n) .cp-card__visual { background: #dfb799; }
.cp-card__cta, .cp-link { text-decoration-color: #aa5d3b; }
.cp-hardware-footer {
  --bg: #163e31; --ink: #f6eedc; --muted: #d2d8bc;
  --action: #ebbb65; --action-ink: #213b2d; --line: #496354; --line-strong: #859780;
  position: relative; overflow: hidden; background: #163e31; color: #f6eedc;
}
.cp-hardware-footer :is(h2, h3, a, .close__word, .footer__lede) { color: #f6eedc; }
html[data-buttons] .cp-hardware-footer .btn--primary { background: #ebbb65; color: #213b2d; border-color: #ebbb65; }
.cp-hardware-footer .footer__legal { color: #d2d8bc; }
.cp-hardware-footer .cp-circuit { opacity: .18; }
.cp-hardware-footer .nav__logo { display: inline-flex; padding: 10px 14px; background: #f6eedc; border-radius: 10px; align-self: start; }
.cp-circuit__tracks path, .cp-circuit__pads { animation-play-state: paused; }
.cp-circuit.is-printed .cp-circuit__tracks path, .cp-circuit.is-printed .cp-circuit__pads { animation-play-state: running; }
.cp-mandacaru { position: absolute; bottom: 10px; left: 2%; width: 220px; height: 330px; overflow: hidden; pointer-events: none; opacity: .09; }
.cp-mandacaru img { display: block; width: 560px; max-width: none; height: auto; filter: brightness(0) invert(1); }
.cp-hardware-footer .cp-mandacaru { left: auto; right: 2%; bottom: 15%; transform: scale(1.25); }
@media (max-width: 767px) { .cp-mandacaru { left: -60px; bottom: 0; opacity: .08; } .cp-hardware-footer .cp-mandacaru { right: -80px; bottom: 22%; } }

/* Keep short mobile sections proportional to their content. */
@media (max-width: 639px) {
  main > :is(section, .section):not(.hero, .section--hero), footer.closing { min-height: 0; }
}
.cp-statement .mo-w { color: color-mix(in oklab, var(--ink) 78%, var(--bg)); }
.cp-statement .mo-w.is-on { color: var(--ink); }

/* ---- product landing pages and marketing blocks ---- */
.cp-card__headline { font-weight: 500; margin-bottom: 8px; }
.cp-product-hero__inner { display: grid !important; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.cp-product-hero .cp-identity { align-items: center; gap: 18px; margin-bottom: 20px; }
.cp-product-hero .cp-meta { margin: 0; }
.cp-product-hero__note { margin-top: 16px; }
.cp-product-hero__visual { position: relative; display: flex; justify-content: center; padding-block: 24px 0; }
.cp-product-hero__visual .cp-phone { --phone-w: 250px; position: relative; z-index: 1; }
.cp-product-hero__visual .cp-phone--back { position: absolute; z-index: 0; --phone-w: 210px; transform: translate(62%, 48px) rotate(4deg); opacity: .9; }
.cp-statement__text--sm { font-size: clamp(26px, 3vw, 40px); max-width: 26ch; }
.cp-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
.cp-benefit { padding-top: 24px; border-top: 1px solid var(--line); }
.cp-benefit h3 { font-size: 23px; margin-bottom: 12px; }
.cp-benefit p { color: var(--muted); }
.cp-gallery__item .cp-phone { width: 100%; }
.cp-convert { background: var(--p-inv-bg); color: var(--p-inv-ink); }
.cp-convert h2 { color: inherit; margin-bottom: 20px; }
.cp-convert .cp-button--primary { background: var(--p-inv-action); color: var(--p-inv-action-ink); border-color: var(--p-inv-action); }
.cp-convert .cp-button--ghost { color: var(--p-inv-ink); border-color: var(--p-inv-ink); }
.cp-convert .cp-store { background: var(--p-inv-surface); color: var(--p-inv-ink); border-color: transparent; }
.cp-convert .cp-store span, .cp-convert__note { color: var(--p-inv-muted); }
.cp-convert__note { font-size: 15px; margin-top: 20px; max-width: 60ch; }
@media (max-width: 1023px) {
  .cp-product-hero__inner, .cp-split { grid-template-columns: 1fr; gap: 40px; }
  .cp-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 639px) {
  .cp-benefits { grid-template-columns: 1fr; }
  .cp-product-hero__visual .cp-phone { --phone-w: 190px; }
  .cp-product-hero__visual .cp-phone--back { --phone-w: 160px; }
}
