/* migiemfaktury.pl — landing page styles
   Reimplemented from the "LandingB" Claude Design source as clean, static CSS.
   No inline styles / no inline JS => strict CSP (see public/_headers). */

/* ---- Self-hosted Manrope (variable, latin + latin-ext for Polish glyphs) ---- */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, 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;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin.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;
}

/* ---- Design tokens ---- */
:root {
  --ink: #15211c;
  --ink-2: #46514a;
  --muted: #647067;
  --muted-2: #7a857d;
  --muted-3: #9aa39c;
  --line: #e6ebe7;
  --line-2: #dce3de;
  --mint-bg: #f1f7f3;
  --brand: #047857;
  --brand-deep: #0b3d2e;
  --brand-mid: #055f45;
  --brand-bright: #0a8a64;
  --accent: #9debc4;
  --night: #0a1a14;
  --hero-grad: linear-gradient(165deg, #0b3d2e 0%, #055f45 45%, #047857 100%);
  --radius: 20px;
  --maxw: 1200px;
}

/* ---- Reset / base ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
h1,
h2,
h3,
p {
  margin: 0;
  text-wrap: pretty;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

.shell {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
}
.section {
  padding: 74px 48px;
}

/* ---- Buttons / store badge ---- */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  background: #fff;
  text-decoration: none;
  border-radius: 14px;
  padding: 13px 24px 13px 20px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.store-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.26);
}
.store-badge__play {
  width: 0;
  height: 0;
  border-left: 18px solid var(--brand);
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
}
.store-badge__txt {
  line-height: 1.1;
  text-align: left;
}
.store-badge__small {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--muted-2);
}
.store-badge__big {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: var(--ink);
}

