/* ============================================================
   SiteONTHEGO — "Paper & Ink" editorial-brutalist skin (staging)
   Keeps brand indigo/pink; replaces the soft minimalist look with
   warm paper, serif display type, thick rules and hard shadows.
   ============================================================ */

:root {
  --paper: #f6f0e3;
  --paper-2: #efe5d1;
  --ink: #111216;
  --indigo: #343c97;
  --indigo-deep: #262d74;
  --pink: #cc2b5e;
  --pink-deep: #a81f4d;
  --line: 2px solid var(--ink);
  --hard: 7px 7px 0 var(--ink);
  --hard-sm: 4px 4px 0 var(--ink);
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--paper) !important;
  background-image: radial-gradient(rgba(17, 18, 22, 0.10) 1px, transparent 1px) !important;
  background-size: 24px 24px !important;
  color: var(--ink);
  font-family: var(--font-body) !important;
}

h1, h2, h3, h4, h5, .brand, .wz-preset strong {
  font-family: var(--font-display) !important;
  letter-spacing: -0.022em;
  color: var(--ink);
}
h1 { font-weight: 900; line-height: 0.98; }
h2 { font-weight: 800; line-height: 1.04; }
h3 { font-weight: 700; }

p, li { font-family: var(--font-body); }
.lead { font-size: clamp(1.1rem, 0.6vw + 1rem, 1.35rem); }

/* Header: paper bar with a heavy rule */
.site-header {
  background: var(--paper) !important;
  border-bottom: var(--line);
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
}
.site-header.is-scrolled { background: var(--paper) !important; box-shadow: 0 3px 0 var(--ink) !important; }
.nav-links a {
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 800;
  font-size: 0.78rem;
  color: var(--ink);
}
.nav-links a:hover { color: var(--pink); }
.brand-logo { filter: saturate(1.05) contrast(1.05); }
.lang-switch select, .locale-select {
  border: var(--line) !important;
  border-radius: 0 !important;
  background-color: #fff !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
  box-shadow: 3px 3px 0 var(--ink);
}
.lang-switch { margin-left: 14px; }

/* Buttons: chunky, hard-edged, offset shadow */
.btn {
  border: var(--line) !important;
  border-radius: 0 !important;
  box-shadow: var(--hard-sm) !important;
  font-family: var(--font-body) !important;
  font-weight: 800 !important;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  background: #fff;
  color: var(--ink) !important;
  transition: transform 120ms ease, box-shadow 120ms ease, background-color 120ms ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink) !important; }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink) !important; }
.btn-primary { background: var(--pink) !important; color: #fff !important; }
.btn-primary:hover { background: var(--pink-deep) !important; }
.btn-secondary { background: var(--indigo) !important; color: #fff !important; }
.btn-secondary:hover { background: var(--indigo-deep) !important; }
.btn-ghost-dark { background: var(--paper) !important; color: var(--ink) !important; }
.btn-sm { box-shadow: 3px 3px 0 var(--ink) !important; }

/* Eyebrows become stickers */
.eyebrow {
  display: inline-block !important;
  background: var(--pink) !important;
  color: #fff !important;
  padding: 0.35rem 0.7rem !important;
  border: var(--line) !important;
  box-shadow: 3px 3px 0 var(--ink) !important;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-weight: 800 !important;
  font-size: 0.7rem !important;
  width: auto !important;
}
.eyebrow::before { display: none !important; }

/* Hero */
.hero {
  background: var(--paper) !important;
  border-bottom: var(--line);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: var(--indigo);
  opacity: 0.10;
  top: -180px; right: -140px;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  width: 260px; height: 260px;
  background: var(--pink);
  opacity: 0.10;
  bottom: -120px; left: -80px;
  transform: rotate(14deg);
  pointer-events: none;
}
.hero h1 { font-size: clamp(2.7rem, 6vw + 1rem, 5.6rem); max-width: 15ch; }
.hero h1::after {
  content: "";
  display: block;
  width: 5.5rem;
  height: 0.5rem;
  margin-top: 1rem;
  background: var(--pink);
  border: 2px solid var(--ink);
}
.hero-media img, .split-media img {
  border: var(--line);
  border-radius: 0 !important;
  box-shadow: 12px 12px 0 var(--indigo);
  transform: rotate(-1.2deg);
}
.hero-note { font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.72rem; }

/* Page heroes */
.page-hero {
  background: var(--paper) !important;
  border-bottom: var(--line);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  width: 220px; height: 220px;
  background: var(--indigo);
  opacity: 0.10;
  border-radius: 50%;
  top: -90px; right: 4%;
  pointer-events: none;
}
.page-hero h1 { font-size: clamp(2.3rem, 4.6vw + 0.8rem, 4.4rem); }
.page-hero .lead { max-width: 62ch; }

/* Sections */
.section { background: var(--paper); border-top: var(--line); }
.section-tight { background: var(--paper); border-top: var(--line); }
.section-surface {
  background-color: var(--paper-2) !important;
  background-image: repeating-linear-gradient(135deg, rgba(52, 60, 151, 0.055) 0 2px, transparent 2px 13px) !important;
}
.section-dark { background: var(--indigo) !important; }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--paper) !important; }
.section-dark p { color: rgba(246, 240, 227, 0.82) !important; }

