:root {
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --ink: #1c2430;
  --muted: #5d6b7a;
  --blue: #1d6fe8;
  --blue-2: #1558c0;
  --line: #e6ebf2;
  --sans: "Inter", "Segoe UI", sans-serif;
  --mono: ui-monospace, "Segoe UI Mono", monospace;
  --wrap: 1160px;
  --radius: 4px;
  --shadow: 0 10px 30px rgba(22, 34, 51, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3, h4 {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #17202b;
  margin: 0 0 0.45em;
}
h1 { font-size: clamp(2rem, 3.5vw, 2.75rem); font-weight: 600; }
h2 { font-size: clamp(1.35rem, 2vw, 1.65rem); }
h3 { font-size: 1.05rem; }
p { margin: 0 0 0.85rem; }
::selection { background: #d6e6ff; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--ink);
  color: white;
  padding: 8px 12px;
  z-index: 80;
}
.skip:focus { top: 10px; }

.wrap { width: min(var(--wrap), calc(100% - 48px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #17202b;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.brand svg { display: block; }
.header-cta { margin-left: auto; }
.menu-btn {
  display: none;
  margin-left: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 14px;
  font: inherit;
  cursor: pointer;
}

.nav { display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  padding: 8px 12px;
  color: #3d4b5c;
  font-size: 0.94rem;
  font-weight: 500;
}
.nav-link:hover, .nav-link.is-active { color: var(--blue); }
.nav-drop {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.nav-item:hover .nav-drop,
.nav-item:focus-within .nav-drop { display: grid; }
.nav-drop a {
  text-decoration: none;
  padding: 8px 10px;
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 0.92rem;
}
.nav-drop a:hover, .nav-drop a[aria-current="page"] { background: #f3f7fd; color: var(--blue); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  border: 1px solid var(--blue);
  border-radius: var(--radius);
  padding: 11px 16px;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}
.btn:hover { background: var(--blue-2); border-color: var(--blue-2); color: #fff; }
.btn-line, .btn-ghost {
  background: #fff;
  color: var(--blue);
  border-color: #c5d8f6;
}
.btn-line:hover, .btn-ghost:hover { background: #f3f7fd; color: var(--blue-2); }
.header-cta.btn { padding: 8px 14px; font-size: 0.9rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.25rem; }

.kicker {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 0.45rem;
}
.lede { font-size: 1.02rem; color: var(--muted); max-width: 38rem; }

.hero { padding: 54px 0 28px; }
.hero-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 48px;
  align-items: center;
}
.hero-figure { margin: 0; }
.hero-figure img, .frame img, .shot {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
  object-fit: cover;
}
.hero-figure img { aspect-ratio: 16/10; }

.mosaic { padding: 12px 0 36px; }
.mosaic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.tile {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  align-items: center;
  padding: 28px;
  background: #fff;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  min-height: 230px;
}
.mosaic-grid .tile:nth-child(2n) { border-right: 0; }
.mosaic-grid .tile:nth-last-child(-n+2) { border-bottom: 0; }
.tile h2 { margin-bottom: 0.35rem; }
.tile p { color: var(--muted); margin: 0 0 0.6rem; }
.tile img { width: 100%; height: 148px; object-fit: cover; border-radius: 6px; }
.tile a.more { font-weight: 600; text-decoration: none; }

.section { padding: 48px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 18px;
}
.section-head p, .section-head a { color: var(--muted); }
.section-head a { font-weight: 600; text-decoration: none; }
.section-head a:hover { color: var(--blue); }

.cards { display: grid; gap: 16px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  min-height: 100%;
}
.card:hover { border-color: #c5d8f6; }
.card img { aspect-ratio: 16/10; object-fit: cover; }
.card-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card p { color: var(--muted); margin: 0; }
.more { margin-top: auto; padding-top: 12px; color: var(--blue); font-weight: 600; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}
.split img { aspect-ratio: 16/10; object-fit: cover; border-radius: 8px; box-shadow: var(--shadow); }
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }

.ticks { list-style: none; padding: 0; margin: 0 0 0.8rem; }
.ticks li {
  position: relative;
  padding-left: 22px;
  margin: 0.35rem 0;
  color: #314052;
}
.ticks li::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M2.2 6.2 4.6 8.6 9.8 3.2' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 12px no-repeat;
  position: absolute;
  left: 0;
  top: 0.28em;
}

.page-hero { padding: 32px 0 8px; }
.page-hero h1 { font-size: clamp(1.8rem, 3vw, 2.35rem); }
.crumbs { padding-top: 18px; }
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 8px; color: #b7c2ce; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--blue); }

.frame { margin: 22px auto 8px; }
.frame img { aspect-ratio: 16/7; object-fit: cover; }
.frame figcaption { color: var(--muted); font-size: 0.9rem; margin-top: 8px; }

.prose { padding-bottom: 12px; }
.prose h2 { margin-top: 1.4em; }
.prose h3 { margin-top: 1.15em; }
.prose > :first-child { margin-top: 0; }
.note {
  background: #f3f7fd;
  border-left: 3px solid var(--blue);
  padding: 12px 14px;
  color: var(--ink);
}

pre, code { font-family: var(--mono); }
pre {
  background: #f6f8fb;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 16px;
  border-radius: 8px;
  overflow: auto;
  line-height: 1.55;
  font-size: 0.9rem;
}
code { font-size: 0.92em; }
.prose a, .article a { color: var(--blue); }

.table-wrap { overflow-x: auto; margin: 1rem 0 1.4rem; }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
th, td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 600; background: var(--bg-soft); }

.cta-band { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 36px 0; margin-top: 28px; }
.cta-inner { display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.cta-inner h2 { margin-bottom: 0.25rem; }
.cta-inner p { margin: 0; color: var(--muted); max-width: 40rem; }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.news-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.news-card img { width: 100%; height: 150px; object-fit: cover; }
.news-card div { padding: 14px 14px 16px; }
.news-card time, .byline { color: var(--muted); font-size: 0.85rem; }
.news-card h3 { margin: 6px 0; font-size: 1rem; }
.news-card p { color: var(--muted); margin: 0; font-size: 0.92rem; }
.news-list { display: grid; gap: 12px; }
.news-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
}
.news-row img { width: 180px; height: 112px; object-fit: cover; border-radius: 6px; }
.news-row time { color: var(--muted); font-size: 0.88rem; }

.form { display: grid; gap: 14px; margin: 12px 0 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: grid; gap: 6px; font-size: 0.92rem; font-weight: 600; color: #243140; }
input, select, textarea {
  font: inherit;
  font-weight: 400;
  color: inherit;
  background: #fff;
  border: 1px solid #d5dee8;
  border-radius: var(--radius);
  padding: 10px 12px;
  width: 100%;
}
textarea { resize: vertical; }
.form-note { color: var(--blue); }

.spec { display: grid; grid-template-columns: 160px 1fr; gap: 8px 18px; margin: 0 0 1rem; }
.spec dt { color: var(--muted); }

.swatches { display: flex; gap: 14px; flex-wrap: wrap; margin: 12px 0 20px; }
.swatch { width: 140px; }
.swatch i { display: block; height: 72px; border-radius: 6px; border: 1px solid var(--line); }
.swatch span { display: block; margin-top: 6px; font-size: 0.85rem; color: var(--muted); }
.logo-lockup {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  margin: 10px 0 18px;
  font-weight: 600;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 24px;
  background: var(--bg-soft);
  color: #3d4b5c;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 24px; }
.site-footer a { text-decoration: none; color: #3d4b5c; }
.site-footer a:hover { color: var(--blue); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer h2 { font-size: 0.82rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: #17202b; }
.site-footer .brand { margin-bottom: 8px; }
.legal-line { color: var(--muted); font-size: 0.85rem; margin-top: 24px; }
.legal-line a { color: var(--muted); }

.cookie {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow);
}
.cookie p { margin: 0; max-width: 70ch; color: var(--muted); }
.cookie a { color: var(--blue); }
.cookie[hidden] { display: none; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

@media (max-width: 980px) {
  .menu-btn { display: inline-flex; }
  .header-cta { display: none; }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 18px;
    flex-direction: column;
    align-items: stretch;
  }
  .nav.is-open {
    display: flex;
    max-height: calc(100dvh - 64px);
    overflow: auto;
    overscroll-behavior: contain;
  }
  .nav-drop {
    position: static;
    display: grid;
    border: 0;
    box-shadow: none;
    padding: 0 0 8px 12px;
  }
  .hero-grid, .split, .split.reverse, .cards-3, .cards-2, .footer-grid, .cta-inner, .form-grid, .news-row, .news-grid, .spec, .tile {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .mosaic-grid { grid-template-columns: 1fr; }
  .mosaic-grid .tile { border-right: 0; }
  .mosaic-grid .tile:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .mosaic-grid .tile:last-child { border-bottom: 0; }
  .tile img { height: 180px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
