/* ============================================================
   VoiceOffer â€” Design System
   Paleta:
     LARANJA: #FF6A00
     BRANCO:  #FFFFFF
     PRETO:   #0F0F0F
     CINZA:   #1C1C1C
     CINZA 2: #2A2A2A
   ============================================================ */

:root {
  --orange: #FF6A00;
  --orange-hover: #E55F00;
  --white: #FFFFFF;
  --black: #0F0F0F;
  --gray-1: #1C1C1C;
  --gray-2: #2A2A2A;

  --text: var(--black);
  --text-dim: #6B6B6B;
  --text-muted: #9A9A9A;
  --border: #E5E5E5;
  --border-strong: #C9C9C9;
  --bg-soft: #F7F7F7;
  --bg-card: #FFFFFF;
  --danger: #D9342B;
  --warn: #D97A00;
  --success: #1F8A4C;

  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --serif: 'Playfair Display', 'Georgia', serif;
  --mono: 'JetBrains Mono', 'Courier New', monospace;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  font-family: inherit;
  cursor: pointer;
}
.sound-toggle {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 9px 13px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.94);
  color: var(--black);
  box-shadow: var(--shadow-md);
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(8px);
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}
.sound-toggle:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-1px);
}
.sound-toggle:focus-visible {
  outline: 3px solid rgba(255, 106, 0, 0.25);
  outline-offset: 2px;
}
.sound-toggle span[aria-hidden="true"] {
  font-size: 15px;
  line-height: 1;
}

/* ============================================================
   LOGO
   ============================================================ */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 22px;
  color: var(--black);
  letter-spacing: -0.01em;
}
.logo .mark {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 22px;
}
.logo .mark span {
  width: 4px;
  background: var(--orange);
  border-radius: 2px;
}
.logo .mark span:nth-child(1) { height: 10px; }
.logo .mark span:nth-child(2) { height: 22px; }
.logo .mark span:nth-child(3) { height: 16px; }
.logo .mark span:nth-child(4) { height: 22px; }
.logo .mark span:nth-child(5) { height: 10px; }
.logo .voice { color: var(--black); }
.logo .offer { color: var(--orange); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.header nav {
  display: flex;
  gap: 36px;
  font-size: 14px;
  font-weight: 500;
}
.header nav a {
  color: var(--black);
  transition: color 0.2s;
}
.header nav a:hover { color: var(--orange); }
.header .actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-primary:hover {
  background: var(--orange-hover);
  border-color: var(--orange-hover);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled {
  background: var(--border-strong);
  border-color: var(--border-strong);
  cursor: not-allowed;
  transform: none;
}
.btn-dark {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.btn-dark:hover {
  background: var(--gray-1);
  border-color: var(--gray-1);
}
.btn-light {
  background: var(--white);
  color: var(--black);
  border-color: var(--border-strong);
}
.btn-light:hover {
  background: var(--bg-soft);
}
.btn-link {
  background: none;
  border: none;
  color: var(--black);
  text-decoration: underline;
  font-weight: 500;
  padding: 12px 4px;
}
.btn-lg {
  padding: 16px 32px;
  font-size: 15px;
}

/* ============================================================
   HERO (LANDING PAGE)
   ============================================================ */
.hero {
  text-align: center;
  padding: 80px 24px 40px;
}
.hero .eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 24px;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  color: var(--black);
}
.hero h1 .accent { color: var(--orange); }
.hero .sub {
  max-width: 620px;
  margin: 0 auto 36px;
  color: var(--text-dim);
  font-size: 17px;
  line-height: 1.6;
}
.hero .cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.hero .meta {
  font-size: 13px;
  color: var(--text-muted);
}

/* ============================================================
   FEATURES (LANDING PAGE)
   ============================================================ */
.section {
  padding: 80px 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 500;
  text-align: center;
  margin: 0 0 56px;
  letter-spacing: -0.01em;
}
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.features-four {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.feature-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.2s;
}
.feature-card:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
}
.feature-card .icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--orange);
}
.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-dim);
  margin: 0;
  line-height: 1.6;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  position: relative;
  z-index: 1100;
  border-top: 1px solid var(--border);
  padding: 32px 48px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  background: var(--white);
}

/* ============================================================
   AUTH PAGE (split layout)
   ============================================================ */
