/* ==========================================================================
   RahyaID Solutions — design tokens
   Sumber: ui-ux-pro-max design system (Glassmorphism · Trust blue + orange)
   ========================================================================== */
:root {
  --c-primary: #2563EB;
  --c-primary-hover: #1D4ED8;
  --c-on-primary: #FFFFFF;
  --c-secondary: #3B82F6;
  --c-accent: #EA580C;
  --c-accent-text: #C2410C;          /* oranye untuk teks: 5.2:1 di atas putih */
  --c-bg: #F8FAFC;
  --c-bg-tint: #EEF3FB;
  --c-fg: #0F172A;
  --c-fg-soft: #1E293B;
  --c-muted: #475569;
  --c-border: #E2E8F0;
  --c-card: rgba(255, 255, 255, 0.72);
  --c-card-solid: #FFFFFF;
  --c-glass-border: rgba(255, 255, 255, 0.7);
  --c-ring: #2563EB;
  --c-success: #16A34A;
  --c-blob-a: rgba(59, 130, 246, 0.35);
  --c-blob-b: rgba(251, 146, 60, 0.28);
  --c-blob-c: rgba(99, 102, 241, 0.25);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px -8px rgba(15, 23, 42, 0.14);
  --shadow-lg: 0 24px 60px -20px rgba(30, 58, 138, 0.28);

  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px; --space-9: 96px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 160ms;
  --dur: 240ms;
  --dur-reveal: 600ms;
  --nav-h: 68px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --c-primary: #3B82F6;
    --c-primary-hover: #60A5FA;
    --c-on-primary: #FFFFFF;
    --c-accent-text: #FB923C;
    --c-bg: #0B1220;
    --c-bg-tint: #0F1A2E;
    --c-fg: #F1F5F9;
    --c-fg-soft: #E2E8F0;
    --c-muted: #A3B1C6;
    --c-border: #1E2A3F;
    --c-card: rgba(17, 27, 46, 0.68);
    --c-card-solid: #111B2E;
    --c-glass-border: rgba(148, 163, 184, 0.16);
    --c-ring: #60A5FA;
    --c-success: #4ADE80;
    --c-blob-a: rgba(37, 99, 235, 0.32);
    --c-blob-b: rgba(234, 88, 12, 0.18);
    --c-blob-c: rgba(99, 102, 241, 0.22);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 24px -8px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 24px 60px -20px rgba(0, 0, 0, 0.6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --c-primary: #3B82F6;
  --c-primary-hover: #60A5FA;
  --c-on-primary: #FFFFFF;
  --c-accent-text: #FB923C;
  --c-bg: #0B1220;
  --c-bg-tint: #0F1A2E;
  --c-fg: #F1F5F9;
  --c-fg-soft: #E2E8F0;
  --c-muted: #A3B1C6;
  --c-border: #1E2A3F;
  --c-card: rgba(17, 27, 46, 0.68);
  --c-card-solid: #111B2E;
  --c-glass-border: rgba(148, 163, 184, 0.16);
  --c-ring: #60A5FA;
  --c-success: #4ADE80;
  --c-blob-a: rgba(37, 99, 235, 0.32);
  --c-blob-b: rgba(234, 88, 12, 0.18);
  --c-blob-c: rgba(99, 102, 241, 0.22);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px -8px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 24px 60px -20px rgba(0, 0, 0, 0.6);
  color-scheme: dark;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--c-fg-soft);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { color: var(--c-fg); line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--c-ring); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 768px) { .container { padding-inline: 32px; } }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--c-primary); color: var(--c-on-primary);
  padding: 10px 16px; border-radius: var(--r-sm); font-weight: 600; text-decoration: none;
  transition: top var(--dur-fast) var(--ease-out);
}
.skip-link:focus { top: 12px; }

