/* Tivuzo app pages (trial, demo, contact). Same look as tivuzo.com. */
@font-face { font-family: "Bricolage Grotesque"; font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; src: url("/tivuzo_brand/static/fonts/BricolageGrotesque.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 100 1000; font-display: swap; src: url("/tivuzo_brand/static/fonts/DMSans.woff2") format("woff2"); }

:root {
  --night-teal: #0E3B3C; --teal-inset: #12494A; --ember: #EE6A47; --ember-deep: #C24A26; --sage: #8FB8A5; --sand: #F5EEE3;
  --surface-raised: #FFFFFF; --line: #E4D9C8; --line-strong: #0E3B3C;
  --ink: #142221; --ink-heading: #0E3B3C; --ink-body: #3B4A48; --ink-muted: #5B6B69; --on-brand: #F5EEE3; --on-brand-muted: #CFE2D9;
  --attention-bg: #FBE1D7; --attention-ink: #8A3418;
  --font-display: "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  --font-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body.ps-body { background: var(--sand); color: var(--ink); font: 16px/1.55 var(--font-sans); min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--ember-deep); }
:focus-visible { outline: 2px solid var(--ember-deep); outline-offset: 2px; border-radius: 6px; }
h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.02; letter-spacing: -0.035em; color: var(--ink-heading); margin: 0 0 16px; }
.ps-accent { color: var(--ember-deep); }

.ps-header { display: flex; align-items: center; justify-content: space-between; max-width: 1160px; width: 100%; margin: 0 auto; padding: 20px 24px; }
.ps-logo img { display: block; height: 30px; width: auto; }
.ps-header__nav { display: flex; gap: 18px; }
.ps-header__nav a { color: var(--ink-heading); text-decoration: none; font-weight: 700; font-size: 15px; }
.ps-main { flex: 1; width: 100%; max-width: 1160px; margin: 0 auto; padding: 16px 24px 48px; }
.ps-footer { text-align: center; color: var(--ink-muted); font-size: 14px; padding: 24px; }
.ps-footer a { color: var(--ink-muted); }

.ps-grid { display: grid; grid-template-columns: 1fr minmax(0, 560px); gap: 56px; align-items: start; }
@media (max-width: 900px) { .ps-grid { grid-template-columns: 1fr; gap: 24px; } }
.ps-intro { padding-top: 24px; }
.ps-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--surface-raised); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-heading); margin-bottom: 18px; }
.ps-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ember); flex: none; }
.ps-lead { font-size: 19px; line-height: 1.6; color: var(--ink-body); max-width: 34rem; }
.ps-checks { list-style: none; padding: 0; margin: 22px 0; }
.ps-checks li { position: relative; padding-left: 32px; margin-bottom: 12px; color: var(--ink-body); }
.ps-checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--night-teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F5EEE3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.ps-price { display: inline-flex; flex-direction: column; gap: 2px; margin-top: 8px; padding: 18px 22px; border-radius: 20px; background: var(--night-teal); color: var(--on-brand); }
.ps-price__label { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sage); }
.ps-price__total { font-family: var(--font-display); font-weight: 800; font-size: 26px; line-height: 1.2; letter-spacing: -0.02em; }
.ps-price__note { font-size: 14px; color: var(--on-brand-muted); }
.ps-link { font-weight: 700; }

.ps-card { background: var(--surface-raised); border-radius: 28px; padding: 28px; }
.ps-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .ps-row { grid-template-columns: 1fr; } .ps-card { padding: 22px 18px; border-radius: 20px; } }
.ps-field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 14px; min-width: 0; }
.ps-field > span:first-child, .ps-field legend { font-weight: 700; font-size: 15px; color: var(--ink); padding: 0; }
.ps-field em { font-style: normal; color: var(--ink-muted); font-weight: 400; }
.ps-field input, .ps-field select, .ps-field textarea { font: inherit; width: 100%; min-height: 48px; padding: 10px 14px; border: 0; border-radius: 12px; background: var(--surface-raised); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.ps-field textarea { min-height: 96px; resize: vertical; }
.ps-field input:focus-visible, .ps-field select:focus-visible, .ps-field textarea:focus-visible { outline: 2px solid var(--ember-deep); outline-offset: 2px; }
.ps-billing { border: 0; padding: 0; flex-direction: row; flex-wrap: wrap; gap: 10px; }
.ps-billing legend { width: 100%; margin-bottom: 6px; }
.ps-radio { flex: 1 1 140px; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 14px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; font-weight: 700; }
.ps-radio:has(input:checked) { box-shadow: inset 0 0 0 2px var(--night-teal); background: var(--sand); }
.ps-field .ps-radio input { width: 18px; height: 18px; min-height: 0; padding: 0; box-shadow: none; accent-color: var(--night-teal); margin: 0; flex: none; }
.ps-hint { font-size: 13px; color: var(--ink-muted); }
.ps-field-error { color: #B3261E; font-size: 13px; font-weight: 500; }
.ps-slug { display: flex; align-items: stretch; border-radius: 12px; overflow: hidden; box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.ps-slug:focus-within { outline: 2px solid var(--ember-deep); outline-offset: 2px; }
.ps-slug input { box-shadow: none !important; border-radius: 0; outline: none !important; background: transparent !important; }
.ps-slug__domain { display: flex; align-items: center; padding: 0 14px; background: var(--sand); color: var(--ink-muted); font-size: 15px; white-space: nowrap; }
.ps-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin: 4px 0 10px; color: var(--ink-body); }
.ps-check input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--night-teal); }
.ps-alert { background: var(--attention-bg); color: var(--attention-ink); border-radius: 12px; padding: 12px 14px; margin-bottom: 16px; font-size: 15px; font-weight: 500; }
.ps-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.ps-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 12px; border: 0; font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; }
.ps-btn--primary { background: var(--ember-deep); color: #FFFFFF; width: 100%; margin-top: 6px; }
.ps-btn--primary:hover { background: #A93E1F; }
.ps-btn--ghost { background: transparent; color: var(--ink-heading); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.ps-btn[disabled] { opacity: 0.7; cursor: wait; }
.ps-small { font-size: 14px; color: var(--ink-muted); text-align: center; margin: 14px 0 0; }
.cf-turnstile { margin: 6px 0 12px; }

.ps-ready { max-width: 640px; margin: 24px auto; text-align: left; }
.ps-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.ps-actions .ps-btn--primary { width: auto; margin-top: 0; }
