@font-face {
  font-family: "Estedad";
  src: url("/assets/fonts/Estedad-VF.woff2") format("woff2-variations"),
       url("/assets/fonts/Estedad-VF.woff2") format("woff2"),
       url("/assets/fonts/Estedad-VF.ttf") format("truetype-variations"),
       url("/assets/fonts/Estedad-VF.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #16121B;
  --ink-2: #221C2A;
  --ink-3: #2E2638;
  --paper: #F6F1EA;
  --paper-2: #EDE6DC;
  --coral: #FF4A3D;
  --amber: #FFB23E;
  --muted: #8E8697;
  --muted-light: #6F6878;
  --line: rgba(246, 241, 234, 0.12);
  --radius: 22px;
  --grad: linear-gradient(135deg, var(--coral), var(--amber));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Estedad", "Vazirmatn", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--ink);
  color: var(--paper);
  line-height: 1.8;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
.wrap { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.num { font-feature-settings: "ss01"; }

/* header */
.top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0;
}
.top .logo img { height: 44px; width: auto; }
.top nav { display: flex; gap: 28px; font-size: 15px; color: var(--muted); }
.top nav a:hover { color: var(--paper); }
@media (max-width: 720px) { .top nav { display: none; } }

/* hero */
.hero {
  position: relative; overflow: hidden;
  padding: 48px 0 72px;
}
.hero::before {
  content: ""; position: absolute; inset: auto -20% -40% -20%; height: 70%;
  background: radial-gradient(60% 60% at 50% 100%, rgba(255, 74, 61, 0.22), transparent 70%);
  pointer-events: none;
}
.hero .grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center;
}
@media (max-width: 900px) { .hero .grid { grid-template-columns: 1fr; gap: 36px; } }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px;
  font-size: 14px; color: var(--amber);
}
.kicker i { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); display: inline-block; }
h1 {
  font-size: clamp(34px, 5vw, 56px); line-height: 1.25; margin: 18px 0 14px; font-weight: 800;
  letter-spacing: -0.5px;
}
h1 .x { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 2vw, 20px); color: #CFC7D6; margin: 0 0 28px; max-width: 34ch; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 14px; font-weight: 700; font-size: 16px;
  border: 1px solid transparent; transition: transform .15s ease, box-shadow .15s ease;
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-primary { background: var(--grad); color: var(--ink); box-shadow: 0 10px 30px rgba(255, 90, 60, 0.28); }
.btn-primary:hover { transform: translateY(-1px); }
.btn-ghost { border-color: var(--line); color: var(--paper); background: rgba(255,255,255,0.03); }
.btn-ghost:hover { border-color: rgba(246, 241, 234, 0.3); }
.btn-soon { opacity: .75; cursor: default; }
.btn .soon { font-size: 12px; font-weight: 500; color: var(--amber); background: rgba(255,178,62,.12); border-radius: 999px; padding: 2px 8px; }
.fine { margin-top: 14px; font-size: 14px; color: var(--muted); }
.fine a { color: var(--amber); }

/* hero visual */
.hero-art { position: relative; }
.hero-card {
  position: relative; border-radius: 28px; overflow: hidden;
  background: var(--ink-2); border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
}
.hero-card img.after { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.hero-card .before {
  position: absolute; top: 16px; right: 16px; width: 30%;
  border-radius: 16px; overflow: hidden; border: 3px solid var(--paper);
  box-shadow: 0 12px 30px rgba(0,0,0,.4); background: var(--ink);
}
.hero-card .before img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.hero-card .tag {
  position: absolute; bottom: 16px; right: 16px;
  background: rgba(22, 18, 27, .78); backdrop-filter: blur(8px);
  border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; font-size: 14px;
}
.hero-card .arrow {
  position: absolute; top: calc(16px + 15% - 20px); right: calc(16px + 30% + 6px);
  width: 40px; height: 40px; color: var(--amber); filter: drop-shadow(0 4px 10px rgba(0,0,0,.6));
}
.hero-card .arrow svg { width: 100%; height: 100%; }
.badge-free {
  position: absolute; top: -14px; left: 18px;
  background: var(--paper); color: var(--ink); font-weight: 800; font-size: 14px;
  padding: 8px 14px; border-radius: 999px; box-shadow: 0 8px 24px rgba(0,0,0,.35);
}

/* sections */
section { padding: 64px 0; }
.section-head { max-width: 60ch; margin-bottom: 28px; }
h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 0 0 10px; font-weight: 800; line-height: 1.3; }
.section-head p { margin: 0; color: var(--muted); }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; } }
.card {
  background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
}
.card .pair { position: relative; }
.card .pair img.after { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.card .pair .before {
  position: absolute; top: 12px; right: 12px; width: 32%;
  border-radius: 12px; overflow: hidden; border: 2px solid var(--paper);
  box-shadow: 0 10px 24px rgba(0,0,0,.45); background: var(--ink);
}
.card .pair .before img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.card .pair .arrow {
  position: absolute; top: calc(12px + 16% - 16px); right: calc(12px + 32% + 4px);
  width: 32px; height: 32px; color: var(--amber); filter: drop-shadow(0 3px 8px rgba(0,0,0,.6));
}
.card .pair .arrow svg { width: 100%; height: 100%; }
.card .cap { padding: 14px 16px 16px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.card .cap b { font-size: 17px; font-weight: 700; }
.card .cap span { font-size: 13px; color: var(--muted); }
.lbl {
  position: absolute; bottom: 10px; right: 10px; font-size: 12px;
  background: rgba(22,18,27,.75); border: 1px solid var(--line); border-radius: 8px; padding: 2px 8px;
}
.lbl.before-lbl { right: auto; left: 10px; }

/* features */
.features { background: var(--paper); color: var(--ink); }
.features h2 { color: var(--ink); }
.features .section-head p { color: var(--muted-light); }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feat-grid { grid-template-columns: 1fr; } }
.feat {
  background: #fff; border-radius: var(--radius); padding: 22px 22px 20px;
  border: 1px solid rgba(22,18,27,.06);
}
.feat .ic {
  width: 44px; height: 44px; border-radius: 12px; background: var(--grad);
  display: grid; place-items: center; color: var(--ink); margin-bottom: 14px;
}
.feat .ic svg { width: 24px; height: 24px; }
.feat h3 { margin: 0 0 6px; font-size: 18px; font-weight: 800; }
.feat p { margin: 0; color: var(--muted-light); font-size: 15px; }

/* templates list */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: 15px;
  background: rgba(255,255,255,.03); color: #DDD6E3;
}
.chip.hot { border-color: rgba(255,178,62,.45); color: var(--amber); }

