/* Tokenlər: brendin öz rəngləri (qara, ağ, sarı) və bir şrift ailəsi. */
:root {
  --font-display: "Instrument Sans";
  --font-text: "Roboto";
  --bg: #efefef;
  --surface: #f8f8f8;
  --white: #ffffff;
  --ink: #1c1c1c;
  --muted: #5c5c5c;
  --dark: #111111;
  --dark-2: #242424;
  --on-dark: #ffffff;
  --muted-dark: #b3b3b3;
  /* Brendin rəsmi sarısı: Pantone 108 C (Corporate Identity Guideline, 06/2025). */
  --accent: #ffec00;
  --accent-hover: #fff35c;
  --danger: #b3261e;
  --ok: #1d6b3a;

  --m: clamp(20px, 2.4vw, 32px);
  --gap: clamp(96px, 13vw, 200px);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(1.5rem, 1rem + 2.1vw, 2.875rem);
  --step-display: clamp(1.25rem, 6.4vw, 5rem);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-text), system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: var(--step-body);
  line-height: 1.45;
  letter-spacing: -0.005em;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure,
fieldset,
legend,
address {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

fieldset {
  border: 0;
  min-width: 0;
}

address {
  font-style: normal;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}

::selection {
  background: var(--accent);
  color: var(--ink);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px; /* taste-skill-ignore: yalnız ekran oxuyucuları üçün gizli mətn */
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.tnum {
  font-variant-numeric: tabular-nums;
}

/* Brendin başlıq üslubu: Instrument Sans 600, böyük hərf, geniş aralıq. */
.h1,
.h2 {
  font-family: var(--font-display), sans-serif;
  font-size: var(--step-head);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-wrap: balance;
}

.h3 {
  font-family: var(--font-display), sans-serif;
  font-size: var(--step-lead);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.lead {
  font-size: var(--step-lead);
  line-height: 1.3;
  letter-spacing: -0.015em;
  max-width: 36ch;
}

/* Düymələr: düz, kvadrat künc, bir doldurma rəngi. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  font-family: var(--font-display), sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    background-color 160ms var(--ease),
    color 160ms var(--ease),
    transform 160ms var(--ease);
}

.btn:active {
  transform: scale(0.97);
}

.btn--accent {
  background: var(--accent);
  color: var(--ink);
}

.btn--accent:hover {
  background: var(--accent-hover);
}

.btn--ink {
  background: var(--ink);
  color: var(--on-dark);
}

.btn--ink:hover {
  background: #3a3a3a;
}

.btn--light {
  background: var(--on-dark);
  color: var(--ink);
}

.btn--wide {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Formalar */
.field {
  display: grid;
  gap: 8px;
}

.field > span,
.field > legend {
  font-weight: 700;
}

.field input:not([type="radio"]):not([type="checkbox"]),
.field textarea,
.field select {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  background: var(--white);
  border: 2px solid transparent;
  border-radius: 0;
  outline: none;
  transition: border-color 140ms var(--ease);
}

.field textarea {
  resize: vertical;
}

.field input:focus-visible,
.field textarea:focus-visible,
.field select:focus-visible {
  border-color: var(--ink);
}

.field ::placeholder {
  color: #77776f;
}

.radio {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  cursor: pointer;
}

.radio input {
  width: 20px;
  height: 20px;
  accent-color: var(--ink);
}

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.error {
  padding: 12px 14px;
  background: var(--danger);
  color: #fff;
}

/* Girişdə hərəkət: yalnız skript işləyəndə gizlədilir. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms var(--ease) var(--d, 0ms),
    transform 700ms var(--ease) var(--d, 0ms);
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn {
    transition: none;
  }
}
