/* JAYA9 BD — layout reference: navy header, orange/green CTAs, white body */
:root {
  --bg-page: #ffffff;
  --header-bg: #1b264f;
  --text: #000000;
  --muted: #808080;
  --orange: #ff8c00;
  --green: #3fb501;
  --border: #c8c8c8;
  --row-alt: #f5f5f5;
  --hero-border: #ff8c00;
  --banner-blue: #1e3a6e;
  --maxw: 1100px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg-page);
}

a {
  color: inherit;
}

.site-header {
  background: var(--header-bg);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.site-header__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand__logo {
  display: block;
  height: auto;
  max-height: 44px;
  width: auto;
  max-width: 180px;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.link-muted {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.35rem 0.5rem;
}

.link-muted:hover {
  text-decoration: underline;
}

.btn {
  display: inline-block;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  color: #fff;
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn--signup {
  background: var(--orange);
}

.btn--download {
  background: var(--green);
}

.btn--muted {
  background: var(--muted);
  color: #fff;
}

.btn:hover {
  filter: brightness(1.05);
}

.lang-bar {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0.35rem 1rem;
  text-align: right;
}

.lang-bar__link {
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: none;
}

.lang-bar__link:hover {
  text-decoration: underline;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.25rem 1rem 3rem;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: center;
  border: 2px solid var(--hero-border);
  padding: 1.25rem;
  margin-bottom: 2rem;
  background: #fff;
}

.hero__title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

.hero__lead {
  margin: 0 0 1rem;
  color: #222;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.hero__visual {
  min-height: 200px;
}

.hero__visual img,
.content-figure img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.img-placeholder {
  border: 1px dashed var(--border);
  background: var(--row-alt);
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.content-figure {
  margin: 1.5rem 0;
}

.content-figure figcaption {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.35rem;
}

h2 {
  font-size: 1.35rem;
  margin: 2rem 0 0.75rem;
}

h3 {
  font-size: 1.1rem;
  margin: 1.5rem 0 0.5rem;
}

p {
  margin: 0 0 0.85rem;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 2rem;
  font-size: 0.95rem;
}

.spec-table th,
.spec-table td {
  border: 1px solid var(--border);
  padding: 0.6rem 0.75rem;
  vertical-align: top;
}

.spec-table tr:nth-child(even) {
  background: var(--row-alt);
}

.spec-table th {
  background: #ececec;
  text-align: left;
  width: 32%;
}

ul.benefits {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
}

ul.benefits li {
  margin-bottom: 0.45rem;
}

.banner-block {
  background: linear-gradient(135deg, var(--banner-blue), #152a52);
  color: #fff;
  padding: 1.5rem 1rem;
  margin: 2rem 0;
  border-radius: 4px;
}

.banner-block__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
}

.banner-block .img-placeholder {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
  color: #e0e0e0;
  min-height: 160px;
}

.banner-block .content-figure img {
  max-width: 280px;
  width: 100%;
  margin-left: auto;
}

.banner-block h2 {
  color: #fff;
  margin-top: 0;
}

.prose-section {
  margin-bottom: 1.25rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #fafafa;
  margin-top: 2rem;
}

.site-footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.25rem 1rem 2rem;
}

.site-footer__note {
  font-size: 0.85rem;
  color: #444;
  margin: 0 0 0.5rem;
}

.site-footer__copy {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    order: -1;
  }

  .spec-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .spec-table th,
  .spec-table td {
    white-space: normal;
  }

  .banner-block__inner {
    grid-template-columns: 1fr;
  }

  .site-header__nav {
    gap: 0.35rem;
  }

  .btn {
    font-size: 0.82rem;
    padding: 0.5rem 0.85rem;
  }
}
