/* Citijo landing — static, self-contained styles.
   Direction: editorial tool. Serif system headlines, one transcript card as the
   signature, off-white / green / sand palette. No external fonts or assets. */

:root {
  color-scheme: light;
  --off-white: #F8FAFC;
  --paper: #FFFFFF;
  --ink: #0B1A3C;
  --body: #475569;
  --green: #2563FF;
  --green-deep: #1554EE;
  --sand: #EDF4FF;
  --sand-soft: #EAF2FF;
  --line: #E2E8F0;
  --line-strong: #CBD5E1;
  --focus: #2563FF;
  --serif: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --wrap: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

html {
  -webkit-text-size-adjust: 100%;
}

@font-face {
  font-family: "Inter";
  src: url("/branding/fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

body {
  margin: 0;
  background: var(--off-white);
  color: var(--body);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
}


h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  text-wrap: balance;
  overflow-wrap: break-word;
}

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--green);
  text-underline-offset: 0.18em;
}

a:hover {
  color: #1554EE;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 3px;
}

::selection {
  background: var(--sand);
  color: var(--ink);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 56px);
}

.skip-link {
  position: absolute;
  top: -72px;
  left: 16px;
  z-index: 10;
  padding: 12px 18px;
  background: var(--ink);
  color: #fff;
  border-radius: 0 0 8px 8px;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
  color: #fff;
}

/* Header ------------------------------------------------------------------ */

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--off-white);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 28px;
  min-height: 78px;
  padding-block: 12px;
}

.brand {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  max-width: 100%;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand:hover {
  color: var(--green);
}

.brand-name {
  overflow-wrap: anywhere;
}

.brand-tag {
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--sand);
  color: #1E40AF;
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #334155;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

.nav-list a:hover {
  color: var(--green);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

/* Hero -------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(52px, 7.5vw, 100px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(65% 70% at 100% 0%, #DBEAFE 0%, rgba(248, 250, 252, 0) 68%),
    var(--off-white);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  flex: none;
  width: 28px;
  height: 2px;
  background: var(--green);
}

h1 {
  max-width: 16ch;
  margin-bottom: 22px;
  font-size: clamp(2.35rem, 5vw, 3.85rem);
  line-height: 1.03;
  letter-spacing: -0.025em;
}

.lede {
  max-width: 55ch;
  margin-bottom: 30px;
  color: #334155;
  font-size: clamp(1.06rem, 1.4vw, 1.18rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.button-primary {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
  box-shadow: 0 2px 0 #1D4ED8;
}

@media (prefers-reduced-motion: no-preference) {
  .button-primary {
    transition: background-color 0.15s ease, box-shadow 0.15s ease;
  }
}

.button-primary:hover {
  background: #1554EE;
  color: #fff;
}

.button-primary:active {
  box-shadow: none;
}

.button-quiet {
  min-height: 44px;
  padding-inline: 4px;
  border: 0;
  background: none;
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

.button-quiet::after {
  content: "\2193";
  margin-left: 8px;
  color: var(--green);
  font-weight: 400;
}

.button-quiet:hover {
  color: var(--green);
  text-decoration-color: var(--green);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  color: #334155;
  font-size: 0.86rem;
  font-weight: 600;
}

.hero-facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-facts li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

/* Transcript card (signature element) ------------------------------------- */

.transcript {
  margin: 0;
  background: var(--paper);
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  box-shadow: 12px 12px 0 var(--sand);
  transform: rotate(-0.7deg);
}

.transcript-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 14px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  color: #475569;
  font-family: var(--mono);
  font-size: 0.76rem;
}

.transcript-file {
  font-weight: 600;
}

.transcript-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #64748B;
  font-variant-numeric: tabular-nums;
}

.tag {
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--sand);
  color: #1E40AF;
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lines {
  margin: 0;
  padding: 6px 20px 2px;
  list-style: none;
}

.lines li {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 10px;
  padding: 11px 0;
}

.lines time {
  padding-top: 3px;
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.74rem;
  font-variant-numeric: tabular-nums;
}

.lines p {
  margin: 0;
  color: #0B1A3C;
  font-size: 0.95rem;
  line-height: 1.5;
}