.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.glass {
  background: var(--c-card);
  border: 1px solid var(--c-glass-border);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px;
  font: 600 1rem/1.2 var(--font);
  border-radius: 12px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur) var(--ease-out);
}
.btn:active { transform: translateY(1px) scale(0.98); }
.btn .ico { width: 18px; height: 18px; transition: transform var(--dur) var(--ease-out); }
.btn:hover .ico { transform: translateX(2px); }
.btn--sm { min-height: 44px; padding: 10px 16px; font-size: 0.9375rem; }
.btn--primary { background: var(--c-primary); color: var(--c-on-primary); box-shadow: 0 8px 20px -8px rgba(37, 99, 235, 0.6); }
.btn--primary:hover { background: var(--c-primary-hover); box-shadow: 0 12px 28px -10px rgba(37, 99, 235, 0.7); }
.btn--ghost { background: var(--c-card); color: var(--c-fg); border-color: var(--c-border); }
.btn--ghost:hover { border-color: var(--c-primary); color: var(--c-primary); }
.btn--light { background: #FFFFFF; color: #1E3A8A; }
.btn--light:hover { background: #EFF6FF; }
.btn--outline-light { background: rgba(255, 255, 255, 0.08); color: #FFFFFF; border-color: rgba(255, 255, 255, 0.55); }
.btn--outline-light:hover { background: rgba(255, 255, 255, 0.16); border-color: #FFFFFF; }
.btn--light:focus-visible, .btn--outline-light:focus-visible { outline-color: #FFFFFF; }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: transparent; color: var(--c-fg); border: 1px solid var(--c-border);
  cursor: pointer; transition: background-color var(--dur-fast), border-color var(--dur-fast);
}
.icon-btn:hover { background: var(--c-card); border-color: var(--c-primary); }
.lang-btn { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.04em; text-decoration: none; }

/* ==========================================================================
   Nav
   ========================================================================== */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: color-mix(in srgb, var(--c-bg) 70%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur), box-shadow var(--dur);
}
.nav.is-scrolled { border-bottom-color: var(--c-border); box-shadow: var(--shadow-sm); }
.nav__inner { display: flex; align-items: center; gap: 24px; height: 100%; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.125rem; color: var(--c-fg); letter-spacing: -0.02em; }
.brand__sub { font-weight: 500; color: var(--c-muted); margin-left: 5px; }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a {
  padding: 10px 14px; border-radius: 10px; text-decoration: none;
  font-weight: 500; color: var(--c-muted);
  transition: color var(--dur-fast), background-color var(--dur-fast);
}
.nav__links a:hover { color: var(--c-fg); background: var(--c-card); }
.nav__links a[aria-current="true"] { color: var(--c-primary); }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.nav__toggle { display: none; }
[data-theme-toggle] .ico--moon { display: none; }
:root[data-theme="dark"] [data-theme-toggle] .ico--sun { display: none; }
:root[data-theme="dark"] [data-theme-toggle] .ico--moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) [data-theme-toggle] .ico--sun { display: none; }
  :root:not([data-theme="light"]) [data-theme-toggle] .ico--moon { display: block; }
}

@media (max-width: 860px) {
  .nav__toggle { display: inline-grid; }
  .nav__cta { display: none; }
  .nav__actions { margin-left: auto; }
  .nav__links {
    position: absolute; left: 16px; right: 16px; top: calc(var(--nav-h) - 4px);
    flex-direction: column; gap: 2px; padding: 8px;
    background: var(--c-card-solid); border: 1px solid var(--c-border);
    border-radius: var(--r-md); box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out), visibility var(--dur-fast);
  }
  .nav__links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__links a { padding: 14px 16px; }
}
@media (max-width: 400px) { .brand__sub { display: none; } }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; padding: var(--space-8) 0 var(--space-9); overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; -webkit-mask-image: linear-gradient(to bottom, #000 65%, transparent); mask-image: linear-gradient(to bottom, #000 65%, transparent); }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); }
.blob--a { width: 520px; height: 520px; background: var(--c-blob-a); top: -160px; right: -120px; animation: drift 18s ease-in-out infinite alternate; }
.blob--b { width: 380px; height: 380px; background: var(--c-blob-b); bottom: -120px; right: 22%; animation: drift 22s ease-in-out infinite alternate-reverse; }
.blob--c { width: 420px; height: 420px; background: var(--c-blob-c); top: 10%; left: -180px; animation: drift 20s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(40px, 30px) scale(1.08); } }

