@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

@font-face {
  font-family: "NewsGothicXCnBT";
  src: url("NewsGothicCondensedBT.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "NewsGothicExtraCondensedBT";
  src: url("NewsGothicExtraCondensedBT.ttf.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "NewsGothicExtraCondensedBT";
  src: url("NewsGothicExtraCondensedBT_Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --ink: #000101;
  --muted: #777777;
  --surface: #ebf4f9;
  --accent: #9dab6e;
  --accent-hover: #8d9d60;
  --line: #d5d5d5;
  --display: "Inter", "Segoe UI", sans-serif;
  --body: "Inter", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
  line-height: 1.45;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--display);
  line-height: 1.12;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(2.25rem, 4.6vw, 3.5rem);
}

h2 {
  font-size: clamp(1.95rem, 3.4vw, 2.8rem);
}

h3 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
}

h4 {
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
}

.container {
  width: min(1408px, calc(100% - clamp(1.5rem, 4vw, 4rem)));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(235, 244, 249, 0.95);
  backdrop-filter: blur(8px);
}

.nav-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.logo {
  width: 136px;
  height: 32px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: 0.03em;
}

.nav-links .active {
  border-bottom: 1px solid var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.lang-selector {
  position: relative;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  min-width: 102px;
  border: 1px solid #a9b7bf;
  border-radius: 999px;
  background: #fff;
  padding: 0.34rem 0.58rem;
  font-family: var(--display);
  font-size: 0.96rem;
  letter-spacing: 0.04em;
  color: #24333a;
  cursor: pointer;
  list-style: none;
}

.lang-toggle::-webkit-details-marker {
  display: none;
}

.lang-selector[open] .lang-toggle {
  background: #dce9ef;
  border-color: #8ea2ad;
}

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.35rem);
  min-width: 176px;
  background: #fff;
  border: 1px solid #c6d2d8;
  border-radius: 10px;
  padding: 0.25rem;
  box-shadow: 0 8px 24px rgba(17, 38, 51, 0.12);
  z-index: 80;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.42rem 0.5rem;
  border-radius: 8px;
  font-family: var(--display);
  font-size: 0.96rem;
  letter-spacing: 0.04em;
  color: #24333a;
}

.lang-option:hover {
  background: #eef4f7;
}

.lang-option.is-active {
  background: #dce9ef;
}

.lang-current-flag,
.lang-flag {
  width: 28px;
  height: 20px;
  border-radius: 2px;
  border: 1px solid #9fb0b8;
  display: inline-block;
  object-fit: cover;
  flex: 0 0 auto;
}

.lang-caret {
  font-size: 0.65rem;
  line-height: 1;
  transform: translateY(1px);
}

.btn {
  border: 0;
  border-radius: 999px;
  padding: 0.7rem 1.2rem;
  font-family: var(--display);
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}

.btn-primary {
  background: var(--accent);
  transition: background-color 180ms ease;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-ghost {
  padding-inline: 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 2.8vw, 2.5rem);
  padding: clamp(1.6rem, 2.8vw, 2.5rem) 0;
}

.hero-copy {
  display: grid;
  gap: 1rem;
}

.hero-copy p {
  max-width: 64ch;
  font-size: clamp(0.98rem, 1.2vw, 1.1rem);
}

.hero-image {
  width: 100%;
  height: clamp(320px, 35vw, 560px);
  object-fit: cover;
}

.btn-row {
  margin-top: 0.45rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.eyebrow {
  color: var(--muted);
  font-family: var(--display);
  letter-spacing: 0.03em;
  font-size: 1rem;
}

.featured {
  padding: 0.9rem 0 1.6rem;
  text-align: center;
}

.featured-row {
  margin-top: 0.45rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  gap: 0.7rem;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.featured-row::-webkit-scrollbar {
  display: none;
}

.featured-row .logo-img {
  width: auto;
  height: auto;
  max-height: 26px;
  object-fit: contain;
  max-width: 200px;
  flex: 0 0 auto;
}

.featured-row .featured-separator {
  width: 1px;
  height: 20px;
  background: #000101;
  opacity: 0.35;
  flex: 0 0 auto;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 2.8vw, 2.4rem);
  align-items: center;
  padding: clamp(2rem, 4vw, 3rem) 0;
}

.two-col article {
  display: grid;
  gap: 1rem;
}

.two-col article p {
  font-size: clamp(0.96rem, 1.1vw, 1.05rem);
}

.section-image {
  width: 100%;
  height: clamp(280px, 30vw, 480px);
  object-fit: cover;
}

#berit .section-image {
  height: clamp(360px, 38vw, 620px);
  object-position: center top;
}

