/* ==========================================================================
   WebPlan.ro — design system: "The Price Tag"
   Big Shoulders Display (numerals, headlines) · Inter (body/UI)
   A rate-board register: solid color fields instead of shadowed cards,
   one reserved accent (rust) for money and action, sharp edges throughout.
   ========================================================================== */

:root {
  color-scheme: dark;
  --ink: #f2efe9;
  --ink-dim: #c4c0b6;
  --ink-faint: #8d8880;
  --paper: #131211;
  --stone: #201e1b;
  --stone-line: rgba(245, 242, 235, 0.14);

  --board: #5cc9a7;
  --board-deep: #0e4a40;
  --board-tint: #16231f;

  --price: #c2410c;
  --price-deep: #9c3409;
  --price-tint: #fbe9df;

  --err: #f87171;
  --err-soft: #3a1a19;

  --font-d: "Big Shoulders Display", system-ui, sans-serif;
  --font-b: "Inter", system-ui, sans-serif;

  --header-h: 68px;
  --r: 3px;
  --shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }

body {
  font-family: var(--font-b);
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
body > main { flex: 1 0 auto; }
body > .footer { flex-shrink: 0; }

::selection { background: var(--price); color: #fff; }

.skip-link {
  position: fixed; top: -100px; left: 16px; z-index: 999;
  background: var(--ink); color: var(--paper);
  font-family: var(--font-d); font-weight: 700; font-size: 1rem;
  padding: 12px 20px; border-radius: var(--r);
  text-decoration: none !important;
  transition: top 0.2s ease;
}
.skip-link:focus-visible { top: 16px; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

img, svg { max-width: 100%; }

h1, h2, h3 { font-family: var(--font-d); font-weight: 700; line-height: 0.98; letter-spacing: -0.01em; }
h1, h2 { text-wrap: balance; }

h2 { font-size: clamp(2rem, 5vw, 3.1rem); }
h3 { font-size: 1.3rem; font-weight: 600; }

a { color: var(--price); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.container--slim { max-width: 760px; }

.only-d { display: none; }

/* Scroll progress */
.progress {
  position: fixed; top: 0; left: 0; z-index: 300;
  height: 3px; width: 0;
  background: var(--price);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-d); font-weight: 700; letter-spacing: 0.01em;
  border: 2px solid transparent; border-radius: var(--r);
  cursor: pointer; text-decoration: none !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  touch-action: manipulation;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn:active { transform: translateY(1px); }

.btn--sm { padding: 9px 18px; font-size: 0.95rem; }
.btn--xl { padding: 15px 26px; font-size: 1.12rem; }
.btn--block { width: 100%; }

.btn--cta { background: var(--price); color: #fff; }
.btn--cta:hover { background: var(--price-deep); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }

.btn--invert { background: #fff; color: var(--board-deep); }
.btn--invert:hover { background: var(--price-tint); color: var(--price-deep); }

.btn--board { background: var(--board-tint); color: #fff; }
.btn--board:hover { background: var(--board); color: var(--board-deep); }

/* ==========================================================================
   Header
   ========================================================================== */

.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: var(--paper);
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease;
}
.header.is-scrolled { border-bottom-color: var(--ink); }

.header__pill {
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 22px;
  height: var(--header-h);
}

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none !important; }
.logo__mark { width: 30px; height: 30px; flex-shrink: 0; }
.logo__text { font-family: var(--font-d); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.01em; color: var(--ink); }
.logo__text i { font-style: normal; color: var(--price); }
.header .logo__text { font-size: 2rem; }

/* Mobile nav drawer */
.nav {
  position: fixed; top: 76px; left: 16px; right: 16px; z-index: 190;
  display: flex; flex-direction: column;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--r);
  padding: 8px;
  gap: 2px;
  transform: translateY(-10px);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: 0.2s ease;
  box-shadow: var(--shadow);
}
.nav.is-open { transform: none; opacity: 1; visibility: visible; pointer-events: auto; }

.nav__link {
  font-family: var(--font-d);
  color: var(--ink); font-size: 1.1rem; font-weight: 700;
  padding: 13px 14px; border-radius: var(--r);
  text-decoration: none !important;
}
.nav__link:hover { background: var(--stone); color: var(--price); }
.nav__foot { padding: 8px 4px 2px; display: flex; flex-direction: column; gap: 10px; }
.nav__foot .btn { width: 100%; padding: 14px; }

.header__right { display: flex; align-items: center; gap: 10px; }
.header__cta { display: none; }

.header__login { display: none; }

.account-menu { position: relative; }
.account-menu__chevron { width: 16px !important; height: 16px !important; margin-left: -2px; transition: transform 0.15s ease; }
.account-menu__panel {
  position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 190px;
  display: flex; flex-direction: column; gap: 2px;
  background: var(--paper); border: 2px solid var(--ink);
  padding: 6px;
  z-index: 20;
}
.account-menu__panel::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.account-menu__item {
  display: block; width: 100%; text-align: left;
  font-family: var(--font-b); font-size: 0.95rem; font-weight: 600;
  color: var(--ink); background: none; border: none;
  padding: 10px 12px; border-radius: var(--r);
  cursor: pointer; text-decoration: none !important;
}
.account-menu__item:hover { background: var(--stone); }
.account-menu__item--logout { color: var(--price); }
.account-menu__item--logout:hover { background: var(--price-tint); color: var(--price-deep); }

.lang { display: flex; gap: 6px; margin-right: 10px; }
.lang__item {
  font-family: var(--font-d); font-size: 1rem; font-weight: 700;
  color: var(--ink-faint); text-decoration: none !important;
  padding: 4px 2px;
  border-bottom: 2px solid transparent;
  position: relative;
  min-width: 24px; text-align: center;
}
.lang__item::after { content: ""; position: absolute; inset: -10px -3px; }
.lang__item.is-active { color: var(--ink); border-bottom-color: var(--price); }
.lang__item:hover:not(.is-active) { color: var(--ink); }

.burger {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: transparent; border: 2px solid var(--ink); border-radius: var(--r);
  cursor: pointer;
}
.burger span { display: block; width: 17px; height: 2px; background: var(--ink); transition: 0.2s ease; margin: 2.5px 0; }
.burger.is-open span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger.is-open span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  padding: calc(var(--header-h) + 44px) 0 64px;
  background: var(--paper);
}

.hero__inner { display: flex; flex-direction: column; gap: 40px; }

.chip {
  display: inline-flex; align-items: center; gap: 9px; align-self: flex-start;
  font-family: var(--font-d); font-size: 1rem; font-weight: 700;
  color: var(--price-deep);
  background: var(--price-tint);
  border-radius: var(--r);
  padding: 7px 14px;
  margin-bottom: 22px;
}
.chip__bolt { width: 15px; height: 15px; color: var(--price-deep); }

.hero__title {
  font-size: clamp(2.6rem, 7.4vw, 4.4rem);
  color: var(--ink);
  margin-bottom: 20px;
}
html[lang="en"] .hero__title { font-size: clamp(2.3rem, 6.6vw, 3.9rem); }

.hero__sub { font-size: 1.15rem; color: var(--ink-dim); max-width: 520px; margin-bottom: 28px; }
.hero__sub strong { color: var(--ink); font-weight: 600; }

.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }

/* --- Hero stage: the price tag --- */
.hero__stage { display: flex; }

.tag {
  position: relative;
  width: 100%; max-width: 400px;
  background: var(--price);
  color: #fff;
  padding: 34px 30px;
  border-radius: var(--r);
}
.tag__eyebrow { font-family: var(--font-b); font-size: 0.95rem; font-weight: 700; color: var(--paper); opacity: 1; margin-bottom: 6px; }
.tag__num {
  display: flex; align-items: flex-end; gap: 10px;
  font-family: var(--font-d); font-weight: 800;
  font-size: clamp(4.2rem, 12vw, 6.4rem);
  line-height: 0.82; letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.tag__num span { font-family: var(--font-b); font-size: 1.25rem; font-weight: 600; letter-spacing: 0.05em; padding-bottom: 0.6em; opacity: 0.9; }
.tag__rule { height: 2px; background: rgba(255,255,255,0.35); margin: 22px 0 18px; }
.tag__list { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.tag__list li { display: flex; align-items: center; gap: 9px; font-size: 0.95rem; }
.tag__list svg { width: 15px; height: 15px; flex-shrink: 0; }

/* ==========================================================================
   Sections & headers
   ========================================================================== */

.section { position: relative; padding: 84px 0; }

.shead { max-width: 640px; margin: 0 0 44px; }
.shead__sub { margin-top: 12px; color: var(--ink-dim); font-size: 1.05rem; }
.shead--center { margin-left: auto; margin-right: auto; text-align: center; }

/* ==========================================================================
   Consolidate — five scattered vendors become one
   ========================================================================== */

.compare { background: var(--stone); }

.consolidate { display: flex; flex-direction: column; align-items: center; gap: 20px; }

.consolidate__group { width: 100%; }

.consolidate__tiles { display: flex; flex-wrap: wrap; }

.consolidate__tile {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  flex: 1 1 33%; min-width: 92px;
  padding: 18px 10px;
  text-align: center;
  border-bottom: 1px solid var(--stone-line);
  opacity: 0.72;
}
.consolidate__tile svg { width: 22px; height: 22px; color: var(--ink-faint); }
.consolidate__tile span { font-family: var(--font-b); font-weight: 600; font-size: 0.9rem; color: var(--ink-dim); }

.consolidate__arrow { display: flex; align-items: center; justify-content: center; color: var(--ink-faint); }
.consolidate__arrow svg { width: 26px; height: 26px; transform: rotate(90deg); }

.consolidate__one {
  background: var(--ink);
  color: var(--paper);
  padding: 30px 28px;
}
.consolidate__one-head { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.consolidate__one-head .logo__mark { width: 26px; height: 26px; }
.consolidate__one-name { font-family: var(--font-d); font-weight: 700; font-size: 1.3rem; color: var(--paper); }
.consolidate__one-items { font-size: 0.96rem; color: var(--paper); opacity: 0.85; font-weight: 600; margin-bottom: 10px; }
.consolidate__one-sub { font-size: 0.96rem; color: var(--paper); opacity: 0.8; }

@media (min-width: 560px) {
  .consolidate__tile { flex: 1; border-bottom: none; border-right: 1px solid var(--stone-line); }
  .consolidate__tile:last-child { border-right: none; }
}

/* ==========================================================================
   Included — a mosaic grid of framed cards
   ========================================================================== */

.bento {
  display: grid; grid-template-columns: 1fr; gap: 2px;
  background: var(--stone-line);
  border: 1px solid var(--stone-line);
}

.bcard {
  display: flex; flex-direction: column; gap: 16px;
  padding: 30px 26px;
  background: var(--paper);
}

.bcard__icon { width: 46px; height: 46px; display: grid; place-items: center; background: var(--stone); }
.bcard__icon svg { width: 24px; height: 24px; color: var(--price); }

.bcard h3 { margin-bottom: 4px; }
.bcard p { font-size: 0.95rem; color: var(--ink-dim); }

.bcard--cta {
  flex-direction: row; align-items: center; justify-content: center; gap: 10px;
  background: var(--price); color: #fff;
  font-family: var(--font-d); font-weight: 700; font-size: 1.15rem;
  text-decoration: none !important;
  min-height: 120px;
  transition: background 0.15s ease;
}
.bcard--cta:hover { background: var(--price-deep); }
.bcard--cta svg { width: 20px; height: 20px; flex-shrink: 0; }

.bento__note { margin-top: 14px; font-size: 0.65rem; color: var(--ink-dim); }
.bento__note p + p { margin-top: 4px; }

/* ==========================================================================
   Pledge (guarantee)
   ========================================================================== */

.pledge { padding: 20px 0; }

.pledge__card {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start; gap: 22px;
  background: var(--board-tint);
  padding: 40px 30px;
}

.pledge__bolt {
  font-family: var(--font-d); font-weight: 700; color: var(--price);
  font-size: 4.5rem; line-height: 0.8;
}
.pledge__bolt span { display: block; font-family: var(--font-b); font-size: 0.9rem; font-weight: 600; color: var(--price); margin-top: 6px; }
.pledge__txt h2 { margin-bottom: 10px; color: #fff; }
.pledge__txt p { color: rgba(255,255,255,0.82); max-width: 56ch; font-size: 1.02rem; }
.pledge__txt strong { color: var(--price-tint); font-weight: 700; }

/* ==========================================================================
   Steps — a genuine sequence, numbers stay
   ========================================================================== */

.steps { list-style: none; display: grid; gap: 30px; counter-reset: s; }

.stepx { position: relative; padding-top: 20px; border-top: 2px solid var(--ink); }

.stepx__no {
  display: block;
  font-family: var(--font-d); font-weight: 700;
  font-size: 2.8rem; line-height: 1; letter-spacing: -0.02em;
  color: var(--price);
  margin-bottom: 14px;
  font-variant-numeric: tabular-nums;
}
.stepx h3 { margin-bottom: 8px; }
.stepx p { font-size: 0.94rem; color: var(--ink-dim); }

/* ==========================================================================
   Pricing
   ========================================================================== */

.pricing { display: grid; gap: 3px; max-width: 940px; margin: 0 auto; }

.pricing__multi {
  max-width: 940px; margin: 28px auto 0; padding-top: 24px;
  border-top: 1px solid var(--stone-line);
  text-align: center; font-size: 0.95rem; opacity: 0.8;
}
.pricing__multi a { font-weight: 600; white-space: nowrap; }

.plan-wrap { position: relative; }

/* ==========================================================================
   Choice (cont / fără cont)
   ========================================================================== */

.choice { display: grid; gap: 3px; max-width: 860px; margin: 0 auto; text-align: left; }

.choice__card { position: relative; padding: 36px 30px; display: flex; flex-direction: column; background: var(--stone); }
.choice__card--primary { background: var(--ink); color: var(--paper); }

.choice__flag {
  display: inline-block; align-self: flex-start;
  font-family: var(--font-d); font-size: 0.88rem; font-weight: 700;
  color: #fff; background: var(--price);
  padding: 5px 12px; border-radius: var(--r);
  margin-bottom: 18px;
}

.choice__title { font-size: 1.5rem; margin-bottom: 10px; }
.choice__note { font-size: 0.95rem; opacity: 0.75; margin-bottom: 20px; }

.choice__list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; flex: 1; }
.choice__list li { position: relative; padding-left: 26px; font-size: 0.95rem; }
.choice__list li::before {
  content: ""; position: absolute; left: 0; top: 0.35em; width: 14px; height: 14px;
  border-radius: 50%; background: var(--price);
}

.choice__mini { margin-top: 16px; text-align: center; font-size: 0.86rem; opacity: 0.75; }

.plan { position: relative; padding: 36px 30px; display: flex; flex-direction: column; }

.plan--main { background: var(--ink); color: var(--paper); }

.plan__flag {
  display: inline-block; align-self: flex-start;
  font-family: var(--font-d); font-size: 0.88rem; font-weight: 700;
  color: #fff;
  background: var(--price);
  padding: 5px 12px; border-radius: var(--r);
  margin-bottom: 18px;
}

.plan__name { font-family: var(--font-d); font-weight: 700; font-size: 1.3rem; margin-bottom: 10px; }
.plan--main .plan__name { color: var(--paper); }

.plan__price { display: flex; align-items: baseline; gap: 10px; }
.plan__price i { font-style: normal; font-size: 1rem; opacity: 0.65; }
.plan__price b {
  font-family: var(--font-d); font-weight: 700;
  font-size: clamp(3.6rem, 8vw, 4.6rem);
  line-height: 0.85; letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--price);
}
.plan__price span { font-size: 0.95rem; line-height: 1.2; opacity: 0.75; font-weight: 500; }

.plan__price--custom {
  font-family: var(--font-d); font-weight: 700;
  font-size: clamp(1.3rem, 2.6vw, 1.6rem);
  line-height: 1.25; color: var(--price);
}

.plan__note { font-size: 0.92rem; opacity: 0.7; margin: 14px 0 22px; }

.plan__list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; flex: 1; }
.plan__list li { position: relative; padding-left: 26px; font-size: 0.98rem; }
.plan__list li::before {
  content: "";
  position: absolute; left: 0; top: 0.32em;
  width: 14px; height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' stroke='%23c2410c' stroke-width='3.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.plan--main .plan__list li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' stroke='%23131211' stroke-width='3.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.plan__pledge {
  display: flex; align-items: center; gap: 8px;
  margin-top: 16px;
  font-family: var(--font-b); font-size: 0.88rem; font-weight: 600;
}
.plan--main .plan__pledge { color: var(--paper); opacity: 0.85; }
.plan__pledge svg { width: 14px; height: 14px; }

.plan--alt { background: var(--stone); color: var(--ink); }
.plan--alt .plan__price b { color: var(--ink); }
.plan--alt .plan__price--custom { color: var(--ink); }
.plan--alt .plan__name { color: var(--ink); }
.plan--alt .plan__pledge { color: var(--ink-dim); }

/* ==========================================================================
   Partner (ITP)
   ========================================================================== */

.partner { padding: 30px 0 84px; }

.partner__card { position: relative; background: var(--stone); padding: 38px 28px; }

.partner__flag {
  display: inline-block;
  font-family: var(--font-b); font-size: 0.88rem; font-weight: 600;
  color: var(--price);
  padding: 6px 14px;
  border: 1.5px solid var(--price);
  border-radius: var(--r);
  margin-bottom: 26px;
}
.partner__flag b { font-weight: 700; }

.partner__grid { display: flex; flex-direction: column; gap: 32px; }

.partner__txt h2 { margin-bottom: 14px; font-size: clamp(1.7rem, 4.4vw, 2.5rem); }
.partner__txt > p { color: var(--ink-dim); margin-bottom: 18px; max-width: 56ch; }
.partner__txt > p a, .form__privacy a, .footer__brand p a { text-decoration: underline; text-underline-offset: 3px; }

.ticks { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.ticks li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.98rem; }
.ticks svg { width: 17px; height: 17px; color: var(--price); flex-shrink: 0; margin-top: 0.2em; }

.partner__offer {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  padding: 34px 30px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.partner__offer-badge {
  display: inline-block;
  font-family: var(--font-d); font-size: 0.86rem; font-weight: 700;
  color: #fff;
  background: var(--price);
  padding: 5px 12px; border-radius: var(--r);
  margin-bottom: 10px;
}
.partner__offer-name {
  font-family: var(--font-b); font-weight: 700; font-size: 0.86rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--paper); opacity: 0.6;
}
.partner__offer-price { display: flex; align-items: baseline; gap: 8px; margin: 6px 0 4px; }
.partner__offer-price b {
  font-family: var(--font-d); font-weight: 700;
  font-size: clamp(3.4rem, 7vw, 4.2rem); line-height: 1; letter-spacing: -0.02em;
  color: var(--price);
  font-variant-numeric: tabular-nums;
}
.partner__offer-price span { font-family: var(--font-b); font-weight: 600; font-size: 1rem; color: var(--paper); opacity: 0.65; }
.partner__offer-note { font-size: 0.86rem; opacity: 0.65; margin-bottom: 18px; }
.partner__offer .btn { margin-top: 4px; }
.partner__offer-pledge {
  display: flex; align-items: center; gap: 7px;
  margin-top: 14px;
  font-family: var(--font-b); font-size: 0.84rem; font-weight: 600;
  opacity: 0.7;
}
.partner__offer-pledge svg { width: 14px; height: 14px; color: var(--price); flex-shrink: 0; }

.partner__carousel { position: relative; }

.partner__nav { display: flex; justify-content: center; gap: 12px; margin-top: 28px; }
.partner__nav-btn {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  background: none; border: 1.5px solid var(--ink); border-radius: var(--r);
  color: var(--ink); cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.partner__nav-btn:hover { background: var(--ink); color: var(--paper); }
.partner__nav-btn svg { width: 18px; height: 18px; }

/* ==========================================================================
   Portfolio teaser
   ========================================================================== */

.port-teaser__grid { display: grid; grid-template-columns: 1fr; gap: 2px; background: var(--ink); border-top: 2px solid var(--ink); }
.port-teaser__card { background: var(--paper); padding: 24px 22px; }
.port-teaser__example {
  display: inline-block;
  font-family: var(--font-b); font-size: 0.78rem; font-weight: 600;
  color: var(--price-deep); background: var(--price-tint);
  padding: 3px 9px;
  margin-bottom: 12px;
}
.port-teaser__cat { font-family: var(--font-b); font-size: 0.82rem; font-weight: 600; color: var(--ink-faint); margin-bottom: 6px; }
.port-teaser__name { font-family: var(--font-d); font-weight: 700; font-size: 1.15rem; color: var(--ink); }

@media (min-width: 720px) {
  .port-teaser__grid { grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================================
   Accordion
   ========================================================================== */

.acc { display: flex; flex-direction: column; border-top: 2px solid var(--ink); }

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

.acc__btn {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  background: none; border: none; cursor: pointer;
  text-align: left;
  font-family: var(--font-d); font-weight: 700; font-size: 1.15rem;
  color: var(--ink);
  padding: 22px 2px;
}
.acc__btn:hover { color: var(--price); }
.acc__btn[aria-expanded="true"] { color: var(--price); }

.acc__ico { position: relative; width: 22px; height: 22px; flex-shrink: 0; }
.acc__ico::before, .acc__ico::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.acc__ico::before { width: 16px; height: 2.5px; }
.acc__ico::after { width: 2.5px; height: 16px; transition: opacity 0.2s ease; }
.acc__btn[aria-expanded="true"] .acc__ico::after { opacity: 0; }

.acc__panel {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.acc__btn[aria-expanded="true"] + .acc__panel { grid-template-rows: 1fr; }
.acc__panel p {
  overflow: hidden; min-height: 0;
  padding: 0 40px 0 2px;
  color: var(--ink-dim); font-size: 0.98rem; max-width: 68ch;
  transition: padding 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.acc__btn[aria-expanded="true"] + .acc__panel p { padding: 2px 40px 22px 2px; }

/* ==========================================================================
   Contact
   ========================================================================== */

.contact { overflow: hidden; background: var(--stone); }
.contact__grid { display: grid; gap: 40px; }

.contact__info h2 { margin-bottom: 16px; }
.contact__sub { color: var(--ink-dim); margin-bottom: 26px; max-width: 46ch; }

.contact__ways { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-bottom: 26px; }
.contact__ways li { display: flex; align-items: center; gap: 12px; }
.way__ico { width: 20px; height: 20px; flex-shrink: 0; display: grid; place-items: center; color: var(--board); }
.way__ico svg { width: 19px; height: 19px; }
.contact__ways a { font-family: var(--font-b); font-weight: 600; color: var(--ink); }
.contact__ways a:hover { color: var(--price); }

.contact__mini { display: flex; align-items: flex-start; gap: 8px; font-size: 0.86rem; color: var(--ink-faint); max-width: 44ch; }
.contact__mini svg { width: 14px; height: 14px; color: var(--price); flex-shrink: 0; margin-top: 0.18em; }

.contact__brief {
  margin-top: 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  background: var(--ink); color: var(--paper);
  padding: 18px 20px;
  border-radius: var(--r);
}
.contact__brief p { flex: 1; min-width: 0; font-size: 0.94rem; font-weight: 600; }
.contact__brief .btn { flex-shrink: 0; }

.form {
  background: var(--paper);
  border: 2px solid var(--ink);
  padding: 26px 24px;
  display: flex; flex-direction: column; gap: 18px;
}

.form__row { display: grid; gap: 18px; }
.fgroup { display: flex; flex-direction: column; gap: 7px; }
.fgroup label { font-family: var(--font-b); font-size: 0.85rem; font-weight: 600; color: var(--ink-dim); }

.form input, .form select, .form textarea {
  font-family: var(--font-b); font-size: 0.98rem; color: var(--ink);
  padding: 12px 14px;
  background: var(--paper);
  border: 1.5px solid var(--stone-line);
  border-radius: var(--r);
  outline: none; width: 100%;
  transition: border-color 0.15s ease;
}
.form input::placeholder, .form textarea::placeholder { color: var(--ink-faint); }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible {
  border-color: var(--price);
  outline: 2px solid var(--price);
  outline-offset: 1px;
}
.form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' stroke='%23c4c0b6' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px;
}
.form select option { background: var(--paper); color: var(--ink); }
.form textarea { resize: vertical; min-height: 104px; }
.form input.is-invalid, .form select.is-invalid, .form textarea.is-invalid { border-color: var(--err); background: var(--err-soft); }
.fgroup__err { color: var(--err); font-size: 0.84rem; }

.hp { position: absolute !important; left: -9999px !important; width: 0; height: 0; opacity: 0; }

.form__status { font-family: var(--font-b); font-size: 0.92rem; font-weight: 600; }
.form__status.is-ok { color: var(--board); }
.form__status.is-err { color: var(--err); }
.form__privacy { font-size: 0.78rem; color: var(--ink-faint); }

/* ==========================================================================
   Footer
   ========================================================================== */

.footer { position: relative; border-top: 2px solid var(--ink); padding: 56px 0 96px; overflow: hidden; background: var(--paper); }

.footer__word {
  position: absolute; left: 50%; transform: translateX(-50%);
  font-size: clamp(6rem, 22vw, 19rem);
  width: 5.5em;
  height: auto;
  bottom: -0.34em;
  user-select: none; pointer-events: none;
}
.footer__word text {
  font-family: var(--font-d); font-weight: 700;
  font-size: 168px;
  letter-spacing: -0.01em;
  fill: none;
  stroke: var(--stone-line);
  stroke-width: 1.4;
}

.footer__inner { position: relative; display: flex; flex-direction: column; gap: 30px; }
.footer__brand p { margin-top: 12px; font-size: 0.94rem; color: var(--ink-faint); line-height: 1.7; }
.footer__brand a { color: var(--ink-dim); }

.footer__nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.footer__nav a { font-family: var(--font-b); font-size: 0.94rem; font-weight: 600; color: var(--ink-dim); text-decoration: none !important; }
.footer__nav a:hover { color: var(--price); }

.footer__meta { display: flex; flex-direction: column; gap: 4px; font-size: 0.82rem; color: var(--ink-faint); }
.footer__meta a { color: var(--ink-faint); }
.footer__meta a:hover { color: var(--ink-dim); }

/* ==========================================================================
   Sticky mobile CTA
   ========================================================================== */

.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px;
  background: var(--paper);
  border-top: 2px solid var(--ink);
  transform: translateY(110%);
  transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
}
.sticky-cta.is-visible { transform: none; }
.sticky-cta__txt { font-size: 0.88rem; color: var(--ink-dim); }
.sticky-cta__txt b { color: var(--ink); font-family: var(--font-b); }

/* ==========================================================================
   Reveal — the hero's one orchestrated load-in moment, nowhere else
   ========================================================================== */

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s cubic-bezier(0.2, 0.6, 0.2, 1), transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1); }
.reveal[data-r="1"] { transition-delay: 0.08s; }
.reveal[data-r="2"] { transition-delay: 0.16s; }
.reveal[data-r="3"] { transition-delay: 0.24s; }
.reveal.is-in { opacity: 1; transform: none; }

@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; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   ≥ 640px
   ========================================================================== */

@media (min-width: 640px) {
  .form__row { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer { padding-bottom: 76px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   ≥ 980px
   ========================================================================== */

@media (min-width: 980px) {
  .only-d { display: inline; }

  .burger { display: none; }
  .nav {
    position: static;
    flex-direction: row; align-items: center; gap: 4px;
    background: none; border: none; box-shadow: none;
    padding: 0;
    transform: none; opacity: 1; visibility: visible; pointer-events: auto;
  }
  .nav__link { font-size: 1.1rem; font-weight: 600; color: var(--ink-dim); padding: 8px 14px; }
  .nav__link:hover { background: transparent; color: var(--price); }
  .nav__foot { display: none; }
  .header__cta { display: inline-flex; font-size: 1rem; }
  .header__login { display: inline-flex; font-size: 1rem; }

  .hero__inner { flex-direction: row; align-items: center; gap: 56px; }
  .hero__copy { flex: 1.15; }
  .hero__stage { flex: 1; justify-content: flex-end; }
  .hero { padding-top: calc(var(--header-h) + 72px); padding-bottom: 88px; }

  .consolidate { flex-direction: row; align-items: stretch; gap: 28px; }
  .consolidate__group { flex: 1.3; align-self: center; }
  .consolidate__arrow svg { transform: rotate(0deg); }
  .consolidate__one { flex: 1; align-self: center; }

  .bento { grid-template-columns: repeat(3, 1fr); }
  .bcard { padding: 34px 28px; }
  .bcard__icon { width: 52px; height: 52px; }
  .bcard__icon svg { width: 28px; height: 28px; }

  .pledge__card { flex-direction: row; align-items: center; gap: 40px; padding: 52px 56px; }
  .pledge__txt { flex: 1; }

  .steps { grid-template-columns: repeat(4, 1fr); gap: 32px; }

  .pricing { grid-template-columns: 1.05fr 1fr; align-items: stretch; }
  .plan-wrap { display: flex; }
  .plan-wrap .plan { flex: 1; }
  .plan { padding: 48px 42px; }

  .choice { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .choice__card { padding: 48px 42px; }

  .partner__card { padding: 54px 56px; }
  .partner__grid { flex-direction: row; align-items: center; gap: 56px; }
  .partner__txt { flex: 1.15; }
  .partner__offer { flex: 0.85; min-width: 300px; }

  .contact__grid { grid-template-columns: 1fr 1.05fr; gap: 68px; align-items: center; }
  .form { padding: 36px 32px; }

  .footer__inner { flex-direction: row; justify-content: space-between; }
  .footer__nav { display: grid; grid-template-columns: repeat(2, auto); grid-template-rows: repeat(3, auto); grid-auto-flow: column; gap: 12px 32px; }
  .footer__meta { text-align: right; }

  .sticky-cta { display: none; }

  .section { padding: 108px 0; }
}

/* ==========================================================================
   Cookie consent banner
   ========================================================================== */

html.wp-consent-set .consent { display: none; }
.consent {
  position: fixed; z-index: 400; left: 12px; right: 12px; bottom: 12px;
  max-width: 640px;
  padding: 20px;
  background: var(--paper); color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
}
.consent__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.consent__title { font-size: 1.45rem; line-height: 1.05; margin-bottom: 8px; }
.consent__title:focus-visible { outline: none; }
.consent__close {
  flex-shrink: 0; width: 32px; height: 32px; margin: -4px -6px 0 0;
  background: none; border: 2px solid var(--stone-line); color: var(--ink-dim);
  font-size: 1.4rem; line-height: 1; cursor: pointer;
  position: relative;
}
.consent__close::after { content: ""; position: absolute; inset: -8px; }
.consent__close:hover { border-color: var(--ink); color: var(--ink); }
.consent__text { font-size: 0.93rem; line-height: 1.6; color: var(--ink-dim); }
.consent__text a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.consent__opts { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.consent__opt { padding: 12px 14px; background: var(--stone); border: 1px solid var(--stone-line); }
.consent__opt label { display: flex; align-items: center; gap: 10px; font-weight: 600; cursor: pointer; }
.consent__opt input { width: 18px; height: 18px; accent-color: var(--price); flex-shrink: 0; }
.consent__opt input:disabled { cursor: not-allowed; opacity: 0.7; }
.consent__opt p { margin-top: 6px; font-size: 0.85rem; line-height: 1.55; color: var(--ink-faint); }
.consent__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.consent__actions .btn { flex: 1 1 140px; justify-content: center; min-height: 44px; }

@media (min-width: 640px) {
  .consent { left: 24px; right: auto; bottom: 24px; }
}

/* Footer: legal links row + link-styled button */
.linkbtn {
  padding: 0; background: none; border: none; cursor: pointer;
  font: inherit; color: inherit; text-decoration: none;
}
.linkbtn:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__legal {
  position: relative; display: flex; flex-wrap: wrap; gap: 8px 22px;
  margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--stone-line);
  font-size: 0.85rem; color: var(--ink-faint);
}
.footer__legal a, .footer__legal .linkbtn { color: var(--ink-faint); text-decoration: none; }
.footer__legal a:hover, .footer__legal .linkbtn:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   Legal pages (terms, privacy, cookies)
   ========================================================================== */

.legal h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); line-height: 1; margin-bottom: 12px; }
.legal__meta { color: var(--ink-faint); font-size: 0.9rem; margin-bottom: 34px; }
.legal h2 { font-size: clamp(1.4rem, 3.4vw, 1.75rem); line-height: 1.1; margin: 42px 0 12px; scroll-margin-top: calc(var(--header-h) + 24px); }
.legal h3 { font-size: 1.1rem; margin: 22px 0 8px; line-height: 1.2; }
.legal p, .legal li { color: var(--ink-dim); line-height: 1.75; }
.legal p { margin-bottom: 14px; }
.legal ul, .legal ol { margin: 0 0 16px; padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal strong { color: var(--ink); }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal__toc { margin: 0 0 8px; padding: 16px 20px; background: var(--stone); border: 1px solid var(--stone-line); }
.legal__toc ol { margin: 0; columns: 1; }
.legal__toc li { margin-bottom: 4px; font-size: 0.94rem; }
.legal__toc a { text-decoration: none; color: var(--ink-dim); }
.legal__toc a:hover { color: var(--price); }
.legal__table { overflow-x: auto; margin: 0 0 18px; border: 1px solid var(--stone-line); }
.legal__table table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 0.9rem; }
.legal__table th, .legal__table td { padding: 10px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--stone-line); color: var(--ink-dim); line-height: 1.55; }
.legal__table th { background: var(--stone); color: var(--ink); font-weight: 600; }
.legal__table tr:last-child td { border-bottom: none; }
.legal .todo { background: rgba(194, 65, 12, 0.22); color: var(--ink); padding: 0 4px; }

@media (min-width: 640px) {
  .legal__toc ol { columns: 2; column-gap: 32px; }
}
