/* Sentra's Marketplace landing page: Sentra's ink, blue and mint and the Alexandria face, in one stylesheet with no script. */
@font-face {
  font-family: "Alexandria";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/alexandria-arabic-400.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "Alexandria";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/alexandria-arabic-600.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "Alexandria";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/alexandria-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Alexandria";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/alexandria-latin-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #0c1020;
  --ink-deep: #090c18;
  --on-brand: #ffffff;
  --on-brand-muted: #a9b2cc;
  --canvas: #f4f6fb;
  --surface: #ffffff;
  --surface-subtle: #eef1f8;
  --text: #0c1020;
  --text-secondary: #2f3754;
  --muted: #5d6684;
  --border: #e3e6ee;
  --control-border: #8a93ad;
  --primary: #1f5bff;
  --primary-strong: #1645c9;
  --on-primary: #ffffff;
  --focus: #4c7dff;
  --success: #0f7a55;
  --success-bg: #ddf6ec;
  --warning: #8f3b3b;
  --warning-bg: #ffe7e7;
  --info-bg: #e5ecff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #0a0e1c;
    --surface: #12183a;
    --surface-subtle: #151c3a;
    --text: #e9ecf2;
    --text-secondary: #c7cde0;
    --muted: #8f99b8;
    --border: #222b55;
    --control-border: #46518a;
    --primary: #4c7dff;
    --primary-strong: #7a9dff;
    --on-primary: #ffffff;
    --focus: #58e0b0;
    --success: #58e0b0;
    --success-bg: #10302a;
    --warning: #ff9b9b;
    --warning-bg: #3a1a22;
    --info-bg: #1a2350;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font-family: "Alexandria", "Segoe UI", Tahoma, system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
}

.wrap {
  width: 100%;
  max-width: 62rem;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.band {
  background: linear-gradient(180deg, var(--ink), var(--ink-deep));
  color: var(--on-brand);
  border-bottom: 2px solid #1f5bff;
}

.band .wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-block: 0.9rem;
  flex-wrap: wrap;
}

.logo { flex: none; height: 2.75rem; width: auto; }

.names { flex: 1 1 14rem; min-width: 0; border-inline-start: 1px solid #2a3463; padding-inline-start: 1rem; }

.product { margin: 0; font-weight: 600; font-size: 1.02rem; }

.by { margin: 0; color: var(--on-brand-muted); font-size: 0.85rem; }

nav { display: flex; align-items: center; gap: 1rem; font-size: 0.9rem; flex-wrap: wrap; }

nav a { color: var(--on-brand); }

nav a:hover { color: #58e0b0; }

.who { color: var(--on-brand-muted); }

main { padding-block: 2rem 1rem; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  padding: 1.75rem;
  max-width: 44rem;
  margin-inline: auto;
  box-shadow: 0 1px 2px rgba(12, 16, 32, 0.06);
}

.card.wide { max-width: none; }

h1 { margin: 0 0 0.5rem; font-size: 1.5rem; font-weight: 600; line-height: 1.4; }

h2 { margin: 1.75rem 0 0.5rem; font-size: 1.1rem; font-weight: 600; }

p { margin: 0 0 1rem; }

.lead { color: var(--text-secondary); }

a { color: var(--primary); text-underline-offset: 0.2em; }

a:hover { color: var(--primary-strong); }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 0.25rem; }

.steps {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  padding: 0;
  margin: 1.25rem 0;
  flex-wrap: wrap;
}

.steps li {
  flex: 1 1 8rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: var(--surface-subtle);
  color: var(--muted);
  font-size: 0.9rem;
}

.steps li.done { background: var(--success-bg); border-color: transparent; color: var(--success); }

.steps li.done::before { content: "✓ "; }

.steps li.now { border-color: var(--primary); color: var(--text); font-weight: 600; }

dl { margin: 1.25rem 0; border-top: 1px solid var(--border); }

dl > div {
  display: grid;
  grid-template-columns: minmax(8rem, 14rem) 1fr;
  gap: 0.75rem;
  padding-block: 0.6rem;
  border-bottom: 1px solid var(--border);
}

dt { color: var(--muted); }

dd { margin: 0; overflow-wrap: anywhere; text-align: left; }

/* A value keeps its own direction (an address in an Arabic page) and still sits against the page's own starting edge. */
[dir="rtl"] dd { text-align: right; }

label { display: block; margin: 1rem 0 0.3rem; font-weight: 600; }

input[type="text"], input[type="email"] {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--control-border);
  border-radius: 0.5rem;
  background: var(--surface);
  color: var(--text);
  font: inherit;
}

.hint { color: var(--muted); font-size: 0.9rem; margin-top: 0.35rem; }

.actions { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; flex-wrap: wrap; }

.actions form { margin: 0; }

button, .button {
  display: inline-block;
  padding: 0.7rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  background: var(--primary);
  color: var(--on-primary);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

button:hover, .button:hover { background: var(--primary-strong); color: var(--on-primary); }

button.quiet, a.quiet {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--control-border);
  padding: 0.7rem 1.25rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
}

button.quiet:hover, a.quiet:hover { background: var(--surface-subtle); color: var(--primary-strong); }

.note, .warn { padding: 0.75rem 1rem; border-radius: 0.5rem; }

.note { background: var(--info-bg); }

.warn { background: var(--warning-bg); color: var(--warning); }

.scroll { overflow-x: auto; }

table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }

th, td { text-align: start; padding: 0.6rem 0.5rem; border-bottom: 1px solid var(--border); vertical-align: top; }

th { color: var(--muted); font-weight: 600; white-space: nowrap; }

.history { padding-inline-start: 1.25rem; color: var(--text-secondary); font-size: 0.92rem; }

.history time { color: var(--muted); }

footer { padding-block: 0.5rem 2rem; color: var(--muted); font-size: 0.9rem; text-align: center; }

footer .phone { white-space: nowrap; }

@media (max-width: 34rem) {
  .card { padding: 1.25rem; }
  dl > div { grid-template-columns: 1fr; gap: 0.1rem; }
  .names { border-inline-start: 0; padding-inline-start: 0; }
}
