@font-face {
  font-family: "Neue Kaine";
  src: url("assets/fonts/neue-kaine-variable.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 100 900;
}

@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/montserrat-500.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 500;
}

@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/montserrat-600.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 600;
}

@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/montserrat-700.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/montserrat-800.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 800;
}

@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/montserrat-900.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 900;
}

@font-face {
  font-family: "Syne";
  src: url("assets/fonts/syne-600.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 600;
}

@font-face {
  font-family: "Syne";
  src: url("assets/fonts/syne-700.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

@font-face {
  font-family: "Syne";
  src: url("assets/fonts/syne-800.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 800;
}

:root {
  --ink: #002b3d;
  --muted: #5f7077;
  --paper: #d9dee0;
  --surface: #ffffff;
  --line: #dbe5e8;
  --brand-navy: #002b3d;
  --brand-navy-dark: #001f2d;
  --header-ink: #151421;
  --brand-orange: #ff4e00;
  --brand-orange-dark: #cf3f00;
  --navy-soft: #07384d;
  --navy-panel: #f0f5f7;
  --neutral-panel: #f6f8f9;
  --soft-panel: #f2f6f7;
  --shadow: 0 18px 48px rgba(0, 43, 61, 0.14);
  --card-shadow: 0 16px 38px rgba(0, 43, 61, 0.1);
  --card-shadow-strong: 0 22px 54px rgba(0, 43, 61, 0.16);
  --font-brand: "Neue Kaine", "Syne", "Montserrat", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Syne", "Montserrat", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Montserrat", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: var(--font-body);
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  width: 100%;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 8px clamp(20px, 4vw, 44px);
  border-radius: 0;
  background: var(--header-ink);
  box-shadow: 0 10px 24px rgba(21, 20, 33, 0.24);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 118px;
  height: auto;
  filter: brightness(0) invert(1);
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(22px, 3vw, 34px);
  color: var(--brand-orange);
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 760;
}

.main-nav a {
  position: relative;
  text-decoration: none;
}

.main-nav a[aria-current="page"],
.main-nav a:hover {
  color: var(--brand-orange);
}

.main-nav a[aria-current="page"]::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--brand-orange);
  content: "";
}

main {
  width: 100%;
  margin: 0 auto;
  background: var(--surface);
}

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  min-height: clamp(340px, 45vh, 470px);
  align-items: center;
  padding: clamp(42px, 5.5vw, 70px) clamp(20px, 6vw, 72px);
  color: #fff;
  background: var(--brand-navy);
}

.hero::before {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(58vw, 760px);
  background: url("assets/bazis-brand-hero.svg") center / cover no-repeat;
  content: "";
}

.hero::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--brand-navy) 0%, rgba(0, 43, 61, 0.96) 38%, rgba(0, 43, 61, 0.24) 100%),
    linear-gradient(135deg, rgba(255, 78, 0, 0.06), transparent 34%);
  content: "";
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand-orange);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  max-width: 100%;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  font-family: var(--font-brand);
  max-width: 640px;
  font-size: clamp(3.1rem, 7vw, 5.8rem);
  font-weight: 780;
}

h2 {
  max-width: 820px;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  font-weight: 800;
}

h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
}

.hero-lead {
  max-width: 620px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
}

.section,
.section-band {
  padding: clamp(50px, 6.5vw, 86px) clamp(20px, 5vw, 64px);
}

.section {
  background:
    linear-gradient(135deg, rgba(0, 43, 61, 0.04) 0%, transparent 46%),
    var(--navy-panel);
}

.section-band {
  background: #fff;
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.section-inner.narrow {
  width: min(820px, 100%);
}

.intro-grid,
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.82fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: start;
}

.intro-grid > *,
.about-layout > * {
  min-width: 0;
}

.intro-grid > p,
.about-copy p {
  color: var(--muted);
  font-size: 1.08rem;
}

.intro-grid > p {
  margin: 28px 0 0;
}