.hero__grid { display: grid; gap: var(--space-7); align-items: center; }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: 1.05fr 1fr; gap: var(--space-8); } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 10px; margin-bottom: var(--space-5);
  font-size: 0.875rem; font-weight: 600; color: var(--c-fg-soft);
  background: var(--c-card); border: 1px solid var(--c-glass-border); border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-accent) 22%, transparent); }
.hero h1 { font-size: clamp(2.25rem, 1.4rem + 3.6vw, 3.75rem); font-weight: 800; letter-spacing: -0.022em; line-height: 1.1; text-wrap: balance; }
.grad { background: linear-gradient(100deg, var(--c-primary) 10%, #6366F1 55%, var(--c-accent) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin-top: var(--space-5); font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); color: var(--c-muted); max-width: 56ch; text-wrap: pretty; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--space-6); }
.hero__facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: var(--space-4) clamp(16px, 4vw, 40px); margin-top: var(--space-7); padding-top: var(--space-5); border-top: 1px solid var(--c-border); }
.hero__facts li { display: flex; flex-direction: column; }
.hero__facts strong { font-size: 1.25rem; font-weight: 800; color: var(--c-fg); }
.hero__facts span { font-size: 0.875rem; color: var(--c-muted); }

.hero__visual { position: relative; padding: 0 0 48px; }
@media (min-width: 640px) { .hero__visual { padding: 0 64px 56px 0; } }
.browser { margin: 0; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-lg); }
.browser__bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: color-mix(in srgb, var(--c-card-solid) 85%, transparent); border-bottom: 1px solid var(--c-border); }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #F87171; }
.browser__bar i:nth-child(2) { background: #FBBF24; }
.browser__bar i:nth-child(3) { background: #34D399; }
.browser__bar span { margin-inline: auto; padding: 2px 14px; font-size: 0.75rem; font-weight: 500; color: var(--c-muted); background: var(--c-bg); border-radius: 6px; transform: translateX(-18px); }
.browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.hero .browser { padding: 0; }

.phone {
  position: absolute; right: 0; bottom: 0; width: 30%; max-width: 168px; min-width: 104px;
  margin: 0; padding: 6px; border-radius: 22px;
  box-shadow: var(--shadow-lg);
  animation: float 7s ease-in-out infinite;
}
.phone img { border-radius: 16px; aspect-ratio: 390 / 844; object-fit: cover; }
.chip-float {
  position: absolute; left: 12px; bottom: 12px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 12px;
  font-size: 0.8125rem; font-weight: 600; color: var(--c-fg);
  animation: float 8s ease-in-out -2s infinite;
}
.chip-float .ico { width: 18px; height: 18px; color: var(--c-accent-text); }
@media (min-width: 640px) { .chip-float { left: -16px; bottom: 28px; } }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: var(--space-9) 0; position: relative; }
.section + #kontak { padding-top: var(--space-6); }
.section--tint { background: linear-gradient(180deg, var(--c-bg) 0%, var(--c-bg-tint) 18%, var(--c-bg-tint) 82%, var(--c-bg) 100%); }
.section__head { max-width: 720px; margin: 0 auto var(--space-7); text-align: center; }
.kicker { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-accent-text); margin-bottom: var(--space-3); }
.kicker--light { color: #FED7AA; }
.section h2 { font-size: clamp(1.75rem, 1.3rem + 1.9vw, 2.625rem); font-weight: 800; text-wrap: balance; }
.section__lead { margin-top: var(--space-4); color: var(--c-muted); font-size: 1.0625rem; text-wrap: pretty; }

/* Cards */
.cards { display: grid; gap: var(--space-5); }
@media (min-width: 640px) { .cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cards--4 { grid-template-columns: repeat(4, 1fr); } }
.card {
  padding: var(--space-6) var(--space-5); border-radius: var(--r-lg);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--c-primary) 35%, transparent); }
