/* AME FX Subscriber Portal - the email sign-up's pages (owner 2026-10-18): signup.html (and its "confirm your email"
   state), verify.html (the link from the email) and reset.html (a new password). One design, approved by the owner on
   the mockups tools/redesign_preview/signup_split_mockup_20261018.html?v=cave and signup_split_check_mockup_20261018.html:
   the page split in two - the owner's own picture (the gold mine with the crest, Desktop\yyy.png) at the left in
   every language, its line under the crest, and the form half on the site's own fields and keys. */

/* ── the split ─────────────────────────────────────────────────────────────── */
body.su-split .top { position: absolute; top: 0; left: 0; right: 0; z-index: 3; }
.sp { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr 1fr; min-height: 100vh;
  direction: ltr; }   /* the picture stays at the left in every language (mirroring it would mirror the crest's letters) */
[dir="rtl"] .sp-form, [dir="rtl"] .sp-motto { direction: rtl; }
body.su-split .top .lang, body.su-split .top .brand { text-shadow: 0 1px 10px rgba(0,0,0,.9); }   /* legible over the rock */

/* the picture half: the owner's picture as it is - upright, its right side melting into black */
/* owner 2026-10-18 (later): "remove the line in the middle of the page and blend the two halves together" - no line
   between the halves; the picture's dark right side melts into the page's own black sky (its stars come through) */