.about-copy {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

.about-copy p {
  margin: 0;
}

.intro-grid h2 {
  font-family: var(--font-body);
  font-weight: 900;
}

.intro {
  background:
    linear-gradient(135deg, #fff 0%, #fff 68%, #f3f7f8 100%);
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 26px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  min-height: 230px;
  padding: 22px;
  border: 1px solid rgba(0, 43, 61, 0.08);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--card-shadow);
}

.feature-icon {
  display: inline-flex;
  min-width: 44px;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
  border-radius: 8px;
  color: #fff;
  background: var(--brand-orange);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 900;
}

.feature-card:nth-child(2) .feature-icon {
  background: var(--brand-navy);
}

.about-section {
  color: #fff;
  background:
    linear-gradient(135deg, var(--brand-navy) 0%, #003448 100%);
}

.about-section .about-copy p {
  color: rgba(255, 255, 255, 0.76);
}

.about-section h2 {
  color: #fff;
}

.work-section {
  color: var(--brand-navy);
  background:
    linear-gradient(135deg, rgba(255, 78, 0, 0.05) 0%, transparent 34%),
    var(--neutral-panel);
}

.work-section .eyebrow {
  color: var(--brand-orange);
}

.work-section .feature-card {
  border-color: rgba(255, 78, 0, 0.14);
  background: #fff;
  color: var(--brand-navy);
  box-shadow: 0 18px 42px rgba(255, 78, 0, 0.08);
}

.work-section .feature-card p {
  color: var(--muted);
}

.work-section .feature-icon,
.work-section .feature-card:nth-child(2) .feature-icon {
  color: #fff;
  background: var(--brand-orange);
}

.work-section .feature-card:nth-child(2) {
  background: var(--brand-navy);
  color: #fff;
  box-shadow: var(--card-shadow-strong);
}

.work-section .feature-card:nth-child(2) p {
  color: rgba(255, 255, 255, 0.76);
}

.work-section .feature-card:nth-child(2) .feature-icon {
  color: var(--brand-orange);
  background: #fff;
}

.app-section {
  background:
    linear-gradient(135deg, #fff 0%, #fff 58%, #f5f8f9 100%);
}

.app-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.72fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.app-copy {
  min-width: 0;
}

.app-icon {
  display: block;
  width: 76px;
  height: 76px;
  margin-bottom: 18px;
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(0, 43, 61, 0.18);
}

.app-copy p:not(.eyebrow) {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.store-button {
  display: inline-grid;
  min-width: 164px;
  min-height: 58px;
  align-content: center;
  cursor: pointer;
  padding: 10px 18px;
  border: 1px solid rgba(0, 43, 61, 0.12);
  border-radius: 8px;
  color: #fff;
  background: var(--brand-navy);
  font-family: var(--font-body);
  font-weight: 900;
  line-height: 1.12;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(0, 43, 61, 0.13);
  transform: translateY(0);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    filter 180ms ease;
}

.store-button:first-child {
  background: var(--brand-orange);
  box-shadow: 0 14px 30px rgba(255, 78, 0, 0.18);
}

.store-button:hover,
.store-button:focus-visible {
  box-shadow: 0 18px 34px rgba(0, 43, 61, 0.22);
  filter: brightness(1.05);
  transform: translateY(-2px);
}

.store-button:first-child:hover,
.store-button:first-child:focus-visible {
  box-shadow: 0 18px 34px rgba(255, 78, 0, 0.28);
}

.store-button:active {
  box-shadow: 0 9px 18px rgba(0, 43, 61, 0.16);
  filter: brightness(0.98);
  transform: translateY(0);
}

.store-button:focus-visible {
  outline: 2px solid rgba(255, 78, 0, 0.32);
  outline-offset: 3px;
}

.store-button span {
  display: block;
  margin-bottom: 3px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.store-button[aria-disabled="true"] {
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  .store-button {
    transition: none;
  }

  .store-button:hover,
  .store-button:focus-visible,
  .store-button:active {
    transform: none;
  }
}

.text-link {
  display: inline-flex;
  align-items: center;
  margin-top: 20px;
  color: var(--brand-orange);
  font-weight: 900;
  text-decoration: none;
}

.text-link::after {
  margin-left: 8px;
  content: "→";
}

.app-preview {
  display: flex;
  justify-content: center;
  min-width: 0;
}

.app-mockup {
  display: block;
  width: min(100%, 330px);
  height: auto;
}

.app-info-section {
  position: relative;
  overflow: hidden;
  background: var(--brand-navy);
  color: #fff;
}

.app-info-section::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(142deg, rgba(255, 78, 0, 0.12) 0 18%, transparent 18% 100%),
    linear-gradient(322deg, rgba(255, 255, 255, 0.08) 0 18%, transparent 18% 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 92px);
  content: "";
}

.app-info-section::after {
  position: absolute;
  right: clamp(20px, 8vw, 120px);
  bottom: clamp(20px, 5vw, 76px);
  width: min(36vw, 420px);
  height: 6px;
  border-radius: 999px;
  background: var(--brand-orange);
  content: "";
}

.app-info-section .section-inner {
  position: relative;
  z-index: 1;
}

.app-info-section h2 {
  color: #fff;
}

.app-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.app-info-grid article {
  min-height: 220px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(0, 31, 45, 0.78);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.16);
}

.app-info-grid article:nth-child(2) {
  background:
    linear-gradient(180deg, rgba(255, 78, 0, 0.16) 0%, rgba(0, 31, 45, 0.82) 38%),
    rgba(0, 31, 45, 0.82);
}

.app-info-grid span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--brand-orange);
  font-weight: 900;
}

.app-info-grid p,
.app-info-band li {
  color: rgba(255, 255, 255, 0.72);
}

.app-info-band {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(280px, 1fr);
  gap: 24px;
  align-items: start;
  margin-top: 16px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  border-top: 4px solid var(--brand-orange);
  background: rgba(0, 31, 45, 0.82);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.16);
}

