:root {
  --color-page: #F3F4F4;
  --color-surface: #FFFFFF;
  --color-surface-alt: #E1E4E5;
  --color-text: #252B30;
  --color-text-muted: #58646B;
  --color-brand-yellow: #FFBF24;
  --color-yellow-hover: #F0B000;
  --color-line: #C5CED1;
  --font: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  --header-h: 72px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }

html { color-scheme: light; }

body {
  margin: 0;
  background: var(--color-page);
  color: var(--color-text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
}

img { border: 0; }

a { color: inherit; }

.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--color-text);
  color: white;
  padding: 8px 12px;
  z-index: 30;
}

.skip:focus { top: 12px; }

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

.narrow { width: min(760px, calc(100% - 40px)); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--color-page);
  border-bottom: 1px solid var(--color-surface-alt);
  height: var(--header-h);
}

.header-bar {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.logo img {
  height: 30px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  font-size: 15px;
}

.nav-links a { text-decoration: none; }

.nav-links a:hover { text-decoration: underline; text-underline-offset: 3px; }

.has-sub { position: relative; }

.has-sub::after {
  content: "";
  position: absolute;
  left: 0;
  top: 100%;
  width: 280px;
  height: 14px;
}

.sub {
  display: none;
  position: absolute;
  z-index: 5;
  top: calc(100% + 6px);
  left: 0;
  width: 280px;
  padding: 10px;
  background: var(--color-surface);
  border: 1px solid var(--color-surface-alt);
  box-shadow: 0 10px 30px rgba(37, 43, 48, 0.08);
}

.sub a {
  display: block;
  padding: 8px 10px;
  text-decoration: none;
}

.sub a:hover { background: var(--color-page); text-decoration: none; }

.has-sub:hover .sub,
.has-sub:focus-within .sub { display: block; }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--color-text);
  color: var(--color-text);
  font: inherit;
  font-size: 15px;
  padding: 8px 12px;
  cursor: pointer;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 6px;
  text-decoration: none;
  font: inherit;
  font-size: 15px;
  font-weight: 650;
  cursor: pointer;
  border: 1px solid transparent;
}

.button-yellow {
  background: var(--color-brand-yellow);
  color: var(--color-text);
}

.button-yellow:hover { background: var(--color-yellow-hover); }

.button-line {
  background: transparent;
  border-color: var(--color-text);
  color: var(--color-text);
}

.lang-switch {
  position: relative;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.lang-switch summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--color-text);
  border-radius: 6px;
  background: transparent;
  color: var(--color-text);
}

.lang-switch summary::-webkit-details-marker,
.lang-switch summary::marker {
  display: none;
  content: "";
}

.lang-switch summary::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.lang-switch[open] summary::after {
  margin-top: 3px;
  transform: rotate(225deg);
}

.lang-menu {
  position: absolute;
  z-index: 6;
  top: calc(100% + 6px);
  right: 0;
  min-width: 100%;
  padding: 6px;
  background: var(--color-surface);
  border: 1px solid var(--color-surface-alt);
  box-shadow: 0 10px 30px rgba(37, 43, 48, 0.08);
}

.lang-menu a {
  display: block;
  padding: 8px 12px;
  text-decoration: none;
}

.lang-menu a:hover,
.lang-menu a:focus-visible,
.lang-menu a[aria-current="page"] {
  background: var(--color-page);
  text-decoration: none;
}

.nav-cta { min-height: 40px; }

.nav-cta:hover { text-decoration: none; }

.hero { padding: 48px 0 28px; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: center;
}

/* Product copy is often shorter than the 360 stage or the still stack.
   Centering that pair drops the text and leaves the images above it. */
.hero-grid:has(#urun-title) {
  align-items: start;
}