.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.auth-left {
  background: var(--white);
  padding: 56px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.auth-left .header-inline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 48px;
}
.auth-left .header-inline a {
  color: var(--orange);
  font-weight: 600;
  text-decoration: underline;
}
.auth-form-wrap {
  max-width: 380px;
  width: 100%;
}
.auth-form-wrap h2 {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 500;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.auth-form-wrap .sub {
  font-size: 14px;
  color: var(--text-dim);
  margin: 0 0 32px;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.auth-field {
  margin-bottom: 16px;
}
.auth-field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 6px;
}
.auth-field input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  font-size: 15px;
  font-family: inherit;
  color: var(--black);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.auth-field input:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.12);
}
.auth-field input::placeholder { color: var(--text-muted); }

.auth-message {
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 13px;
  margin-bottom: 16px;
  display: none;
}
.auth-message.show { display: block; }
.auth-message.error {
  background: #FDECEA;
  color: var(--danger);
  border: 1px solid #F5C6C2;
}
.auth-message.info {
  background: #FFF4E6;
  color: var(--warn);
  border: 1px solid #F5D9B6;
}

.auth-toggle {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-dim);
}
.auth-toggle a {
  color: var(--orange);
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

.auth-right {
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.auth-right .visual {
  text-align: center;
  padding: 40px;
}
.auth-right .visual .big-mark {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 120px;
}
.auth-right .visual .big-mark span {
  width: 18px;
  background: var(--orange);
  border-radius: 8px;
}
.auth-right .visual .big-mark span:nth-child(1) { height: 50px; }
.auth-right .visual .big-mark span:nth-child(2) { height: 120px; }
.auth-right .visual .big-mark span:nth-child(3) { height: 80px; }
.auth-right .visual .big-mark span:nth-child(4) { height: 120px; }
.auth-right .visual .big-mark span:nth-child(5) { height: 50px; }
.auth-right .visual h3 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  margin: 24px 0 12px;
  letter-spacing: -0.01em;
}
.auth-right .visual p {
  color: var(--text-dim);
  font-size: 15px;
  max-width: 320px;
  margin: 0 auto;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .auth-page { grid-template-columns: 1fr; }
  .auth-right { display: none; }
  .auth-left { padding: 40px 24px; }
}

/* ============================================================
   APP PAGE (ferramenta)
   ============================================================ */
.app-shell {
  min-height: 100vh;
  background: var(--white);
}
.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}
.app-header .user {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-dim);
}
.app-main {
  max-width: 880px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.app-main h1 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 500;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.app-main .sub {
  color: var(--text-dim);
  font-size: 15px;
  margin: 0 0 32px;
}

/* Quota */
.quota {
  margin-bottom: 24px;
  padding: 16px 18px;
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.quota-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.quota-label .val { color: var(--black); font-weight: 600; }
.quota-track {
  height: 6px;
  background: var(--border);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.quota-fill {
  height: 100%;
  background: var(--orange);
  border-radius: var(--radius-pill);
  transition: width 0.4s ease, background 0.3s ease;
}
.quota-fill.warn { background: var(--warn); }
.quota-fill.danger { background: var(--danger); }

/* Dropzone */
.dropzone {
  border: 2px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  padding: 64px 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}
.dropzone:hover, .dropzone.dragover {
  border-color: var(--orange);
  background: #FFF8F2;
}
.dropzone .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--orange);
  margin-bottom: 16px;
}
.dropzone .main-txt {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--black);
}
.dropzone .sub-txt {
  font-size: 13px;
  color: var(--text-dim);
}
.dropzone input { display: none; }

/* Strength slider */
.strength {
  margin: 24px 0;
}
.strength-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 10px;
}
.strength-label .val {
  color: var(--orange);
  font-weight: 700;
  font-family: var(--mono);
}
input[type="range"] {
  width: 100%;
  accent-color: var(--orange);
  height: 4px;
}