.lines li:first-child p {
  background: linear-gradient(180deg, transparent 64%, #DBEAFE 64%);
}

.transcript-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  padding: 14px 20px 18px;
  border-top: 1px solid var(--line);
}

.fmt {
  padding: 3px 8px;
  border: 1px solid #E2E8F0;
  border-radius: 4px;
  background: #EDF4FF;
  color: #1E40AF;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.foot-note {
  margin-left: auto;
  color: #64748B;
  font-size: 0.76rem;
}

/* Section spine ----------------------------------------------------------- */

.section {
  padding-block: clamp(56px, 7vw, 92px);
  border-bottom: 1px solid var(--line);
}

.band-sand {
  background: var(--sand);
  border-bottom-color: #BFDBFE;
}

.section-grid {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: start;
  gap: 16px clamp(24px, 4vw, 56px);
}

.kicker {
  position: sticky;
  top: 24px;
  margin: 0;
  padding-top: 8px;
  color: var(--green-deep);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  overflow-wrap: break-word;
}

.kicker-num {
  display: block;
  margin-bottom: 5px;
  color: #475569;
  font-family: var(--mono);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.section-main h2 {
  max-width: 24ch;
  margin-bottom: 16px;
  font-size: clamp(1.85rem, 3.3vw, 2.85rem);
}

.section-lede {
  max-width: 62ch;
  margin-bottom: 0;
  color: #475569;
  font-size: clamp(1.02rem, 1.3vw, 1.1rem);
}

/* Problem ---------------------------------------------------------------- */

.points {
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: point;
}

.points li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  counter-increment: point;
}

.points li::before {
  content: counter(point, decimal-leading-zero);
  padding-top: 3px;
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.84rem;
}

.points h3 {
  margin-bottom: 5px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.4;
}

.points p {
  max-width: 56ch;
  margin: 0;
  font-size: 0.97rem;
}

.closing-line {
  max-width: 48ch;
  margin: 28px 0 0 70px;
  padding-left: 16px;
  border-left: 3px solid var(--green);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.18rem;
  line-height: 1.45;
}

/* How it works ----------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 34px);
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  padding-top: 18px;
  border-top: 2px solid rgba(17, 107, 84, 0.4);
  counter-increment: step;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 10px;
  color: var(--green);
  font-family: var(--serif);
  font-size: 1.9rem;
  line-height: 1;
}

.steps h3 {
  margin-bottom: 7px;
  font-size: 1.16rem;
  letter-spacing: -0.01em;
}

.steps p {
  margin: 0;
  font-size: 0.94rem;
}

.aside-link {
  margin-top: 30px;
  font-size: 0.92rem;
  color: #475569;
}

.aside-link a {
  color: var(--green-deep);
  font-weight: 600;
}

/* Outputs ---------------------------------------------------------------- */

.outputs-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: start;
  gap: clamp(28px, 4vw, 48px);
  margin-top: 30px;
}

.outputs-grid > * {
  min-width: 0;
}

.formats {
  margin: 0;
}

