/* Çözmece product page: design F4 "Manşet · gece" (Figma 113:327).
   Standalone page: no Tailwind, no shared partials. Dark only.
   Sizes scale with both viewport width and height so the hero fits one screen. */

:root {
  --ink: #141414;
  --ink-2: #1e1c19;
  --black: #000;
  --cream: #f3eee3;
  --body: #d9d2c3;
  --muted: #a8a092;
  --yellow: #ffe45c;
  --wrap: 1200px;
  --gutter: 48px;
  --nav-h: 64px;
  --display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --text: "Archivo Narrow", "Arial Narrow", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

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

img { max-width: 100%; display: block; }
a { color: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }

.cz-wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

section[id] { scroll-margin-top: calc(var(--nav-h) + 8px); }

/* ---------- Nav ---------- */
.cz-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--ink);
  border-top: 4px solid var(--cream);
}
.cz-nav-row {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--nav-h);
  position: relative;
}
.cz-nav-row::after {
  content: "";
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 0;
  height: 2px;
  background: var(--cream);
}
.cz-brand {
  font-family: var(--display);
  font-size: 26px;
  line-height: 38px;
  letter-spacing: 0.02em;
  padding: 0 12px;
  background: var(--cream);
  color: var(--ink);
  text-decoration: none;
}
.cz-links { display: flex; gap: 28px; margin-left: auto; }
.cz-links a {
  font-family: var(--display);
  font-size: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cream);
}
.cz-links a:hover { color: var(--yellow); }
.cz-nav-end { display: flex; align-items: center; gap: 12px; }
.cz-lang { display: flex; border: 1.5px solid var(--cream); }
.cz-lang button {
  font: 600 12px/1 var(--mono);
  letter-spacing: 0.06em;
  padding: 6px 9px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.cz-lang button[aria-pressed="true"] { background: var(--cream); color: var(--ink); }
.cz-burger { display: none; }

/* ---------- Shared type ---------- */
.cz-h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 1;
  text-transform: uppercase;
  color: var(--cream);
}
.cz-note {
  font: 600 13px/1.5 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--body);
}

.cz-btn {
  display: inline-block;
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 11px 24px;
  background: var(--yellow);
  color: var(--ink);
  transition: transform 0.15s ease;
}
a.cz-btn:hover { transform: translate(-2px, -2px); }
.cz-btn-dark { background: var(--ink); color: var(--yellow); cursor: default; }