.app-info-band ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.feature-card p,
.activity-grid p,
.principle-list p,
.policy-content p {
  color: var(--muted);
}

.activity-section {
  border-top: 1px solid var(--line);
  background:
    linear-gradient(135deg, #fff 0%, #fff 72%, #f4f8f9 100%);
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--card-shadow);
}

.activity-grid article {
  min-height: 215px;
  padding: 22px;
  background: #fff;
}

.activity-grid article:first-child {
  border-top: 4px solid var(--brand-orange);
}

.activity-grid span {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--brand-orange);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 900;
}

.source-note {
  max-width: 780px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.principles {
  border-top: 0;
  border-bottom: 0;
  color: var(--brand-navy);
  background:
    linear-gradient(135deg, #fff 0%, #fff 70%, #f5f8f9 100%);
}

.principles h2 {
  color: var(--brand-navy);
}

.principle-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--card-shadow);
}

.principle-list article {
  min-height: 165px;
  padding: 20px;
  background: #fff;
}

.principle-list article:first-child {
  border-top: 4px solid var(--brand-orange);
}

.principle-list p {
  color: var(--muted);
}

.site-footer {
  width: 100%;
  min-height: clamp(98px, 9.15vw, 128px);
  margin: 0 auto;
  padding: clamp(18px, 1.43vw, 20px) clamp(42px, 4.65vw, 65px) clamp(10px, 0.86vw, 12px);
  color: #fff;
  background: var(--brand-navy);
  font-size: clamp(10px, 1vw, 14px);
  line-height: 1.45;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: start;
}

.footer-logo {
  display: block;
  width: clamp(88px, 9.3vw, 130px);
  height: auto;
  margin-bottom: clamp(8px, 0.85vw, 12px);
  filter: brightness(0) invert(1);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(8px, 0.86vw, 12px);
}

.social-links a {
  display: inline-flex;
  width: clamp(28px, 3vw, 42px);
  height: clamp(28px, 3vw, 42px);
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--brand-navy);
  text-decoration: none;
}

.social-links a[aria-disabled="true"] {
  cursor: default;
  pointer-events: none;
}

.social-links svg {
  width: clamp(14px, 1.5vw, 21px);
  height: clamp(14px, 1.5vw, 21px);
  fill: currentColor;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: clamp(18px, 2vw, 28px);
  max-width: none;
}

.footer-legal a {
  color: #fff;
  font-family: var(--font-body);
  font-size: clamp(10px, 1vw, 14px);
  font-weight: 800;
  text-decoration: none;
}

.footer-legal a[aria-disabled="true"] {
  cursor: default;
  pointer-events: none;
}

.policy-page {
  background: #fff;
}

.info-page {
  background: #fff;
}

.info-hero {
  color: #fff;
  background:
    linear-gradient(135deg, var(--brand-navy) 0%, #00384d 100%);
}

.info-hero h1 {
  color: #fff;
  font-size: clamp(3.2rem, 9vw, 6.6rem);
}

.info-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.16rem;
}

.docs-section {
  background: var(--neutral-panel);
}

.docs-grid {
  display: grid;
  gap: 18px;
}

.docs-grid img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(0, 43, 61, 0.12);
}

body.app-page {
  background: var(--header-ink);
}

body.app-page .site-header {
  min-height: clamp(54px, 5vw, 70px);
  padding: clamp(8px, 0.85vw, 12px) clamp(32px, 7.85vw, 110px);
  box-shadow: none;
}

body.app-page .hero-back-link {
  display: inline-flex;
  min-height: clamp(34px, 3.1vw, 42px);
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: clamp(16px, 1.55vw, 22px);
  padding: 0 clamp(13px, 1.2vw, 17px);
  border: 1px solid rgba(255, 78, 0, 0.36);
  border-radius: 7px;
  color: var(--brand-orange);
  background: rgba(255, 78, 0, 0.08);
  font-size: clamp(11px, 1.05vw, 15px);
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

body.app-page .hero-back-link:hover,
body.app-page .hero-back-link:focus-visible {
  border-color: var(--brand-orange);
  color: #fff;
  background: var(--brand-orange);
  transform: translateY(-2px);
  outline: none;
}

body.app-page .hero-back-link:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 78, 0, 0.24);
}

