:root {
  --bg-page: #ececec;
  --bg-shell: #f7f7f4;
  --bg-card: #ffffff;
  --bg-muted: #f0f0ed;
  --line: #d2d2cc;
  --line-strong: #c3c3bb;
  --text: #2f2f2a;
  --text-soft: #66665f;
  --brand-orange: #f47a1f;
  --brand-orange-deep: #de6210;
  --brand-green: #73c82b;
  --brand-green-deep: #4ea512;
  --brand-blue: #3b8de0;
  --brand-blue-deep: #246fc0;
  --danger: #d91f11;
  --shadow-sm: 0 1px 2px rgba(24, 24, 20, 0.06), 0 8px 22px rgba(24, 24, 20, 0.04);
  --shadow-md: 0 8px 30px rgba(16, 16, 12, 0.09);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --container: 1120px;
  --ui-font: "Segoe UI", Tahoma, Arial, sans-serif;
  --head-font: "Georgia", "Times New Roman", serif;
}

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

html {
  color-scheme: light;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 4%, rgba(255, 255, 255, 0.55), transparent 36%),
    radial-gradient(circle at 88% 8%, rgba(255, 255, 255, 0.42), transparent 34%),
    var(--bg-page);
  color: var(--text);
  font-family: var(--ui-font);
  line-height: 1.45;
}

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

a {
  color: var(--brand-orange-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  color: #b64e07;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(59, 141, 224, 0.45);
  outline-offset: 2px;
}

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.wrap {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.masthead {
  padding: 1.4rem 0 0.8rem;
}

.masthead-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.65rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  display: grid;
  grid-auto-flow: column;
  gap: 3px;
  align-items: end;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.1));
}

.brand-pill {
  width: 11px;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.2) 32%, rgba(0, 0, 0, 0.1) 100%);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.09);
}

.brand-pill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.75), transparent 42%);
}

.brand-pill.orange {
  height: 30px;
  transform: skewX(-16deg);
  background-color: var(--brand-orange);
}

.brand-pill.green {
  height: 36px;
  background-color: var(--brand-green);
}

.brand-pill.blue {
  height: 40px;
  background-color: var(--brand-blue);
}

.brand-text {
  display: block;
  min-width: 0;
  font-family: var(--ui-font);
  font-weight: 400;
  font-size: clamp(1.65rem, 3vw, 2.05rem);
  line-height: 1;
  color: #7b7b76;
  letter-spacing: 0.02em;
}

.lang-switch {
  display: flex;
  gap: 0.35rem;
  align-items: center;
  justify-self: end;
}

.lang-option {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.22rem 0.38rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.8);
  color: #55554f;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
}

.lang-option:hover {
  background: rgba(255, 255, 255, 0.98);
  color: #3e3e39;
}

.lang-option[aria-current="true"] {
  border-color: rgba(244, 122, 31, 0.35);
  background: rgba(244, 122, 31, 0.09);
  color: #7f3703;
}

