/* =======================================================================
   PayPine — Bold Swiss / editorial · Yellow & Black
   ===================================================================== */

:root {
  --paper: #f3f1e9;
  --paper-2: #ebe8dd;
  --ink: #15140f;
  --ink-2: #2c2a22;
  --ink-soft: #56524a;
  --ink-mute: #8a8678;

  --yellow: #ffc400;
  --yellow-deep: #e3a900;
  --yellow-soft: rgba(255, 196, 0, 0.2);

  --line: rgba(21, 20, 15, 0.16);
  --line-2: rgba(21, 20, 15, 0.08);
  --d-text: #f3f1e9;
  --d-line: rgba(243, 241, 233, 0.16);
  --d-soft: rgba(243, 241, 233, 0.6);

  --display: "Archivo", "MiSans", system-ui, -apple-system, sans-serif;
  --sans: "Hanken Grotesk", "MiSans", system-ui, -apple-system, sans-serif;

  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sp-section: clamp(76px, 8.6vw, 118px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  font-family: var(--sans); background: var(--paper); color: var(--ink);
  line-height: 1.65; font-weight: 400; overflow-x: hidden;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--yellow); color: var(--ink); }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 30px; }
.container--narrow { max-width: 780px; }

/* ---------- type helpers ---------- */
main { counter-reset: sec; }
.kicker {
  display: inline-flex; align-items: center; gap: 12px; counter-increment: sec;
  font-family: var(--display); font-weight: 700;
  font-size: 0.74rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--ink); padding-left: 30px; position: relative; margin-bottom: 24px;
}
.kicker::before { content: ""; position: absolute; left: 0; top: 50%; width: 20px; height: 8px; background: var(--yellow); transform: translateY(-50%); }
.kicker::after { content: "(" counter(sec, decimal-leading-zero) ")"; color: var(--ink-mute); letter-spacing: 0.12em; }
.dark .kicker { color: var(--d-text); }
.dark .kicker::after { color: var(--d-soft); }
.h2 {
  font-family: var(--display); font-weight: 800; line-height: 1.06;
  letter-spacing: -0.02em; font-size: clamp(2rem, 4.6vw, 3.4rem); color: var(--ink);
}
.dark .h2 { color: var(--d-text); }
.head { max-width: 760px; margin-bottom: 56px; }
.lead { margin-top: 20px; font-size: 1.1rem; color: var(--ink-soft); line-height: 1.7; max-width: 620px; }
.dark .lead { color: var(--d-soft); }
.u { box-shadow: inset 0 -0.5em 0 var(--yellow-soft); }
.hl { color: var(--yellow); }

/* ---------- buttons (tactile, editorial) ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  font-family: var(--display); font-weight: 700; font-size: 0.96rem;
  padding: 13px 24px; border-radius: 9px; border: 1.6px solid var(--ink);
  background: var(--paper); color: var(--ink); white-space: nowrap;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.2s;
}
.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--sm { padding: 9px 18px; font-size: 0.86rem; }
.btn--lg { padding: 16px 30px; font-size: 1.02rem; }

.btn--solid { background: var(--yellow); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.btn--solid:hover { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn--solid:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--ink); }
.btn--line { background: transparent; }
.btn--line:hover { background: var(--yellow); box-shadow: 4px 4px 0 var(--ink); transform: translate(-1px, -1px); }
.dark .btn--line { border-color: var(--d-text); color: var(--d-text); }
.dark .btn--line:hover { background: var(--yellow); color: var(--ink); border-color: var(--ink); box-shadow: 4px 4px 0 rgba(0,0,0,0.4); }

/* ===================================================================
   NAV
   =================================================================== */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 1000; transition: background 0.35s, box-shadow 0.35s, border-color 0.35s; border-bottom: 1.5px solid transparent; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 78px; transition: height 0.35s var(--ease); }
.nav.scrolled { background: rgba(243,241,233,0.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--ink); }
.nav.scrolled .nav__inner { height: 62px; }

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { width: 32px; height: 32px; object-fit: contain; }
.brand__name { font-family: var(--display); font-weight: 800; font-size: 1.34rem; letter-spacing: -0.02em; }

