:root {
  color-scheme: light;
  --bg: #f6f8fb;
  --paper: #ffffff;
  --ink: #102033;
  --muted: #5c6f83;
  --soft: #e8eef5;
  --soft-2: #edf6f8;
  --line: #d8e1eb;
  --navy: #10233f;
  --navy-2: #173a5c;
  --cyan: #0b8fb7;
  --cyan-2: #28b8d5;
  --green: #2f8f6b;
  --green-2: #dcf6ed;
  --amber: #a96c16;
  --gold: #ffcf6f;
  --violet: #7468a7;
  --shadow: 0 18px 48px rgba(16, 32, 51, .12);
  --shadow-strong: 0 28px 80px rgba(16, 32, 51, .16);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .78), rgba(246, 248, 251, .9) 460px),
    radial-gradient(circle at 80% 0%, rgba(40, 184, 213, .14), transparent 360px),
    var(--bg);
  color: var(--ink);
  min-height: 100vh;
}

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

a { color: inherit; }

.shell {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.narrow { max-width: 840px; }

.site-header {
  background: rgba(255, 255, 255, .9);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 72px;
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  gap: 24px;
}

.brand {
  font-weight: 800;
  text-decoration: none;
  color: var(--navy);
}

.primary-nav,
.language-nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.primary-nav a,
.language-nav a,
.site-footer a,
.text-link,
.header-support {
  color: var(--muted);
  font-size: .95rem;
  font-weight: 700;
  text-decoration: none;
}

.primary-nav a:hover,
.language-nav a:hover,
.site-footer a:hover,
.text-link:hover,
.header-support:hover {
  color: var(--cyan);
}

.language-nav a[aria-current="true"] {
  color: var(--ink);
}

.header-support {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ffd989;
  border-radius: 8px;
  background: #fff6df;
  color: #6c4508;
  padding: 0 12px;
}

.hero-section {
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  gap: 48px;
  align-items: center;
  padding-block: 54px 42px;
}

.hero-copy h1,
.page-hero h1,
.legal-document h1 {
  margin: 0;
  color: var(--navy);
  font-size: 4.95rem;
  line-height: .98;
  letter-spacing: 0;
}

.hero-summary {
  margin: 24px 0 0;
  font-size: 1.62rem;
  line-height: 1.28;
  color: var(--navy);
  max-width: 680px;
}

.hero-intro,
.page-hero p,
.latest-layout p,
.split-copy p,
.feature-layout > div > p,
.case-section p,
.legal-document p,
.site-footer p,
.note-panel p {
  color: var(--muted);
  line-height: 1.72;
}

.hero-intro {
  font-size: 1.12rem;
  max-width: 680px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.actions.compact { margin-top: 18px; }

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--navy);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--navy), #071a31);
  color: #fff;
  padding: 0 18px;
  font-size: .95rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(16, 35, 63, .14);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(16, 35, 63, .2);
}

.button.secondary {
  background: var(--paper);
  color: var(--navy);
  box-shadow: none;
}

.button.disabled {
  border-color: var(--line);
  background: var(--soft);
  color: var(--muted);
  cursor: default;
  box-shadow: none;
}

.button.disabled:hover {
  transform: none;
  box-shadow: none;
}

.button.support {
  border-color: #d79a22;
  background: linear-gradient(180deg, #ffd978, #f4b638);
  color: #241600;
  box-shadow: 0 14px 28px rgba(169, 108, 22, .22);
}

.button.large {
  min-height: 52px;
  padding-inline: 22px;
}

.button.quiet {
  min-height: 38px;
  border-color: var(--line);
  background: transparent;
  color: var(--navy);
  box-shadow: none;
}

.hero-panel,
.product-card,
.method-grid article,
.capability-grid article,
.contact-card,
.legal-card,
.note-panel,
.case-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.hero-panel {
  padding: 24px;
  box-shadow: 0 16px 44px rgba(16, 32, 51, .1);
}

.hero-product {
  display: grid;
  gap: 14px;
}

.hero-product .product-visual img {
  aspect-ratio: 16 / 8.9;
}

.hero-product .hero-panel {
  padding: 20px;
}

.hero-product .hero-panel p {
  margin-bottom: 0;
}

.hero-product .fact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
  margin-top: 18px;
}

.hero-product .fact-grid div {
  padding-top: 10px;
}

.hero-panel-header {
  display: grid;
  gap: 14px;
}

.hero-panel h2,
.feature-layout h2,
.latest-layout h2,
.split-copy h2,
.method-grid h3,
.product-card h3,
.case-section h2,
.legal-card h2,
.contact-card strong {
  margin: 0;
  color: var(--navy);
}

.hero-panel p { color: var(--muted); line-height: 1.65; }

.fact-grid {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
}

.fact-grid div {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.fact-grid dt,
.contact-card span,
.updated,
.card-topline {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.fact-grid dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-weight: 800;
}

.status {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 28px;
  border-radius: 8px;
  padding: 4px 9px;
  font-size: .78rem;
  font-weight: 850;
}

.status-published { background: var(--green-2); color: var(--green); }
.status-review { background: #fff4df; color: var(--amber); }
.status-next { background: #e3f5ee; color: var(--green); }
.status-planned { background: #eeecf8; color: var(--violet); }

.section-band {
  background: var(--paper);
  border-block: 1px solid var(--line);
  padding-block: 72px;
}

.hero-links,
.secondary-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.proof-section {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  padding-block: 22px 72px;
}

.proof-section h2 {
  margin: 0;
  color: var(--navy);
  font-size: 2.1rem;
  line-height: 1.1;
}

.proof-section > div > p {
  color: var(--muted);
  line-height: 1.65;
}

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

.proof-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .82);
  padding: 18px;
}

.proof-grid span {
  display: block;
  width: 34px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--green));
  margin-bottom: 18px;
}