/* ---- Top hero (immersive green) ---- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--hero-grad);
  color: #fff;
}
.hero__blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero__blob--a {
  top: -120px;
  right: -90px;
  width: 380px;
  height: 380px;
  background: rgba(255, 255, 255, 0.05);
}
.hero__blob--b {
  bottom: -140px;
  left: -110px;
  width: 340px;
  height: 340px;
  background: rgba(255, 255, 255, 0.04);
}

.nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 9px;
}
.brand__name {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -1px;
  color: #fff;
}
.brand__tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.nav__right {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav__links a {
  font-size: 14.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}
.nav__links a:hover {
  color: #fff;
}
.nav__cta {
  background: #fff;
  color: var(--brand);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 13px;
  transition: transform 0.16s ease;
}
.nav__cta:hover {
  transform: translateY(-1px);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 40px;
  align-items: center;
  padding: 48px 48px 70px;
}
.hero__text {
  flex: 1;
  min-width: 0;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 20px;
  padding: 6px 14px;
  margin-bottom: 26px;
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
}
.pill__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.hero__title {
  font-size: 68px;
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -2.4px;
  text-wrap: balance;
}
.hero__title em {
  font-style: normal;
  color: var(--accent);
}
.hero__sub {
  margin-top: 26px;
  font-size: 19px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
  max-width: 440px;
}
.hero__cta {
  margin-top: 36px;
  max-width: 460px;
}
.hero__cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
}
.hero__cta-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.4;
}

/* ---- Phone mockup ---- */
.phone {
  flex: none;
  position: relative;
}
.phone__inner {
  transform: rotate(4deg);
  width: 300px;
  border-radius: 40px;
  background: #0a1a14;
  padding: 11px;
  box-shadow: 0 60px 110px rgba(0, 0, 0, 0.4), 0 16px 40px rgba(0, 0, 0, 0.3);
}
.phone__screen {
  border-radius: 31px;
  overflow: hidden;
  background: #eaf0ec;
  height: 640px;
  display: flex;
  flex-direction: column;
}
.rec {
  background: linear-gradient(168deg, #055f45, #047857 60%, #0a8a64);
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  color: #fff;
  position: relative;
}
.rec__skip {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.78);
}
.rec__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.18);
  border-radius: 20px;
  padding: 7px 14px;
  margin-bottom: 28px;
}
.rec__status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff6b6b;
  box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.25);
}
.rec__status-label {
  font-size: 12.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.rec__wave {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 46px;
  margin-bottom: 30px;
}
.rec__wave span {
  width: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.8);
  animation: lpwave 0.9s ease-in-out infinite;
}
.rec__wave span:nth-child(2) {
  animation-delay: 0.12s;
}
.rec__wave span:nth-child(3) {
  animation-delay: 0.24s;
}
.rec__wave span:nth-child(4) {
  animation-delay: 0.36s;
}
.rec__wave span:nth-child(5) {
  animation-delay: 0.48s;
}
.rec__wave span:nth-child(6) {
  animation-delay: 0.6s;
}
.rec__wave span:nth-child(7) {
  animation-delay: 0.72s;
}
.rec__mic {
  position: relative;
  width: 96px;
  height: 96px;
}
.rec__mic-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  animation: lppulse 2s ease-out infinite;
}
.rec__mic-btn {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}
.rec__chips {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.rec__chips span {
  font-size: 12px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 7px 13px;
}

@keyframes lpwave {
  0%,
  100% {
    height: 14px;
  }
  50% {
    height: 40px;
  }
}
@keyframes lppulse {
  0% {
    transform: scale(1);
    opacity: 0.55;
  }
  70% {
    transform: scale(1.55);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* ---- Section eyebrow + headings ---- */
.eyebrow {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--brand);
}
.h2 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1.2px;
  text-wrap: balance;
}
.h3 {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

/* ---- Step strip ---- */
.steps-head {
  padding: 78px 48px 24px;
  text-align: center;
}
.steps-head h2 {
  margin-top: 12px;
}
.steps {
  padding: 34px 48px 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.step {
  background: var(--mint-bg);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.step--accent {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: 0 20px 44px rgba(4, 120, 87, 0.28);
}
.step__num {
  font-size: 42px;
  font-weight: 800;
  color: #9dc9b6;
  letter-spacing: -2px;
}
.step--accent .step__num {
  color: rgba(255, 255, 255, 0.5);
}
.step h3 {
  margin: 14px 0 8px;
}
.step p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
}
.step--accent p {
  color: rgba(255, 255, 255, 0.9);
}

/* ---- KSeF big split ---- */
.ksef {
  margin: 60px 48px 0;
  max-width: calc(var(--maxw) - 96px);
  margin-left: auto;
  margin-right: auto;
  background: var(--brand-deep);
  border-radius: 28px;
  overflow: hidden;
  color: #fff;
}
.ksef__split {
  display: flex;
  align-items: stretch;
}
.ksef__text {
  flex: 1;
  padding: 60px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ksef__badge {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 18px;
  padding: 5px 13px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.ksef__text h3 {
  margin-top: 20px;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.08;
  text-wrap: balance;
}
.ksef__text p {
  margin-top: 18px;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  max-width: 440px;
}
.ksef__chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.ksef__chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 11px;
  padding: 8px 13px;
}
.ksef__chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.ksef__side {
  flex: none;
  width: 420px;
  background: linear-gradient(168deg, #055f45, #0a8a64);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 0;
}

/* Invoice card */
.inv {
  width: 280px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 22px 20px 24px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.28);
  position: relative;
  color: var(--ink);
}
.inv__stamp {
  position: absolute;
  top: 18px;
  right: 16px;
  transform: rotate(-8deg);
  border: 2px solid #b6e0cc;
  border-radius: 11px;
  padding: 6px 11px 5px;
  background: #e3f4ec;
  text-align: center;
}
.inv__stamp-a {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #045741;
}
.inv__stamp-b {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #3e7e62;
  margin-top: 1px;
}
.inv__no {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted-3);
  font-variant-numeric: tabular-nums;
}
.inv__who {
  font-size: 17px;
  font-weight: 700;
  margin-top: 4px;
}
.inv__date {
  font-size: 12px;
  color: var(--muted-2);
  margin-top: 2px;
}
.inv__amount {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -1px;
  font-variant-numeric: tabular-nums;
  margin-top: 16px;
}
.inv__divider {
  height: 1px;
  background: #eef2ee;
  margin: 18px 0;
}
.inv__ksef {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.inv__ksef-k {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #a0a9a1;
}
.inv__ksef-v {
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* ---- Two pillars ---- */
.pillars {
  padding: 70px 48px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.pillar {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 34px 32px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(21, 33, 28, 0.03);
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--brand);
  background: #e3f4ec;
  border: 1px solid #b6e0cc;
  border-radius: 16px;
  padding: 5px 12px;
}
.pillar h3 {
  margin: 16px 0 8px;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.6px;
}
.pillar p {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink-2);
}
.card {
  margin-top: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(21, 33, 28, 0.06);
}
.notif {
  padding: 14px 15px;
}
.notif__head {
  display: flex;
  align-items: center;
  gap: 9px;
}
.notif__logo {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -1px;
  color: #fff;
}
.notif__brand {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted-2);
}
.notif__time {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted-3);
  margin-left: auto;
}
.notif__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 11px;
}
.notif__title b {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
}
.badge-new {
  font-size: 10px;
  font-weight: 700;
  color: #1d4ed8;
  background: #e8edfc;
  border: 1px solid #c2d1f7;
  border-radius: 6px;
  padding: 2px 6px;
}
.notif__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 9px;
}
.notif__row span {
  font-size: 13px;
  color: #5b665e;
}
.notif__amount {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.client {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
}
.client__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
.client__meta {
  font-size: 11.5px;
  color: var(--muted-3);
  font-variant-numeric: tabular-nums;
  margin-top: 2px;
}
.client__total {
  font-size: 14px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.client-divider {
  height: 1px;
  background: #eef2ee;
  margin-left: 16px;
}

/* ---- Testimonials ---- */
.tst-head {
  text-align: center;
  margin-bottom: 42px;
}
.tst-head h2 {
  margin-top: 12px;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.9px;
}
.tst-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.tst {
  background: var(--mint-bg);
  border: 1px solid var(--line-2);
  border-radius: 18px;
  padding: 26px 24px;
}
.tst__stars {
  color: var(--brand);
  font-size: 15px;
  letter-spacing: 1px;
}
.tst__quote {
  margin-top: 13px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink);
}
.tst__by {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 20px;
}
.tst__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex: none;
}
.tst__name {
  font-size: 14px;
  font-weight: 700;
}
.tst__role {
  font-size: 12.5px;
  color: var(--muted-2);
}