.card__icon {
  display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: var(--space-5);
  border-radius: 14px; color: var(--c-on-primary);
  background: linear-gradient(135deg, var(--c-secondary), var(--c-primary-hover));
  box-shadow: 0 8px 18px -8px rgba(37, 99, 235, 0.7);
}
.card__icon .ico { width: 22px; height: 22px; }
.card h3 { font-size: 1.1875rem; font-weight: 700; margin-bottom: var(--space-2); }
.card p { color: var(--c-muted); font-size: 0.9688rem; }

/* ==========================================================================
   Portfolio case
   ========================================================================== */
.case {
  display: grid; gap: var(--space-6); padding: var(--space-5);
  border-radius: calc(var(--r-lg) + 4px);
}
.case > * { min-width: 0; }
@media (min-width: 768px) { .case { padding: var(--space-6); } }
@media (min-width: 1024px) {
  .case { grid-template-columns: 1.1fr 1fr; gap: var(--space-7); padding: var(--space-7); }
  .case__strip { grid-column: 1 / -1; }
  .case__media { position: sticky; top: calc(var(--nav-h) + 24px); align-self: start; }
}
.browser--flat { border: 1px solid var(--c-border); box-shadow: var(--shadow-md); }
.case__title { display: flex; align-items: center; gap: 14px; margin-bottom: var(--space-4); flex-wrap: wrap; }
.case__title img { border-radius: 12px; box-shadow: 0 8px 18px -8px rgba(124, 58, 237, 0.6); }
.case__title h3 { font-size: 1.625rem; font-weight: 800; }
.case__tag { font-size: 0.9063rem; color: var(--c-muted); }
.badge {
  display: inline-flex; align-items: center; gap: 6px; margin-left: auto;
  padding: 4px 12px; border-radius: 999px; font-size: 0.8125rem; font-weight: 700;
  color: var(--c-success); background: color-mix(in srgb, var(--c-success) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--c-success) 30%, transparent);
}
.badge__dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }
.case__desc { color: var(--c-muted); font-size: 1.0313rem; }

.feature-list { display: grid; gap: var(--space-4); margin-top: var(--space-5); }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.feature-list .ico {
  width: 40px; height: 40px; padding: 10px; border-radius: 12px; flex: none;
  color: var(--c-primary); background: color-mix(in srgb, var(--c-primary) 10%, transparent);
}
.feature-list strong { display: block; color: var(--c-fg); font-weight: 700; }
.feature-list span { display: block; color: var(--c-muted); font-size: 0.9375rem; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: var(--space-6) 0 0; }
.stats div { padding: 14px 12px; border-radius: var(--r-md); background: var(--c-card-solid); border: 1px solid var(--c-border); text-align: center; }
.stats dt { font-size: 0.8125rem; color: var(--c-muted); }
.stats dd { margin: 2px 0 0; font-size: clamp(1.0625rem, 0.9rem + 0.8vw, 1.375rem); font-weight: 800; color: var(--c-fg); font-variant-numeric: tabular-nums; }
.case__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--space-6); }