/* ---------- Hero (fits one screen) ---------- */
.cz-hero {
  --pw: clamp(190px, min(31vh, 24vw), 290px); /* phone width, follows screen height */
  display: flex;
  align-items: center;
  min-height: calc(100vh - var(--nav-h) - 4px);
  min-height: calc(100svh - var(--nav-h) - 4px);
  padding: clamp(24px, 4vh, 48px) 0;
  overflow: hidden;
}
.cz-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: clamp(32px, 5vw, 72px);
}
.cz-kicker {
  font: 600 13px/1.4 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.cz-kicker a { text-decoration: none; }
.cz-kicker a:hover { color: var(--yellow); }
.cz-headline {
  margin-top: clamp(8px, 1.4vh, 14px);
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(44px, min(6.4vw, 10.5vh), 100px);
  line-height: 1.08;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--cream);
}
.cz-line { display: block; }
.cz-mark {
  display: inline-block;
  margin-top: 0.1em;
  padding: 0.06em 0.12em 0;
  line-height: 1.02;
  background: var(--yellow);
  color: var(--ink);
}
.cz-lead {
  margin-top: clamp(16px, 3vh, 28px);
  max-width: 600px;
  font-weight: 700;
  font-size: clamp(17px, 2.5vh, 22px);
  line-height: 1.38;
  color: var(--body);
}
.cz-blurbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 600px;
  margin-top: clamp(16px, 2.6vh, 24px);
  padding-top: clamp(14px, 2.2vh, 20px);
  border-top: 2px solid var(--cream);
}
.cz-blurbs strong {
  display: block;
  font-family: var(--display);
  font-weight: 400;
  font-size: 19px;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--cream);
}
.cz-blurbs span { display: block; margin-top: 6px; font-size: 15px; line-height: 1.35; color: var(--muted); }
.cz-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  margin-top: clamp(20px, 3.4vh, 32px);
}
.cz-soon {
  font: 600 12px/1.4 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.cz-hero-art {
  position: relative;
  width: calc(var(--pw) * 1.36);
  height: calc(var(--pw) * 2.165 + 30px);
}
.cz-engraving {
  position: absolute;
  top: 8%;
  left: 0;
  width: calc(var(--pw) * 1.12);
  height: 76%;
  overflow: hidden;
  background: var(--cream);
  transform: rotate(-3deg);
}
.cz-engraving img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); opacity: 0.65; }
.cz-phone {
  background: var(--ink);
  border: 1px solid #3a3a3a;
  border-radius: 30px;
  padding: 7px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
.cz-phone img { width: 100%; height: auto; border-radius: 24px; }
.cz-phone-hero {
  position: absolute;
  top: 6px;
  right: 6px;
  width: var(--pw);
  transform: rotate(4deg);
}

/* ---------- How ---------- */
.cz-how { background: var(--ink-2); border-top: 2px solid var(--cream); padding: 56px 0 64px; }
.cz-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin-top: 36px;
}
.cz-num {
  display: block;
  font-family: var(--display);
  font-size: 64px;
  line-height: 1;
  color: var(--yellow);
}
.cz-steps h3 {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 2px solid var(--cream);
  font-family: var(--display);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.08;
  text-transform: uppercase;
  color: var(--cream);
}
.cz-steps p { margin-top: 10px; font-size: 17px; color: var(--muted); }
.cz-how .cz-note { margin-top: 40px; }

/* ---------- Categories ---------- */
.cz-cats { border-top: 2px solid var(--cream); padding: 56px 0 72px; }
.cz-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap; }
.cz-head-row .cz-note { color: var(--muted); padding-bottom: 8px; }
.cz-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 36px;
}
.cz-cat-grid li { position: relative; aspect-ratio: 4 / 3; border: 2px solid var(--cream); background: var(--cream); overflow: hidden; }
.cz-cat-grid img { width: 100%; height: 100%; object-fit: cover; }
.cz-cat-grid span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 3px 10px;
  font-family: var(--display);
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: var(--cream);
  color: var(--ink);
}

/* ---------- Screens ---------- */
.cz-screens { background: var(--cream); padding: 56px 0 72px; }
.cz-screens .cz-h2 { color: var(--ink); }
.cz-shots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 220px));
  justify-content: space-between;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin: 40px auto 0;
  padding: 0 calc(var(--gutter) + 12px);
}
.cz-shots li { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.cz-shots .cz-phone { width: 100%; }
.cz-shots li:nth-child(odd) .cz-phone { transform: rotate(-2deg); }
.cz-shots li:nth-child(even) .cz-phone { transform: rotate(2deg); }
.cz-shots span {
  padding: 3px 10px;
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--yellow);
}

