:root {
  --bg: #f7f9fc;
  --surface: #ffffff;
  --surface-strong: #edf3f8;
  --ink: #122033;
  --muted: #5d6b7d;
  --line: #dbe3ec;
  --brand: #10233f;
  --brand-soft: #e7eef7;
  --accent: #1d6d7b;
  --accent-dark: #155765;
  --shadow: 0 24px 60px rgba(16, 35, 63, 0.12);
  --radius: 24px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(29, 109, 123, 0.45);
  outline-offset: 4px;
  border-radius: 8px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  padding: 0.75rem 1rem;
  color: #ffffff;
  background: var(--brand);
  border-radius: 999px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.narrow {
  max-width: 820px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(247, 249, 252, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 76px;
}

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

.brand-logo {
  display: block;
  width: auto;
  height: 52px;
  max-width: 210px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  flex: 1;
  justify-content: flex-end;
  align-items: center;
  gap: 0.35rem;
}

.site-nav a {
  padding: 0.65rem 0.8rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
  text-decoration: none;
  border-radius: 999px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.8rem 1.15rem;
  color: #ffffff;
  background: var(--brand);
  border: 1px solid var(--brand);
  border-radius: 999px;
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(16, 35, 63, 0.16);
}

.button:hover {
  background: #182f52;
}

.button-secondary {
  color: var(--brand);
  background: transparent;
  border-color: var(--line);
  box-shadow: none;
}

.button-secondary:hover {
  background: var(--brand-soft);
}

.button-small {
  min-height: 40px;
  padding: 0.65rem 0.95rem;
  font-size: 0.9rem;
}

.section {
  padding: 96px 0;
}

.section-muted {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 112px 0;
}

.hero::before {
  position: absolute;
  inset: -35% -10% auto auto;
  width: 620px;
  height: 620px;
  content: "";
  background: radial-gradient(circle, rgba(29, 109, 123, 0.16), rgba(29, 109, 123, 0));
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  gap: 4rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--brand);
  line-height: 1.08;
}

h1 {
  max-width: 780px;
  font-size: clamp(3rem, 8vw, 6rem);
  letter-spacing: -0.07em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  letter-spacing: -0.045em;
}

h3 {
  font-size: 1.55rem;
  letter-spacing: -0.025em;
}

p {
  margin: 0;
}

.lead {
  max-width: 710px;
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.hero-panel {
  display: grid;
  gap: 1rem;
}

.panel-card,
.product-card,
.principle-card,
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.panel-card {
  padding: 2rem;
}

.panel-card h2 {
  margin-top: 0.6rem;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.panel-card p {
  margin-top: 1rem;
  color: var(--muted);
}

.panel-kicker {
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.signal-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.signal-list span {
  padding: 1rem;
  color: var(--brand);
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 18px;
  font-weight: 700;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: 4rem;
  align-items: start;
}

.section-copy {
  display: grid;
  gap: 1rem;
  color: var(--muted);
  font-size: 1.1rem;
}

.section-intro {
  max-width: 450px;
  margin-top: 1rem;
  color: var(--muted);
}

.section-heading {
  max-width: 730px;
}

.section-heading p:last-child {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.1rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 320px;
  padding: 2rem;
}

.product-card p {
  margin-top: 1rem;
  color: var(--muted);
}

.product-logo-frame {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  margin-bottom: 1.5rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 14px 30px rgba(16, 35, 63, 0.1);
}

.product-logo {
  display: block;
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.product-logo-fiasite {
  width: 56px;
  height: 56px;
}

.product-logo-focult {
  width: 62px;
  height: auto;
}

.text-link {
  width: max-content;
  margin-top: auto;
  padding-top: 1.5rem;
  color: var(--accent-dark);
  font-weight: 800;
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.3em;
}

.principle {
  padding-top: 0;
}

.principle-card {
  padding: clamp(2rem, 5vw, 4rem);
  color: #dce9f4;
  background:
    linear-gradient(135deg, rgba(29, 109, 123, 0.4), rgba(16, 35, 63, 0.94)),
    var(--brand);
}

.principle-card .eyebrow,
.principle-card h2 {
  color: #ffffff;
}

.principle-card p:last-child {
  max-width: 780px;
  margin-top: 1.25rem;
  font-size: 1.18rem;
}

.contact-card {
  display: grid;
  gap: 1rem;
  padding: 2rem;
  font-style: normal;
}

.contact-card strong {
  color: var(--brand);
  font-size: 1.1rem;
}

.contact-card span {
  color: var(--muted);
}

.contact-card a {
  color: var(--brand);
  font-weight: 700;
}

.legal-page .section {
  padding-top: 72px;
}

.legal-content {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
  color: var(--muted);
}

.legal-content h2 {
  margin-top: 1.25rem;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.placeholder-note {
  padding: 1rem;
  color: var(--brand);
  background: var(--brand-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  font-weight: 700;
}

.not-found {
  min-height: 58vh;
}

.site-footer {
  color: #dbe7f2;
  background: var(--brand);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 0.8fr;
  gap: 2rem;
  padding: 48px 0;
}

.footer-brand {
  color: #ffffff;
}

.footer-brand {
  display: inline-flex;
  padding: 0.45rem 0.6rem;
  background: #ffffff;
  border-radius: 14px;
}

.footer-brand .brand-logo {
  height: 46px;
  max-width: 190px;
}

.site-footer p {
  margin-top: 1rem;
}

.footer-title {
  color: #ffffff;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer ul {
  display: grid;
  gap: 0.55rem;
  padding: 0;
  margin: 1rem 0 0;
  list-style: none;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.footer-bottom {
  padding: 1.25rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-bottom p {
  margin: 0;
  color: #b9c9d9;
  font-size: 0.92rem;
}

@media (max-width: 880px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    padding: 0.9rem 0;
  }

  .site-nav {
    order: 3;
    flex-basis: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.2rem;
  }

  .header-inner > .button {
    margin-left: auto;
  }

  .hero-grid,
  .two-column,
  .product-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 72px 0;
  }

  .section {
    padding: 72px 0;
  }

  .two-column,
  .hero-grid {
    gap: 2rem;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 1.25rem, var(--max));
  }

  .brand-logo {
    height: 42px;
    max-width: 168px;
  }

  .header-inner > .button {
    display: none;
  }

  .site-nav {
    gap: 0.15rem;
  }

  .site-nav a {
    padding: 0.55rem 0.65rem;
    font-size: 0.9rem;
  }

  h1 {
    font-size: clamp(2.55rem, 16vw, 4rem);
  }

  .signal-list {
    grid-template-columns: 1fr;
  }

  .panel-card,
  .product-card,
  .contact-card {
    padding: 1.35rem;
  }

  .product-logo-frame {
    width: 70px;
    height: 70px;
  }

  .product-logo {
    width: 52px;
    height: 52px;
  }

  .product-logo-focult {
    width: 58px;
    height: auto;
  }
}
