/* orrofi.com — site v2.
   Near-black with a faint blue undertone, warm white text, noble gold as the only accent.
   No blurred background blobs: light only where the composition needs it (behind the hero phone). */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/Inter-Variable.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308,
    U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/Inter-Variable-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: dark;

  /* surfaces */
  --bg: #07090e;
  --bg-raise: #0c0f17;
  --bg-card: #10141e;
  --line: rgba(236, 231, 218, 0.09);
  --line-strong: rgba(236, 231, 218, 0.16);

  /* text: contrast on --bg — ink 17:1, soft 11:1, muted 7.4:1 */
  --ink: #f4f1ea;
  --ink-soft: #c9c6bf;
  --muted: #9a9ca5;

  /* gold */
  --gold-hi: #f6dc96;
  --gold: #e2bc62;
  --gold-lo: #b88a36;
  --gold-text: #e6c372;
  --gold-line: rgba(226, 188, 98, 0.32);
  --gold-grad: linear-gradient(100deg, #f8e3a6 0%, #e6c06a 38%, #c99a3e 72%, #e9c878 100%);
  --on-gold: #15100a;

  /* type scale (desktop values via clamp) */
  --fs-display: clamp(2.75rem, 1.2rem + 5.4vw, 5.5rem);
  --fs-h2: clamp(2rem, 1.3rem + 2.4vw, 3.25rem);
  --fs-h3: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  --fs-lead: clamp(1.1875rem, 1.05rem + 0.45vw, 1.375rem);
  --fs-body: clamp(1.0625rem, 1rem + 0.2vw, 1.125rem);
  --fs-small: 0.9375rem;

  /* rhythm */
  --max: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(64px, 6.6vw, 104px);
  --radius: 16px;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: var(--fs-body);
  line-height: 1.65;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

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

a {
  color: var(--gold-text);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--gold-hi);
}

:focus-visible {
  outline: 2px solid var(--gold-hi);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection {
  background: rgba(226, 188, 98, 0.35);
  color: var(--ink);
}

.skip {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-200%);
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--gold);
  color: var(--on-gold);
  font-weight: 650;
  text-decoration: none;
}

.skip:focus {
  transform: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(var(--max), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

/* ---------- typography ---------- */

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-weight: 650;
  text-wrap: balance;
}

h1 {
  font-size: var(--fs-display);
  line-height: 1.02;
  letter-spacing: -0.036em;
  font-weight: 660;
}

h2 {
  font-size: var(--fs-h2);
  line-height: 1.08;
  letter-spacing: -0.032em;
}

h3 {
  font-size: var(--fs-h3);
  line-height: 1.3;
  letter-spacing: -0.015em;
  font-weight: 620;
}

p {
  margin: 0;
}

.copy > * + * {
  margin-top: 1.1em;
}

.copy > h1 + *,
.copy > h2 + * {
  margin-top: 28px;
}

.copy p {
  max-width: 64ch;
  color: var(--ink-soft);
}

.copy p.lead,
.lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--ink-soft);
  letter-spacing: -0.006em;
  max-width: 58ch;
}

.fine {
  font-size: var(--fs-small);
  line-height: 1.55;
  color: var(--muted) !important;
}

em.gold {
  font-style: normal;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  padding-right: 0.04em;
}

/* ---------- buttons ---------- */

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  color: var(--ink);
  border-color: var(--gold-line);
  background: rgba(226, 188, 98, 0.06);
}

.btn--gold {
  border-color: transparent;
  background: var(--gold-grad);
  background-size: 140% 100%;
  background-position: 0 0;
  color: var(--on-gold);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 1px 0 rgba(0, 0, 0, 0.4),
    0 10px 30px -12px rgba(226, 188, 98, 0.55);
}

.btn--gold:hover {
  color: var(--on-gold);
  border-color: transparent;
  background: var(--gold-grad);
  background-size: 140% 100%;
  background-position: 100% 0;
}

.btn--gold:focus-visible {
  outline-color: var(--gold-hi);
  outline-offset: 4px;
}

.btn--ghost {
  border-color: var(--line-strong);
}

.btn--lg {
  min-height: 56px;
  padding: 0 28px;
  font-size: 1.0625rem;
}

.btn--sm {
  min-height: 40px;
  padding: 0 18px;
  font-size: 0.9375rem;
}

.btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.text-link {
  font-weight: 600;
  text-decoration: none;
}

.text-link::after {
  content: " →";
}

.text-link:hover {
  text-decoration: underline;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 9, 14, 0.82);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
}