.lang-badge {
  width: 16px;
  height: 11px;
  border-radius: 2px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.lang-badge.sk {
  background: linear-gradient(180deg, #fff 0 33%, #2c63cb 33% 66%, #d62828 66%);
}

.lang-badge.sk::after {
  content: "";
  position: absolute;
  left: 2px;
  top: 2px;
  width: 4px;
  height: 6px;
  border-radius: 2px 2px 3px 3px;
  background: #d62828;
  border: 1px solid rgba(255, 255, 255, 0.75);
}

.lang-badge.uk {
  background:
    linear-gradient(26deg, transparent 44%, #fff 44% 49%, #c8102e 49% 52%, #fff 52% 57%, transparent 57%),
    linear-gradient(-26deg, transparent 44%, #fff 44% 49%, #c8102e 49% 52%, #fff 52% 57%, transparent 57%),
    linear-gradient(90deg, transparent 37%, #fff 37% 63%, transparent 63%),
    linear-gradient(0deg, transparent 34%, #fff 34% 66%, transparent 66%),
    linear-gradient(90deg, transparent 42%, #c8102e 42% 58%, transparent 58%),
    linear-gradient(0deg, transparent 40%, #c8102e 40% 60%, transparent 60%),
    #012169;
}

.nav-toggle {
  display: none;
  justify-self: end;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.nav-toggle .bars {
  display: grid;
  gap: 4px;
  justify-content: center;
  align-content: center;
  height: 100%;
}

.nav-toggle .bars span {
  width: 18px;
  height: 2px;
  border-radius: 4px;
  background: #666;
}

.site-nav {
  justify-self: center;
}

.site-nav ul {
  display: flex;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-lang-row {
  display: none;
}

.nav-lang-panel {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.4rem 0.1rem;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.8rem;
  border-radius: 8px;
  color: #4e4e47;
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(244, 122, 31, 0.1);
  color: #7f3703;
}

.hero {
  margin-top: 1rem;
}

.hero-heading {
  margin: 0.35rem 0 0;
  color: #2c2c27;
  font-family: var(--head-font);
  font-weight: 700;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.feature-tile {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr;
  grid-template-areas:
    "icon title"
    "text text";
  column-gap: 0.7rem;
  row-gap: 0.55rem;
  align-content: start;
  border-radius: 14px;
  min-height: 188px;
  padding: 1rem 1rem 0.95rem;
  color: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  text-decoration: none;
  isolation: isolate;
}

.feature-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0) 38%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 45%),
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.12));
  z-index: -1;
}

.feature-tile::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -12px;
  height: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0));
  filter: blur(6px);
  z-index: -1;
}

.tile-orange {
  background: linear-gradient(180deg, #ff9c40, #f47717 62%, #dd5e10);
}

.tile-green {
  background: linear-gradient(180deg, #95e24b, #68c61c 62%, #4aa714);
}

.tile-blue {
  background: linear-gradient(180deg, #5baefe, #358ee4 62%, #1e72c7);
}

.tile-icon {
  grid-area: icon;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
  display: grid;
  place-items: center;
  font-size: 1.15rem;
}

.tile-title {
  grid-area: title;
  align-self: center;
  margin: 0;
  font-family: var(--ui-font);
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  line-height: 1.05;
  letter-spacing: 0.005em;
  font-weight: 700;
}

.tile-text {
  grid-area: text;
  margin: 0;
  font-size: 0.95rem;
  max-width: 28ch;
  color: rgba(255, 255, 255, 0.94);
}

.tile-arrow {
  position: absolute;
  right: 0.8rem;
  bottom: 0.75rem;
  font-size: 1.15rem;
  opacity: 0.9;
}

.content {
  flex: 1;
  padding: 1.3rem 0 2rem;
}

.page-title {
  margin: 0 0 0.4rem;
  font-family: var(--head-font);
  font-weight: 700;
  font-size: clamp(2rem, 4.2vw, 2.55rem);
  line-height: 1.05;
  color: var(--brand-orange-deep);
}

.section-title {
  margin: 0 0 0.7rem;
  font-family: var(--head-font);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.8vw, 1.95rem);
  line-height: 1.1;
  color: var(--brand-orange-deep);
}

.eyebrow {
  margin: 0 0 0.25rem;
  color: #8b623f;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0.02em;
}

.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.lead {
  color: var(--text-soft);
  font-size: 1.03rem;
  margin: 0 0 1.2rem;
  max-width: 68ch;
}

.lead.compact {
  font-size: 1rem;
  line-height: 1.55;
  margin-bottom: 0.8rem;
  max-width: 42ch;
}

.stack {
  display: grid;
  gap: 1.1rem;
}

.split {
  display: grid;
  grid-template-columns: 1.2fr 0.85fr;
  gap: 1rem;
  align-items: start;
}

.card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 1rem 1rem;
}

.card.soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(250, 250, 246, 0.95));
}

.benefits-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.benefits-list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 0.45rem;
  color: #4a4a43;
}

.benefits-list li::before {
  content: "✓";
  color: var(--brand-blue-deep);
  font-weight: 700;
  line-height: 1.2;
}

.pill-row {
  margin-top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.pill-tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e6e2d9;
  color: #5f5f56;
  font-size: 0.83rem;
  font-weight: 700;
}

.cta-strip {
  margin-top: 0.3rem;
  background: linear-gradient(180deg, #fff8ec, #fff3e0);
  border: 1px solid #f0d8b8;
  border-radius: 12px;
  padding: 0.9rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 10px;
  border: 1px solid transparent;
  padding: 0.65rem 0.95rem;
  font-weight: 700;
  font-size: 0.94rem;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #ff9a3f, var(--brand-orange));
  border-color: rgba(153, 69, 11, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  color: #fff;
  background: linear-gradient(180deg, #ff8f2e, #eb6f17);
}

.btn-secondary {
  color: #6b350f;
  background: #fff;
  border-color: #e6d3c6;
}

.btn-secondary:hover {
  color: #6b350f;
  background: #fff6ef;
}

.news-list,
.quotes {
  display: grid;
  gap: 0.85rem;
}

.quote {
  padding: 0.9rem 1rem;
  background: var(--bg-card);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-left: 4px solid rgba(59, 141, 224, 0.45);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}

.quote p {
  margin: 0;
  color: #45453f;
}

.quote cite {
  display: block;
  margin-top: 0.35rem;
  font-style: normal;
  color: var(--brand-orange-deep);
  font-weight: 700;
}

.news-item {
  padding: 0.95rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 10px;
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
}

.news-item h3 {
  margin: 0;
  font-size: 1rem;
}

.news-meta {
  color: #77776f;
  font-size: 0.86rem;
  margin-top: 0.15rem;
}

.home-page .hero-grid .feature-tile {
  transform: translateY(0);
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.home-page .hero-grid .feature-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(16, 16, 12, 0.12);
}

.home-page .hero-grid .feature-tile .tile-title {
  letter-spacing: 0.01em;
}

.home-page .split > .card:first-child {
  background:
    radial-gradient(circle at 88% 10%, rgba(244, 122, 31, 0.08), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(250, 250, 246, 0.95));
}

.home-page .quotes {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

.home-page .quote {
  height: 100%;
}

.home-page .news-list {
  grid-template-columns: 1.2fr 0.8fr;
  display: grid;
  gap: 0.85rem;
}

.home-page .news-list .news-item:first-child {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 251, 246, 0.96));
  border-color: #edd8c4;
}

.home-page .news-list .news-item:first-child h3 {
  color: #7f3703;
}

.home-page .hero {
  margin-bottom: 1.75rem;
}

.home-simple {
  gap: 2rem;
}

.home-why .card {
  padding: 1.45rem;
}

.home-why .section-title {
  margin-bottom: 1rem;
}

.why-layout {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 1rem;
  align-items: center;
}

.why-graphic {
  display: grid;
  place-items: center;
}

.paper-illustration {
  position: relative;
  width: 142px;
  height: 108px;
}

.paper-shadow {
  position: absolute;
  left: 14px;
  right: 12px;
  bottom: 1px;
  height: 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.12);
  filter: blur(8px);
}

.paper-sheet {
  position: absolute;
  width: 84px;
  height: 62px;
  border-radius: 8px;
  background: linear-gradient(180deg, #fffef8, #f4f0df);
  border: 1px solid #dfd8bf;
  box-shadow: var(--shadow-sm);
}

.paper-sheet.back {
  left: 16px;
  top: 30px;
  transform: rotate(-10deg);
}

.paper-sheet.mid {
  left: 46px;
  top: 24px;
  transform: rotate(8deg);
}

.paper-sheet.front {
  left: 30px;
  top: 16px;
  width: 90px;
  height: 66px;
}

.paper-seal {
  position: absolute;
  left: 93px;
  top: 8px;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: linear-gradient(180deg, #ff9c42, var(--brand-orange));
  border: 1px solid rgba(145, 67, 14, 0.25);
  box-shadow: 0 6px 14px rgba(244, 122, 31, 0.22);
}

.paper-seal::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 5px;
  width: 8px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(40deg);
}

.paper-lines {
  position: absolute;
  left: 43px;
  height: 4px;
  border-radius: 999px;
  background: #e8e2c7;
}

.paper-lines.l1 {
  top: 34px;
  width: 48px;
}

.paper-lines.l2 {
  top: 44px;
  width: 58px;
}

.paper-lines.l3 {
  top: 54px;
  width: 40px;
}

.why-copy .btn {
  margin-top: 0.1rem;
}

.why-benefits {
  background:
    radial-gradient(circle at 92% 10%, rgba(59, 141, 224, 0.08), transparent 44%),
    rgba(255, 255, 255, 0.92);
}

.home-cta-inline {
  margin-top: -0.3rem;
}

.home-page .home-quotes {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.quote-compact {
  position: relative;
  padding: 1rem 1rem 0.95rem 2.2rem;
}

.quote-mark {
  position: absolute;
  left: 0.7rem;
  top: 0.2rem;
  color: rgba(59, 141, 224, 0.24);
  font-family: Georgia, serif;
  font-size: 2.1rem;
  line-height: 1;
}

.home-news-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.home-news-head a {
  font-size: 0.9rem;
}

.news-featured {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 0.9rem;
  align-items: start;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 251, 246, 0.96));
  border-color: #edd8c4;
}

.news-featured h3 {
  color: #7f3703;
}

.news-featured p {
  margin: 0.35rem 0 0;
}

.news-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, #ffd8ac, #ffb35f);
  border: 1px solid #efbb7a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
  position: relative;
}

.news-icon::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 9px;
  width: 18px;
  height: 22px;
  border-radius: 4px;
  background: #fff;
  border: 1px solid #efd7b7;
}