/* File list */
.file-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 20px 0;
}
.file-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.file-item .f-name {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 1;
  min-width: 0;
  font-size: 14px;
}
.file-item .f-name-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.file-item .f-kind {
  flex-shrink: 0;
  padding: 3px 6px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .06em;
}
.file-item .f-size {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-muted);
  flex-shrink: 0;
}
.badge {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
  white-space: nowrap;
  font-weight: 600;
}
.badge.waiting { background: var(--bg-soft); color: var(--text-dim); border: 1px solid var(--border); }
.badge.queued { background: #FFF4E6; color: var(--warn); }
.badge.processing { background: #FFF4E6; color: var(--orange); }
.badge.processing::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
  margin-right: 6px;
  animation: pulse 1s infinite;
}
.badge.done { background: #E7F5EC; color: var(--success); }
.badge.error { background: #FDECEA; color: var(--danger); }
.f-error-text {
  flex-basis: 100%;
  order: 5;
  color: var(--danger);
  font-size: 12px;
  line-height: 1.45;
}
@keyframes pulse { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }

.file-item .f-download {
  flex-shrink: 0;
  font-size: 13px;
  color: var(--orange);
  font-weight: 600;
  text-decoration: none;
}
.file-item .f-download:hover { text-decoration: underline; }

/* Batch summary */
.batch-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.batch-summary .progress-txt {
  font-size: 13px;
  color: var(--text-dim);
}
.batch-summary .progress-txt .n {
  color: var(--orange);
  font-weight: 700;
}

/* Hidden */
.hidden { display: none !important; }

/* Responsive */
@media (max-width: 700px) {
  .header { padding: 16px 20px; flex-wrap: wrap; gap: 12px; }
  .header nav { display: none; }
  .features,
  .features-four { grid-template-columns: 1fr; }
  .app-main { padding: 32px 16px 60px; }
  .dropzone { padding: 40px 16px; }
}

/* Billing modal and protected preview */
.f-preview {
  flex-shrink: 0;
}
.f-preview-audio {
  width: clamp(240px, 30vw, 300px);
  height: 32px;
  margin-left: auto;
}
.file-item.has-video-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  grid-template-areas:
    "name size status action"
    "preview preview preview preview";
}
.file-item.has-video-preview .f-name { grid-area: name; }
.file-item.has-video-preview .f-size { grid-area: size; }
.file-item.has-video-preview .badge { grid-area: status; }
.file-item.has-video-preview .f-download { grid-area: action; }
.f-preview-video {
  grid-area: preview;
  width: 100%;
  max-height: 440px;
  margin-top: 4px;
  border-radius: 12px;
  background: #0f0f0f;
  object-fit: contain;
  aspect-ratio: 16 / 9;
}
.file-item .f-download { border: 0; background: transparent; color: #ff6a00; font: inherit; font-weight: 600; cursor: pointer; white-space: nowrap; }
.modal-open { overflow: hidden; }
.billing-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 20px; }
.billing-modal.hidden { display: none; }
.billing-backdrop { position: absolute; inset: 0; background: rgba(15,15,15,.72); backdrop-filter: blur(5px); }
.billing-panel { position: relative; width: min(760px, 100%); max-height: 92vh; overflow: auto; background: #fff; border-radius: 22px; padding: 34px; box-shadow: 0 28px 80px rgba(0,0,0,.3); }
.billing-close { position: absolute; top: 14px; right: 16px; border: 0; background: transparent; font-size: 28px; cursor: pointer; color: #0f0f0f; }
.billing-kicker { color: #ff6a00; font: 500 11px/1.4 'JetBrains Mono', monospace; letter-spacing: .16em; }
.billing-panel h2 { margin: 10px 0 8px; font: 600 38px/1.1 'Playfair Display', serif; }
.billing-copy { margin: 0 0 24px; color: #666; }
.billing-plans { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.billing-plan { position: relative; display: flex; flex-direction: column; gap: 9px; text-align: left; min-height: 190px; padding: 22px; border: 1px solid #ddd; border-radius: 16px; background: #fff; cursor: pointer; color: #0f0f0f; }
.billing-plan:hover { border-color: #ff6a00; transform: translateY(-2px); }
.billing-plan.featured { color: #fff; background: #0f0f0f; border-color: #0f0f0f; }
.billing-plan-header { min-height: 55px; display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.billing-plan-name { font-weight: 700; font-size: 17px; }
.billing-plan strong { font-size: 24px; color: #ff6a00; }
.billing-plan strong small { display: block; margin-top: 4px; font-size: 12px; font-weight: 500; color: inherit; }
.billing-badge { align-self: flex-start; padding: 5px 8px; border-radius: 999px; background: #ff6a00; font-size: 9px; font-weight: 700; letter-spacing: .08em; }
.billing-note, .billing-message { margin: 18px 0 0; font-size: 12px; color: #777; }
#billingCheckout { min-height: 480px; }
.billing-toast { position: fixed; z-index: 1200; left: 50%; bottom: 24px; display: flex; align-items: center; gap: 12px; width: max-content; max-width: calc(100% - 32px); padding: 13px 17px; border: 1px solid rgba(15,15,15,.12); border-radius: 14px; background: rgba(255,255,255,.96); box-shadow: 0 14px 38px rgba(15,15,15,.18); color: #0f0f0f; opacity: 0; transform: translate(-50%, 12px); transition: opacity .22s ease, transform .22s ease; pointer-events: none; }
.billing-toast.visible { opacity: 1; transform: translate(-50%, 0); }
.billing-toast-icon { display: grid; place-items: center; width: 30px; height: 30px; flex: 0 0 30px; border-radius: 50%; background: #ff6a00; color: #fff; font-weight: 700; }
.billing-toast strong, .billing-toast small { display: block; }
.billing-toast strong { font-size: 14px; line-height: 1.3; }
.billing-toast small { margin-top: 2px; color: #666; font-size: 12px; }
@media (max-width: 700px) {
  .billing-plans { grid-template-columns: 1fr; }
  .billing-panel { padding: 28px 18px; }
  .billing-panel h2 { font-size: 30px; }
  .file-item { flex-wrap: wrap; }
  .f-preview-audio { width: 100%; margin-left: 0; order: 4; }
  .file-item.has-video-preview {
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas:
      "name size status"
      "preview preview preview"
      "action action action";
  }
  .file-item.has-video-preview .f-download {
    justify-self: end;
  }
}

/* ============================================================
   PUBLIC CONTENT PAGES
   ============================================================ */
.nav-active { color: var(--orange) !important; }
.public-hero { max-width: 1000px; margin: 0 auto; padding: 96px 32px 72px; text-align: center; }
.public-hero .eyebrow, .eyebrow { display: inline-block; font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .18em; color: var(--orange); margin-bottom: 18px; }
.public-hero h1 { font-family: var(--serif); font-size: clamp(44px, 7vw, 76px); line-height: 1.02; font-weight: 500; letter-spacing: -.035em; margin: 0; }
.public-hero p { max-width: 720px; margin: 28px auto 0; color: var(--text-dim); font-size: 18px; line-height: 1.65; }
.page-section { padding: 80px 32px; max-width: 1100px; margin: 0 auto; }
.page-section-soft { max-width: none; background: var(--bg-soft); }
.page-section-soft > * { max-width: 1100px; margin-left: auto; margin-right: auto; }
.page-section-dark { max-width: none; background: var(--black); color: var(--white); }
.page-section-dark > * { max-width: 1100px; margin-left: auto; margin-right: auto; }
.page-section-dark p { color: #c7c7c7; }
.pricing-section { padding-top: 28px; }
.pricing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 920px; margin: 0 auto; align-items: stretch; }
.pricing-card { border: 1px solid var(--border-strong); border-radius: 24px; padding: 38px; display: flex; flex-direction: column; background: var(--white); }
.pricing-card-featured { background: var(--black); color: var(--white); border-color: var(--black); }
.plan-label { align-self: flex-start; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--orange); font-weight: 600; margin-bottom: 20px; }
.pricing-card h2 { font-size: 24px; margin: 0 0 28px; }
.pricing-card .price { color: var(--orange); font-size: 42px; line-height: 1; font-weight: 700; }
.pricing-card .price span { font-size: 15px; color: inherit; margin-left: 4px; }
.local-price { color: var(--orange); font-size: 14px; font-weight: 600; margin: 8px 0 18px; }
.pricing-card > p { color: var(--text-dim); min-height: 48px; line-height: 1.6; }
.pricing-card-featured > p { color: #c7c7c7; }
.pricing-card ul { list-style: none; padding: 0; margin: 24px 0 32px; flex: 1; }
.pricing-card li { padding: 10px 0 10px 25px; position: relative; border-bottom: 1px solid var(--border); font-size: 14px; line-height: 1.45; }
.pricing-card-featured li { border-color: #2a2a2a; }
.pricing-card li::before { content: '✓'; position: absolute; left: 0; color: var(--orange); font-weight: 700; }
.btn-wide { width: 100%; }
.pricing-note { text-align: center; color: var(--text-muted); font-size: 13px; margin-top: 24px; }
.step-list { max-width: 900px; margin: 0 auto; }
.step-row { display: grid; grid-template-columns: 90px 1fr; gap: 28px; padding: 36px 0; border-top: 1px solid var(--border); }
.step-row:last-child { border-bottom: 1px solid var(--border); }
.step-row > span { font-family: var(--mono); color: var(--orange); font-size: 14px; letter-spacing: .1em; }
.step-row h2 { font-family: var(--serif); font-size: 34px; font-weight: 500; margin: -8px 0 12px; }
.step-row p { color: var(--text-dim); line-height: 1.7; margin: 0; }
.content-split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.content-split h2 { font-family: var(--serif); font-size: clamp(34px, 5vw, 52px); line-height: 1.08; font-weight: 500; margin: 0; }
.content-split p { color: var(--text-dim); line-height: 1.75; margin: 0 0 18px; }
.text-link { color: var(--orange); font-weight: 600; }
.security-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.info-card { padding: 34px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-soft); }
.info-card h2 { font-size: 19px; margin: 0 0 12px; }
.info-card p { margin: 0; color: var(--text-dim); line-height: 1.7; font-size: 14px; }
.use-case-list { text-align: center; }
.use-case-list h2 { font-family: var(--serif); font-size: 42px; font-weight: 500; margin: 0 0 36px; }
.use-case-list div { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.use-case-list span { border: 1px solid var(--border-strong); border-radius: 999px; padding: 12px 18px; font-size: 14px; }
.cta-band { margin: 48px auto 96px; max-width: 1040px; border-radius: 28px; padding: 64px 32px; text-align: center; background: var(--bg-soft); border: 1px solid var(--border); }
.cta-band h2 { font-family: var(--serif); font-size: clamp(32px, 5vw, 50px); font-weight: 500; margin: 0 0 14px; }
.cta-band p { color: var(--text-dim); margin: 0 0 28px; }
.site-footer { position: relative; z-index: 1100; border-top: 1px solid var(--border); padding: 28px 48px; display: flex; justify-content: space-between; align-items: center; gap: 24px; color: var(--text-muted); font-size: 13px; background: var(--white); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 22px; }
.footer-links a { color: var(--text-dim); }
.footer-links a:hover { color: var(--orange); }
@media (max-width: 760px) {
  .public-hero { padding: 68px 20px 48px; }
  .public-hero h1 { font-size: clamp(40px, 13vw, 58px); }
  .public-hero p { font-size: 16px; }
  .page-section { padding: 56px 20px; }
  .pricing-grid, .security-grid, .content-split { grid-template-columns: 1fr; }
  .content-split { gap: 28px; }
  .pricing-card { padding: 28px 22px; }
  .step-row { grid-template-columns: 48px 1fr; gap: 14px; }
  .step-row h2 { font-size: 27px; }
  .cta-band { margin: 32px 16px 64px; padding: 48px 22px; }
  .site-footer { padding: 28px 20px; flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}
/* ============================================================
   LEGAL PAGES AND CONSENT
   ============================================================ */
.legal-page { width: min(860px, calc(100% - 40px)); margin: 0 auto; padding: 84px 0 100px; }
.legal-heading { padding-bottom: 42px; margin-bottom: 16px; border-bottom: 1px solid var(--border); }
.legal-heading h1 { font-family: var(--serif); font-size: clamp(44px, 7vw, 68px); font-weight: 500; letter-spacing: -.03em; margin: 0 0 12px; }
.legal-heading p { color: var(--text-muted); margin: 0; }
.legal-page section { padding: 28px 0; border-bottom: 1px solid var(--border); }
.legal-page h2 { font-size: 21px; margin: 0 0 14px; }
.legal-page p, .legal-page li { color: var(--text-dim); font-size: 15px; line-height: 1.75; }
.legal-page p { margin: 0 0 14px; }
.legal-page ul { margin: 10px 0 0; padding-left: 22px; }
.legal-page a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }
.legal-contact { margin-top: 28px; padding: 22px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-soft); color: var(--text-dim); line-height: 1.7; }
.auth-consent { display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 10px; color: var(--text-dim); font-size: 12px; line-height: 1.5; }
.auth-consent[hidden] { display: none; }
.auth-consent input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--orange); flex: 0 0 16px; }
.auth-consent a, .billing-note a { color: var(--orange); text-decoration: underline; text-underline-offset: 2px; }
.auth-legal-links { margin-top: 18px; text-align: center; color: var(--text-muted); font-size: 11px; }
.auth-legal-links a { color: var(--text-dim); }
@media (max-width: 700px) { .legal-page { padding: 58px 0 72px; } .legal-page section { padding: 24px 0; } }