.kicker {
  margin: 0 0 12px;
  color: var(--color-text-muted);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1, h2, h3 { font-weight: 650; letter-spacing: -0.03em; line-height: 1.12; }

h1 {
  margin: 0 0 16px;
  font-size: clamp(2.4rem, 5vw, 4.1rem);
}

h2 { margin: 0 0 12px; font-size: clamp(1.7rem, 3vw, 2.3rem); }

h3 { margin: 0 0 8px; font-size: 1.15rem; letter-spacing: -0.02em; }

.lede, .section-lead {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* P001 catalog hero. Scoped so other product pages keep the shared hero. */
.hero-catalog { --hero-gap: 24px; padding: 36px 0 20px; }

.hero-catalog .hero-grid,
.hero-catalog .hero-grid:has(#urun-title) {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--hero-gap);
  align-items: center;
}

.hero-catalog .hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--hero-gap);
  min-width: 0;
}

.hero-catalog .hero-copy > * { margin: 0; }

.hero-catalog .kicker { margin: 0; }

.hero-catalog h1 {
  margin: 0;
  font-size: 3.25rem;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

/* Long P006 titles only. Other catalog heroes keep the fixed size above. */
.hero-catalog.hero-catalog-long h1 {
  font-size: clamp(2.15rem, 1.5rem + 2.4vw, 3.25rem);
  line-height: 1.08;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.hero-catalog .hero-sub {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.hero-catalog .lede {
  max-width: 36em;
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.5;
}

.hero-catalog .hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--hero-gap);
  margin: 0;
  padding: 0;
  border: 0;
}

.hero-catalog .hero-stats > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0 0 0 var(--hero-gap);
  border-left: 1px solid var(--color-line);
}

.hero-catalog .hero-stats > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-catalog .hero-stats dd,
.hero-catalog .hero-stats dt {
  margin: 0;
  padding: 0;
}

.hero-catalog .hero-stats dd {
  color: var(--color-text);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.hero-catalog .hero-stats dt {
  color: var(--color-text-muted);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

.hero-catalog .hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px var(--hero-gap);
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--color-text);
  font-size: 0.94rem;
}

.hero-catalog .hero-tags li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.hero-catalog .hero-tags li::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--color-brand-yellow);
}

.hero-catalog .cta-row {
  align-items: stretch;
  gap: 12px;
  margin: 0;
}

.hero-catalog .cta-row .button {
  min-height: 48px;
  padding: 0 18px;
  text-align: center;
}

.hero-catalog .button-line {
  border-color: var(--color-line);
  font-weight: 500;
}

.hero-catalog .viewer-stage {
  height: min(62vh, 540px);
  min-height: 440px;
}

.product-intro { padding: 40px 0 8px; }

.product-intro h2 {
  margin-bottom: 10px;
  font-size: 1.35rem;
  font-weight: 600;
}

.product-intro p {
  max-width: 68ch;
  margin: 0;
}

.signals {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--color-text-muted);
  font-size: 14px;
}

.signals li {
  padding-left: 14px;
  position: relative;
}

.signals li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--color-brand-yellow);
  position: absolute;
  left: 0;
  top: 0.55em;
}

.panel {
  background: var(--color-page);
  min-width: 0;
}

.viewer { outline: none; }

.viewer:focus-visible { outline: 2px solid var(--color-text); outline-offset: 4px; }

.viewer-stage {
  position: relative;
  overflow: hidden;
  height: min(68vh, 620px);
  min-height: 420px;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
}

.viewer-stage.is-dragging { cursor: grabbing; }

.viewer-frame {
  position: absolute;
  width: auto;
  height: 146%;
  max-width: none;
  left: 50%;
  top: 50%;
  transform: translate(-36.2%, -53%);
  opacity: 0;
  pointer-events: none;
  user-select: none;
}

.viewer-frame.is-active { opacity: 1; }

.viewer-frame.is-replaced {
  opacity: 0;
  pointer-events: none;
}

.viewer-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

.viewer-loading {
  margin: 8px 8px 0;
  font-size: 14px;
}

.section { padding: 72px 0; }

.section-alt { background: var(--color-surface-alt); }

.section-lead { max-width: 62ch; margin-bottom: 28px; }

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

