:root {
  --ink: #1b1914;
  --ink-soft: #3f3a32;
  --paper: #f4efe4;
  --paper-2: #ebe4d4;
  --card: #fffaf1;
  --line: rgba(27, 25, 20, 0.12);
  --navy: #071536;
  --stamp: #ec008c;
  --stamp-dark: #8a1a12;
  --cyan: #00a3e0;
  --gold: #b0893e;
  --shadow: 0 18px 50px rgba(27, 25, 20, 0.08);
  --radius: 22px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "IBM Plex Sans Arabic", "IBM Plex Sans", sans-serif;
  line-height: 1.7;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(27, 25, 20, 0.035) 0.6px, transparent 0.6px);
  background-size: 3px 3px;
  z-index: 0;
}

.crop {
  position: fixed;
  width: 18px;
  height: 18px;
  z-index: 4;
  pointer-events: none;
  border-color: rgba(27, 25, 20, 0.28);
}
.crop-tl { top: 10px; left: 10px; border-top: 1.5px solid; border-left: 1.5px solid; }
.crop-tr { top: 10px; right: 10px; border-top: 1.5px solid; border-right: 1.5px solid; }
.crop-bl { bottom: 10px; left: 10px; border-bottom: 1.5px solid; border-left: 1.5px solid; }
.crop-br { bottom: 10px; right: 10px; border-bottom: 1.5px solid; border-right: 1.5px solid; }

.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; position: relative; z-index: 1; }

a { color: var(--cyan); }
img { max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 21, 54, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  position: relative;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.brand-logo {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  background: var(--navy);
}
.brand-text { color: #eef3fb; }
.brand-text strong { display: block; font-size: 1.15rem; line-height: 1.2; }
.brand-text small { color: rgba(238, 243, 251, 0.7); font-size: 0.78rem; }

nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
nav a {
  text-decoration: none;
  color: rgba(238, 243, 251, 0.82);
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 0.92rem;
}
nav a:hover, nav a.active { color: #fff; background: rgba(255, 255, 255, 0.12); }
.menu-toggle {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
  font: inherit;
  color: #eef3fb;
}
.menu-toggle { display: none; }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }

.hero {
  padding: 72px 0 40px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}
.kicker {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.82rem;
  color: var(--stamp);
  font-weight: 600;
}
h1 { font-size: clamp(2.1rem, 5vw, 4.1rem); line-height: 1.15; margin: 16px 0; letter-spacing: -0.03em; }
.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 52ch; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  font: inherit;
}
.btn-primary { background: var(--ink); color: #f7f1e4; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-stamp { background: var(--stamp); color: #fff; }

.hero-logo {
  background: var(--navy);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 420px;
  max-height: 520px;
}
.hero-logo img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  display: block;
}
.sheet {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
  position: relative;
}
.sheet::after {
  content: "CMYK";
  position: absolute;
  top: 16px;
  inset-inline-end: 18px;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--gold);
}
.swatches { display: flex; gap: 8px; margin-top: 22px; }
.swatch { width: 36px; height: 36px; border-radius: 10px; border: 1px solid rgba(0,0,0,.08); }
.swatch.c { background: #00a3e0; }
.swatch.m { background: #ec008c; }
.swatch.y { background: #fff200; }
.swatch.k { background: #1b1914; }
.sheet-list { margin: 18px 0 0; padding: 0; list-style: none; }
.sheet-list li { padding: 10px 0; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; gap: 12px; }
.meta { color: var(--ink-soft); font-size: 0.92rem; }

section { padding: 28px 0 12px; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0 0 8px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 22px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.card h3 { margin: 0 0 8px; font-size: 1.1rem; }
.card p { margin: 0; color: var(--ink-soft); }
.steps { counter-reset: step; }
.steps .card::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  color: var(--stamp);
  font-weight: 700;
  margin-bottom: 8px;
}

.notice {
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #fff6d8;
  border: 1px solid rgba(176, 137, 62, 0.35);
  color: #5c4818;
}

.legal { padding: 48px 0 80px; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.legal h2 { margin-top: 32px; font-size: 1.25rem; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { padding-inline-start: 1.3em; }
.updated { color: var(--gold); font-weight: 600; font-size: 0.9rem; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; }

.site-footer {
  margin-top: 48px;
  border-top: 1px solid var(--line);
  background: #efe8d8;
  position: relative;
  z-index: 1;
}
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 24px; padding: 36px 0; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: var(--ink-soft); text-decoration: none; }
.footer-links a:hover { color: var(--ink); }
.legal-strip {
  border-top: 1px solid var(--line);
  padding: 14px 0 28px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

@media (max-width: 860px) {
  .hero, .grid, .contact-grid, .footer-inner { grid-template-columns: 1fr; }
  .menu-toggle { display: inline-flex; }
  nav {
    display: none;
    position: absolute;
    top: 74px;
    inset-inline: 20px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 10px;
    flex-direction: column;
    align-items: stretch;
  }
  .nav-toggle:checked ~ nav { display: flex; }
  nav a { color: var(--ink); }
  nav a:hover, nav a.active { color: var(--ink); background: var(--paper-2); }
}