.news-icon::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 15px;
  width: 10px;
  height: 2px;
  background: #e0d7c8;
  box-shadow: 0 5px 0 #e0d7c8, 0 10px 0 #e0d7c8;
}

.muted {
  color: #6f6f68;
}

.mock-ui {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow-sm);
  background: #fff;
}

.mock-ui-head {
  background: linear-gradient(180deg, #fff, #f5f5ef);
  border-bottom: 1px solid #ecece6;
  padding: 0.5rem 0.65rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dots {
  display: inline-flex;
  gap: 4px;
}

.dots span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #d5d5ce;
}

.mock-ui-body {
  padding: 0.75rem;
  display: grid;
  gap: 0.5rem;
  background: linear-gradient(180deg, #fff, #fbfbf7);
}

.ui-line {
  height: 10px;
  border-radius: 999px;
  background: #efefe9;
}

.ui-line.orange {
  background: rgba(244, 122, 31, 0.25);
}

.ui-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.showcase-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 14px;
  padding: 0.9rem;
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 0.75rem;
}

.showcase-card h3 {
  margin: 0;
  font-size: 1rem;
  color: #43433d;
}

.showcase-card p {
  margin: 0;
  color: #67675f;
  font-size: 0.92rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.price-panel {
  background: var(--bg-card);
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.price-head {
  background: linear-gradient(180deg, #ff9336, var(--brand-orange));
  color: #fff;
  padding: 0.8rem 1rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: center;
}

.price-head.paid {
  background: linear-gradient(180deg, #4da2f3, #2d82d6);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
}

.price-table th,
.price-table td {
  padding: 0.6rem 0.8rem;
  border-bottom: 1px solid #ededeb;
  text-align: left;
  font-size: 0.93rem;
}

.price-table tr:nth-child(even) td {
  background: #fafaf7;
}

.price-table .strong {
  font-weight: 700;
  color: #262621;
}

.price-table .yes {
  color: #2f7f1f;
  font-weight: 700;
}

.price-table .no {
  color: #8a4b41;
  font-weight: 700;
}

.price-box-foot {
  padding: 0.8rem 1rem;
  background: #fffaf4;
  border-top: 1px solid #f1e1cc;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
}

.price-box-foot.paid {
  background: #f4f9ff;
  border-top-color: #d7e6f5;
}

.price-big {
  font-size: 1.05rem;
  font-weight: 700;
}

.price-note {
  margin-top: 0.9rem;
}

.inline-table {
  width: min(460px, 100%);
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.inline-table th,
.inline-table td {
  padding: 0.55rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid #ecece8;
}

.inline-table thead th {
  background: linear-gradient(180deg, #ff9336, var(--brand-orange));
  color: #fff;
}

.form-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 1rem;
  align-items: start;
}

.form-card {
  background: var(--bg-card);
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: var(--shadow-sm);
  padding: 1rem;
}

.field-grid {
  display: grid;
  gap: 0.9rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field label {
  font-weight: 700;
  font-size: 0.92rem;
  color: #43433d;
}

.required {
  color: #c53f1a;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid #cfcfc7;
  border-radius: 10px;
  padding: 0.72rem 0.8rem;
  font: inherit;
  color: inherit;
  background: #fff;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}

.field input:hover,
.field textarea:hover,
.field select:hover {
  border-color: #bdbdb4;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field-help {
  font-size: 0.84rem;
  color: #77776f;
}

.inline-captcha {
  display: grid;
  grid-template-columns: auto 140px;
  align-items: end;
  gap: 0.75rem;
}

.aside-box {
  display: grid;
  gap: 0.75rem;
}

.info-tile {
  background: linear-gradient(180deg, #fff, #fafaf5);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 12px;
  padding: 0.9rem;
  box-shadow: var(--shadow-sm);
}

.info-tile h3 {
  margin: 0;
  font-size: 1rem;
  color: #44443e;
}

.info-tile p {
  margin: 0.35rem 0 0;
  color: #66665f;
  font-size: 0.92rem;
}

.alert {
  margin-top: 0.75rem;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(217, 31, 17, 0.2);
  background: linear-gradient(180deg, #fff6f5, #fff);
  color: #7d2b24;
}

.footer {
  margin-top: 2rem;
  background: rgba(213, 213, 210, 0.85);
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.footer-inner {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
  padding: 1.25rem 0 1.4rem;
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 1rem;
  align-items: start;
}

.footer p {
  margin: 0.1rem 0;
  color: #5f5f58;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-links a {
  color: #5c5c55;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--brand-orange-deep);
}

.social-floating {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 5;
  text-decoration: none;
}

.social-pill {
  background: #355a96;
  color: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  padding: 0.55rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.01em;
}

.social-pill .fbox {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
  font-size: 1rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  background: #fff4e8;
  color: #9b4b0a;
  border: 1px solid #f1d8be;
  font-size: 0.8rem;
  font-weight: 700;
}

.steps {
  display: grid;
  gap: 0.75rem;
}

.step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 0.75rem;
  align-items: start;
}

.step-num {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff9b40, var(--brand-orange));
  color: #fff;
  font-weight: 700;
  display: grid;
  place-items: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.step h3 {
  margin: 0;
  font-size: 1rem;
}

.step p {
  margin: 0.2rem 0 0;
  color: #66665f;
}

.mobile-only {
  display: none;
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .feature-tile {
    min-height: 150px;
  }

  .split,
  .pricing-grid,
  .form-layout,
  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

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

  .home-page .quotes {
    grid-template-columns: 1fr;
  }

  .home-page .news-list {
    grid-template-columns: 1fr;
  }

  .why-layout {
    grid-template-columns: 140px 1fr;
  }

  .home-page .home-quotes {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .masthead-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
  }

  .brand {
    order: 1;
    flex: 1 1 auto;
    gap: 0.5rem;
    min-width: 0;
    max-width: calc(100% - 44px);
    overflow: hidden;
  }

  .brand-mark {
    gap: 2px;
  }

  .brand-pill {
    width: 9px;
  }

  .brand-pill.orange {
    height: 22px;
  }

  .brand-pill.green {
    height: 27px;
  }

  .brand-pill.blue {
    height: 31px;
  }

  .brand-text {
    font-size: 1.22rem;
    letter-spacing: 0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-toggle {
    display: inline-block;
    order: 2;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 9px;
    margin-left: auto;
  }

  .site-nav {
    order: 3;
    flex: 0 0 100%;
    width: 100%;
    max-height: 0;
    overflow: clip;
    opacity: 0;
    transition: max-height 180ms ease, opacity 150ms ease;
  }

  .site-nav ul {
    margin-top: 0.5rem;
    padding-top: 0.35rem;
    border-top: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav a {
    padding: 0.75rem 0.8rem;
  }

  .masthead[data-nav-open="true"] .site-nav {
    max-height: 75vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 1;
  }

  .lang-switch {
    display: none;
  }

  .nav-lang-row {
    display: list-item;
  }

  .nav-lang-panel {
    border-top: 1px solid var(--line);
    margin-top: 0.2rem;
    padding-top: 0.6rem;
    gap: 0.3rem;
  }

  .nav-lang-panel .lang-option {
    padding: 0.28rem 0.38rem;
  }

  .cta-strip {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-heading {
    font-size: 1.35rem;
  }

  .subpage .hero {
    display: none;
  }

  .home-simple {
    gap: 1.35rem;
  }

  .home-why .card {
    padding: 1rem;
  }

  .why-layout {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    align-items: start;
  }

  .why-graphic {
    justify-content: start;
  }

  .paper-illustration {
    width: 120px;
    height: 92px;
  }

  .paper-sheet {
    width: 72px;
    height: 54px;
  }

  .paper-sheet.back {
    left: 10px;
    top: 28px;
  }

  .paper-sheet.mid {
    left: 34px;
    top: 22px;
  }

  .paper-sheet.front {
    left: 20px;
    top: 14px;
    width: 78px;
    height: 58px;
  }

  .paper-seal {
    left: 74px;
    top: 6px;
    width: 22px;
    height: 22px;
  }

  .paper-lines {
    left: 29px;
  }

  .news-featured {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .news-icon {
    width: 36px;
    height: 36px;
  }

  .inline-captcha {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .social-floating {
    display: none;
  }

  .mobile-only {
    display: initial;
  }
}

@media (max-width: 420px) {
  .wrap {
    width: min(calc(100% - 1rem), var(--container));
  }

  .brand-text {
    font-size: 1.12rem;
  }

  .nav-lang-panel .lang-option .label {
    display: inline;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
