/* abrisud.reviews — blueprint campaign design system */

@font-face {
  font-family: 'IBM Plex Sans';
  src: url('/assets/fonts/ibm-plex-sans-latin-400-normal.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Sans';
  src: url('/assets/fonts/ibm-plex-sans-latin-600-normal.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Sans';
  src: url('/assets/fonts/ibm-plex-sans-latin-700-normal.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('/assets/fonts/ibm-plex-mono-latin-500-normal.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('/assets/fonts/ibm-plex-mono-latin-700-normal.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  --paper: #f4f7fb;
  --paper-2: #eaf0f8;
  --ink: #16233a;
  --ink-60: rgba(22, 35, 58, .64);
  --blue: #1d5fd0;
  --blue-soft: #bfdcf5;
  --red: #d43a2f;
  --red-dark: #b12c23;
  --amber: #b97f13;
  --line: rgba(29, 95, 208, .18);
  --grid: rgba(29, 95, 208, .07);
  --sans: 'IBM Plex Sans', -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', monospace;
  --wrap: 1120px;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(22, 35, 58, .10);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background:
    linear-gradient(rgba(244,247,251,0) 0, rgba(244,247,251,0) 100%),
    repeating-linear-gradient(0deg, var(--grid) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(90deg, var(--grid) 0 1px, transparent 1px 32px),
    var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }

/* ---------- language banner ---------- */
.langbanner[hidden] { display: none; }
.langbanner {
  position: sticky; top: 0; z-index: 60;
  display: flex; gap: .6em; align-items: center; justify-content: center;
  background: var(--ink); color: #fff;
  padding: .55em 2.6em .55em 1em; font-size: .92rem;
}
.langbanner a { color: #9cc2ff; font-weight: 600; }
.langbanner button {
  position: absolute; right: .6em; top: 50%; transform: translateY(-50%);
  background: none; border: 0; color: #fff; font-size: 1.25em; cursor: pointer; line-height: 1;
  padding: .2em .4em;
}

/* ---------- topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 247, 251, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar-in { display: flex; align-items: center; gap: 1.4em; padding-top: .65em; padding-bottom: .65em; }
.wm {
  font-family: var(--mono); font-weight: 700; font-size: 1.05rem;
  color: var(--ink); text-decoration: none; white-space: nowrap;
}
.wm b { color: var(--red); font-weight: 700; }
.wm-tag {
  display: block; font-size: .62rem; font-weight: 500; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-60);
}
.topnav { margin-left: auto; display: flex; gap: 1.3em; }
.topnav a { color: var(--ink); text-decoration: none; font-size: .93rem; font-weight: 600; }
.topnav a:hover { color: var(--blue); }
.topnav-share { color: var(--red) !important; }
.langs { display: flex; gap: .25em; }
.langs a {
  font-family: var(--mono); font-size: .8rem; font-weight: 700; text-decoration: none;
  color: var(--ink-60); padding: .3em .55em; border: 1px solid transparent; border-radius: 6px;
}
.langs a.is-active { color: var(--ink); border-color: var(--ink); background: #fff; }
.langs a:hover { color: var(--blue); }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(3.2rem, 9vw, 6.5rem) 0 0; overflow: hidden; }
.eyebrow {
  font-family: var(--mono); font-size: .8rem; font-weight: 500; letter-spacing: .12em;
  text-transform: uppercase; color: var(--red);
  display: inline-flex; align-items: center; gap: .7em;
}
.eyebrow::before { content: ''; width: 2.2em; height: 2px; background: var(--red); display: inline-block; }
.hero h1 {
  font-size: clamp(2.1rem, 5.6vw, 4rem); line-height: 1.08; letter-spacing: -.02em;
  font-weight: 700; margin: .5em 0 .55em; max-width: 15em;
}
.hero h1 em { font-style: normal; color: var(--red); position: relative; white-space: nowrap; }
.hero h1 em::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: .04em; height: .1em;
  background: repeating-linear-gradient(90deg, var(--red) 0 10px, transparent 10px 16px);
}
.hero-sub { max-width: 44em; font-size: 1.1rem; color: var(--ink); }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8em; margin: 1.6em 0 2.6em; }
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  padding: .8em 1.5em; border-radius: 8px; border: 2px solid var(--ink);
  color: var(--ink); background: transparent; transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-red { background: var(--red); border-color: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn-ghost { background: #fff; }
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; max-width: 850px; box-shadow: var(--shadow);
}
.stat { background: #fff; padding: 1.15em 1.3em; }
.stat-n {
  display: block; font-family: var(--mono); font-weight: 700;
  font-size: clamp(1.5rem, 3.4vw, 2.3rem); letter-spacing: -.02em; color: var(--blue);
}
.stat-red { color: var(--red); }
.stat-l { font-size: .85rem; color: var(--ink-60); line-height: 1.35; display: block; margin-top: .2em; }
.scrollhint {
  font-family: var(--mono); font-size: .78rem; color: var(--ink-60);
  margin: 2.6em 0 1.6em; letter-spacing: .05em;
}
.scrollhint-arrow { display: inline-block; animation: bob 1.6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(4px); } }
.hero-line { margin-top: .5rem; }
.hero-line svg { display: block; width: 100%; height: 44px; }

/* ---------- sections ---------- */
.sec { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.sec-alt { background: rgba(255, 255, 255, .55); border-block: 1px solid var(--line); }
.kicker {
  font-family: var(--mono); font-size: .8rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--blue); margin-bottom: .9em;
}
.sec-dark .kicker { color: #9cc2ff; }
h2 {
  font-size: clamp(1.55rem, 3.6vw, 2.4rem); line-height: 1.15; letter-spacing: -.015em;
  margin-bottom: .8em; max-width: 20em;
}
.sec p + p { margin-top: 1em; }
.grid-txt p + p { margin-top: 1em; }
.lede { font-size: 1.13rem; max-width: 46em; margin-bottom: 2em; }
.grid2 { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.6rem, 4vw, 3.4rem); align-items: start; }
.grid2 > .grid-txt { max-width: 34em; }
.figcol { display: grid; gap: 1.6rem; }
.figrow { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; margin-top: 2rem; }
.callout {
  border-left: 4px solid var(--red); background: #fff;
  padding: 1em 1.2em; border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow); font-size: 1.02rem; margin-top: 1.4em !important;
}

/* ---------- figures ---------- */
.fig {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: .9rem; box-shadow: var(--shadow);
}
.fig::before, .fig::after {
  content: ''; position: absolute; width: 14px; height: 14px; pointer-events: none;
}
.fig::before { top: -4px; left: -4px; border-top: 2.5px solid var(--ink); border-left: 2.5px solid var(--ink); }
.fig::after { bottom: -4px; right: -4px; border-bottom: 2.5px solid var(--ink); border-right: 2.5px solid var(--ink); }
.fig img { border-radius: 5px; width: 100%; }
.fig-tag {
  font-family: var(--mono); font-size: .68rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--red); margin-bottom: .6rem;
}
.fig-cap { font-size: .86rem; color: var(--ink-60); margin-top: .7rem; line-height: 1.5; }
.fig-diagram svg { width: 100%; height: auto; border-radius: 5px; }

/* svg text */
.svg-lbl { font-family: var(--mono); font-size: 17px; font-weight: 500; fill: var(--ink); }
.svg-big { font-family: var(--mono); font-size: 30px; font-weight: 700; fill: #5d87b8; letter-spacing: .1em; }
.svg-red { fill: var(--red); }
.svg-blue { fill: var(--blue); }

/* ---------- compare slider ---------- */
.compare { position: relative; margin: 0 0 2.4rem; }
.compare-stage {
  position: relative; overflow: hidden; border-radius: var(--radius);
  border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff;
}
.cmp-svg { display: block; width: 100%; height: auto; }
.compare-top {
  position: absolute; inset: 0;
  clip-path: inset(0 calc(100% - var(--cut, 50%)) 0 0);
}
.compare-divider {
  position: absolute; top: 0; bottom: 0; left: var(--cut, 50%); width: 3px;
  background: var(--ink); transform: translateX(-1.5px); pointer-events: none;
}
.compare-knob {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff;
  display: grid; place-items: center; font-size: 1.15rem;
  box-shadow: 0 4px 14px rgba(22, 35, 58, .35);
}
.compare-range {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; cursor: ew-resize; margin: 0;
}
.compare-badge {
  position: absolute; top: 10px; font-family: var(--mono); pointer-events: none;
  background: rgba(255, 255, 255, .92); border-radius: 7px; padding: .45em .7em;
  line-height: 1.3; box-shadow: 0 2px 10px rgba(22, 35, 58, .12);
}
.compare-badge b { display: block; font-size: .72rem; letter-spacing: .1em; }
.compare-badge i { display: block; font-style: normal; font-size: .62rem; color: var(--ink-60); }
.compare-badge-l { left: 10px; border-left: 3px solid var(--blue); }
.compare-badge-l b { color: var(--blue); }
.compare-badge-r { right: 10px; border-left: 3px solid var(--red); text-align: right; }
.compare-badge-r b { color: var(--red); }

/* ---------- dark section (refusal) ---------- */
.sec-dark { background: var(--ink); color: #e8eef8; }
.sec-dark h2 { color: #fff; }
.sec-dark a { color: #9cc2ff; }
.quote {
  border-left: 4px solid var(--red); background: rgba(255, 255, 255, .06);
  padding: 1.4em 1.6em; border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.06rem; line-height: 1.7;
}
.quote cite { display: block; margin-top: 1em; font-style: normal; font-family: var(--mono); font-size: .78rem; color: #9cc2ff; }
.chips { display: flex; flex-wrap: wrap; gap: .6em; margin-top: 1.5em; }
.chip {
  font-family: var(--mono); font-size: .78rem; font-weight: 700;
  border: 1.5px solid var(--red); color: #ffb1aa; border-radius: 999px; padding: .45em .95em;
}
.chip-amber { border-color: var(--amber); color: #ffd98a; }

/* ---------- asks ---------- */
.asks { list-style: none; display: grid; gap: 1.1rem; max-width: 46em; margin-bottom: 1rem; }
.asks li {
  display: flex; gap: 1.1em; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--blue);
  border-radius: var(--radius); padding: 1.2em 1.4em; box-shadow: var(--shadow);
}
.ask-n {
  font-family: var(--mono); font-weight: 700; font-size: 1.6rem; color: var(--blue);
  line-height: 1; padding-top: .1em;
}

/* ---------- tips ---------- */
.tips { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.tip {
  display: flex; gap: 1em; align-items: flex-start; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2em 1.3em;
  box-shadow: var(--shadow);
}
.tip-n {
  font-family: var(--mono); font-weight: 700; color: #fff; background: var(--ink);
  width: 1.9em; height: 1.9em; border-radius: 6px; display: grid; place-items: center;
  flex: none; font-size: .95rem;
}

/* ---------- share ---------- */
.sec-share {
  background:
    repeating-linear-gradient(0deg, rgba(212, 58, 47, .05) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(90deg, rgba(212, 58, 47, .05) 0 1px, transparent 1px 32px),
    #fdf3f2;
  border-top: 1px solid rgba(212, 58, 47, .25);
}
.sharegrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; max-width: 900px; }
.sbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem;
  border: 0; border-radius: 8px; padding: .9em 1em; cursor: pointer;
  transition: transform .15s, background .15s; text-align: center;
}
.sbtn:hover { transform: translateY(-2px); background: var(--blue); }
.sbtn svg { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }
.sbtn-sm { padding: .6em .95em; font-size: .88rem; background: var(--ink); }
.igbox {
  margin-top: 1.6rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem; max-width: 900px; box-shadow: var(--shadow);
}
.igbox-head { display: flex; align-items: center; gap: .6em; margin-bottom: .5em; }
.igbox-head svg { width: 1.4em; height: 1.4em; fill: var(--red); }
.igbtns { display: flex; flex-wrap: wrap; gap: .7em; margin: .9em 0 1.2em; }
.iglabel {
  display: block; font-family: var(--mono); font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink-60); margin-bottom: .4em;
}
.igbox textarea {
  width: 100%; font-family: var(--sans); font-size: .92rem; color: var(--ink);
  border: 1px solid var(--line); border-radius: 8px; padding: .8em; resize: vertical;
  background: var(--paper); margin-bottom: .8em; line-height: 1.5;
}

/* ---------- footer ---------- */
.foot {
  background: var(--ink); color: #b9c6dd; padding: 3.2rem 0 2.6rem;
  font-size: .92rem; line-height: 1.65;
}
.foot a { color: #9cc2ff; }
.footgrid { display: grid; grid-template-columns: 1.2fr 1fr .8fr; gap: 2.4rem; }
.foot-t {
  font-family: var(--mono); font-size: .72rem; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: #fff; margin-bottom: .5em;
}
.foot-dim { color: rgba(185, 198, 221, .65); margin-top: .8em; }
.foot-wm { font-size: 1.15rem; color: #fff; margin-bottom: .6em; }
.langs-foot { margin-top: 1em; flex-direction: column; gap: .15em; align-items: flex-start; }
.langs-foot a { padding-left: 0; color: #9cc2ff; font-family: var(--sans); font-weight: 500; font-size: .92rem; }
.langs-foot a.is-active { border: 0; background: none; color: #fff; font-weight: 700; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .scrollhint-arrow { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .grid2, .figrow, .tips { grid-template-columns: 1fr; }
  .sharegrid { grid-template-columns: 1fr 1fr; }
  .footgrid { grid-template-columns: 1fr; gap: 1.8rem; }
  .topnav { display: none; }
  .grid2 > .grid-txt { max-width: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .stats { grid-template-columns: 1fr; }
  .sharegrid { grid-template-columns: 1fr; }
  .compare-badge i { display: none; }
  .topbar-in { gap: .8em; }
  .wm-tag { display: none; }
}