.formats > div {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.formats dt {
  padding-top: 2px;
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.formats dd {
  margin: 0;
  color: #475569;
  font-size: 0.96rem;
}

.code-card {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  background: var(--ink);
  box-shadow: 0 14px 34px rgba(23, 35, 42, 0.16);
}

.code-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 14px;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(233, 223, 207, 0.18);
  color: #CBD5E1;
  font-family: var(--mono);
  font-size: 0.73rem;
  letter-spacing: 0.04em;
}

.code-card pre {
  margin: 0;
  padding: 18px 18px 22px;
  overflow-x: auto;
  color: var(--sand);
  font-family: var(--mono);
  font-size: 0.78rem;
  line-height: 1.7;
}

.code-card code {
  font-family: inherit;
}

/* Limits ----------------------------------------------------------------- */

.limits-table {
  width: 100%;
  margin-top: 30px;
  border-collapse: collapse;
  border-top: 2px solid var(--ink);
}

.limits-table th,
.limits-table td {
  padding: 13px 16px 13px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.limits-table th {
  width: 170px;
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.limits-table td {
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 500;
}

.fine-print {
  max-width: 64ch;
  margin: 22px 0 0;
  color: #64748B;
  font-size: 0.9rem;
}

/* Privacy ---------------------------------------------------------------- */

.privacy-panel {
  margin-top: 30px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(23, 77, 52, 0.07);
}

.privacy-facts {
  margin: 0;
}

.privacy-facts > div {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.privacy-facts > div:first-child {
  padding-top: 0;
  border-top: 0;
}

.privacy-facts dt {
  padding-top: 4px;
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.privacy-facts dd {
  margin: 0;
  color: #334155;
  font-size: 0.98rem;
}

.privacy-note {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: #64748B;
  font-size: 0.9rem;
}

/* FAQ -------------------------------------------------------------------- */

.faq-list {
  margin-top: 22px;
}

.faq-item {
  border-bottom: 1px solid rgba(23, 35, 42, 0.18);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 44px;
  padding: 19px 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
  overflow-wrap: break-word;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: none;
  color: var(--green);
  font-family: var(--sans);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item summary:hover {
  color: var(--green);
}

.faq-item p {
  max-width: 64ch;
  margin: 0 0 20px;
  padding-right: 28px;
  font-size: 0.97rem;
}

/* Final CTA -------------------------------------------------------------- */

.final {
  padding-block: clamp(60px, 8vw, 104px);
  background: var(--green-deep);
  color: #EAF2FF;
}

.final-grid {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: start;
  gap: 16px clamp(24px, 4vw, 56px);
}

.final .kicker {
  position: static;
  padding-top: 8px;
  color: #DBEAFE;
}

.final .kicker-num {
  color: #FFFFFF;
}

.final h2 {
  max-width: 20ch;
  margin-bottom: 16px;
  color: #fbfaf6;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
}

.final .section-main > p {
  max-width: 55ch;
  color: #EAF2FF;
}

.button-light {
  margin-top: 12px;
  border-color: var(--sand);
  background: var(--sand);
  color: var(--ink);
  box-shadow: 0 2px 0 #BFDBFE;
}

.button-light:hover {
  background: #DBEAFE;
  color: var(--ink);
}

.final .micro {
  margin: 16px 0 0;
  color: #EAF2FF;
  font-size: 0.86rem;
}

.final :focus-visible {
  outline-color: var(--sand);
}

/* Footer ----------------------------------------------------------------- */

.site-footer {
  padding-block: 40px;
  background: var(--off-white);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px 40px;
}

.footer-brand {
  max-width: 100%;
}

.footer-brand p {
  max-width: 38ch;
  margin: 8px 0 0;
  color: #64748B;
  font-size: 0.88rem;
}

p.footer-brand-line {
  max-width: none;
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.footer-wordmark {
  color: inherit;
  text-decoration: none;
}

.footer-wordmark:hover {
  color: var(--green);
}

.footer-sep {
  color: #7a8a82;
}

.footer-parent {
  color: #64748B;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: #334155;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--green);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 24px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: #5a6a63;
  font-size: 0.78rem;
}

.footer-bottom p {
  margin: 0;
}

/* Responsive ------------------------------------------------------------- */

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .transcript {
    max-width: 540px;
    transform: none;
    box-shadow: 8px 8px 0 var(--sand);
  }

  .section-grid,
  .final-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .kicker,
  .final .kicker {
    position: static;
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding-top: 0;
  }

  .kicker-num {
    display: inline;
    margin: 0;
  }

  .final .kicker-num {
    display: inline;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .steps li {
    padding: 18px 0;
    border-top-width: 1px;
  }

  .outputs-grid {
    grid-template-columns: 1fr;
  }

  .section-main h2 {
    max-width: 26ch;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 1rem;
  }

  .header-inner {
    min-height: 0;
  }

  .nav-list {
    gap: 0 18px;
  }

  .nav-list a {
    min-height: 40px;
    font-size: 0.88rem;
  }

  .hero {
    padding-block: 44px 52px;
  }

  h1 {
    max-width: 18ch;
    font-size: clamp(2.15rem, 9.5vw, 2.8rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .hero-actions .button-primary {
    width: 100%;
  }

  .button-quiet {
    align-self: flex-start;
  }

  .hero-facts {
    gap: 6px 16px;
    margin-top: 26px;
    font-size: 0.82rem;
  }

  .transcript-head,
  .transcript-foot {
    padding-inline: 16px;
  }

  .lines {
    padding-inline: 16px;
  }

  .lines li {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 8px;
  }

  .foot-note {
    width: 100%;
    margin-left: 0;
  }

  .points li {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
  }

  .closing-line {
    margin-left: 0;
  }

  .limits-table,
  .limits-table tbody,
  .limits-table tr,
  .limits-table th,
  .limits-table td {
    display: block;
    width: 100%;
  }

  .limits-table {
    border-top-width: 2px;
  }

  .limits-table tr {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .limits-table th,
  .limits-table td {
    padding: 0;
    border: 0;
  }

  .limits-table th {
    padding-bottom: 2px;
  }

  .limits-table td {
    font-size: 0.95rem;
  }

  .privacy-facts > div {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px 0;
  }

  .formats > div {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .faq-item summary {
    padding: 17px 0;
    font-size: 1.02rem;
  }

  .faq-item p {
    padding-right: 0;
  }

  .button {
    min-height: 48px;
  }

  .final .micro {
    font-size: 0.82rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (forced-colors: active) {
  .button,
  .fmt,
  .tag {
    border: 1px solid CanvasText;
  }

  .transcript,
  .privacy-panel,
  .code-card {
    border: 1px solid CanvasText;
  }
}


/* Brand integration — Citijo by QOLO v1.0 -------------------------------- */

.brand {
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-logo {
  display: block;
  width: clamp(132px, 16vw, 170px);
  height: auto;
}

.brand-tag {
  background: var(--sand);
  color: #1E40AF;
  font-family: var(--sans);
}

.hero h1 {
  font-weight: 900;
  letter-spacing: -0.045em;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/branding/patterns/padrao_ondas.svg") no-repeat right -160px top -120px / 820px auto;
  opacity: 0.42;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
}

.hero-visual {
  position: relative;
  min-width: 0;
}

.hero-mascot {
  position: absolute;
  top: -54px;
  right: 10px;
  z-index: 2;
  width: clamp(76px, 8vw, 104px);
  height: auto;
  filter: drop-shadow(0 12px 20px rgba(11, 26, 60, 0.2));
}

.button {
  border-radius: 14px;
}

.button-primary {
  box-shadow: 0 6px 0 #1D4ED8;
}

.button-primary:hover {
  background: var(--green-deep);
}

.footer-logo {
  display: block;
  width: 142px;
  height: auto;
}

p.footer-brand-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
}

@media (max-width: 760px) {
  .hero::before {
    right: -240px;
    top: -80px;
    background-size: 620px auto;
    opacity: 0.3;
  }

  .hero-mascot {
    top: -40px;
    right: 4px;
    width: 68px;
  }

  .brand-logo {
    width: 132px;
  }
}


/* Pix support ------------------------------------------------------------- */
.coffee-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #2563FF;
  color: #fff;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(11, 26, 60, 0.28);
}

.coffee-fab:hover {
  background: #1554EE;
  color: #fff;
}

.pix-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  margin: 28px 0;
}

.pix-card {
  padding: 24px;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(11, 26, 60, 0.06);
}

.pix-card h2 {
  margin-top: 0;
}

.pix-qr {
  display: block;
  width: min(100%, 320px);
  height: auto;
  margin: 12px auto;
  border-radius: 12px;
}

.pix-key {
  display: block;
  margin: 8px 0 14px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #EDF4FF;
  color: #0B1A3C;
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

.pix-payload {
  max-height: 160px;
  padding: 12px;
  overflow: auto;
  border-radius: 10px;
  background: #F8FAFC;
  color: #334155;
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 0.72rem;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.pix-details {
  margin: 18px 0 12px;
}

.pix-details summary {
  cursor: pointer;
  color: #1554EE;
  font-weight: 700;
}

.pix-note {
  padding: 20px 24px;
  border-left: 4px solid #2563FF;
  border-radius: 10px;
  background: #EDF4FF;
}

@media (max-width: 760px) {
  .pix-grid {
    grid-template-columns: 1fr;
  }
  .pix-card {
    padding: 18px;
  }
  .coffee-fab {
    right: 14px;
    bottom: 14px;
    padding: 9px 14px;
    font-size: 0.8rem;
  }
}

.pix-note a { color: #1554EE; }
