/* sra landing — shares the product's design language (frontend/app/globals.css).
   No build step, no framework: one stylesheet, hand-written tokens. */

:root {
  --ink: #232323;
  --paper: #fcfbf9;
  --surface: #ffffff;
  --line: #eeeeee;
  --border: #c2c1bf;
  --brand: #e6550d;
  --brand-deep: #c4420a;
  --muted: #666666;
  --radius-pill: 999px;
  --radius-card: 14px;
  --font-sans: "IBM Plex Sans Arabic", ui-sans-serif, system-ui, -apple-system,
    sans-serif;
  --font-display: "Poppins", var(--font-sans);
}

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

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

body {
  min-height: 100dvh;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---- Homepage: full-bleed sra gradient, centred mark, "coming soon" ---- */

.hero {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  color: #ffffff;
  /* Figma diamond gradient (node 191-5606), exported straight from the frame.
     GRADIENT_DIAMOND has no CSS/SVG primitive, so this ships as a raster. */
  background: #fffef7 url("/hero-bg.webp?v=2") center / cover no-repeat;
}

.hero__mark {
  width: clamp(120px, 30vw, 200px);
  height: auto;
  color: #ffffff;
}

.hero__tagline {
  margin-top: 28px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  letter-spacing: 0.01em;
}

/* ---- Contact: linktree ---- */

.contact {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 48px 24px;
}

.contact__logo {
  width: min(150px, 39vw);
  height: auto;
  display: block;
  margin-bottom: 64px;
}

.links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: min(100%, 380px);
}

.link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.link:hover {
  opacity: 0.75;
}

.link:focus-visible {
  outline: 2px solid var(--brand-deep);
  outline-offset: 2px;
}

.link--primary {
  border-color: transparent;
  color: #ffffff;
  background: linear-gradient(90deg, #f5a623 0%, var(--brand) 100%);
  background-clip: padding-box;
}

.link__icon {
  width: 20px;
  height: 20px;
  flex: none;
}

.footer {
  font-size: 0.8125rem;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  .link {
    transition: none;
  }
}

/* ---- Policy pages: long-form legal copy ---- */

.policy__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 24px 0;
}

.policy__brand {
  display: block;
  line-height: 0;
  color: var(--ink);
}

.policy__back {
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--muted);
  transition: color 0.15s ease;
}

.policy__back:hover {
  color: var(--brand-deep);
}

.policy {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 24px 96px;
}

.policy h1 {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  letter-spacing: -0.01em;
}

.policy__meta {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9375rem;
}

.policy__toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 32px 0 48px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
}

.policy__toc a {
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
}

.policy__toc a:hover {
  color: var(--brand-deep);
}

.policy section {
  margin-top: 40px;
}

.policy h2 {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1.1875rem;
  padding-inline-start: 16px;
  border-inline-start: 3px solid var(--brand);
}

.policy p,
.policy li {
  margin-top: 14px;
  line-height: 1.65;
  color: var(--ink);
}

.policy p:first-of-type {
  margin-top: 16px;
}

.policy ul {
  padding-inline-start: 22px;
}

.policy a {
  color: var(--brand-deep);
  text-decoration-color: var(--border);
  text-underline-offset: 2px;
}

.policy a:hover {
  text-decoration-color: currentColor;
}

.policy mark.tbd {
  background: #fdf0e2;
  color: var(--brand-deep);
  border-radius: 4px;
  padding: 0 4px;
  font-weight: 500;
  text-decoration: underline dashed var(--brand);
  text-underline-offset: 3px;
  cursor: help;
}

.table-wrap {
  margin-top: 16px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}

.policy table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.policy th,
.policy td {
  padding: 10px 14px;
  text-align: start;
  vertical-align: top;
}

.policy thead th {
  border-bottom: 2px solid var(--ink);
  font-weight: 500;
  white-space: nowrap;
}

.policy tbody tr + tr td {
  border-top: 1px solid var(--line);
}

.policy .footer {
  margin-top: 64px;
}