body.app-page .hero-back-link svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.app-page .brand-logo {
  width: clamp(82px, 8vw, 112px);
  filter: none;
}

body.app-page .info-page {
  background: #fff;
}

body.app-page .info-hero {
  min-height: clamp(305px, 29.15vw, 408px);
  padding: clamp(41px, 3.65vw, 68px) clamp(68px, 7.85vw, 146px);
  color: #fff;
  background: var(--brand-navy);
}

body.app-page .info-hero .section-inner,
body.app-page .docs-section .section-inner {
  width: 100%;
  max-width: none;
}

body.app-page .info-hero .section-inner {
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}

body.app-page .info-hero h1 {
  max-width: none;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(37px, 4.55vw, 64px);
  font-weight: 800;
  line-height: 1.04;
}

body.app-page .info-hero p:not(.download-label) {
  max-width: clamp(660px, 79vw, 1100px);
  margin: clamp(22px, 2vw, 28px) 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(13px, 1.55vw, 22px);
  font-weight: 600;
  line-height: 1.55;
}

body.app-page .info-download {
  margin-top: clamp(20px, 1.6vw, 22px);
}

body.app-page .download-label {
  margin: 0 0 clamp(8px, 0.86vw, 12px);
  color: var(--brand-orange);
  font-size: clamp(12px, 1.15vw, 16px);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

body.app-page .store-buttons {
  gap: clamp(9px, 1vw, 14px);
  margin: 0;
}

body.app-page .store-button {
  min-width: 0;
  width: clamp(118px, 10vw, 140px);
  min-height: clamp(36px, 3.1vw, 44px);
  padding: 0 12px;
  border: 0;
  border-radius: 7px;
  font-size: clamp(11px, 1.05vw, 15px);
  font-weight: 800;
  box-shadow: none;
}

body.app-page .store-button + .store-button {
  color: var(--brand-navy);
  background: #fff;
}

body.app-page .docs-section {
  padding: clamp(48px, 5.2vw, 84px) clamp(68px, 7.85vw, 146px) clamp(56px, 4.8vw, 84px);
  background: #fff;
}

body.app-page .docs-section .section-inner {
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}

body.app-page .docs-section .section-heading {
  margin-bottom: clamp(22px, 1.9vw, 27px);
}

body.app-page .docs-section h2 {
  color: var(--brand-orange);
  font-family: var(--font-body);
  font-size: clamp(20px, 1.75vw, 25px);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

body.app-page .docs-grid {
  display: grid;
  gap: clamp(28px, 2.2vw, 40px);
}

body.app-page .docs-grid img {
  border-radius: 0;
  box-shadow: none;
}

.policy-hero {
  padding-top: clamp(78px, 10vw, 132px);
  color: #fff;
  background:
    linear-gradient(135deg, var(--brand-navy) 0%, #00384d 100%);
}

.policy-hero h1 {
  color: #fff;
  font-size: clamp(3rem, 8vw, 5.6rem);
}

.policy-hero p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.14rem;
}

.policy-content {
  padding-top: clamp(44px, 6vw, 72px);
  background: #fff;
}

.policy-content h2 {
  margin-top: 42px;
  font-family: var(--font-body);
  font-weight: 900;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
}

.policy-content h2:first-of-type {
  margin-top: 34px;
}

.policy-content a {
  color: var(--brand-orange-dark);
  font-weight: 800;
}

@media (max-width: 880px) {
  .hero {
    min-height: 380px;
  }

  .hero::before {
    top: 16px;
    right: 0;
    bottom: auto;
    width: 250px;
    height: 178px;
    opacity: 0.34;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(0, 43, 61, 0.88) 0%, var(--brand-navy) 74%),
      linear-gradient(135deg, rgba(255, 78, 0, 0.08), transparent 38%);
  }

  .intro {
    background: #fff;
  }

  .about-section,
  .policy-hero {
    background: var(--brand-navy);
  }

  .intro-grid,
  .about-layout,
  .app-layout,
  .app-info-grid,
  .app-info-band,
  .feature-grid,
  .activity-grid,
  .principle-list {
    grid-template-columns: 1fr;
  }

  .intro-grid > p,
  .about-copy {
    margin-top: 0;
  }

  .feature-card {
    min-height: auto;
  }

  .feature-icon {
    margin-bottom: 28px;
  }

  .app-preview {
    justify-content: flex-start;
  }

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

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

@media (max-width: 620px) {
  .site-header {
    align-items: center;
    width: 100%;
    margin-top: 0;
    min-height: 48px;
    padding-top: 9px;
    padding-bottom: 9px;
  }

  main,
  .site-footer {
    width: 100%;
  }

  .brand-logo {
    width: 104px;
  }

  .section,
  .section-band {
    padding: 38px 20px;
  }

  .hero {
    min-height: 330px;
    padding: 36px 20px 42px;
  }

  .hero::before {
    top: 8px;
    width: 210px;
    height: 150px;
    opacity: 0.26;
  }

  .hero-content {
    width: 100%;
  }

  .eyebrow {
    margin-bottom: 10px;
    font-size: 0.68rem;
  }

  h1 {
    max-width: 330px;
    font-size: clamp(2.75rem, 13.2vw, 3.6rem);
  }

  .hero-lead {
    max-width: 330px;
    margin-top: 14px;
    font-size: 0.98rem;
    line-height: 1.55;
  }

  h2 {
    font-size: clamp(1.6rem, 8.6vw, 2.15rem);
    overflow-wrap: anywhere;
  }

  h3 {
    font-size: 1.04rem;
  }

  .intro-grid,
  .about-layout,
  .app-layout {
    gap: 18px;
  }

  .app-section {
    background:
      linear-gradient(180deg, #fff 0%, #fff 62%, #f2f6f7 100%);
  }

  .intro-grid > p,
  .about-copy p,
  .app-copy p:not(.eyebrow) {
    font-size: 0.96rem;
    line-height: 1.68;
  }

  .section-heading {
    gap: 8px;
    margin-bottom: 18px;
  }

  .feature-grid,
  .activity-grid,
  .principle-list {
    gap: 14px;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .feature-card,
  .activity-grid article,
  .principle-list article {
    min-height: auto;
    padding: 18px;
    border: 1px solid rgba(0, 43, 61, 0.08);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--card-shadow);
  }

  .feature-icon,
  .activity-grid span {
    margin-bottom: 16px;
  }

  .work-section .feature-card:nth-child(2) {
    box-shadow: var(--card-shadow-strong);
  }

  .activity-grid article:first-child,
  .principle-list article:first-child {
    border-top: 4px solid var(--brand-orange);
  }

  .app-icon {
    width: 62px;
    height: 62px;
    margin-bottom: 14px;
    border-radius: 14px;
  }

  .store-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 20px;
  }

  .store-button {
    min-width: 0;
    width: auto;
    min-height: 56px;
    padding: 10px 12px;
    font-size: 0.82rem;
  }

  .text-link {
    min-height: 44px;
    align-items: center;
    margin-top: 12px;
  }

  .app-preview {
    justify-content: center;
    margin-top: 10px;
  }

  .app-mockup {
    width: min(78vw, 260px);
  }

  .source-note {
    margin-top: 18px;
    font-size: 0.82rem;
  }

  .site-footer {
    min-height: 198px;
    padding: 20px 20px 23px;
  }

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

  .footer-logo {
    width: 112px;
    margin-bottom: 15px;
  }

  .social-links {
    gap: 12px;
  }

  .social-links a {
    width: 36px;
    height: 36px;
  }

  .footer-legal {
    display: grid;
    gap: 14px;
  }

  .footer-legal a {
    font-size: 13px;
    min-height: 0;
  }
}

body.homepage {
  min-height: 100vh;
  background: #fff;
  line-height: 1.45;
}

body.homepage .site-header,
body.homepage main,
body.homepage .site-footer {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
}

body.homepage .site-header {
  position: relative;
  min-height: clamp(44px, 5vw, 70px);
  padding: clamp(7px, 0.85vw, 12px) clamp(32px, 7.85vw, 110px);
  background: var(--header-ink);
  box-shadow: none;
}

body.homepage .brand-logo {
  width: clamp(56px, 8vw, 112px);
  filter: none;
}

body.homepage main {
  background: #fff;
}

body.homepage h1,
body.homepage h2,
body.homepage h3 {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}

body.homepage .hero {
  position: relative;
  height: clamp(326px, 38.357vw, 552px);
  min-height: 0;
  padding: clamp(42px, 4.45vw, 62px) clamp(68px, 7.85vw, 110px);
  color: #fff;
  background: var(--brand-navy);
}

body.homepage .hero::before {
  inset: 0;
  width: 100%;
  background: url("assets/bazis-hero-top.png") center / cover no-repeat;
  opacity: 1;
}

body.homepage .hero::after {
  display: none;
}

body.homepage .hero-content {
  width: clamp(390px, 39vw, 545px);
  margin: 0;
}

body.homepage .eyebrow {
  margin-bottom: clamp(8px, 0.85vw, 12px);
  font-size: clamp(10px, 1.55vw, 22px);
  font-weight: 800;
  line-height: 1.1;
}

body.homepage h1 {
  max-width: clamp(390px, 39vw, 545px);
  font-family: var(--font-display);
  font-size: clamp(55px, 6vw, 84px);
  font-weight: 800;
  line-height: 0.98;
}

body.homepage h1 span {
  display: block;
}

body.homepage .hero-lead {
  max-width: clamp(330px, 41vw, 570px);
  margin-top: clamp(18px, 2vw, 28px);
  color: #fff;
  font-size: clamp(12px, 1.7vw, 24px);
  font-weight: 600;
  line-height: 1.6;
}

body.homepage .section,
body.homepage .section-band {
  padding: clamp(42px, 4.6vw, 64px) clamp(68px, 7.85vw, 110px);
}

body.homepage .section-inner {
  width: 100%;
  max-width: none;
}

body.homepage .intro {
  background: #fff;
}

body.homepage .intro-grid {
  display: grid;
  grid-template-columns: minmax(0, clamp(430px, 36vw, 505px)) minmax(0, 1fr);
  gap: clamp(48px, 4.6vw, 64px);
  align-items: start;
}

body.homepage .intro-grid h2 {
  max-width: clamp(350px, 36vw, 505px);
  font-family: var(--font-display);
  font-size: clamp(31px, 3.55vw, 50px);
  font-weight: 500;
  line-height: 1.02;
}

body.homepage .intro-grid > p {
  max-width: clamp(500px, 42vw, 590px);
  margin: clamp(24px, 2.6vw, 36px) 0 0;
  color: var(--muted);
  font-size: clamp(13px, 1.55vw, 22px);
  font-weight: 500;
  line-height: 1.6;
}

body.homepage .work-section {
  padding-top: clamp(38px, 3.9vw, 54px);
  padding-bottom: clamp(54px, 5.15vw, 72px);
  color: #fff;
  background: var(--brand-navy);
}

body.homepage .section-heading {
  gap: 0;
  margin-bottom: clamp(32px, 3.85vw, 54px);
}

body.homepage .work-section h2 {
  max-width: none;
  color: #fff;
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.02;
}

body.homepage .section-lead {
  max-width: clamp(690px, 84vw, 1180px);
  margin: clamp(14px, 1.3vw, 18px) 0 0;
  color: #fff;
  font-size: clamp(10px, 1.2vw, 17px);
  font-weight: 700;
  line-height: 1.6;
}

body.homepage .feature-grid {
  gap: clamp(18px, 3.15vw, 44px);
}

body.homepage .feature-card {
  min-height: clamp(136px, 17.15vw, 240px);
  padding: clamp(15px, 1.45vw, 20px);
  border: 0;
  border-radius: 7px;
  color: var(--brand-navy);
  background: #fff;
  box-shadow: 0 11px 22px rgba(0, 0, 0, 0.18);
}

body.homepage .feature-icon {
  float: left;
  min-width: clamp(24px, 2.9vw, 40px);
  height: clamp(22px, 2.7vw, 38px);
  margin: 0 clamp(9px, 1vw, 14px) clamp(6px, 0.8vw, 11px) 0;
  border-radius: 6px;
  font-size: clamp(10px, 1.25vw, 18px);
  font-weight: 800;
  line-height: 1;
}

body.homepage .feature-card h3 {
  padding-top: 2px;
  font-family: var(--font-body);
  font-size: clamp(14px, 1.7vw, 24px);
  font-weight: 800;
  line-height: 1.1;
}

body.homepage .feature-card p {
  clear: both;
  margin: clamp(10px, 1.15vw, 16px) 0 0;
  color: var(--muted);
  font-size: clamp(10px, 1.28vw, 18px);
  font-weight: 500;
  line-height: 1.32;
}

body.homepage .work-section .feature-card:nth-child(2) {
  color: var(--brand-navy);
  background: #fff;
  box-shadow: 0 11px 22px rgba(0, 0, 0, 0.18);
}

body.homepage .work-section .feature-card:nth-child(2) p {
  color: var(--muted);
}

body.homepage .work-section .feature-card:nth-child(2) .feature-icon {
  color: #fff;
  background: var(--brand-orange);
}

body.homepage .app-section {
  padding-top: clamp(42px, 3.75vw, 52px);
  padding-bottom: clamp(84px, 8.9vw, 125px);
  background: #fff;
}

body.homepage .app-layout {
  grid-template-columns: minmax(0, 1fr) clamp(210px, 22.2vw, 310px);
  gap: clamp(20px, 2.15vw, 30px);
  align-items: center;
}

body.homepage .app-kicker {
  display: flex;
  align-items: center;
  gap: clamp(13px, 1.45vw, 20px);
  margin-bottom: clamp(20px, 3.1vw, 44px);
}

body.homepage .app-icon {
  width: clamp(64px, 8.75vw, 123px);
  height: clamp(64px, 8.75vw, 123px);
  margin: 0;
  border-radius: clamp(14px, 1.7vw, 24px);
  box-shadow: none;
}

body.homepage .app-kicker .eyebrow {
  margin: 0;
}

body.homepage .app-copy h2 {
  max-width: clamp(520px, 57vw, 800px);
  font-size: clamp(31px, 3.43vw, 48px);
  line-height: 1.03;
}

body.homepage .app-title-mobile {
  display: none;
}

body.homepage .app-copy p:not(.eyebrow):not(.download-label) {
  max-width: clamp(425px, 55vw, 775px);
  margin-top: clamp(24px, 2.8vw, 40px);
  color: var(--muted);
  font-size: clamp(12px, 1.65vw, 23px);
  font-weight: 500;
  line-height: 1.65;
}

body.homepage .download-label {
  margin: clamp(18px, 2vw, 28px) 0 clamp(6px, 1vw, 14px);
  color: var(--brand-orange);
  font-size: clamp(10px, 1.65vw, 23px);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

body.homepage .store-buttons {
  gap: clamp(9px, 1.2vw, 17px);
  margin: 0;
}

body.homepage .store-button {
  display: inline-flex;
  width: clamp(83px, 11.4vw, 160px);
  min-width: 0;
  min-height: clamp(26px, 3.45vw, 48px);
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 0;
  border-radius: 7px;
  font-size: clamp(10px, 1.35vw, 19px);
  font-weight: 800;
  line-height: 1;
  box-shadow: none;
}

body.homepage .text-link {
  min-height: 0;
  margin-top: clamp(13px, 1.6vw, 22px);
  font-size: clamp(10px, 1.5vw, 21px);
  font-weight: 800;
  line-height: 1.2;
}

body.homepage .app-preview {
  justify-content: center;
}

body.homepage .app-mockup {
  width: clamp(196px, 22.15vw, 310px);
}

@media (min-width: 1280px) {
  body.homepage .site-header,
  body.homepage .hero,
  body.homepage .section,
  body.homepage .section-band {
    padding-right: clamp(120px, 10vw, 160px);
    padding-left: clamp(120px, 10vw, 160px);
  }

  body.homepage .intro-grid {
    grid-template-columns: minmax(0, clamp(430px, 34vw, 560px)) minmax(0, 1fr);
    gap: clamp(76px, 6vw, 112px);
  }

  body.homepage .intro-grid h2 {
    max-width: clamp(430px, 34vw, 560px);
  }

  body.homepage .intro-grid > p {
    max-width: min(100%, 840px);
  }

  body.homepage .section-lead {
    max-width: none;
  }

  body.homepage .work-section .section-heading {
    margin-bottom: 42px;
  }

  body.homepage .app-copy h2 {
    max-width: clamp(780px, 62vw, 1120px);
  }

  body.homepage .app-copy p:not(.eyebrow):not(.download-label) {
    max-width: clamp(720px, 58vw, 1050px);
  }

  .site-footer {
    padding-right: clamp(72px, 6.4vw, 90px);
    padding-left: clamp(72px, 6.4vw, 90px);
  }
}

@media (min-width: 1600px) {
  body.homepage .intro-grid {
    grid-template-columns: minmax(0, clamp(640px, 40vw, 700px)) minmax(0, 1fr);
    gap: clamp(64px, 4.2vw, 78px);
  }

  body.homepage .intro-grid h2 {
    max-width: clamp(640px, 40vw, 700px);
  }

  body.homepage .work-section .section-heading {
    margin-bottom: 30px;
  }
}

@media (max-width: 620px) {
  body.homepage .site-header,
  body.homepage main,
  body.homepage .site-footer {
    width: 100%;
  }

  body.homepage .site-header {
    min-height: 54px;
    padding: 8px 20px;
  }

  body.homepage .brand-logo {
    width: 103px;
  }

  body.homepage .hero {
    height: auto;
    min-height: 262px;
    padding: 23px 28px 26px;
  }

  body.homepage .hero::before {
    background: url("assets/Docs/Slice 1.png") center top / cover no-repeat;
    filter: none;
    opacity: 0.58;
  }

  body.homepage .hero::after {
    background: linear-gradient(180deg, rgba(0, 43, 61, 0.96) 0%, rgba(0, 43, 61, 0.92) 100%);
  }

  body.homepage .hero-content {
    width: 100%;
  }

  body.homepage .eyebrow {
    margin-bottom: 14px;
    font-size: 13px;
  }

  body.homepage h1 {
    max-width: 330px;
    font-size: 33px;
    line-height: 1.12;
  }

  body.homepage .hero-lead {
    max-width: 310px;
    margin-top: 15px;
    font-size: 10px;
    line-height: 1.75;
  }

  body.homepage .section,
  body.homepage .section-band {
    padding: 26px 28px;
  }

  body.homepage .intro {
    padding-bottom: 38px;
  }

  body.homepage .intro-grid,
  body.homepage .app-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  body.homepage .intro-grid h2 {
    max-width: 305px;
    font-size: 30px;
    line-height: 1.02;
  }

  body.homepage .intro-grid > p {
    max-width: 100%;
    margin: 32px 0 0;
    font-size: 14px;
    line-height: 1.8;
  }

  body.homepage .work-section h2 {
    max-width: 100%;
    font-size: 22px;
    line-height: 1.05;
    text-wrap: nowrap;
    white-space: nowrap;
  }

  body.homepage .work-section {
    padding-top: 26px;
    padding-bottom: 28px;
  }

  body.homepage .section-heading {
    margin-bottom: 30px;
  }

  body.homepage .section-heading > * {
    min-width: 0;
  }

  body.homepage .section-lead {
    width: 100%;
    max-width: 100%;
    margin-top: 18px;
    font-size: 13px;
    line-height: 1.5;
  }

  body.homepage .work-section h2 {
    font-size: clamp(19px, 5.65vw, 22px);
  }

  body.homepage .feature-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  body.homepage .feature-card {
    display: grid;
    min-height: 136px;
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "icon title"
      "body body";
    column-gap: 11px;
    row-gap: 10px;
    align-items: start;
    padding: 16px 17px 15px;
    border-radius: 8px;
  }

  body.homepage .feature-card:nth-child(2) {
    min-height: 146px;
  }

  body.homepage .feature-icon {
    grid-area: icon;
    min-width: 29px;
    height: 27px;
    margin: 0;
    font-size: 13px;
  }

  body.homepage .feature-card h3 {
    grid-area: title;
    align-self: center;
    padding-top: 0;
    font-size: 20px;
    line-height: 1.08;
  }

  body.homepage .feature-card:nth-child(2) h3 {
    max-width: 170px;
  }

  body.homepage .feature-card p {
    grid-area: body;
    clear: none;
    margin-top: 0;
    font-size: 13px;
    line-height: 1.36;
  }

  body.homepage .app-section {
    padding-top: 28px;
    padding-bottom: 20px;
  }

  body.homepage .app-kicker {
    gap: 14px;
    margin-bottom: 26px;
  }

  body.homepage .app-icon {
    width: 72px;
    height: 72px;
    border-radius: 14px;
  }

  body.homepage .app-copy h2 {
    max-width: 353px;
    font-size: 17px;
    line-height: 1.18;
    text-wrap: wrap;
  }

  body.homepage .app-title-desktop {
    display: none;
  }

  body.homepage .app-title-mobile {
    display: block;
  }

  body.homepage .app-copy p:not(.eyebrow):not(.download-label) {
    max-width: 337px;
    margin-top: 20px;
    font-size: 13px;
    line-height: 1.55;
  }

  body.homepage .download-label {
    margin: 17px 0 10px;
    font-size: 16px;
  }

  body.homepage .store-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  body.homepage .store-button {
    width: auto;
    min-height: 47px;
    font-size: 14px;
  }

  body.homepage .text-link {
    min-height: 0;
    margin-top: 11px;
    font-size: 13px;
  }

  body.homepage .app-preview {
    justify-content: center;
    margin-top: 24px;
  }

  body.homepage .app-mockup {
    width: 263px;
  }

}

@media (max-width: 620px) {
  body.app-page .site-header {
    min-height: 54px;
    padding: 8px 20px;
  }

  body.app-page .hero-back-link {
    min-height: 36px;
    margin-top: 14px;
    font-size: 12px;
  }

  body.app-page .brand-logo {
    width: 103px;
  }

  body.app-page .info-hero {
    min-height: 300px;
    padding: 32px 24px;
  }

  body.app-page .info-hero h1 {
    font-size: 34px;
  }

  body.app-page .info-hero p:not(.download-label) {
    max-width: 330px;
    font-size: 12px;
    line-height: 1.55;
  }

  body.app-page .info-download {
    margin-top: 18px;
  }

  body.app-page .store-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    max-width: 270px;
  }

  body.app-page .store-button {
    width: auto;
    min-height: 40px;
    font-size: 13px;
  }

  body.app-page .docs-section {
    padding: 32px 24px 38px;
  }

  body.app-page .docs-section .section-heading {
    margin-bottom: 18px;
  }

  body.app-page .docs-section h2 {
    font-size: 18px;
  }

  body.app-page .docs-grid {
    gap: 18px;
  }

}