.sp-art { position: relative; overflow: hidden; background: transparent; }
.sp-art .sp-pic { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover;
  object-position: 18% 50%; pointer-events: none; user-select: none;   /* its light threads at the left */
  -webkit-mask-image: linear-gradient(to right, #000 58%, rgba(0,0,0,.6) 80%, transparent 100%);
  mask-image: linear-gradient(to right, #000 58%, rgba(0,0,0,.6) 80%, transparent 100%); }

/* the line under the crest (owner: "its words arranged and sized to look elegant and luxurious"): a small gold line
   between two fine rules, then the large serif line. The crest's foot sits at about 0.384 x the half's width + 0.2 x
   its height; the words are centred under the crest (42.3% of the picture's width) */
/* owner 2026-10-18 (final): the line up in the empty dark at the top left, above the chart */
.sp-motto { position: absolute; z-index: 2; top: 13vh; left: 2%; right: 38%; margin: 0;
  text-align: center; font-family: "Cormorant Garamond", "Palatino Linotype", Georgia, serif; font-weight: 500;
  line-height: 1.25; color: #E9D9AE;
  text-shadow: 0 0 3px rgba(0,0,0,.95), 0 0 14px rgba(0,0,0,.9), 0 2px 30px rgba(0,0,0,.85); }
/* a soft dark shade behind the words keeps the Latin letters clear of the gold-lit rock (owner) */
.sp-motto::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: 112%; height: 190%;
  transform: translate(-50%, -50%); pointer-events: none;
  background: radial-gradient(ellipse closest-side at center, rgba(0,0,0,.78), rgba(0,0,0,.55) 45%, rgba(0,0,0,0)); }
.sp-motto-kicker { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 0 0 14px;
  font-family: var(--sans); font-weight: 500; font-size: 12px; letter-spacing: .46em; text-indent: .46em;
  text-transform: uppercase; color: var(--champagne); }
.sp-motto-kicker::before, .sp-motto-kicker::after { content: ""; flex: 0 0 46px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(214,186,128,.75)); }
.sp-motto-kicker::after { background: linear-gradient(90deg, rgba(214,186,128,.75), transparent); }
.sp-motto-main { display: block; font-size: clamp(26px, 2.15vw, 38px); line-height: 1.3; letter-spacing: .01em;
  color: #EFE6CF; text-wrap: balance; }
[lang="ar"] .sp-motto { font-family: "Noto Naskh Arabic", "Sakkal Majalla", serif; font-weight: 400; line-height: 1.5; }
[lang="ar"] .sp-motto-kicker { font-family: "Noto Naskh Arabic", "Sakkal Majalla", serif; font-weight: 500;
  font-size: 23px; letter-spacing: 0; text-indent: 0; }
[lang="ar"] .sp-motto-main { font-size: clamp(32px, 2.6vw, 46px); line-height: 1.55; letter-spacing: 0; }
[dir="rtl"] .sp-motto-kicker::before { background: linear-gradient(90deg, rgba(214,186,128,.75), transparent); }
[dir="rtl"] .sp-motto-kicker::after { background: linear-gradient(90deg, transparent, rgba(214,186,128,.75)); }

/* owner 2026-10-18 (night): "where decision meets opportunity", moved here from the membership page - in the dark
   below the chart, where he drew the red line (about 46%-94% of the picture half, 66% of the height); the membership
   page's letters: gold-graded Perpetua italic, Arabic in Aldhabi's calligraphy */
/* then: "the sentences in the same letters, in every language" - the line above's own letters and colour */
.sp-meets { position: absolute; z-index: 2; left: 38%; right: 2%; top: 64vh; margin: 0; text-align: center;
  font-family: "Cormorant Garamond", "Palatino Linotype", Georgia, serif; font-weight: 500;
  font-size: clamp(26px, 2.15vw, 38px); line-height: 1.3; letter-spacing: .01em; color: #EFE6CF; text-wrap: balance;
  text-shadow: 0 0 3px rgba(0,0,0,.95), 0 0 14px rgba(0,0,0,.9), 0 2px 30px rgba(0,0,0,.85); }
/* the same box width as the line above (60% of the half), so every language breaks the same way */
[lang="ar"] .sp-meets { font-family: "Noto Naskh Arabic", "Sakkal Majalla", serif; font-weight: 400;
  font-size: clamp(32px, 2.6vw, 46px); line-height: 1.55; letter-spacing: 0; }
[dir="rtl"] .sp-meets { direction: rtl; }

/* the form half */
.sp-form { position: relative; display: flex; flex-direction: column; align-items: center; padding: 104px 40px 0; }
.sp-form .access.sp-inner { flex: 1; display: flex; flex-direction: column; justify-content: center;
  width: min(400px, 100%); max-width: 400px; margin: 0 auto; text-align: center; }
.sp-inner h1 { color: var(--champagne); margin-bottom: 14px; text-transform: uppercase; }
[lang="ar"] .sp-inner h1 { word-spacing: .14em; }   /* «كلمة مرور جديدة»: the title's narrow spaces read as one word */
.sp-inner .field label { color: var(--champagne); }
.sp-inner form { margin: 0; }
.sp-inner .btn.solid { width: 100%; }
.sp-inner .status-line:empty { display: none; }
.sp-ask { display: flex; justify-content: center; align-items: baseline; gap: 12px; width: min(400px, 100%);
  margin-top: 28px; padding: 22px 0 28px; border-top: 1px solid var(--hairline); }
.sp-ask .su-ask { font-size: 11px; letter-spacing: var(--wide); color: var(--ink-3); }
[lang="ar"] .sp-ask .su-ask { font-size: 19px; letter-spacing: 0; }
.su-state[hidden] { display: none; }

/* ── the form's own parts ──────────────────────────────────────────────────── */
.su-steps { display: flex; justify-content: center; align-items: center; gap: 12px; margin: 0 0 16px;
  font-size: 11px; letter-spacing: var(--wide); text-transform: uppercase; color: var(--ink-3); }
.su-steps .on { color: var(--champagne); }
.su-steps i { width: 26px; height: 1px; background: var(--hairline-strong); }
.su-lead { margin: 0 0 20px; font-size: 13px; line-height: 1.65; color: var(--ink-2); text-align: center; }
.su-pass { position: relative; }
.su-pass input { padding-inline-end: 46px; }
.su-eye { position: absolute; inset-inline-end: 6px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px;
  display: grid; place-items: center; border: 0; background: none; color: var(--ink-3); cursor: pointer; }
.su-eye:hover, .su-eye[aria-pressed="true"] { color: var(--champagne); }
.su-eye svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.su-hint { margin: 2px 0 0; font-size: 11px; color: var(--ink-3); text-align: start; }
.su-legal { margin: 4px 0 16px; font-size: 11.5px; line-height: 1.6; color: var(--ink-3); text-align: center; }
.su-check { margin: 4px 0 6px; font-size: 14px; line-height: 1.7; color: var(--ink-2); text-align: center; }
.su-mail { display: block; margin: 6px 0 2px; color: var(--champagne); font-size: 15px; letter-spacing: .02em;
  overflow-wrap: anywhere; }
.su-small { margin: 0 0 18px; font-size: 12px; line-height: 1.6; color: var(--ink-3); text-align: center; }
.su-small.su-spam { margin: 16px 0 0; }
.su-icon { display: block; width: 46px; height: 46px; margin: 4px auto 16px; fill: none; stroke: var(--champagne);
  stroke-width: 1.1; opacity: .9; }
.su-inner-key { margin-top: 6px; }
/* Arabic (Sakkal Majalla draws small): the sizes the site already uses in Arabic - labels and links 19px */
[lang="ar"] .su-steps { font-size: 16px; letter-spacing: 0; }
[lang="ar"] .su-lead { font-size: 19px; }
[lang="ar"] .su-check { font-size: 20px; }
[lang="ar"] .su-mail { font-size: 17px; }
[lang="ar"] .su-hint, [lang="ar"] .su-legal, [lang="ar"] .su-small { font-size: 16px; }

/* ── narrow screens: the picture becomes a band over the form ──────────────── */
@media (max-width: 900px) {
  body.su-split .top { position: relative; }   /* the header above the band, not on it */
  .sp-motto, .sp-meets { display: none; }      /* the band is too small for the lines */
  .sp { grid-template-columns: 1fr; min-height: 0; }
  .sp-art { height: 300px; }                   /* the band melts into the page below it - no line either */
  .sp-art .sp-pic { -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 55%, transparent 100%); }
  .sp-form { padding: 28px 16px 0; }
}

/* owner 2026-10-18 (late): "one size and one colour for the sentences - like this font" (the home page's
   Intelligence · Precision · Confidence): both sentences of the picture half in Perpetua italic with the crest's gold
   laid top to bottom (#FADC99 -> #E0B36C -> #BD8E4D), one size; Arabic in the home page's Arabic for those words (the
   site's Arabic face, bold), one size. A soft dark drop-shadow keeps them clear (a text-shadow would cover the gold). */
.sp-motto .sp-motto-main, .sp-meets { font-family: "Perpetua", "Garamond", "Palatino Linotype", Georgia, serif; font-style: italic;
  font-weight: 400; font-size: clamp(26px, 2.15vw, 38px); line-height: 1.3; letter-spacing: .03em; text-shadow: none;
  color: #F0E4C6; background: linear-gradient(180deg, #FBF5E6 0%, #F0E4C6 55%, #DCC9A0 100%);   /* then: "light champagne, near cream white" */
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 6px rgba(0,0,0,.95)); }
[lang="ar"] .sp-motto .sp-motto-main, [lang="ar"] .sp-meets { font-family: var(--sans); font-style: normal; font-weight: 700;
  font-size: clamp(36px, 2.9vw, 52px); line-height: 1.5; letter-spacing: 0; word-spacing: .14em; }   /* the Arabic face draws small: set larger to stand as tall */