.card {
  background: var(--color-surface);
  border-radius: 16px;
  overflow: hidden;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.still {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: var(--color-surface);
}

.still img {
  position: absolute;
  max-width: none;
  width: 84%;
  height: 84%;
  inset: 8%;
  object-fit: contain;
}

.card-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.card-body p { margin: 0; color: var(--color-text-muted); }

.card-body ul {
  margin: 4px 0 0;
  padding: 0 0 0 18px;
  color: var(--color-text-muted);
  font-size: 15px;
}

.card-body li + li { margin-top: 6px; }

.text-link {
  margin-top: auto;
  font-weight: 650;
  font-size: 15px;
}

.card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: auto;
}

.card-links .text-link { margin-top: 0; }

h3 a { color: inherit; text-decoration: none; }

h3 a:hover { text-decoration: underline; }

.facts {
  margin: 18px 0 0;
  padding: 0 0 0 18px;
  color: var(--color-text-muted);
}

.facts li + li { margin-top: 8px; }

.product-body > h2 { margin-top: 40px; }

.product-body > h2:first-child { margin-top: 0; }

.product-body p {
  margin: 0 0 12px;
  max-width: 68ch;
  color: var(--color-text-muted);
}

.spec {
  display: grid;
  grid-template-columns: minmax(160px, 240px) 1fr;
  max-width: 760px;
  margin: 8px 0 0;
}

.spec dt,
.spec dd {
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-line);
}

.spec dt { font-weight: 650; padding-right: 16px; }

.spec dd { color: var(--color-text-muted); }

.models {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
  margin-top: 8px;
}

.models article {
  background: var(--color-surface);
  border-radius: 10px;
  padding: 14px;
}

.models p { margin: 0; max-width: none; }

.faq {
  display: grid;
  gap: 16px;
  margin-top: 8px;
}

.faq h3 { margin: 0 0 4px; }

.faq p { margin: 0; }

.product-still {
  height: min(68vh, 620px);
  min-height: 420px;
  background: var(--color-page);
}

.angle-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.angle-stack .product-still {
  height: 260px;
  min-height: 200px;
}

.still-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.still-picks button {
  width: 72px;
  height: 54px;
  padding: 4px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.still-picks button[aria-pressed="true"] {
  border-color: var(--color-text);
}

.still-picks img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.related {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
}

.related a {
  display: block;
  padding: 14px;
  background: var(--color-surface);
  border-radius: 10px;
  text-decoration: none;
}

.related a:hover { outline: 1px solid var(--color-text); }

.related span {
  display: block;
  margin-top: 4px;
  color: var(--color-text-muted);
  font-size: 15px;
}

.crumb {
  margin: 0 0 14px;
  color: var(--color-text-muted);
  font-size: 14px;
}

.crumb a { color: inherit; }

.subhead { margin: 42px 0 16px; }

.families {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
}

.families a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 14px;
  background: var(--color-surface);
  border-radius: 10px;
  text-decoration: none;
}

.families a:hover { outline: 1px solid var(--color-text); }

.families span { color: var(--color-text-muted); font-size: 15px; }

.fine {
  margin: 16px 0 0;
  color: var(--color-text-muted);
  font-size: 14px;
}

.finder, .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.finder { margin-top: 8px; }

label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  font-weight: 650;
}

input, select, textarea {
  font: inherit;
  font-weight: 500;
  font-size: 16px;
  color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: 8px;
  padding: 12px 12px;
  width: 100%;
}

textarea { min-height: 140px; resize: vertical; }

.optional, .field-hint {
  font-weight: 500;
  color: var(--color-text-muted);
}

.field-hint { font-size: 13px; }

.finder .button { align-self: end; }

.finder-result {
  margin-top: 18px;
  padding: 16px;
  background: var(--color-surface);
  border-radius: 12px;
}

.finder-result p { margin: 0 0 10px; }

.finder-result ul { margin: 0; padding-left: 18px; }

.sector-list, .steps, .resource-grid {
  display: grid;
  gap: 14px;
}

.sector-list, .resource-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.sector-list { list-style: none; margin: 28px 0 0; padding: 0; }

.sector-list li, .resource-grid article, .steps li, .empty-panel {
  background: var(--color-surface);
  border-radius: 14px;
  padding: 18px;
}

.section-alt .sector-list li,
.section-alt .resource-grid article,
.section-alt .steps li { background: var(--color-page); }