.proof-grid h3 {
  margin: 0;
  color: var(--navy);
}

.proof-grid p {
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 0;
}

.section-band.quiet {
  background: #edf3f8;
}

.feature-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 36px;
}

.feature-layout h2,
.latest-layout h2,
.split-copy h2,
.page-hero h1 {
  font-size: 2.45rem;
  line-height: 1.1;
}

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

.product-grid.wide {
  padding-bottom: 72px;
}

.product-card {
  padding: 22px;
  display: grid;
  gap: 14px;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.product-card:hover {
  transform: translateY(-2px);
  border-color: #b8c9da;
  box-shadow: 0 18px 40px rgba(16, 32, 51, .08);
}

.product-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.tag-list li {
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 750;
  padding: 5px 8px;
}

.latest-layout,
.split-copy,
.product-hero {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(320px, 1fr);
  gap: 40px;
  align-items: center;
  padding-block: 72px;
}

.latest-layout {
  position: relative;
}

.product-visual {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--navy);
  box-shadow: var(--shadow-strong);
}

.product-visual img {
  aspect-ratio: 16 / 10;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.planning-visual {
  min-height: 280px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(11, 143, 183, .14), transparent 42%),
    linear-gradient(45deg, rgba(47, 143, 107, .16), transparent 48%),
    #fff;
  display: grid;
  align-content: end;
  gap: 12px;
  padding: 22px;
}

.planning-visual span {
  display: block;
  height: 16px;
  border-radius: 8px;
  background: var(--soft);
}

.planning-visual span:nth-child(1) { width: 72%; }
.planning-visual span:nth-child(2) { width: 52%; }
.planning-visual span:nth-child(3) { width: 84%; }

.method-grid,
.capability-grid,
.contact-grid,
.legal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.support-band {
  background:
    linear-gradient(135deg, rgba(255, 207, 111, .2), transparent 34%),
    linear-gradient(110deg, var(--navy), var(--navy-2));
  color: #f8fbff;
  padding-block: 58px;
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: center;
}

.support-layout h2 {
  margin: 0;
  font-size: 2.35rem;
  line-height: 1.08;
}

.support-layout p {
  max-width: 720px;
  color: #c7d6e7;
  line-height: 1.7;
}

.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.method-grid article,
.capability-grid article,
.contact-card,
.legal-card {
  padding: 20px;
}

.method-grid p,
.legal-card p {
  color: var(--muted);
  line-height: 1.6;
}

.page-hero {
  padding-block: 76px 42px;
}

.page-hero p {
  font-size: 1.12rem;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 20px;
  color: var(--muted);
  font-weight: 750;
}

.case-layout {
  display: grid;
  gap: 16px;
  padding-bottom: 72px;
}

.case-section {
  padding: 26px;
  box-shadow: 0 10px 28px rgba(16, 32, 51, .04);
}

.case-section p,
.case-section ul {
  margin-bottom: 0;
}

.case-section li {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.65;
}

.capability-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-bottom: 72px;
}

.capability-grid h2 {
  font-size: 1.05rem;
}

.contact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-bottom: 24px;
}

.contact-card {
  display: grid;
  gap: 10px;
  text-decoration: none;
}

.contact-card strong {
  overflow-wrap: anywhere;
  font-size: 1.02rem;
}

.note-panel {
  padding: 20px;
  margin-bottom: 72px;
}

.legal-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-bottom: 72px;
}

.legal-card {
  text-decoration: none;
}

.legal-document {
  max-width: 840px;
  padding-block: 72px;
}

.legal-document h1 {
  font-size: 3.5rem;
}

.legal-document section {
  border-top: 1px solid var(--line);
  margin-top: 34px;
  padding-top: 28px;
}

.legal-document h2 {
  color: var(--navy);
  margin: 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--navy);
  color: #dce7f2;
  padding-block: 34px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: start;
}

.site-footer p,
.site-footer a {
  color: #b7c6d8;
}

.copyright {
  margin-bottom: 0;
}

@media (max-width: 880px) {
  .header-inner,
  .hero-section,
  .proof-section,
  .feature-layout,
  .latest-layout,
  .split-copy,
  .product-hero,
  .support-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    gap: 12px;
    padding-block: 14px;
  }

  .hero-section {
    min-height: auto;
    padding-block: 52px;
  }

  .product-grid,
  .proof-grid,
  .method-grid,
  .capability-grid,
  .contact-grid,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .primary-nav,
  .language-nav {
    flex-wrap: wrap;
  }

  .support-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(100% - 28px, 1120px);
  }

  .hero-copy h1 {
    font-size: 3rem;
  }

  .hero-summary {
    font-size: 1.28rem;
  }

  .page-hero h1,
  .feature-layout h2,
  .latest-layout h2,
  .split-copy h2 {
    font-size: 2rem;
  }

  .legal-document h1 {
    font-size: 2.35rem;
  }

  .primary-nav,
  .language-nav,
  .site-footer nav {
    gap: 12px;
  }

  .header-support {
    width: fit-content;
  }

  .button {
    width: 100%;
  }

  .hero-links .button,
  .secondary-links .button {
    width: auto;
  }

  .support-layout h2 {
    font-size: 2rem;
  }

  .hero-product .fact-grid {
    grid-template-columns: 1fr;
  }
}