/* owner 2026-10-19: "make the sign-up page's spaces smaller so the whole page shows, like the page before it" - the
   split stands in the window less the footer (measured at 1920 x 1080: 101 px, Arabic 132 px), so the footer is on
   the first screen; the form's top padding a little smaller */
@media (min-width: 901px) {
  body.su-split { --su-foot: 101px; }
  [lang="ar"] body.su-split, body.su-split[dir="rtl"] { --su-foot: 132px; }
  .sp { min-height: calc(100vh - var(--su-foot)); }
  .sp-form { padding-top: 88px; }
  .sp-ask { margin-top: 18px; padding: 18px 0 20px; }
}

/* owner 2026-10-19: "the writing boxes smaller - the email's letters show very small inside" - the boxes 36 px high
   (were 40), their words larger, in the Latin face in every language (the Arabic face draws Latin letters small) */
.sp-inner .field input { min-height: 36px; height: 36px; font-family: "Inter", "Segoe UI", sans-serif; font-size: 17px; letter-spacing: .01em; }

/* owner 2026-10-19: his picture (the gold light road under the rising chart, black at the right) is the sign-up
   pages' background - the whole window behind the header, the form and the footer, as it is (no mask): its own
   black right side is where the form stands */
@media (min-width: 901px) {
  .sp-art .sp-pic { position: fixed; inset: 0; z-index: 0; width: 100vw; height: 100vh; object-fit: cover;
    object-position: 0% 50%; -webkit-mask-image: none; mask-image: none; }
}

/* owner 2026-10-19 (later): on the sign-up page the steps line (1 · ACCOUNT - 2 · PAYMENT) and the lead sentence
   under the title are gone */
body[data-page="signup"] .su-steps, body[data-page="signup"] .su-lead { display: none; }

/* owner 2026-10-19: "this key is too big" -> its width shorter (about half the boxes), centred, its height as it is */
body[data-page="signup"] #sign-up .btn.solid { display: block; width: 50%; min-width: 200px; margin-left: auto; margin-right: auto; }
/* owner 2026-10-19: the steps line off the "email confirmed" page too */
body[data-page="verify"] .su-steps { display: none; }

/* owner 2026-10-19: first name and family name side by side, the date of birth under the password (the browser's own
   date picker, dark like the page) */
.sp-inner .su-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.sp-inner .field input[type="date"] { color-scheme: dark; font-variant-numeric: tabular-nums; }
.sp-inner .field input[type="date"]::-webkit-calendar-picker-indicator { opacity: .6; cursor: pointer; }
@media (max-width: 380px) { .sp-inner .su-row { grid-template-columns: 1fr; } }

/* owner 2026-10-21: «the sentence in one line at the top - it is one line in every language but English» */
@media (min-width: 901px) {
  [lang="en"] .sp-motto { right: 16%; }
  [lang="en"] .sp-motto-main { white-space: nowrap; }
}

