/* ==========================================================================
   iOS123 (ios 123) — DUAL-SURFACE FLAGSHIP OS & FULL-BLEED COVER HERO SYSTEM
   Exact Palette: Carbon Black #0D0E11 | Solar Action Orange #FF5A1F | Pure White #FFFFFF
   ========================================================================== */

:root {
  --bg-carbon: #0D0E11;
  --bg-slate-dark: #17191F;
  --bg-slate-elevated: #22252E;

  --surface-white: #FFFFFF;
  --surface-alabaster: #F4F5F7;
  --surface-ice: #ECEEF2;

  --orange-solar: #FF5A1F;
  --orange-bright: #FF7847;
  --orange-deep: #D9460F;
  --orange-tint: rgba(255, 90, 31, 0.12);

  --text-on-dark: #FFFFFF;
  --text-muted-dark: #B4B8C2;
  --text-on-light: #0D0E11;
  --text-muted-light: #4A4E58;

  --border-light: #E2E5EC;
  --border-light-strong: #CBD0DC;
  --border-dark: rgba(255, 255, 255, 0.12);
  --border-orange: rgba(255, 90, 31, 0.55);

  --grad-orange-btn: linear-gradient(135deg, #FF743D 0%, #FF5A1F 55%, #E04810 100%);
  --shadow-light-card: 0 12px 30px rgba(13, 14, 17, 0.06);
  --shadow-dark-dock: 0 20px 44px rgba(13, 14, 17, 0.34);
  --shadow-orange-glow: 0 8px 24px rgba(255, 90, 31, 0.32);

  --font-heading: 'Kanit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Prompt', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --max-w: 1260px;
  --gutter: 32px;
  --radius-btn: 12px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --radius-pill: 999px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--surface-white);
  color: var(--text-on-light);
}

body {
  font-family: var(--font-body);
  background-color: var(--surface-white);
  color: var(--text-on-light);
  line-height: 1.76;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--orange-deep);
  text-decoration: none;
  transition: color 0.18s ease, opacity 0.18s ease;
}

a:hover {
  color: var(--orange-solar);
}

.section-carbon a,
.cover-hero a,
.site-footer a {
  color: var(--orange-bright);
}

.section-carbon a:hover,
.cover-hero a:hover,
.site-footer a:hover {
  color: #FFFFFF;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--orange-solar);
  outline-offset: 3px;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.25;
}

h1 {
  font-size: clamp(1.95rem, 3.8vw, 3.1rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.42rem, 2.4vw, 2.05rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.1rem, 1.55vw, 1.3rem);
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section-white {
  background-color: var(--surface-white);
  color: var(--text-on-light);
  padding: clamp(46px, 5.8vw, 76px) 0;
}

.section-white p {
  color: var(--text-muted-light);
}

.section-alabaster {
  background-color: var(--surface-alabaster);
  color: var(--text-on-light);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: clamp(46px, 5.8vw, 76px) 0;
}

.section-alabaster p {
  color: var(--text-muted-light);
}

.section-carbon {
  background-color: var(--bg-carbon);
  color: var(--text-on-dark);
  padding: clamp(48px, 6vw, 78px) 0;
}

.section-carbon h1,
.section-carbon h2,
.section-carbon h3 {
  color: var(--text-on-dark);
}

.section-carbon p {
  color: var(--text-muted-dark);
}

.orange-text {
  color: var(--orange-solar);
  font-weight: 700;
}

.mono-orange {
  font-family: var(--font-mono);
  color: var(--orange-solar);
  font-weight: 700;
}

.sec-header {
  margin-bottom: clamp(24px, 3.4vw, 36px);
}

.sec-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--orange-solar);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.sec-title-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.sec-title-bar::before {
  content: '';
  width: 4px;
  height: 28px;
  border-radius: 2px;
  background: var(--orange-solar);
  flex-shrink: 0;
}

.sec-desc {
  max-width: 780px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
