:root {
  --ink: #04191C;
  --ink-hover: #1A3A3E;
  --body: #46504F;
  --muted: #6A706C;
  --placeholder: #9AA1A9;
  --sand: #F5F3EF;
  --line: #E8E3D9;
  --card-line: #E4DED2;
  --control-line: #D6CFC1;
  --gold: #D9B677;
  --gold-hover: #E7CC98;
  --gold-text: #B08A45;
  --badge: #F1E6CF;
  --error: #B42318;
  --error-line: #D92D20;
  --whatsapp: #1F7A4D;
  --whatsapp-hover: #16603C;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html, body { margin: 0; padding: 0; background: #fff; }

body {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  color: var(--ink);
  min-height: 100vh;
}

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--ink-hover); text-decoration: underline; }
button { font-family: inherit; cursor: pointer; }
h1, h2, p { margin: 0; }
strong { font-weight: 600; }

.container { max-width: 1080px; margin-inline: auto; padding-inline: 20px; }
.section { padding-block: 56px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header__inner {
  padding-block: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.brand { font-weight: 700; font-size: 18px; }
.site-header__link { font-size: 15px; font-weight: 600; }

/* Hero */
.hero { background: var(--sand); }
.hero__grid {
  padding-block: 48px 56px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: 40px;
  align-items: start;
}
.hero__intro { display: flex; flex-direction: column; gap: 20px; padding-top: 8px; }
.badge {
  align-self: flex-start;
  font-size: 14px;
  font-weight: 600;
  background: var(--badge);
  border-radius: 6px;
  padding: 5px 12px;
}
h1 {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.3;
  text-wrap: balance;
}
.hero__lead { font-size: 18px; line-height: 1.8; color: var(--body); max-width: 32em; }
.facts { display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.check-row { display: flex; gap: 10px; }
.tick { color: var(--gold-text); font-weight: 700; }

/* Registration card */
.card {
  background: #fff;
  border: 1px solid var(--card-line);
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 8px 30px rgba(20, 30, 40, .06);
  scroll-margin-top: 20px;
}
.card__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 4px; }
.card__title { display: flex; flex-direction: column; gap: 4px; }
.card h2 { font-size: 22px; font-weight: 700; outline: none; }
.muted { font-size: 14px; color: var(--muted); }
.muted-sm { font-size: 13px; color: var(--muted); }
.price { flex: 0 0 auto; }
.price__amount { font-size: 28px; font-weight: 700; line-height: 1.1; }

/* Form */
.form { display: flex; flex-direction: column; gap: 14px; margin: 0; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-size: 15px; font-weight: 600; }

.input {
  font-family: inherit;
  font-size: 17px;
  height: 52px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid var(--control-line);
  background: #fff;
  color: var(--ink);
  outline: none;
}
.input::placeholder { color: var(--placeholder); }
.input[aria-invalid="true"] { border-color: var(--error-line); }
.input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(217, 182, 119, .15); }
.input--select { font-size: 16px; padding: 0 8px; cursor: pointer; }
.input--email { text-align: right; }
.phone { display: flex; gap: 8px; }
.phone__number { flex: 1; min-width: 0; }

.error { font-size: 14px; color: var(--error); }
.error--center { text-align: center; }
.note { font-size: 13px; color: var(--muted); text-align: center; }

/* Claude account choice */
.choices { border: 0; margin: 0; padding: 0; min-width: 0; }
.choices legend { padding: 0; margin-bottom: 6px; }
.choices__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choice__box {
  height: 100%;
  min-height: 52px;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid var(--control-line);
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  line-height: 1.3;
  text-align: center;
}
.choice__label { font-size: 15px; font-weight: 600; }
.choice__sub { font-size: 12px; opacity: .8; }
.choices.has-error .choice__box { border-color: var(--error-line); }
.choice input:checked + .choice__box { background: var(--ink); border-color: var(--ink); color: #fff; }
.choice input:focus-visible + .choice__box { outline: 2px solid var(--ink); outline-offset: 2px; }

.btn-submit {
  font-size: 18px;
  font-weight: 700;
  height: 54px;
  border-radius: 8px;
  border: none;
  background: var(--ink);
  color: #fff;
  margin-top: 4px;
}
.btn-submit:hover { background: var(--ink-hover); }
.btn-submit:disabled { cursor: progress; }

/* Confirmation */
.done { display: flex; flex-direction: column; gap: 16px; }
.done__lead { font-size: 15px; color: var(--body); line-height: 1.7; }
.done__text { font-size: 16px; line-height: 1.7; }
.cliq {
  background: var(--sand);
  border: 1px dashed var(--gold);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.cliq__id { font-size: 26px; font-weight: 700; letter-spacing: .04em; }
.btn-copy {
  font-size: 14px;
  font-weight: 600;
  height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid var(--control-line);
  background: #fff;
  color: var(--ink);
}
.btn-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  padding: 0 18px;
  border-radius: 8px;
  background: var(--whatsapp);
  color: #fff;
  font-weight: 700;
  font-size: 17px;
}
.btn-whatsapp:hover { background: var(--whatsapp-hover); color: #fff; text-decoration: none; }

/* What you'll learn */
.learn { display: flex; flex-direction: column; gap: 24px; }
.learn h2 { font-size: 28px; font-weight: 700; }
.learn__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 14px;
}
.learn__item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px;
  font-size: 16px;
  line-height: 1.7;
}

/* Trainer */
.trainer { background: var(--sand); }
.trainer__inner { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.trainer__photo {
  width: 140px;
  height: 140px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
}
.trainer__bio { display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 260px; }
.trainer__bio h2 { font-size: 24px; font-weight: 700; }
.trainer__bio p { font-size: 16px; line-height: 1.8; color: var(--body); max-width: 44em; }

/* Requirements and payment */
.info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 32px;
}
.info__col { display: flex; flex-direction: column; gap: 12px; }
.info h2 { font-size: 22px; font-weight: 700; }
.info ul {
  margin: 0;
  padding: 0 20px 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
}

/* Closing call to action */
.cta-wrap { padding-bottom: 56px; }
.cta {
  background: var(--ink);
  color: #fff;
  border-radius: 14px;
  padding: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cta__text { display: flex; flex-direction: column; gap: 4px; }
.cta__title { font-size: 24px; font-weight: 700; }
.cta__sub { font-size: 16px; }
.btn-gold {
  font-size: 17px;
  font-weight: 700;
  height: 52px;
  padding: 0 28px;
  border-radius: 8px;
  border: none;
  background: var(--gold);
  color: var(--ink);
}
.btn-gold:hover { background: var(--gold-hover); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.site-footer__inner {
  padding-block: 20px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--muted);
}