.section-head h2 { font-size: clamp(1.9rem, 2.6vw + 1rem, 3rem); }

/* Cards: white paper with ink edge + hard shadow */
.card {
  background: #fff !important;
  border: var(--line) !important;
  border-radius: 0 !important;
  box-shadow: var(--hard) !important;
  transition: transform 140ms ease, box-shadow 140ms ease;
}
.card:hover { transform: translate(-3px, -3px); box-shadow: 11px 11px 0 var(--ink) !important; }
.card-head { border-bottom: var(--line); padding-bottom: 0.75rem; }

/* Steps / stats */
.step-num {
  background: var(--pink) !important;
  color: #fff !important;
  border: var(--line);
  box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--font-display);
  font-weight: 900;
  border-radius: 0 !important;
}
.stat strong { font-family: var(--font-display); font-size: clamp(2rem, 3vw, 3rem); color: var(--indigo); }
.stat span { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.72rem; font-weight: 700; }

/* Pricing */
.price-card { background: #fff !important; }
.price-card.featured {
  background: var(--indigo) !important;
  color: var(--paper) !important;
  box-shadow: 12px 12px 0 var(--pink) !important;
}
.price-card.featured h2, .price-card.featured h3, .price-card.featured .price,
.price-card.featured p, .price-card.featured li { color: var(--paper) !important; }
.price-card .price { font-family: var(--font-display); font-weight: 900; }
.plan-flag {
  background: var(--pink) !important;
  color: #fff !important;
  border: var(--line);
  box-shadow: 3px 3px 0 var(--ink);
  border-radius: 0 !important;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.price-features li { border-bottom: 1px dashed rgba(17, 18, 22, 0.18); padding-bottom: 0.45rem; }
.price-card.featured .price-features li { border-bottom-color: rgba(246, 240, 227, 0.24); }

/* Comparison table */
.comparison-table, .table-wrap table { border: var(--line); background: #fff; }
.comparison-table th, .table-wrap th {
  background: var(--ink) !important;
  color: var(--paper) !important;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 0.74rem;
  border: var(--line);
}
.comparison-table td, .table-wrap td { border: var(--line); }

/* FAQ */
.faq details, details {
  background: #fff;
  border: var(--line);
  box-shadow: var(--hard-sm);
  border-radius: 0;
  padding: 1rem 1.15rem;
  margin-bottom: 0.85rem;
}
.faq summary, details summary { font-weight: 800; cursor: pointer; }

/* CTA band */
.cta-band {
  background: var(--ink) !important;
  color: var(--paper) !important;
  border: var(--line);
  box-shadow: 12px 12px 0 var(--pink);
  padding: clamp(1.6rem, 3vw, 3rem) !important;
}
.cta-band h2 { color: var(--paper) !important; font-size: clamp(1.8rem, 3vw, 3rem); }
.cta-band p { color: rgba(246, 240, 227, 0.82) !important; }

/* Gallery */
.gallery-item img, .gallery-link img, .gallery img {
  border: var(--line);
  border-radius: 0 !important;
  box-shadow: 7px 7px 0 var(--indigo);
}
.gallery-item:nth-child(3n+2) img, .gallery-link:nth-child(3n+2) img { box-shadow: 7px 7px 0 var(--pink); }
.gallery-item:hover img, .gallery-link:hover img { transform: translate(-3px, -3px); }

/* Forms */
input, select, textarea {
  border: var(--line) !important;
  border-radius: 0 !important;
  background: #fff !important;
  padding: 0.7rem 0.8rem !important;
}
input:focus, select:focus, textarea:focus {
  outline: 3px solid var(--pink) !important;
  outline-offset: 1px;
  border-color: var(--ink) !important;
}
.form-card { border: var(--line); box-shadow: var(--hard); background: #fff; }

/* Checklists */
.checklist li::before { color: var(--pink) !important; }

/* Footer */
.site-footer {
  background: var(--ink) !important;
  color: var(--paper) !important;
  border-top: 6px solid var(--pink);
}
.site-footer a { color: var(--paper) !important; }
.site-footer a:hover { color: #ffb3c9 !important; }
.footer-heading {
  color: var(--paper) !important;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem !important;
  font-weight: 800;
}
.footer-brand p { color: rgba(246, 240, 227, 0.75) !important; }
.footer-bottom, .footer-powered { border-top: 1px solid rgba(246, 240, 227, 0.22); color: rgba(246, 240, 227, 0.68) !important; }
.footer-powered a { color: var(--paper) !important; }

/* Misc */
.option-callout, .addon-band {
  border: var(--line) !important;
  box-shadow: var(--hard-sm) !important;
  background: #fff !important;
  border-radius: 0 !important;
}
.tag, .pill, .fine-print { font-weight: 700; }

@media (max-width: 720px) {
  .hero-media img, .split-media img { transform: none; box-shadow: 7px 7px 0 var(--indigo); }
  .cta-band { box-shadow: 7px 7px 0 var(--pink); }
  .card { box-shadow: var(--hard-sm) !important; }
}

/* Flag language dropdown */
.lang-flags { position: relative; }
.lang-flags > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem; height: 2.4rem;
  border: 2px solid var(--ink);
  background: #fff;
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 1.05rem;
  line-height: 1;
  user-select: none;
}
.lang-flags > summary::-webkit-details-marker { display: none; }
.lang-flags[open] > summary { background: var(--paper-2); }
.lang-flags-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 80;
  background: #fff;
  border: 2px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  padding: 0.45rem;
  margin: 0;
  list-style: none;
  max-height: 24rem;
  overflow: auto;
  min-width: 15rem;
}
.lang-flags-menu li { margin: 0; }
.lang-flags-menu a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.38rem 0.45rem;
  text-decoration: none;
  color: var(--ink) !important;
  font-weight: 700;
  font-size: 0.9rem;
}
.lang-flags-menu a:hover, .lang-flags-menu a.current { background: var(--paper-2); }
.lang-flags-menu img { display: block; border: 1px solid rgba(17,18,22,.2); }

/* Readable AI Webmaster / callout band on light paper */
.option-callout, .addon-band { color: var(--ink) !important; }
.addon-band h2, .addon-band h3, .option-callout h2, .option-callout h3 { color: var(--ink) !important; }
.addon-band p, .option-callout p { color: #2f3038 !important; }
.addon-band .eyebrow { color: #fff !important; }

/* Quiet language trigger: no box, low emphasis until hover/open */
.lang-flags > summary {
  width: auto; height: auto; min-width: 0;
  padding: 0.15rem 0.3rem;
  border: 0 !important; background: transparent !important; box-shadow: none !important;
  font-size: 0.95rem; opacity: 0.55;
  transition: opacity 140ms ease;
}
.lang-flags > summary:hover, .lang-flags[open] > summary { opacity: 1; background: transparent !important; }