/* ---- Pricing ---- */
.pricing-wrap {
  background: var(--mint-bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 74px 48px;
}
.pricing-head {
  text-align: center;
  margin-bottom: 38px;
}
.pricing-head h2 {
  margin: 12px 0 8px;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.9px;
}
.pricing-head p {
  font-size: 16px;
  color: var(--muted);
}
.pricing {
  display: flex;
  gap: 22px;
  justify-content: center;
  max-width: 760px;
  margin: 0 auto;
  align-items: stretch;
}
.plan {
  flex: 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
}
.plan--hl {
  background: linear-gradient(168deg, #055f45, #047857 60%, #0a8a64);
  color: #fff;
  border: none;
  position: relative;
  box-shadow: 0 24px 50px rgba(4, 120, 87, 0.3);
}
.plan__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--muted-2);
}
.plan--hl .plan__label {
  color: rgba(255, 255, 255, 0.8);
}
.plan__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 12px;
}
.plan__amount {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1.5px;
  font-variant-numeric: tabular-nums;
}
.plan__per {
  font-size: 15px;
  color: var(--muted-2);
}
.plan--hl .plan__per {
  color: rgba(255, 255, 255, 0.82);
}
.plan__note {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 8px;
}
.plan--hl .plan__note {
  color: rgba(255, 255, 255, 0.9);
}
.plan__save {
  position: absolute;
  top: -12px;
  right: 24px;
  background: #fff;
  color: #045741;
  font-size: 11.5px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 20px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

/* ---- Final CTA ---- */
.final {
  background: linear-gradient(165deg, #0b3d2e, #047857);
  padding: 70px 48px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.final__blob {
  position: absolute;
  bottom: -100px;
  left: -60px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}
.final__inner {
  position: relative;
  z-index: 1;
}
.final h2 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1.2px;
  text-wrap: balance;
}
.final p {
  margin: 14px auto 0;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.88);
  max-width: 480px;
}
.final__cta {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

/* ---- Footer ---- */
.footer {
  background: var(--night);
  color: rgba(255, 255, 255, 0.7);
  padding: 46px 48px 40px;
}
.footer__row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
}
.footer__about {
  max-width: 300px;
}
.footer__about p {
  margin-top: 14px;
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
}
.footer__cols {
  display: flex;
  gap: 56px;
}
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer__col-h {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.footer__col a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}
.footer__col a:hover {
  color: #fff;
}
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 36px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* ---- Responsive (<= 760px) ---- */
@media (max-width: 760px) {
  .section {
    padding: 56px 20px;
  }
  .nav {
    padding: 16px 18px;
  }
  .nav__links {
    display: none;
  }
  .hero__inner {
    flex-direction: column;
    gap: 36px;
    padding: 36px 20px 56px;
  }
  .hero__text {
    text-align: center;
  }
  .hero__title {
    font-size: 44px;
    letter-spacing: -1.6px;
  }
  .hero__sub {
    margin-left: auto;
    margin-right: auto;
  }
  .hero__cta {
    margin-left: auto;
    margin-right: auto;
  }
  .hero__cta-row {
    justify-content: center;
    flex-wrap: wrap;
  }
  .phone {
    margin: 0 auto;
  }
  .phone__inner {
    transform: none;
  }
  .steps-head {
    padding: 56px 20px 24px;
  }
  .steps,
  .pillars {
    grid-template-columns: 1fr;
    padding-left: 20px;
    padding-right: 20px;
  }
  .tst-grid {
    grid-template-columns: 1fr;
  }
  .pricing {
    flex-direction: column;
  }
  .pricing-wrap {
    padding: 56px 20px;
  }
  .ksef {
    margin-left: 20px;
    margin-right: 20px;
  }
  .ksef__split {
    flex-direction: column;
  }
  .ksef__text {
    padding: 40px 26px;
  }
  .ksef__side {
    width: 100%;
    padding: 36px 20px;
  }
  .ksef__text h3 {
    font-size: 28px;
  }
  .h2,
  .pricing-head h2,
  .tst-head h2 {
    font-size: 28px;
  }
  .h3 {
    font-size: 23px;
  }
  .final h2 {
    font-size: 30px;
  }
  .final {
    padding: 56px 20px;
  }
  .footer {
    padding: 38px 20px 36px;
  }
  .footer__row {
    flex-direction: column;
    gap: 24px;
  }
}

@media (max-width: 420px) {
  .phone__inner {
    width: 270px;
  }
  .hero__title {
    font-size: 38px;
  }
}

/* ---- 404 ---- */
.nf {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
  background: var(--hero-grad);
  color: #fff;
}
.nf__mark {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -2px;
  margin-bottom: 24px;
}
.nf__code {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
}
.nf h1 {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -1px;
  margin: 10px 0 8px;
}
.nf p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 360px;
}
.nf__home {
  margin-top: 26px;
  background: #fff;
  color: var(--brand);
  font-weight: 800;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 13px;
}

/* ---- Legal pages (privacy / terms) ---- */
.legal-top {
  background: var(--hero-grad);
  color: #fff;
  padding: 28px 24px;
}
.legal-top .brand__name {
  font-size: 22px;
}
.legal-top a {
  text-decoration: none;
}
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 80px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.7;
}
.legal h1 {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--ink);
  margin-bottom: 6px;
}
.legal__updated {
  color: var(--muted-2);
  font-size: 14px;
  margin-bottom: 32px;
}
.legal h2 {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: var(--ink);
  margin: 34px 0 10px;
}
.legal p,
.legal li {
  margin: 0 0 12px;
}
.legal ul {
  padding-left: 22px;
}
.legal a {
  color: var(--brand);
  font-weight: 600;
}
.legal__note {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 14px;
  color: #9a3412;
  margin: 24px 0;
}
.legal__back {
  display: inline-block;
  margin-top: 36px;
  color: var(--brand);
  font-weight: 700;
  text-decoration: none;
}