/* ---------- Download ---------- */
.cz-download { background: var(--yellow); color: var(--ink); padding: 56px 0 64px; }
.cz-dl-grid { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cz-soon-big {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(56px, 7vw, 100px);
  line-height: 1;
  text-transform: uppercase;
}
.cz-dl-sub {
  margin-top: 6px;
  font-family: var(--display);
  font-size: clamp(24px, 2.8vw, 38px);
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.cz-dl-text { margin-top: 14px; max-width: 620px; font-weight: 700; font-size: 19px; line-height: 1.4; }
.cz-store-row { display: flex; flex-wrap: wrap; gap: 12px 16px; margin-top: 24px; }
.cz-store-row .cz-btn { cursor: pointer; }
.cz-dl-icon { width: 160px; height: 160px; border-radius: 34px; flex: none; }

/* ---------- Footer ---------- */
.cz-footer { background: var(--black); padding: 24px 0; }
.cz-foot-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  font: 600 12px/1.5 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.cz-foot-row nav { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.cz-foot-row a { color: var(--cream); text-decoration: none; }
.cz-foot-row a:hover { color: var(--yellow); }
.cz-foot-row a[href^="mailto"] { text-transform: none; }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  :root { --gutter: 32px; }
  .cz-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cz-cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cz-shots { padding: 0 var(--gutter); gap: 20px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- Mobile ---------- */
@media (max-width: 820px) {
  :root { --gutter: 16px; --nav-h: 56px; }
  body { font-size: 16px; }

  .cz-nav { border-top-width: 3px; }
  .cz-nav-row { gap: 10px; }
  .cz-brand { font-size: 22px; line-height: 32px; padding: 0 9px; }
  .cz-nav-end { margin-left: auto; }
  .cz-burger {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 38px;
    height: 34px;
    padding: 0 9px;
    border: 1.5px solid var(--cream);
    background: transparent;
    cursor: pointer;
  }
  .cz-burger span { display: block; height: 2px; background: var(--cream); transition: transform 0.2s ease; }
  .cz-burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .cz-burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .cz-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 4px var(--gutter) 12px;
    background: var(--ink);
    border-bottom: 2px solid var(--cream);
  }
  .cz-links.is-open { display: flex; }
  .cz-links a { font-size: 22px; padding: 8px 0; }

  .cz-hero { --pw: 190px; display: block; min-height: 0; padding: 24px 0 48px; }
  .cz-hero-grid { display: block; }
  .cz-kicker { font-size: 11px; }
  .cz-headline { font-size: clamp(38px, 12vw, 60px); }
  .cz-lead { font-size: 18px; }
  .cz-blurbs { grid-template-columns: 1fr; gap: 12px; }
  .cz-blurbs strong { font-size: 18px; }
  .cz-blurbs span { margin-top: 2px; }
  .cz-btn { font-size: 19px; }
  .cz-hero-art { margin: 36px auto 0; }

  .cz-how, .cz-cats { padding: 40px 0 48px; }
  .cz-steps { grid-template-columns: 1fr; gap: 24px; margin-top: 24px; }
  .cz-num { font-size: 48px; }
  .cz-steps h3 { margin-top: 8px; padding-top: 10px; font-size: 22px; }
  .cz-steps p { margin-top: 6px; font-size: 16px; }
  .cz-how .cz-note { margin-top: 28px; font-size: 11px; }

  .cz-head-row .cz-note { font-size: 11px; padding-bottom: 0; }
  .cz-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 24px; }
  .cz-cat-grid span { left: 6px; bottom: 6px; padding: 2px 6px; font-size: 14px; }

  .cz-screens { padding: 40px 0 40px; }
  .cz-shots {
    display: flex;
    gap: 16px;
    margin-top: 24px;
    padding: 10px var(--gutter) 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .cz-shots::-webkit-scrollbar { display: none; }
  .cz-shots li { flex: 0 0 58%; scroll-snap-align: center; gap: 14px; }
  .cz-shots li .cz-phone { transform: none !important; }
  .cz-shots span { font-size: 16px; }

  .cz-download { padding: 40px 0 48px; }
  .cz-dl-grid { flex-direction: column-reverse; align-items: flex-start; gap: 20px; }
  .cz-dl-text { font-size: 17px; }
  .cz-dl-icon { width: 96px; height: 96px; border-radius: 22px; }
  .cz-download .cz-btn { font-size: 17px; }

  .cz-foot-row { flex-direction: column; font-size: 11px; }
  .cz-foot-row nav { flex-direction: column; gap: 8px; }
}