/* price */
.price { background: var(--ink-2); }
.price-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: start; }
@media (max-width: 860px) { .price-grid { grid-template-columns: 1fr; } }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { position: relative; padding: 0 56px 18px 0; counter-increment: s; }
.steps li::before {
  content: counter(s); position: absolute; right: 0; top: 2px;
  width: 38px; height: 38px; border-radius: 12px; background: var(--grad); color: var(--ink);
  font-weight: 800; display: grid; place-items: center;
}
.steps b { display: block; font-size: 18px; }
.steps span { color: var(--muted); font-size: 15px; }
.note {
  background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
}
.note h3 { margin: 0 0 8px; font-size: 18px; }
.note p { margin: 0 0 10px; color: #CFC7D6; font-size: 15px; }
.note p:last-child { margin: 0; }

/* download */
.download { text-align: center; }
.download .box {
  background: var(--grad); color: var(--ink); border-radius: 28px; padding: 44px 28px;
}
.download h2 { color: var(--ink); }
.download p { margin: 0 auto 22px; max-width: 46ch; color: rgba(22,18,27,.8); }
.download .btn-primary { background: var(--ink); color: var(--paper); box-shadow: none; }
.download .btn-ghost { border-color: rgba(22,18,27,.25); color: var(--ink); background: rgba(255,255,255,.25); }
.download .btn .soon { background: rgba(22,18,27,.12); color: var(--ink); }
.download small { display: block; margin-top: 14px; color: rgba(22,18,27,.7); font-size: 13px; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 32px 0 40px; color: var(--muted); font-size: 14px; }
footer .row { display: flex; flex-wrap: wrap; gap: 18px 28px; justify-content: space-between; align-items: center; }
footer .gisoo { display: inline-flex; align-items: center; gap: 8px; }
footer a:hover { color: var(--paper); }

/* privacy page */
.doc { max-width: 72ch; padding: 24px 0 64px; }
.doc h1 { font-size: 32px; }
.doc h2 { font-size: 22px; margin-top: 32px; }
.doc p, .doc li { color: #DDD6E3; }

/* seo additions: h1 subtitle, entity block, use cases, faq, about */
h1 .h1-sub { display: block; margin-top: 12px; font-size: clamp(16px, 2vw, 20px); font-weight: 500; line-height: 1.6; letter-spacing: 0; color: #CFC7D6; }
.entity { padding: 8px 0 24px; }
.entity h2 { font-size: 20px; }
.entity dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 6px 22px; max-width: 900px; font-size: 15px; }
.entity dt { color: var(--amber); font-weight: 700; }
.entity dd { margin: 0; color: #CFC7D6; }
.entity dd a { color: var(--amber); }
@media (max-width: 560px) { .entity dl { grid-template-columns: 1fr; gap: 0; } .entity dd { margin-bottom: 10px; } }
.uses { padding-top: 0; }
.uses-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .uses-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .uses-grid { grid-template-columns: 1fr; } }
.use { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 20px; }
.use h2 { font-size: 20px; margin: 0 0 8px; line-height: 1.5; }
.use p { margin: 0; color: var(--muted); font-size: 15px; }
.faq-list { max-width: 820px; display: grid; gap: 12px; }
.faq details { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; position: relative; padding-inline-end: 28px; }
.faq summary h3 { margin: 0; font-weight: 700; font-size: 17px; line-height: 1.7; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; inset-inline-end: 0; top: 14px; color: var(--amber); font-size: 22px; line-height: 1.4; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 16px; color: #CFC7D6; font-size: 15px; }
.about { padding: 8px 0 40px; }
.about h2 { font-size: 20px; }
.about p { margin: 0; max-width: 72ch; color: var(--muted); font-size: 15px; }
.about a { color: var(--amber); }
.doc .back { margin-top: 32px; }
.doc .back a { color: var(--amber); }