/* owner 2026-10-21: «move the lower sentence 2 cm to the right and raise it 1 cm» (1 cm = 38 px) - clear of the shield */
/* (later) «and 1 cm further from the shield»: 3 cm right in all (114 px), 1 cm up; its column no longer clips it */
@media (min-width: 901px) { .sp-meets { transform: translate(61px, -105px); white-space: nowrap; }
  [dir="rtl"] .sp-meets { transform: translate(61px, -105px); }
  body.su-split .sp-art { overflow: visible; } }

/* owner 2026-10-21: «put the sentences where the red boxes are» - the upper sentence (with its kicker) 14vh lower,
   the lower one 148 px back to the left (now that the shield sits in the corner) */
@media (min-width: 901px) { .sp-motto { transform: translate(140px, calc(14vh - 95px)); }
  [lang="ar"] .sp-motto { transform: translate(200px, calc(14vh - 95px)); } }   /* (later) his second boxes; the Arabic line is longer: clear of the shield

/* owner 2026-10-21: «raise YOUR FIRST STEP a little, its type a little bigger, in the sentences' face» - the same
   italic Perpetua and light champagne as the two sentences, a little larger, 18 px higher (its sentence stays put) */
.sp-motto .sp-motto-kicker { font-family: "Perpetua", "Garamond", "Palatino Linotype", Georgia, serif; font-style: italic;
  font-weight: 400; font-size: clamp(19px, 1.35vw, 25px); letter-spacing: .18em; text-transform: none; color: var(--champagne); }
  /* (later) «its colour as before, one step bigger, its distance to the sentence as before» */
[lang="ar"] .sp-motto .sp-motto-kicker { font-family: var(--sans); font-style: normal; font-weight: 600;
  font-size: clamp(22px, 1.65vw, 28px); letter-spacing: 0; }

/* owner 2026-10-21: «drop the line and bring the words down to the very bottom of the page» (sign-up pages) */
body.su-split .foot::before { display: none; }
body.su-split .foot { border-top: 0; }
body.su-split .foot .wrap { padding-top: 0; padding-bottom: 6px; }

/* owner 2026-10-21: «it moves with the mouse wheel - it is just one page, it must not move»: on a computer the sign-up
   pages are exactly one screen - the picture, the words, the form and the footer inside it, nothing to scroll */
@media (min-width: 901px) {
  html:has(body.su-split), body.su-split { height: 100svh; overflow: hidden; }
  body.su-split .sp { min-height: 0; flex: 1 1 auto; }
}

/* owner 2026-10-21: «the lower sentence above the shield, under the upper sentence» - it takes the upper sentence's
   column (same left/right, centred, same shift) and stands just under it */
@media (min-width: 901px) {
  body.su-split .sp-meets { left: 2%; right: 38%; top: calc(27vh - 95px + 118px); text-align: center; white-space: nowrap;
    transform: translateX(140px); }
  [lang="ar"] body.su-split .sp-meets, body.su-split[dir="rtl"] .sp-meets { transform: translateX(200px); }
  [dir="rtl"] body.su-split .sp-meets { left: 2%; right: 38%; transform: translateX(200px); }
}
@media (min-width: 901px) { [lang="en"] body.su-split .sp-meets { right: 16%; } }   /* the English upper sentence's column is wider */
/* 2026-10-22 layout check: in Arabic the upper line's tall line box touched the lower sentence's box. The lower
   sentence's box is made shorter (line-height 1) and moved 17px down, so its letters stay where they were. */
@media (min-width: 901px) { [lang="ar"] body.su-split .sp-meets { line-height: 1; top: calc(27vh - 95px + 135px); } }

/* owner 2026-10-24 (from his phone and tablet): «make the sign-up page move a little, like the membership page - it is
   oddly fixed». On a tablet held wide (901px and more) the lock above (one screen, overflow hidden) also froze the page
   under the finger: no elastic give at all, while the membership page gives a little. On touch-only screens the page
   keeps its one-screen height but is no longer locked, so it moves under the finger like the membership page. On a
   computer with a mouse nothing changes (the 2026-10-21 order: «it must not move»). */
@media (min-width: 901px) and (hover: none) and (pointer: coarse) {
  html:has(body.su-split) { overflow: visible; }
  body.su-split { overflow-x: hidden; overflow-y: auto; }
}

/* owner 2026-10-24: «bring the line back like the membership page» - the footer of the sign-up pages gets back its line
   and its spacing exactly as the membership page has them (the 2026-10-21 «drop the line, words to the very bottom» undone) */
body.su-split .foot::before { display: block; }
body.su-split .foot .wrap { padding-top: var(--s4); padding-bottom: 14px; }   /* the membership page's own: 32px over, 14px under */

/* owner 2026-10-24 «everything perfect»: the line under the form (e.g. «WIEDER EINGEFALLEN? MITGLIEDERZUGANG») did not fit
   a 320px phone in German and widened the page; it now goes to two centred lines only when one line does not fit */
.sp-ask { flex-wrap: wrap; row-gap: 6px; }