.case__strip { border-top: 1px solid var(--c-border); padding-top: var(--space-5); }
.case__strip-label { font-size: 0.875rem; font-weight: 600; color: var(--c-muted); margin-bottom: var(--space-4); }
.covers {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(120px, 1fr); gap: var(--space-4);
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px;
  scrollbar-width: thin;
}
.covers li { scroll-snap-align: start; }
.covers img {
  width: 100%; aspect-ratio: 390 / 600; object-fit: cover; object-position: top;
  border-radius: var(--r-md); border: 1px solid var(--c-border); box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.covers li:hover img { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.covers span { display: block; margin-top: 8px; font-size: 0.8125rem; font-weight: 600; color: var(--c-fg-soft); text-align: center; }

.next-slot {
  display: flex; align-items: center; gap: var(--space-4); margin-top: var(--space-5);
  padding: var(--space-5); border-radius: var(--r-lg);
  border: 2px dashed color-mix(in srgb, var(--c-primary) 35%, var(--c-border));
  text-decoration: none; color: var(--c-fg-soft);
  transition: border-color var(--dur), background-color var(--dur);
}
.next-slot:hover { border-color: var(--c-primary); background: var(--c-card); }
.next-slot strong { display: block; color: var(--c-fg); }
.next-slot > span:nth-child(2) > span { display: block; color: var(--c-muted); font-size: 0.9375rem; }
.next-slot__icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; flex: none; color: var(--c-primary); background: color-mix(in srgb, var(--c-primary) 10%, transparent); }
.next-slot__arrow { margin-left: auto; color: var(--c-primary); transition: transform var(--dur) var(--ease-out); }
.next-slot:hover .next-slot__arrow { transform: translateX(4px); }

/* ==========================================================================
   Process
   ========================================================================== */
.steps { display: grid; gap: var(--space-5); counter-reset: step; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding: var(--space-6) var(--space-5); border-radius: var(--r-lg); }
.step__num { position: absolute; top: 18px; right: 20px; font-size: 2.25rem; font-weight: 800; line-height: 1; color: color-mix(in srgb, var(--c-primary) 18%, transparent); font-variant-numeric: tabular-nums; }
.step__icon { width: 28px; height: 28px; color: var(--c-primary); margin-bottom: var(--space-4); }
.step h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: var(--space-2); }
.step p { color: var(--c-muted); font-size: 0.9375rem; }

.principles { margin-top: var(--space-7); text-align: center; }
.principles__h { font-size: 1rem; font-weight: 700; color: var(--c-muted); margin-bottom: var(--space-4); }
.principles ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.principles li {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px;
  border-radius: 999px; background: var(--c-card-solid); border: 1px solid var(--c-border);
  font-size: 0.9375rem; font-weight: 500; color: var(--c-fg-soft);
}
.principles .ico { width: 16px; height: 16px; color: var(--c-success); stroke-width: 2.5; }

/* ==========================================================================
   CTA / Contact
   ========================================================================== */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; gap: var(--space-6); align-items: center;
  padding: var(--space-7) var(--space-5); border-radius: calc(var(--r-lg) + 8px);
  background: linear-gradient(135deg, #1E3A8A 0%, #1D4ED8 55%, #4338CA 100%);
  color: #DBEAFE; box-shadow: var(--shadow-lg);
}
@media (min-width: 768px) { .cta { padding: var(--space-8) var(--space-7); } }
@media (min-width: 1024px) { .cta { grid-template-columns: 1.4fr 1fr; } }
.cta__bg { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(500px 300px at 90% 10%, rgba(251, 146, 60, 0.35), transparent 60%),
  radial-gradient(400px 260px at 0% 100%, rgba(96, 165, 250, 0.35), transparent 60%); }
.cta h2 { color: #FFFFFF; }
.cta__copy p:last-child { margin-top: var(--space-4); font-size: 1.0625rem; max-width: 52ch; color: #DBEAFE; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 1024px) { .cta__actions { justify-content: flex-end; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { padding: var(--space-7) 0 var(--space-6); border-top: 1px solid var(--c-border); }
.footer__inner { display: grid; gap: var(--space-4); justify-items: center; text-align: center; }
@media (min-width: 900px) {
  .footer__inner { grid-template-columns: auto 1fr auto; justify-items: start; text-align: left; align-items: center; }
  .footer__copy { grid-column: 1 / -1; }
}
.footer__tagline { color: var(--c-muted); font-size: 0.9375rem; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.footer__links a { padding: 10px 12px; border-radius: 8px; color: var(--c-muted); text-decoration: none; font-weight: 500; font-size: 0.9375rem; }
.footer__links a:hover { color: var(--c-primary); }
.footer__copy { color: var(--c-muted); font-size: 0.875rem; padding-top: var(--space-4); border-top: 1px solid var(--c-border); width: 100%; }

/* ==========================================================================
   Motion
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
