/* ==========================================================================
   NOMU — Base
   Reset, page defaults, layout helpers and the shared heading style.
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--size-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--violet); color: var(--white); }

:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 4px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  inset-inline-start: var(--gutter);
  top: -100px;
  z-index: 100;
  padding: 12px 20px;
  background: var(--midnight);
  color: var(--white);
  border-radius: var(--radius-pill);
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---- Layout helpers ------------------------------------------------------ */

.wrap {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-gap); position: relative; }

.section--lavender { background: var(--lavender); }
.section--dark     { background: var(--midnight-deep); color: var(--ink-on-dark); }
.section--violet   { background: var(--violet); color: var(--white); }

/* ---- Headings: one light line + one bold line ending in the violet dot ---
   Usage:
   <h2 class="title"><span class="title__light">From first idea</span>
                     <span class="title__bold">to launch<span class="dot">.</span></span></h2>
   -------------------------------------------------------------------------- */

.title {
  font-family: var(--font-display);
  font-size: var(--size-h2);
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.title__light { display: block; font-weight: 200; }
.title__bold  { display: block; font-weight: 800; letter-spacing: -0.045em; }

.dot { color: var(--violet); }
.section--violet .dot { color: var(--yellow); }

/* Label: DM Sans Bold, uppercase, wide spacing, violet (brand guideline 05) */
.label {
  display: inline-block;
  font-family: var(--font-text);
  font-weight: 700;
  font-size: var(--size-label);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--violet);
}
.section--dark .label   { color: var(--yellow); }
.section--violet .label { color: var(--yellow); }

.lead {
  font-size: var(--size-lead);
  line-height: 1.5;
  max-width: 34ch;
}

.arabic { font-family: var(--font-arabic); font-weight: 800; }