.nav__links { display: flex; gap: 32px; }
.nav__links a { font-size: 0.95rem; font-weight: 500; color: var(--ink-2); position: relative; padding: 4px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 7px; width: 0; background: var(--yellow); z-index: -1; transition: width 0.3s var(--ease); }
.nav__links a:hover::after, .nav__links a.active::after { width: 100%; }
.nav__links a.active { color: var(--ink); }

.nav__toggle { display: none; flex-direction: column; gap: 6px; padding: 8px; }
.nav__toggle span { width: 24px; height: 2.4px; background: var(--ink); transition: transform 0.3s var(--ease), opacity 0.2s; }
.nav__toggle.open span:nth-child(1) { transform: translateY(8.4px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { transform: translateY(-0px) rotate(-45deg); }
.nav__mobile { display: none; }

/* ===================================================================
   HERO
   =================================================================== */
.hero { padding: 140px 0 64px; position: relative; }
.hero__inner { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 60px; align-items: center; }
.eyebrow {
  display: inline-block; font-family: var(--display); font-weight: 700;
  font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
  border: 1.5px solid var(--ink); padding: 7px 15px; border-radius: 100px; margin-bottom: 28px;
}
.hero__title { font-family: var(--display); font-weight: 900; line-height: 1.02; letter-spacing: -0.03em; font-size: clamp(2.7rem, 6.6vw, 5rem); }
.hero__title .line { display: block; overflow: hidden; }
.mark { position: relative; white-space: nowrap; z-index: 0; }
.mark::before { content: ""; position: absolute; left: -0.06em; right: -0.06em; top: 0.08em; bottom: 0.06em; background: var(--yellow); z-index: -1; transform: scaleX(0); transform-origin: left; }
.mark.lit::before { animation: wipe 0.7s var(--ease) forwards; }
@keyframes wipe { to { transform: scaleX(1); } }
.hero__sub { margin: 28px 0 0; font-size: 1.16rem; color: var(--ink-soft); max-width: 520px; line-height: 1.7; }
.hero__sub strong { color: var(--ink); font-weight: 600; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 18px; }
.hero__meta { font-size: 0.92rem; color: var(--ink-mute); }

/* funnel — flat, bordered, hard shadow */
.funnel { background: var(--paper); border: 1.4px solid var(--ink); border-radius: 14px; padding: 24px; box-shadow: 4px 4px 0 var(--ink); }
.funnel__top { display: flex; justify-content: space-between; align-items: center; font-family: var(--display); font-weight: 700; font-size: 0.92rem; padding-bottom: 16px; border-bottom: 1.5px solid var(--line); margin-bottom: 16px; }
.funnel__live { display: inline-flex; align-items: center; gap: 7px; font-size: 0.74rem; color: var(--ink-soft); }
.funnel__live i { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 0 var(--yellow); animation: blip 1.8s ease-out infinite; }
@keyframes blip { 0% { box-shadow: 0 0 0 0 rgba(255,196,0,0.6); } 100% { box-shadow: 0 0 0 9px rgba(255,196,0,0); } }
.funnel__bars { display: flex; flex-direction: column; gap: 9px; }
.funnel__bars li { position: relative; display: flex; justify-content: space-between; align-items: center; padding: 12px 15px; border: 1.4px solid var(--ink); border-radius: 8px; overflow: hidden; font-weight: 500; font-size: 0.95rem; }
.funnel__bars li::before { content: ""; position: absolute; inset: 0; width: var(--w); background: var(--yellow-soft); transform-origin: left; animation: barIn 0.9s var(--ease) both; animation-delay: calc(var(--bi, 0) * 0.09s); }
.funnel__bars li:nth-child(1) { --bi: 0; } .funnel__bars li:nth-child(2) { --bi: 1; } .funnel__bars li:nth-child(3) { --bi: 2; }
.funnel__bars li:nth-child(4) { --bi: 3; } .funnel__bars li:nth-child(5) { --bi: 4; } .funnel__bars li:nth-child(6) { --bi: 5; }
@keyframes barIn { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.funnel__bars b { position: relative; font-family: var(--display); font-weight: 800; font-size: 1.04rem; }
.funnel__bars span { position: relative; }
.funnel__bars .win { background: var(--ink); color: var(--d-text); border-color: var(--ink); }
.funnel__bars .win::before { background: rgba(255,196,0,0.28); }
.funnel__bars .win b { color: var(--yellow); }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 80px; border: 1.6px solid var(--ink); border-radius: 14px; overflow: hidden; }
.stat { padding: 30px 26px; border-right: 1.5px solid var(--line); transition: background 0.25s var(--ease); }
.stat:last-child { border-right: none; }
.stat:hover { background: var(--paper-2); }
.stat__n { display: block; font-family: var(--display); font-weight: 900; font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; letter-spacing: -0.02em; }
.stat__l { display: block; margin-top: 10px; font-size: 0.9rem; color: var(--ink-soft); }

/* ===================================================================
   MARQUEE
   =================================================================== */
.marquee { background: var(--ink); color: var(--d-text); overflow: hidden; padding: 16px 0; border-block: 1.6px solid var(--ink); }
.marquee__track { display: inline-flex; align-items: center; gap: 26px; white-space: nowrap; animation: scroll 46s linear infinite; will-change: transform; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: 0.02em; }
.marquee__track i { color: var(--yellow); font-style: normal; font-size: 0.8rem; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===================================================================
   SECTIONS
   =================================================================== */
.section { padding: var(--sp-section) 0; position: relative; border-top: 1px solid var(--line); }
.section.dark { border-top-color: var(--d-line); }
.alt { background: var(--paper-2); }
.dark { background: var(--ink); color: var(--d-text); }

/* PAIN */
.pain { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; border-top: 1.6px solid var(--ink); }
.pain li { display: flex; align-items: center; gap: 18px; padding: 20px 4px; border-bottom: 1.4px solid var(--line); font-size: 1.06rem; font-weight: 500; transition: padding-left 0.3s var(--ease), color 0.3s; }
.pain li:hover { padding-left: 14px; }
.pain li span { font-family: var(--display); font-weight: 800; font-size: 0.95rem; color: var(--ink-mute); }
.pain li:hover span { color: var(--yellow-deep); }
.pain__close { margin-top: 44px; font-size: 1.35rem; font-weight: 500; line-height: 1.6; max-width: 880px; }

/* PIPELINE */
.pipe { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pipe__n { position: relative; padding: 26px 20px 22px; border: 1.5px solid var(--d-line); border-radius: 12px; font-weight: 500; font-size: 1rem; transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease); }
.pipe__n b { display: block; font-family: var(--display); font-weight: 800; font-size: 0.85rem; color: var(--yellow); margin-bottom: 12px; }
.pipe__n:hover { background: rgba(255,196,0,0.1); border-color: var(--yellow); transform: translateY(-4px); }
.pipe__n--end { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.pipe__n--end b { color: var(--ink); }
.pipe__close { margin-top: 44px; font-family: var(--display); font-weight: 700; font-size: clamp(1.3rem, 2.6vw, 2rem); line-height: 1.4; }

/* AUDIENCE TABS */
.tabs { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 24px; align-items: start; }
.tabs__nav { display: flex; flex-direction: column; gap: 10px; }
.tab { display: flex; align-items: center; gap: 14px; text-align: left; padding: 20px 22px; border: 1.6px solid var(--ink); border-radius: 11px; background: var(--paper); font-family: var(--display); font-weight: 700; font-size: 1.02rem; transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s; }
.tab b { font-size: 0.85rem; color: var(--ink-mute); }
.tab:hover { background: var(--paper-2); }
.tab.is-on { background: var(--yellow); box-shadow: 3px 3px 0 var(--ink); transform: translate(-1px, -1px); }
.tab.is-on b { color: var(--ink); }
.tabs__body { border: 1.4px solid var(--ink); border-radius: 14px; padding: 40px; min-height: 240px; box-shadow: 4px 4px 0 var(--ink); }
.panel { animation: fade 0.45s var(--ease) both; }
.panel[hidden] { display: none; }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.panel p { font-size: 1.18rem; line-height: 1.7; color: var(--ink-2); margin-bottom: 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chips span { padding: 7px 15px; border: 1.4px solid var(--ink); border-radius: 100px; font-size: 0.9rem; font-weight: 500; transition: background 0.2s; }
.chips span:hover { background: var(--yellow); }

/* HOW — editorial rows */
.steps { border-top: 1.6px solid var(--ink); }
.step { display: grid; grid-template-columns: 130px 1fr; gap: 30px; padding: 34px 4px; border-bottom: 1.4px solid var(--line); align-items: start; transition: background 0.3s; }
.step:hover { background: rgba(255,196,0,0.06); }
.step__n { font-family: var(--display); font-weight: 900; font-size: 3.6rem; line-height: 0.85; letter-spacing: -0.03em; color: transparent; -webkit-text-stroke: 1.6px var(--ink); }
.step:hover .step__n { color: var(--yellow); -webkit-text-stroke-color: var(--ink); }
.step h3 { font-family: var(--display); font-weight: 800; font-size: 1.4rem; margin-bottom: 8px; }
.step p { font-size: 1.05rem; color: var(--ink-soft); line-height: 1.65; max-width: 640px; }
.tiers { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tiers span { font-family: var(--display); font-size: 0.84rem; font-weight: 600; padding: 6px 13px; border-radius: 100px; border: 1.3px solid var(--ink); }
.tiers .t1 { background: var(--yellow); }
.tiers .t2 { background: var(--yellow-soft); }
.tiers .t3, .tiers .t4, .tiers .t5 { color: var(--ink-soft); }
.tiers .t4 { border-style: dashed; }

/* CASES */
.cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.case { padding: 34px; border: 1.6px solid var(--ink); border-radius: 14px; background: var(--paper); position: relative; overflow: hidden; transition: transform 0.25s var(--ease), box-shadow 0.25s; }
.case::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.case:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.case:hover::after { transform: scaleX(1); }
.case__t { font-family: var(--display); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); }
.case h3 { font-family: var(--display); font-weight: 800; font-size: 1.5rem; margin: 12px 0 12px; }
.case p { font-size: 1.02rem; color: var(--ink-soft); line-height: 1.7; }

/* COMPARE */
.cmp { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cmp__col { padding: 38px 34px; border: 1.5px solid var(--d-line); border-radius: 14px; }
.cmp__col--new { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.cmp__h { font-family: var(--display); font-weight: 800; font-size: 1.4rem; margin-bottom: 24px; }
.cmp__h--old { color: var(--d-soft); }
.cmp__list li { position: relative; padding: 11px 0 11px 34px; font-size: 1.04rem; border-bottom: 1px solid var(--d-line); }
.cmp__col--new .cmp__list li { border-bottom-color: rgba(21,20,15,0.14); }
.cmp__list--old li { color: var(--d-soft); }
.cmp__list--old li::before { content: "✕"; position: absolute; left: 0; top: 11px; font-weight: 700; opacity: 0.6; }
.cmp__list--new li { font-weight: 500; }
.cmp__list--new li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 13px; height: 7px; border-left: 2.4px solid var(--ink); border-bottom: 2.4px solid var(--ink); transform: rotate(-45deg); }
.cmp__list li:last-child { border-bottom: none; }

/* VALUES */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1.6px solid var(--ink); border-left: 1.6px solid var(--ink); }
.val { padding: 32px 28px; border-right: 1.6px solid var(--ink); border-bottom: 1.6px solid var(--ink); transition: background 0.25s; }
.val:hover { background: var(--yellow); }
.val b { font-family: var(--display); font-weight: 900; font-size: 1.1rem; color: var(--ink-mute); }
.val:hover b { color: var(--ink); }
.val h3 { font-family: var(--display); font-weight: 800; font-size: 1.3rem; margin: 14px 0 10px; }
.val p { font-size: 1rem; color: var(--ink-soft); line-height: 1.6; }
.val:hover p { color: var(--ink-2); }
.val--wide { grid-column: span 1; }

/* FAQ */
.faq { display: flex; flex-direction: column; border-top: 1.6px solid var(--ink); }
.faq__i { border-bottom: 1.5px solid var(--line); }
.faq__i summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 6px; font-family: var(--display); font-weight: 700; font-size: 1.16rem; }
.faq__i summary::-webkit-details-marker { display: none; }
.faq__i summary i { position: relative; flex: 0 0 auto; width: 18px; height: 18px; }
.faq__i summary i::before, .faq__i summary i::after { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); background: var(--ink); }
.faq__i summary i::before { width: 14px; height: 2.4px; }
.faq__i summary i::after { width: 2.4px; height: 14px; transition: transform 0.3s var(--ease), opacity 0.3s; }
.faq__i[open] summary i::after { transform: translate(-50%,-50%) rotate(90deg); opacity: 0; }
.faq__i[open] summary { color: var(--yellow-deep); }
.faq__i > div { padding: 0 6px 24px; }
.faq__i p { color: var(--ink-soft); font-size: 1.02rem; line-height: 1.75; max-width: 92%; }

/* ===================================================================
   APPLY / FORM
   =================================================================== */
.apply { padding: var(--sp-section) 0; }
.apply__inner { max-width: 680px; margin-inline: auto; }

.form { background: var(--paper); color: var(--ink); border-radius: 16px; padding: 40px; border: 1.6px solid var(--ink); box-shadow: 4px 4px 0 var(--yellow); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: block; margin-bottom: 22px; border: none; }
.field__l { display: block; font-family: var(--display); font-weight: 700; font-size: 0.92rem; margin-bottom: 10px; }
.field__l em { color: var(--yellow-deep); font-style: normal; }
.field__hint { font-family: var(--sans); font-weight: 400; font-size: 0.82rem; color: var(--ink-mute); margin-left: 6px; }
.form input, .form textarea {
  width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--ink);
  background: var(--paper-2); border: 1.5px solid var(--line); border-radius: 9px;
  padding: 13px 15px; transition: border-color 0.2s, background 0.2s, box-shadow 0.2s; resize: vertical;
}
.form input::placeholder, .form textarea::placeholder { color: var(--ink-mute); }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--ink); background: var(--paper); box-shadow: 3px 3px 0 var(--yellow); }
.form input.err, .form textarea.err { border-color: #cc3a2b; box-shadow: 3px 3px 0 rgba(204,58,43,0.25); }

.opts { display: flex; flex-wrap: wrap; gap: 9px; }
.opt { font-family: var(--sans); font-weight: 500; font-size: 0.92rem; padding: 9px 16px; border: 1.5px solid var(--line); border-radius: 100px; background: var(--paper); color: var(--ink-2); transition: all 0.18s var(--ease); }
.opt:hover { border-color: var(--ink); }
.opt.sel { background: var(--yellow); border-color: var(--ink); color: var(--ink); font-weight: 600; box-shadow: 2px 2px 0 var(--ink); transform: translate(-1px, -1px); }
.opts--sm .opt { padding: 8px 13px; font-size: 0.88rem; }

.form__submit { width: 100%; margin-top: 6px; }
.form__submit[aria-busy="true"] { opacity: 0.7; pointer-events: none; }
.form__note { margin-top: 18px; font-size: 0.86rem; color: var(--ink-mute); line-height: 1.6; }
.form__err { margin: 4px 0 14px; font-size: 0.9rem; font-weight: 600; color: #c0392b; }
.form--in { animation: fade 0.5s var(--ease) both; }

/* start card (form gate) */
.form__start { background: var(--paper); color: var(--ink); border: 1.6px solid var(--ink); border-radius: 16px; padding: 52px 40px; box-shadow: 4px 4px 0 var(--yellow); text-align: center; }
.form__start-badge { display: inline-block; font-family: var(--display); font-weight: 700; font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 15px; border: 1.4px solid var(--ink); border-radius: 100px; background: var(--yellow); margin-bottom: 24px; }
.form__start h3 { font-family: var(--display); font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.05rem); line-height: 1.18; letter-spacing: -0.01em; margin-bottom: 14px; }
.form__start p { color: var(--ink-soft); font-size: 1.06rem; line-height: 1.65; max-width: 430px; margin: 0 auto 30px; }
.form__start .btn { width: 100%; max-width: 380px; }
.form__start-hint { display: block; margin-top: 18px; font-size: 0.84rem; color: var(--ink-mute); }

.form__done { background: var(--paper); color: var(--ink); border-radius: 16px; padding: 56px 44px; border: 1.6px solid var(--ink); box-shadow: 4px 4px 0 var(--yellow); text-align: center; animation: fade 0.5s var(--ease) both; }
.form__done-mark { width: 64px; height: 64px; margin: 0 auto 22px; display: grid; place-items: center; background: var(--yellow); border: 1.6px solid var(--ink); border-radius: 50%; font-size: 1.8rem; font-weight: 800; }
.form__done h3 { font-family: var(--display); font-weight: 800; font-size: 1.7rem; margin-bottom: 14px; }
.form__done p { color: var(--ink-soft); line-height: 1.7; max-width: 460px; margin: 0 auto 28px; }

/* ===================================================================
   FOOTER
   =================================================================== */
.footer { background: var(--ink); color: var(--d-text); padding: 60px 0 34px; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; padding-bottom: 36px; border-bottom: 1.5px solid var(--d-line); }
.footer .brand__name { color: var(--d-text); }
.footer__tag { margin-top: 14px; font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: var(--d-soft); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 12px 26px; align-items: center; }
.footer__nav a { font-size: 0.96rem; color: var(--d-soft); transition: color 0.2s; }
.footer__nav a:hover { color: var(--yellow); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 24px; font-size: 0.88rem; color: var(--d-soft); }
.footer__domain:hover { color: var(--yellow); }

/* ===================================================================
   REVEAL
   =================================================================== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); transition-delay: var(--rd, 0ms); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; transition-delay: 0ms !important; }
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.05s !important; transition-delay: 0ms !important; }
  .marquee__track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { max-width: 460px; }
  .tabs { grid-template-columns: 1fr; }
  .tab.is-on { transform: none; }
  .pipe { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .container { padding-inline: 22px; }
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .nav__mobile { display: flex; flex-direction: column; gap: 4px; padding: 0 22px; max-height: 0; overflow: hidden; background: rgba(243,241,233,0.98); backdrop-filter: blur(12px); border-bottom: 1.5px solid var(--ink); transition: max-height 0.4s var(--ease), padding 0.4s var(--ease); }
  .nav__mobile.open { max-height: 400px; padding: 12px 22px 24px; }
  .nav__mobile a { padding: 13px 2px; font-weight: 500; border-bottom: 1px solid var(--line); }
  .nav__mobile .btn { margin-top: 12px; border-bottom: none; }

  .hero { padding: 116px 0 50px; }
  .section, .apply { padding: 70px 0; }
  .head { margin-bottom: 38px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1.5px solid var(--line); }
  .pain { grid-template-columns: 1fr; }
  .pain__close { font-size: 1.18rem; }
  .pipe { grid-template-columns: 1fr; }
  .cases { grid-template-columns: 1fr; }
  .cmp { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; gap: 8px; padding: 26px 2px; }
  .step__n { font-size: 2.6rem; }
  .form, .form__done { padding: 26px 20px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .tabs__body { padding: 28px 24px; box-shadow: 4px 4px 0 var(--ink); }
  .panel p { font-size: 1.06rem; }
}