.sector-list p, .resource-grid p, .steps p, .empty-panel p { margin: 0; color: var(--color-text-muted); }

.steps {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  counter-reset: step;
}

.steps li { counter-increment: step; }

.steps li h3::before {
  content: counter(step) "  ";
  color: var(--color-text-muted);
}

.resource-grid { margin-top: 28px; }

.logo-wall {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 22px 18px;
  align-items: center;
}

.logo-wall li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  margin: 0;
}

.logo-wall img {
  display: block;
  width: 100%;
  height: 52px;
  object-fit: contain;
}

.notice {
  padding: 12px 14px;
  background: var(--color-surface);
  border-left: 4px solid var(--color-brand-yellow);
  margin: 0 0 18px;
}

.notice:empty {
  display: none;
}

.form-grid { margin-bottom: 16px; }

.full { grid-column: 1 / -1; }

.check {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500;
}

.check input { width: 18px; height: 18px; margin-top: 3px; }

.site-footer {
  background: var(--color-surface-alt);
  padding: 36px 0 48px;
  font-size: 15px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(180px, 0.6fr);
  gap: 28px;
}

.footer-logo { margin: 0 0 14px; }

.footer-logo img { height: 34px; }

.site-footer p { margin: 0 0 8px; }

.site-footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.site-footer nav a:hover { text-decoration: underline; }

:focus-visible {
  outline: 2px solid var(--color-text);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .cards, .sector-list, .resource-grid, .families, .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .logo-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  .steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }

  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    margin: 0;
    padding: 8px 20px 18px;
    background: var(--color-page);
    border-bottom: 1px solid var(--color-surface-alt);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .nav-links.is-open { display: flex; }

  .has-sub::after { content: none; }

  .nav-links > a, .has-sub > a {
    display: block;
    padding: 10px 0;
  }

  .sub {
    display: flex;
    flex-direction: column;
    position: static;
    width: auto;
    padding: 0 0 8px 12px;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .nav-cta { margin-top: 8px; }

  .lang-switch { align-self: flex-start; }

  .lang-menu {
    position: static;
    margin-top: 6px;
    box-shadow: none;
  }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }

  .hero-catalog .hero-grid,
  .hero-catalog .hero-grid:has(#urun-title) {
    grid-template-columns: 1fr;
    gap: var(--hero-gap);
  }

  .hero-catalog h1 { font-size: clamp(2.35rem, 9vw, 3.25rem); }

  .hero-catalog .viewer-stage {
    height: min(92vw, 460px);
    min-height: 380px;
  }
}

@media (max-width: 720px) {
  .hero-catalog .cta-row { flex-direction: column; align-items: stretch; }

  .hero-catalog .cta-row .button { width: 100%; }

  .hero-catalog .hero-stats { gap: 16px; }

  .hero-catalog .hero-stats > div { padding-left: 16px; }

  .hero-catalog .hero-stats > div:first-child { padding-left: 0; }
}

@media (max-width: 560px) {
  .hero-catalog .hero-stats { grid-template-columns: 1fr; gap: var(--hero-gap); }

  .hero-catalog .hero-stats > div,
  .hero-catalog .hero-stats > div:first-child {
    padding: 0;
    border: 0;
  }
}

@media (max-width: 700px) {
  .wrap, .narrow { width: min(var(--wrap), calc(100% - 32px)); }

  .hero { padding-top: 28px; }

  .cards, .sector-list, .resource-grid, .families, .related, .models, .finder, .form-grid, .footer-grid, .steps {
    grid-template-columns: 1fr;
  }

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

  .logo-wall img { height: 44px; }

  .spec { grid-template-columns: 1fr; }

  .spec dt { border-bottom: 0; padding-bottom: 2px; }

  .spec dd { padding-top: 0; }

  .viewer-stage { height: min(64vh, 520px); min-height: 360px; }

  .section { padding: 52px 0; }

  .still { height: 240px; }

  .product-still { height: min(64vh, 520px); min-height: 360px; }

  .angle-stack .product-still { height: 220px; min-height: 180px; }
}