.topbar {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
}

.logo {
  display: inline-flex;
  flex: none;
  margin-left: -6px;
}

.logo img {
  width: 130px;
  height: auto;
}

.primary {
  margin-left: auto;
}

.primary ul {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary a {
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.9375rem;
  font-weight: 520;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.primary a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.05);
}

.primary a[aria-current="page"] {
  color: var(--ink);
}

.top-tools {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-switch {
  display: flex;
  padding-left: 18px;
  border-left: 1px solid var(--line-strong);
}

.lang-switch a {
  padding: 6px 7px;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.lang-switch a:hover {
  color: var(--ink);
}

.lang-switch a[aria-current="page"] {
  color: var(--gold-text);
}

.nav-toggle {
  display: none;
}

/* ---------- platform switch (only on pages with iPhone/Android frames) ---------- */

.platform-bar {
  display: flex;
  justify-content: center;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.platform-switch {
  display: inline-flex;
  gap: 4px;
  margin: 0;
  padding: 4px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}

.platform-switch legend {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.platform-option {
  position: relative;
  padding: 6px 16px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}

.platform-option input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.platform-option:has(input:checked) {
  background: var(--gold-grad);
  color: var(--on-gold);
}

.platform-option:has(input:focus-visible) {
  outline: 2px solid var(--gold-hi);
  outline-offset: 2px;
}

.copy-android {
  display: none;
}

.platform-android .copy-android {
  display: revert;
}

.platform-android .copy-iphone {
  display: none;
}

/* ---------- sections ---------- */

.block {
  padding-block: var(--section);
  border-top: 1px solid var(--line);
}

.block.hero {
  border-top: 0;
}

.block-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}

.block-grid.flip > .copy {
  order: 2;
}

.block-grid.many {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.phones {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(16px, 2.5vw, 32px);
}

/* ---------- phone frames ---------- */

.phone {
  margin: 0;
  width: min(100%, 300px);
}

.handset,
.device {
  position: relative;
  padding: 9px;
  border-radius: 54px;
  background: linear-gradient(160deg, #1f232c 0%, #0b0d12 45%, #161a22 100%);
  box-shadow: 0 0 0 1px rgba(226, 188, 98, 0.34), inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 40px 80px -30px rgba(0, 0, 0, 0.9), 0 20px 40px -20px rgba(0, 0, 0, 0.7);
}

.handset img,
.device img {
  width: 100%;
  border-radius: 45px;
  background: var(--bg-card);
}

.device picture {
  display: block;
}

.device--pixel {
  display: none;
  border-radius: 40px;
}

.device--pixel img {
  border-radius: 32px;
}

.platform-android .device--pixel {
  display: block;
}

.platform-android .device--iphone {
  display: none;
}

.phone figcaption {
  margin-top: 16px;
  color: var(--muted);
  font-size: var(--fs-small);
  line-height: 1.45;
  text-align: center;
}

/* ---------- hero ---------- */

.block.hero {
  position: relative;
  padding-block: clamp(40px, 7vw, 104px) clamp(72px, 8vw, 128px);
  overflow: clip;
}

.page-v2 .hero .block-grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  grid-template-areas: "copy phones" "note phones";
  row-gap: 0;
}

.page-v2 .hero .copy {
  grid-area: copy;
  align-self: end;
}

.page-v2 .hero .phones {
  grid-area: phones;
}

.hero-note {
  grid-area: note;
  align-self: start;
}

.page-v2 .hero h1 {
  max-width: 11.5ch;
}

.page-v2 .hero .copy > h1 + .lead {
  margin-top: 32px;
}

.page-v2 .hero .actions {
  margin-top: 40px;
}

.hero-note .fine {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  max-width: 52ch;
}

.hero .phones {
  position: relative;
  isolation: isolate;
}

.hero .phone {
  width: min(100%, 330px);
}

/* ---------- home: section variants ---------- */

.section-head {
  max-width: 760px;
}

/* 1.2 problems: heading left, numbered list right */
.v-problems .copy {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.v-problems .copy > h2 {
  position: sticky;
  top: calc(var(--header-h) + 40px);
}

.v-problems .copy > .points {
  margin-top: 0;
  counter-reset: problem;
}

.v-problems .points li {
  counter-increment: problem;
  padding: 28px 0 28px 64px;
  font-size: 1.125rem;
}

.v-problems .points li:last-child {
  border-bottom: 1px solid var(--line);
}

.v-problems .points li::before {
  content: counter(problem, decimal-leading-zero);
  top: 29px;
  left: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  color: var(--gold-text);
  font-size: 0.9375rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

/* 1.3 intro to the subscriber story; 1.4–1.7 continue it without separators */
.v-intro {
  padding-bottom: clamp(24px, 3vw, 40px);
  text-align: center;
}

.v-intro .copy {
  max-width: 820px;
  margin-inline: auto;
}

.v-intro h2 {
  font-size: clamp(2.375rem, 1.4rem + 3.4vw, 4.25rem);
  letter-spacing: -0.038em;
}

.v-intro .copy p {
  margin-inline: auto;
  font-size: var(--fs-lead);
  max-width: 54ch;
}

.v-intro .copy::after {
  content: "";
  display: block;
  width: 1px;
  height: 56px;
  margin: 36px auto 0;
  background: linear-gradient(180deg, var(--gold), rgba(226, 188, 98, 0));
}

.v-feature {
  border-top: 0;
  padding-block: clamp(24px, 3.2vw, 48px);
}

.v-feature.v-last {
  padding-bottom: var(--section);
}

.v-feature.v-solo {
  border-top: 1px solid var(--line);
  padding-block: var(--section);
}

.v-feature .block-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.v-feature .block-grid.flip {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.v-feature .block-grid.flip > .phones {
  order: 1;
}

/* Phones hang right on the page background (owner's rule): no card, panel, glow or crop; always whole,
   ≥ 620 px tall at 1440 (330 px wide), never overlapping. */
.v-feature .phones,
.v-value .phones,
.v-start .phones {
  align-items: flex-end;
}

.v-feature .phone,
.v-start .phone,
.v-value .phone {
  width: min(100%, 330px);
}

.v-feature .copy h2,
.v-start .copy h2,
.v-value .copy h2 {
  font-size: clamp(2rem, 1.3rem + 2vw, 3rem);
}

/* 1.8 what the operator gets: points in two columns separated by hairlines, then the staff panel in a laptop
   next to the offer on the phone. No cards. */
.v-value .block-grid,
.v-value .block-grid.flip {
  grid-template-columns: minmax(0, 1fr);
}

.v-value .block-grid.flip > .copy {
  order: 0;
}

.v-value .points {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(32px, 5vw, 72px);
  max-width: none;
  margin-top: 40px;
}

.v-value .points li {
  padding: 24px 0 24px 0;
  font-size: 1.0625rem;
}

.v-value .points li::before {
  position: static;
  display: block;
  width: 28px;
  height: 2px;
  margin-bottom: 16px;
  border-radius: 2px;
}

.v-value .phones {
  justify-content: center;
  align-items: flex-end;
  gap: clamp(32px, 4vw, 64px);
}

/* Laptop: the 1280×800 staff panel in a thin dark bezel with a base. */
.laptop {
  margin: 0;
  width: min(100%, 760px);
  flex: 1 1 auto;
}

.laptop__screen {
  padding: 12px 12px 14px;
  border-radius: 18px 18px 6px 6px;
  background: #111419;
  box-shadow: 0 0 0 1px rgba(236, 231, 218, 0.14), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.laptop__screen img {
  width: 100%;
  border-radius: 6px;
  background: var(--bg-card);
}

.laptop::after {
  content: "";
  display: block;
  height: 14px;
  margin: 0 -5%;
  border-radius: 0 0 14px 14px;
  background: linear-gradient(180deg, #2a2e36, #15181d);
  box-shadow: 0 0 0 1px rgba(236, 231, 218, 0.1);
}

/* Stacked (≤ 960 px): the base overhangs the screen by 5 % on each side, so the laptop takes 90 % of the row. */
@media (max-width: 960px) {
  .laptop {
    width: min(90%, 760px);
  }
}

/* Up to 760 px the panel text would be ~5 px: only the phone with the offer stays (owner's rule). */
@media (max-width: 760px) {
  .laptop {
    display: none;
  }
}

.points strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-weight: 620;
}

.v-problems .points strong {
  display: inline;
}

/* 1.9 and 1.14: text on the page background between two hairlines; no panel, no glow. */
.v-band .wrap {
  padding-block: clamp(48px, 6vw, 88px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.v-band .copy {
  max-width: 720px;
  margin-inline: auto;
}

.v-band .copy p {
  margin-inline: auto;
  font-size: var(--fs-lead);
  max-width: 56ch;
}

.v-band .actions {
  justify-content: center;
  margin-top: 40px !important;
}

.v-band .actions .btn {
  min-height: 56px;
  padding: 0 30px;
  font-size: 1.0625rem;
}

.v-band .actions .btn:not(.text-link) {
  border-color: transparent;
  background: var(--gold-grad);
  color: var(--on-gold);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 10px 30px -12px rgba(226, 188, 98, 0.55);
}

.v-band + .v-feature,
.v-final {
  border-top: 0;
}

.v-band + .v-feature.v-solo {
  border-top: 0;
}

.v-final h2 {
  font-size: clamp(2.375rem, 1.4rem + 3.4vw, 4.25rem);
  letter-spacing: -0.038em;
}

/* 1.11 how to start */
.v-start .steps li {
  font-size: 1.125rem;
}

.v-start .steps li:last-child {
  border-bottom: 1px solid var(--line);
}

/* 1.12 data, 1.13 questions: heading left, content right */
.v-split .copy,
.v-questions .copy {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.v-split .copy > h2,
.v-questions .copy > h2 {
  grid-column: 1;
  grid-row: 1 / span 4;
}

.v-split .copy > :not(h2),
.v-questions .copy > :not(h2) {
  grid-column: 2;
}

.v-split .copy > h2 + *,
.v-questions .copy > h2 + * {
  margin-top: 0;
}

.v-questions .copy > h2 {
  position: sticky;
  top: calc(var(--header-h) + 40px);
}

/* ---------- accordion ---------- */

.accordion {
  border-bottom: 1px solid var(--line);
}

.accordion details {
  border-top: 1px solid var(--line);
}

.accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary h3 {
  font-size: 1.1875rem;
  font-weight: 580;
  letter-spacing: -0.01em;
}

.accordion summary::after {
  content: "";
  flex: none;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background:
    linear-gradient(var(--gold-text), var(--gold-text)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--gold-text), var(--gold-text)) center / 1.5px 12px no-repeat;
  transition: transform 0.25s ease, border-color 0.2s ease;
}

.accordion details[open] summary::after {
  transform: rotate(45deg);
  border-color: var(--gold-line);
}

.accordion summary:hover h3 {
  color: var(--gold-hi);
}

.accordion details p {
  max-width: 64ch;
  padding: 0 56px 28px 0;
  color: var(--ink-soft);
}

/* ---------- lists ---------- */

.points {
  display: grid;
  gap: 0;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  max-width: 68ch;
}

.points li {
  position: relative;
  padding: 18px 0 18px 28px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}

.points li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 1.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-grad);
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 0;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  max-width: 68ch;
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  color: var(--gold-text);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.faq {
  display: grid;
  gap: 0;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  max-width: 76ch;
}

.faq li {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.faq li h3 {
  font-size: 1.1875rem;
}

.faq li p {
  margin-top: 10px;
  color: var(--ink-soft);
}

.soon {
  display: inline-block;
  vertical-align: middle;
  margin-left: 10px;
  padding: 3px 10px;
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  color: var(--gold-text);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}


/* ---------- inner pages ---------- */

.page-head {
  padding-block: clamp(56px, 8vw, 120px) clamp(48px, 6vw, 88px);
  border-bottom: 1px solid var(--line);
}

.page-head-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 32px 64px;
}

.page-head h1,
.faq-head h1 {
  font-size: clamp(2.75rem, 1.6rem + 3.6vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -0.038em;
}

.page-head .copy > h1 + .lead {
  margin-top: 28px;
}

.page-head .copy p:not(.lead) {
  max-width: 70ch;
}

.page-head-aside {
  padding-bottom: 6px;
}

.page-head-aside .platform-bar {
  padding: 0;
  border: 0;
}

.eyebrow {
  color: var(--gold-text);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

/* /contacto */
.contact {
  display: flex;
  align-items: center;
  min-height: calc(100svh - var(--header-h) - 1px);
  padding-block: clamp(56px, 8vw, 128px);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: "copy card" "legal card";
  gap: 0 clamp(40px, 7vw, 112px);
  align-items: center;
}

.contact-copy {
  grid-area: copy;
  align-self: end;
}

.contact-copy h2 {
  font-size: clamp(2.75rem, 1.4rem + 4.4vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.contact-copy .eyebrow + h2 {
  margin-top: 20px;
}

.contact-legal {
  grid-area: legal;
  align-self: start;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.mail-card {
  grid-area: card;
  padding-block: clamp(28px, 3vw, 40px);
  border-top: 1px solid var(--gold-line);
  border-bottom: 1px solid var(--line);
}

.mail-card > p {
  color: var(--ink-soft);
}

.mail-card > * + * {
  margin-top: 24px;
}

.mail-address {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1.625rem, 1.1rem + 1.6vw, 2.375rem);
  font-weight: 620;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.mail-address a {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.mail-address a:hover {
  text-decoration: underline;
  text-decoration-color: var(--gold);
}

.mail-card .actions {
  margin-top: 36px;
}

/* /faq */
.faq-page {
  min-height: calc(100svh - var(--header-h) - 1px);
  padding-block: clamp(56px, 8vw, 120px) var(--section);
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px clamp(40px, 6vw, 96px);
  align-items: start;
}

.faq-head {
  position: sticky;
  top: calc(var(--header-h) + 48px);
}

.faq-head .lead {
  margin-top: 28px;
}

.faq-head .actions {
  margin-top: 36px;
}

/* /aviso-legal */
.legal {
  border-top: 0;
  padding-top: clamp(48px, 6vw, 80px);
}


.legal-opening {
  max-width: 64ch;
  font-size: var(--fs-lead);
  color: var(--ink);
}

.facts {
  max-width: 880px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--line);
}

.facts li {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 8px 32px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}

.fact-label {
  color: var(--muted);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.02em;
  padding-top: 2px;
}

.facts li.fact-wide {
  grid-template-columns: minmax(0, 1fr);
}

/* /privacidad: blocks with iPhone/Android frames, then the site policy as long text */
.page-privacy .block-grid.single {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.page-privacy .block-grid.many {
  grid-template-columns: minmax(0, 1fr);
  gap: 56px;
}

.page-privacy .block-grid.many > .copy {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: clamp(40px, 6vw, 96px);
}

.page-privacy .block-grid.many > .copy > h2 {
  grid-row: 1 / span 4;
}

.page-privacy .block-grid.many > .copy > :not(h2) {
  grid-column: 2;
}

.page-privacy .block-grid.many > .copy > h2 + * {
  margin-top: 0;
}

.page-privacy .copy h2 {
  font-size: clamp(2rem, 1.3rem + 2vw, 3rem);
}

.page-privacy .phones {
  flex-wrap: wrap;
  gap: 40px 32px;
}

.page-privacy .phone {
  width: 250px;
}

.page-privacy .block-grid.single .phone {
  width: min(100%, 290px);
}

.page-privacy .phone figcaption {
  max-width: 250px;
  margin-inline: auto;
  text-align: left;
}

#politika .copy {
  max-width: 760px;
}

#politika .copy p {
  max-width: 70ch;
}

#politika .copy p + p {
  margin-top: 1.25em;
}

/* ---------- footer ---------- */

.site-footer {
  padding-block: 64px 56px;
  border-top: 1px solid var(--line);
  background: var(--bg);
  color: var(--muted);
  font-size: var(--fs-small);
}

.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 32px 48px;
}

.footer-logo {
  display: inline-flex;
  margin-left: -6px;
}

.footer-logo img {
  width: 120px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 28px;
}

.footer-links a {
  color: var(--ink-soft);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--gold-hi);
}

.footer-legal {
  grid-column: 1 / -1;
  /* the line spans the container; the text keeps a readable measure */
  padding-right: calc(100% - 88ch);
  padding-top: 28px;
  border-top: 1px solid var(--line);
  line-height: 1.6;
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-links {
    justify-content: flex-start;
  }
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .primary a {
    padding: 8px 10px;
  }
}

@media (max-width: 960px) {
  :root {
    --header-h: 64px;
  }

  .topbar {
    gap: 12px;
  }

  .logo img {
    width: 112px;
  }

  .top-tools {
    margin-left: auto;
    gap: 8px;
  }

  .lang-switch {
    padding-left: 0;
    border-left: 0;
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
  }

  .nav-toggle-bars {
    position: relative;
    width: 14px;
    height: 10px;
    border-top: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bars {
    border-color: var(--gold-text);
  }

  .primary {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin: 0;
    padding: 8px var(--gutter) 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }

  .js .primary.is-open,
  html:not(.js) .primary {
    display: block;
  }

  html:not(.js) .primary {
    position: static;
    padding: 0 0 12px;
    border: 0;
    order: 3;
    width: 100%;
  }

  html:not(.js) .topbar {
    flex-wrap: wrap;
  }

  .primary ul {
    flex-direction: column;
    gap: 0;
  }

  .primary a {
    padding: 16px 0;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.125rem;
    color: var(--ink);
  }

  .primary a:hover {
    background: transparent;
    color: var(--gold-hi);
  }

  .block-grid,
  .block-grid.many,
  .page-v2 .hero .block-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .block-grid.flip > .copy {
    order: 0;
  }

  .page-v2 .hero .block-grid {
    grid-template-areas: "copy" "phones" "note";
    row-gap: 48px;
  }

  .hero-note .fine {
    margin-top: 0;
  }

  .block-grid.flip > .phones,
  .v-feature .block-grid.flip > .phones {
    order: 0;
  }

  .v-feature .block-grid,
  .v-feature .block-grid.flip,
  .v-value .block-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .v-problems .copy,
  .v-split .copy,
  .v-questions .copy {
    display: block;
  }

  .v-problems .copy > h2,
  .v-questions .copy > h2 {
    position: static;
  }

  .v-problems .copy > .points,
  .v-split .copy > h2 + *,
  .v-questions .copy > h2 + * {
    margin-top: 32px;
  }

  .v-value .phones {
    flex-direction: column;
    align-items: center;
  }

  .page-head-grid,
  .contact-grid,
  .faq-grid,
  .page-privacy .block-grid.single,
  .page-privacy .block-grid.many > .copy {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-grid {
    grid-template-areas: "copy" "card" "legal";
    gap: 40px;
  }

  .contact-legal {
    margin-top: 0;
  }

  .faq-head {
    position: static;
  }

  .page-privacy .block-grid.many > .copy > :not(h2) {
    grid-column: 1;
  }

  .page-privacy .block-grid.many > .copy > h2 + * {
    margin-top: 28px;
  }
}

@media (max-width: 560px) {
  .page-v2 .hero h1 {
    font-size: clamp(2.5rem, 11.4vw, 3rem);
    letter-spacing: -0.04em;
  }

  .page-v2 .hero .actions {
    margin-top: 32px;
  }

  .page-v2 .hero .actions .btn {
    flex: 1 1 100%;
  }

  .block.hero {
    padding-top: 32px;
  }

  .page-v2 .hero .copy > h1 + .lead {
    margin-top: 20px;
    font-size: 1.0625rem;
    line-height: 1.6;
  }

  .page-v2 .hero .actions {
    margin-top: 28px;
    gap: 10px;
  }

  .page-v2 .hero .block-grid {
    row-gap: 40px;
  }

  .hero .phone,
  .v-feature .phone,
  .v-start .phone,
  .v-value .phone {
    width: min(78%, 290px);
  }

  .v-value .points {
    grid-template-columns: minmax(0, 1fr);
  }


  .v-problems .points li {
    padding-left: 48px;
    font-size: 1.0625rem;
  }


  .v-band .actions .btn {
    flex: 1 1 100%;
    white-space: normal;
  }

  .accordion details p {
    padding-right: 0;
  }

  .facts li {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-privacy .phones {
    gap: 32px 16px;
  }

  .page-privacy .phone,
  .page-privacy .block-grid.single .phone {
    width: min(100%, 280px);
  }

  .page-privacy .block-grid.many .phone {
    width: calc(50% - 8px);
  }

  .page-privacy .phone figcaption {
    font-size: 0.875rem;
  }

  .faq-head .actions .btn {
    flex: 1 1 100%;
  }

  .handset,
  .device {
    padding: 7px;
    border-radius: 46px;
  }

  .handset img,
  .device img {
    border-radius: 39px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

/* English headline is twice as long: a step smaller so it stays at three lines. */
@media (min-width: 961px) {
  html[lang="en"] .page-v2 .hero h1 {
    max-width: none;
    font-size: clamp(3rem, 0.6rem + 4.1vw, 4.375rem);
  }
}

/* ---------- 404 (one page for every path, es and en side by side) ---------- */

.not-found {
  display: flex;
  align-items: center;
  min-height: calc(100svh - var(--header-h) - 1px);
  padding-block: clamp(56px, 8vw, 120px);
}

.nf-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px clamp(40px, 7vw, 112px);
}

.nf-col + .nf-col {
  padding-left: clamp(40px, 7vw, 112px);
  border-left: 1px solid var(--line);
}

.nf-col h2 {
  margin-top: 16px;
  font-size: clamp(2.25rem, 1.4rem + 2.6vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: -0.036em;
}

.nf-col .lead {
  margin-top: 20px;
}

.nf-col .actions {
  margin-top: 32px;
}

@media (max-width: 760px) {
  .nf-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .nf-col + .nf-col {
    padding: 40px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}