.testimonials,
.blog,
.faq {
  padding: clamp(2rem, 4vw, 3rem) 0;
}

.grid {
  margin-top: 1rem;
  display: grid;
  gap: 1.2rem;
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.content-card {
  display: grid;
  gap: 0.75rem;
}

.content-card img {
  width: 100%;
  height: clamp(160px, 16vw, 230px);
  object-fit: cover;
}

.content-card p,
.content-card small {
  font-size: 0.9rem;
}

.content-card h4 {
  font-family: var(--display);
  font-size: 1.15rem;
}

.content-card small {
  color: #666;
}

.download-band {
  background: var(--surface);
  text-align: center;
  padding: clamp(2rem, 4vw, 3rem) 0;
}

.download-band p {
  margin-top: 0.45rem;
  font-size: 0.96rem;
}

.store-row {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
}

.store-row img {
  width: auto;
  height: auto;
  object-fit: contain;
  flex: 0 0 auto;
}

.store-row img:first-child {
  width: 182px;
  height: 60px;
}

.store-row img:last-child {
  width: 203px;
  height: 60px;
}

.blog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.arrow-row {
  display: flex;
  gap: 0.65rem;
  font-size: 1rem;
}

.arrow {
  border: 1px solid var(--ink);
  border-radius: 999px;
  width: 1.45rem;
  height: 1.45rem;
  display: grid;
  place-items: center;
  line-height: 1;
}

.arrow.disabled {
  color: var(--muted);
  border-color: var(--muted);
}

.center {
  text-align: center;
}

.faq-sub {
  margin-top: 0.5rem;
  font-size: 1rem;
}

.faq-group-heading {
  margin: 1.25rem 0 0.5rem;
  padding: 0.45rem 0.8rem;
  border-left: 3px solid var(--accent);
  background: #f2f6ea;
  border-radius: 8px;
  font-family: var(--display);
  font-size: clamp(1.04rem, 1.6vw, 1.2rem);
  font-weight: 700;
  line-height: 1.2;
}

.faq-list {
  max-width: 980px;
  margin: 1.4rem auto 0;
  border-top: 1px solid #212121;
}

.faq-list details {
  border-bottom: 1px solid #212121;
}

.faq-list summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--display);
  font-size: 1.05rem;
  padding: 0.95rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-list summary::after {
  content: "";
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23000101' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 0.72rem 0.72rem;
  flex: 0 0 auto;
  transition: transform 180ms ease;
}

.faq-list details[open] summary::after {
  transform: rotate(180deg);
}

.faq-list details p {
  padding: 0 0 0.9rem;
  color: #555;
  font-size: 0.95rem;
}

.site-footer {
  padding: 1.75rem 0;
}

.footer-wrap {
  border-top: 1px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  flex-wrap: wrap;
  font-family: var(--display);
  font-size: 0.95rem;
}

@media (max-width: 1100px) {
  .nav-links {
    display: none;
  }

  .grid.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .hero,
  .two-col,
  .grid.four,
  .footer-wrap {
    grid-template-columns: 1fr;
    display: grid;
  }

  .hero {
    padding: 1.5rem 0;
  }

  .hero-image {
    height: 260px;
  }

  .blog-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-wrap {
    justify-items: start;
  }

  .store-row {
    flex-wrap: wrap;
  }

  .header-actions .btn {
    display: none;
  }

  .store-row img:first-child {
    width: 152px;
    height: 50px;
  }

  .store-row img:last-child {
    width: 169px;
    height: 50px;
  }

  .featured-row {
    justify-content: center;
    gap: 0.45rem;
    min-height: 46px;
    padding: 0.8rem 0;
  }

  .featured-row .logo-img {
    max-height: 18px;
    max-width: 140px;
  }

  .featured-row .featured-separator {
    height: 14px;
  }
}
