@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;1,6..72,400&display=swap");

:root {
  color-scheme: dark;

  --bg: #111214;
  --bg-stage: #0d0e10;
  --bg-elevated: #17181b;
  --header-bg: rgba(17, 18, 20, 0.88);
  --surface-subtle: rgba(255, 255, 255, 0.03);
  --surface-hover: rgba(255, 255, 255, 0.05);
  --surface-active: rgba(255, 255, 255, 0.08);

  --dash: rgba(255, 255, 255, 0.13);
  --dash-soft: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.22);

  --ink: #f4f4f2;
  --ink-inv: #111214;
  --ink-inv-muted: #52565e;
  --ink-2: #b8bcc4;
  --muted: #848891;
  --faint: #5e626b;
  --btn-hover: #ffffff;

  --dot-color: rgba(255, 255, 255, 0.14);
  --dot-glow: rgba(255, 255, 255, 0.14);
  --ruler-tick: rgba(255, 255, 255, 0.16);
  --ring-track: rgba(255, 255, 255, 0.12);
  --connector-line: rgba(255, 255, 255, 0.35);

  --glass-pill: rgba(25, 27, 31, 0.86);
  --glass-border: rgba(255, 255, 255, 0.14);
  --glass-border-strong: rgba(255, 255, 255, 0.2);
  --glass-card: linear-gradient(145deg, rgba(44, 46, 52, 0.68) 0%, rgba(22, 23, 27, 0.88) 100%);
  --glass-cta: linear-gradient(135deg, rgba(64, 67, 75, 0.82) 0%, rgba(28, 30, 35, 0.92) 100%);
  --glass-hub: linear-gradient(145deg, rgba(52, 55, 62, 0.78) 0%, rgba(22, 23, 27, 0.92) 100%);
  --shadow-card: 0 24px 60px rgba(0, 0, 0, 0.55);
  --shadow-cta: 0 20px 48px rgba(0, 0, 0, 0.6);

  --node-bg: rgba(34, 36, 41, 0.78);
  --node-hover: rgba(46, 49, 56, 0.85);
  --node-lit: rgba(62, 65, 74, 0.9);
  --node-lit-border: rgba(255, 255, 255, 0.5);

  /* Liquid Glass Button Tokens (Dark) */
  --lg-surface: linear-gradient(180deg, rgba(255, 255, 255, 0.11) 0%, rgba(255, 255, 255, 0.04) 100%);
  --lg-surface-hover: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.08) 100%);
  --lg-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 -1px 0 rgba(0, 0, 0, 0.28),
    0 6px 20px rgba(0, 0, 0, 0.34);
  --lg-shadow-hover:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    inset 0 -1px 0 rgba(0, 0, 0, 0.22),
    0 10px 26px rgba(0, 0, 0, 0.44);
  --lg-primary-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(226, 228, 232, 0.86) 100%);
  --lg-primary-hover: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(238, 240, 244, 0.94) 100%);
  --lg-primary-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.14),
    0 8px 24px rgba(0, 0, 0, 0.42);

  --scrollbar-track: #111214;
  --scrollbar-thumb: #2b2d33;

  accent-color: var(--ink);
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

:root[data-theme="light"] {
  color-scheme: light;

  --bg: #fafaf9;
  --bg-stage: #f2f2ef;
  --bg-elevated: #ffffff;
  --header-bg: rgba(250, 250, 249, 0.88);
  --surface-subtle: rgba(17, 18, 20, 0.03);
  --surface-hover: rgba(17, 18, 20, 0.055);
  --surface-active: rgba(17, 18, 20, 0.085);

  --dash: rgba(17, 18, 20, 0.16);
  --dash-soft: rgba(17, 18, 20, 0.1);
  --line: rgba(17, 18, 20, 0.12);
  --line-strong: rgba(17, 18, 20, 0.28);

  --ink: #111214;
  --ink-inv: #fafaf9;
  --ink-inv-muted: #b8bcc4;
  --ink-2: #3c4048;
  --muted: #60646e;
  --faint: #8c9099;
  --btn-hover: #25272d;

  --dot-color: rgba(17, 18, 20, 0.18);
  --dot-glow: rgba(17, 18, 20, 0.06);
  --ruler-tick: rgba(17, 18, 20, 0.22);
  --ring-track: rgba(17, 18, 20, 0.12);
  --connector-line: rgba(17, 18, 20, 0.35);

  --glass-pill: rgba(255, 255, 255, 0.88);
  --glass-border: rgba(17, 18, 20, 0.14);
  --glass-border-strong: rgba(17, 18, 20, 0.22);
  --glass-card: linear-gradient(145deg, rgba(255, 255, 255, 0.92) 0%, rgba(242, 242, 239, 0.96) 100%);
  --glass-cta: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(235, 236, 233, 0.96) 100%);
  --glass-hub: linear-gradient(145deg, rgba(255, 255, 255, 0.94) 0%, rgba(238, 239, 236, 0.96) 100%);
  --shadow-card: 0 20px 50px rgba(17, 18, 20, 0.1);
  --shadow-cta: 0 16px 40px rgba(17, 18, 20, 0.14);

  --node-bg: rgba(255, 255, 255, 0.86);
  --node-hover: rgba(255, 255, 255, 0.98);
  --node-lit: #ffffff;
  --node-lit-border: rgba(17, 18, 20, 0.55);

  /* Liquid Glass Button Tokens (Light) */
  --lg-surface: linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(236, 237, 240, 0.56) 100%);
  --lg-surface-hover: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(228, 230, 235, 0.72) 100%);
  --lg-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(17, 18, 20, 0.08),
    0 4px 16px rgba(17, 18, 20, 0.08);
  --lg-shadow-hover:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 0 rgba(17, 18, 20, 0.1),
    0 8px 22px rgba(17, 18, 20, 0.13);
  --lg-primary-bg: linear-gradient(180deg, rgba(44, 46, 52, 0.92) 0%, rgba(17, 18, 20, 0.96) 100%);
  --lg-primary-hover: linear-gradient(180deg, rgba(58, 61, 68, 0.95) 0%, rgba(24, 25, 29, 0.98) 100%);
  --lg-primary-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 -1px 0 rgba(0, 0, 0, 0.4),
    0 8px 22px rgba(17, 18, 20, 0.22);

  --scrollbar-track: #fafaf9;
  --scrollbar-thumb: #c8cbd1;
}

@supports not (scrollbar-color: auto) {
  html,
  body {
    scrollbar-width: auto;
  }

  ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
  }

  ::-webkit-scrollbar-track {
    background: var(--scrollbar-track);
  }

  ::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
    border-radius: 999px;
  }
}

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

html,
body {
  margin: 0;
  padding: 0;
  background-color: var(--bg);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.serif {
  font-family: "Newsreader", Georgia, "Times New Roman", serif;
}

/* ── Outer Architectural Dashed Frame (Reign Signature Vertical Rails) ──── */
.frame {
  width: min(1220px, 100% - 48px);
  min-height: calc(100vh - 144px);
  margin-inline: auto;
  border-inline: 1px dashed var(--dash);
  position: relative;
}

/* ── Header (Exact Reign Monochrome Topbar) ──────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(1220px, 100% - 48px);
  margin-inline: auto;
  height: 66px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: "Newsreader", Georgia, serif;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.brand-logo {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.nav-center {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-btn {
  appearance: none;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 400;
  color: var(--muted);
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.14s ease;
}

.nav-btn:hover {
  color: var(--ink);
  background: var(--lg-surface);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  box-shadow: var(--lg-shadow);
}

.nav-btn.active {
  color: var(--ink);
  font-weight: 500;
  background: var(--lg-surface-hover);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  box-shadow: var(--lg-shadow);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle {
  appearance: none;
  border: none;
  background: var(--lg-surface);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  box-shadow: var(--lg-shadow);
  color: var(--ink-2);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13.5px;
  cursor: pointer;
  transition: color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease, transform 0.14s ease;
}

.theme-toggle:hover {
  color: var(--ink);
  background: var(--lg-surface-hover);
  box-shadow: var(--lg-shadow-hover);
  transform: translateY(-1px);
}

.lang-picker {
  position: relative;
}

.lang-toggle {
  appearance: none;
  border: none;
  background: var(--lg-surface);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  box-shadow: var(--lg-shadow);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
  height: 34px;
  min-width: 58px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  transition: color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease, transform 0.14s ease;
}

.lang-toggle:hover {
  color: var(--ink);
  background: var(--lg-surface-hover);
  box-shadow: var(--lg-shadow-hover);
  transform: translateY(-1px);
}

.lang-caret {
  font-size: 9px;
  opacity: 0.72;
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 156px;
  padding: 6px;
  border-radius: 14px;
  background: var(--glass-pill);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: var(--shadow-cta);
  border: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 90;
}

.lang-menu[hidden] {
  display: none;
}

.lang-option {
  appearance: none;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  color: var(--ink-2);
  padding: 8px 11px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  text-align: left;
  white-space: nowrap;
  transition: background-color 0.14s ease, color 0.14s ease;
}

.lang-option:hover {
  background: var(--surface-hover);
  color: var(--ink);
}

.lang-option.active {
  background: var(--lg-primary-bg);
  color: var(--ink-inv);
  font-weight: 500;
}

.lang-option-code {
  font-size: 10.5px;
  letter-spacing: 0.06em;
  opacity: 0.7;
}

.btn-white {
  appearance: none;
  border: none;
  font-family: inherit;
  background: var(--lg-primary-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: var(--lg-primary-shadow);
  color: var(--ink-inv);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 999px;
  white-space: nowrap;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  transition: background 0.16s ease, box-shadow 0.16s ease, transform 0.14s ease;
}

.btn-white:hover {
  background: var(--lg-primary-hover);
  transform: translateY(-1px);
}

.btn-text-muted {
  appearance: none;
  border: none;
  background: var(--lg-surface);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  box-shadow: var(--lg-shadow);
  font-family: inherit;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 500;
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease, transform 0.14s ease;
}

.btn-text-muted:hover {
  color: var(--ink);
  background: var(--lg-surface-hover);
  box-shadow: var(--lg-shadow-hover);
  transform: translateY(-1px);
}

/* ── Tabs ────────────────────────────────────────────────────────────────── */
.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* ── TAB 1: HOME (Reign Split Hero + Halftone Matrix + Dashed Platform Grid) */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px dashed var(--dash);
  min-height: 540px;
}

.hero-left {
  padding: 72px 52px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.reign-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 5px 12px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-2);
  margin-bottom: 28px;
}

.reign-badge-box {
  width: 16px;
  height: 16px;
  background: var(--ink);
  color: #111214;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
}

.hero-title {
  margin: 0 0 24px 0;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(2.6rem, 4.6vw, 3.9rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.hero-title .muted-line {
  display: block;
  color: var(--muted);
}

.hero-sub {
  margin: 0 0 32px 0;
  max-width: 420px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.65;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

/* Right Halftone Dot-Matrix Glass Stage (Exact Reign Visual!) */
.hero-right {
  position: relative;
  border-left: 1px dashed var(--dash);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--bg-stage);
  background-image:
    radial-gradient(var(--dot-color) 1px, transparent 1px),
    radial-gradient(ellipse 70% 55% at 75% 85%, var(--dot-glow), transparent 70%);
  background-size: 8px 8px, 100% 100%;
}

.reign-glass-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: var(--glass-pill);
  backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  font-size: 12px;
  color: var(--ink-2);
  margin-bottom: 18px;
  position: relative;
  z-index: 2;
}

.reign-glass-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--ink);
}

.reign-preview-card {
  width: 100%;
  max-width: 390px;
  background: var(--glass-card);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid var(--glass-border);
  padding: 24px;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-card);
}

.reign-metric-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
}

.reign-ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 6px solid var(--ring-track);
  border-top-color: var(--ink);
  border-right-color: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.reign-ring-val {
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  color: var(--ink);
}

.reign-ring-lbl {
  font-size: 8.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-top: 3px;
}

.reign-meta-kicker {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.reign-meta-title {
  font-family: "Newsreader", Georgia, serif;
  font-size: 20px;
  color: var(--ink);
  margin: 2px 0 4px;
}

.reign-meta-sub {
  font-size: 11.5px;
  color: var(--muted);
}

.reign-floating-cta {
  margin-top: -12px;
  margin-left: 28px;
  width: calc(100% - 28px);
  max-width: 360px;
  background: var(--glass-cta);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border-strong);
  padding: 18px 20px;
  position: relative;
  z-index: 3;
  box-shadow: var(--shadow-cta);
}

.reign-floating-kicker {
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 6px;
}

.reign-floating-title {
  font-family: "Newsreader", Georgia, serif;
  font-size: 17px;
  color: var(--ink);
  margin: 0 0 4px 0;
}

.reign-floating-sub {
  font-size: 12px;
  color: var(--ink-2);
  margin: 0 0 14px 0;
}

.reign-floating-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.btn-ghost-box {
  appearance: none;
  border: none;
  background: var(--lg-surface);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  box-shadow: var(--lg-shadow);
  color: var(--ink-2);
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease, transform 0.14s ease;
}

.btn-ghost-box:hover {
  color: var(--ink);
  background: var(--lg-surface-hover);
  box-shadow: var(--lg-shadow-hover);
  transform: translateY(-1px);
}

/* Signature Reign Dashed Platform Strip */
.trusted-band {
  border-bottom: 1px dashed var(--dash);
}

.trusted-label {
  text-align: center;
  padding: 20px 16px;
  font-size: 13px;
  color: var(--muted);
  border-bottom: 1px dashed var(--dash);
}

.company-showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.company-card {
  appearance: none;
  border: none;
  border-right: 1px dashed var(--dash);
  background: transparent;
  font-family: inherit;
  padding: 34px 26px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  transition: background-color 0.16s ease;
}

.company-card:last-child {
  border-right: none;
}

.company-card:hover {
  background: var(--surface-subtle);
}

.company-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.company-card-title {
  margin: 0;
  font-family: "Newsreader", Georgia, serif;
  font-size: 24px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.company-card-count {
  font-size: 11.5px;
  color: var(--muted);
}

.company-card-desc {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

.company-card-cta {
  font-size: 12.5px;
  color: var(--ink-2);
}

.company-card:hover .company-card-cta {
  color: var(--ink);
}

/* Signature Reign Section 2: Interactive 01-04 Flow with Left Ruler Ticks */
.reign-flow-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 460px;
  border-bottom: 1px dashed var(--dash);
  position: relative;
}

.reign-flow-left {
  padding: 52px 48px 52px 56px;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  background-image: repeating-linear-gradient(
    to bottom,
    var(--ruler-tick) 0px,
    var(--ruler-tick) 1px,
    transparent 1px,
    transparent 12px
  );
  background-size: 10px 100%;
  background-repeat: no-repeat;
  background-position: left top;
}

.flow-step-btn {
  appearance: none;
  border: none;
  background: transparent;
  font-family: inherit;
  width: 100%;
  text-align: left;
  padding: 16px 0;
  cursor: pointer;
  display: block;
  border-bottom: 1px dashed var(--dash-soft);
}

.flow-step-btn:last-child {
  border-bottom: none;
}

.flow-step-num {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  transition: color 0.15s ease;
}

.flow-step-btn.active .flow-step-num {
  color: var(--ink-2);
}

.flow-step-detail {
  display: none;
  margin-top: 10px;
  min-height: 116px;
}

.flow-step-btn.active .flow-step-detail {
  display: block;
}

.flow-step-detail h3 {
  margin: 0 0 8px 0;
  font-family: "Newsreader", Georgia, serif;
  font-size: 24px;
  font-weight: 400;
  color: var(--ink);
}

.flow-step-detail p {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
}

.reign-flow-right {
  padding: 48px;
  min-height: 460px;
  border-left: 1px dashed var(--dash);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-stage);
  background-image:
    radial-gradient(var(--dot-color) 1px, transparent 1px),
    radial-gradient(ellipse 65% 50% at 55% 88%, var(--dot-glow), transparent 70%);
  background-size: 8px 8px, 100% 100%;
}

.diagram-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1.05fr;
  align-items: center;
  gap: 18px;
}

.diagram-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.diagram-node {
  appearance: none;
  border: none;
  font-family: inherit;
  width: 100%;
  text-align: left;
  padding: 13px 16px;
  border-radius: 12px;
  background: var(--lg-surface);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  box-shadow: var(--lg-shadow);
  font-size: 13px;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: background 0.18s ease, box-shadow 0.18s ease, color 0.18s ease, transform 0.14s ease;
}

.diagram-node:hover {
  background: var(--lg-surface-hover);
  box-shadow: var(--lg-shadow-hover);
  color: var(--ink);
  transform: translateY(-1px);
}

.diagram-node.lit {
  background: var(--lg-primary-bg);
  box-shadow: var(--lg-primary-shadow);
  color: var(--ink-inv);
  font-weight: 500;
}

.diagram-connector {
  width: 28px;
  height: 1px;
  border-top: 1px dashed var(--connector-line);
  position: relative;
}

.diagram-connector::after {
  content: "";
  position: absolute;
  right: -3px;
  top: -3.5px;
  width: 6px;
  height: 6px;
  background: var(--ink);
}

.diagram-hub {
  padding: 22px 20px;
  min-height: 138px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--glass-hub);
  border: 1px solid var(--glass-border-strong);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-card);
}

.diagram-hub-title {
  font-family: "Newsreader", Georgia, serif;
  font-size: 19px;
  color: var(--ink);
  margin: 0 0 6px 0;
}

.diagram-hub-sub {
  font-size: 12.5px;
  color: var(--ink-2);
  margin: 0;
  line-height: 1.55;
}

/* ── TAB 2: LISTINGS (Reign Monochrome Dashed Directory) ────────────────── */
.listings-toolbar {
  display: flex;
  justify-content: center;
  padding: 20px 28px;
  border-bottom: 1px dashed var(--dash);
}

.company-bar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 5px;
  background: var(--lg-surface);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: var(--lg-shadow);
  border: none;
  border-radius: 999px;
  overflow-x: auto;
  max-width: 100%;
}

.company-tab {
  appearance: none;
  border: none;
  background: transparent;
  font-family: "Newsreader", Georgia, serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--muted);
  padding: 8px 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.16s ease;
}

.company-tab:hover {
  color: var(--ink);
  background: var(--lg-surface-hover);
}

.company-tab.active {
  background: var(--lg-primary-bg);
  box-shadow: var(--lg-primary-shadow);
  color: var(--ink-inv);
}

.company-count {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--faint);
}

.company-tab.active .company-count {
  color: var(--ink-inv-muted);
}

.directory-grid {
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: 540px;
}

.cat-rail {
  border-right: 1px dashed var(--dash);
  padding: 24px 20px;
}

.search-wrap {
  position: relative;
  width: 100%;
  margin-bottom: 20px;
}

.search-input {
  width: 100%;
  height: 38px;
  padding: 0 12px 0 34px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--surface-subtle);
  color: var(--ink);
  font-family: inherit;
  font-size: 13px;
  outline: none;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.search-input:focus {
  border-color: var(--line-strong);
  background: var(--surface-hover);
}

.search-icon {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--faint);
  font-size: 12px;
  pointer-events: none;
}

.cat-rail-title {
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--faint);
  margin: 0 0 10px 10px;
}

.cat-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cat-btn {
  appearance: none;
  border: none;
  background: transparent;
  font-family: inherit;
  width: 100%;
  padding: 9px 12px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--muted);
  cursor: pointer;
  text-align: left;
  transition: background 0.16s ease, box-shadow 0.16s ease, color 0.16s ease;
}

.cat-btn-left {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.cat-btn-left i {
  width: 15px;
  text-align: center;
  font-size: 12px;
  color: var(--faint);
}

.cat-btn:hover {
  background: var(--lg-surface);
  box-shadow: var(--lg-shadow);
  color: var(--ink);
}

.cat-btn.active {
  background: var(--lg-surface-hover);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  box-shadow: var(--lg-shadow);
  color: var(--ink);
  font-weight: 500;
}

.cat-btn.active .cat-btn-left i {
  color: var(--ink);
}

.cat-count {
  font-size: 11.5px;
  color: var(--faint);
}

.cat-btn.active .cat-count {
  color: var(--ink-2);
}

/* Right Pane — Clean Single-Column Editorial Job Board */
.roles-pane {
  padding: 36px 44px 56px;
}

.company-stage-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
  margin-bottom: 4px;
  border-bottom: 1px dashed var(--dash);
}

.company-stage-title {
  margin: 0 0 6px 0;
  font-family: "Newsreader", Georgia, serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.company-stage-sub {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
  max-width: 580px;
  line-height: 1.55;
}

/* Crisp Editorial Role Rows (Zero Clutter) */
.role-list {
  display: flex;
  flex-direction: column;
}

.role-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 20px 14px;
  margin-inline: -14px;
  border-bottom: 1px dashed var(--dash);
  border-radius: 3px;
  transition: background-color 0.15s ease;
}

.role-row:hover {
  background: var(--surface-subtle);
}

.role-row-main {
  min-width: 0;
  flex: 1;
}

.role-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 5px;
}

.role-title {
  margin: 0;
  font-family: "Newsreader", Georgia, serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--ink);
}

.high-demand-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--lg-primary-bg);
  color: var(--ink-inv);
  font-family: "Inter", sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.role-meta {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.role-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.btn-copy-icon {
  appearance: none;
  border: none;
  background: var(--lg-surface);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  box-shadow: var(--lg-shadow);
  color: var(--muted);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 12.5px;
  transition: color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease, transform 0.14s ease;
}

.btn-copy-icon:hover {
  color: var(--ink);
  background: var(--lg-surface-hover);
  box-shadow: var(--lg-shadow-hover);
  transform: translateY(-1px);
}

.btn-apply-clean {
  text-decoration: none;
  border: none;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--lg-surface);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  box-shadow: var(--lg-shadow);
  color: var(--ink);
  white-space: nowrap;
  transition: background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease, transform 0.14s ease;
}

.role-row:hover .btn-apply-clean,
.btn-apply-clean:hover {
  background: var(--lg-primary-bg);
  box-shadow: var(--lg-primary-shadow);
  color: var(--ink-inv);
  transform: translateY(-1px);
}

.pane-footnote {
  margin: 22px 0 0;
  font-family: "Newsreader", Georgia, serif;
  font-style: italic;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.empty-state {
  padding: 48px 20px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--dash);
}

/* ── TAB 3 & 4: GUIDE & FAQ (Editorial Monochrome) ───────────────────────── */
.editorial-block {
  padding: 52px 56px 64px;
  width: 100%;
}

.editorial-block h1 {
  margin: 0 0 8px 0;
  font-family: "Newsreader", Georgia, serif;
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.editorial-sub {
  margin: 0 0 36px 0;
  color: var(--muted);
  font-size: 15px;
}

.guide-timeline {
  border-top: 1px dashed var(--dash);
  margin-bottom: 24px;
}

.guide-card {
  border-bottom: 1px dashed var(--dash);
  padding: 24px 0;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
}

.guide-num {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding-top: 4px;
}

.guide-card h3 {
  margin: 0 0 6px 0;
  font-family: "Newsreader", Georgia, serif;
  font-size: 21px;
  font-weight: 400;
  color: var(--ink);
}

.guide-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

.inline-payout-link {
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px dashed var(--line-strong);
  padding-bottom: 1px;
}

.inline-payout-link:hover {
  border-bottom-color: var(--ink);
}

.guide-disclosure {
  font-size: 12.5px;
  color: var(--faint);
  margin: 0;
}

/* Guide Practical Tips Grid */
.tips-section {
  margin-top: 48px;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px dashed var(--dash);
  border-left: 1px dashed var(--dash);
}

.tip-card {
  padding: 24px 26px;
  border-right: 1px dashed var(--dash);
  border-bottom: 1px dashed var(--dash);
  background: var(--surface-subtle);
}

.tip-kicker {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 8px;
}

.tip-card h3 {
  margin: 0 0 8px 0;
  font-family: "Newsreader", Georgia, serif;
  font-size: 19px;
  font-weight: 400;
  color: var(--ink);
}

.tip-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.62;
}

/* Native <details> FAQ */
.accordion {
  border-top: 1px dashed var(--dash);
  margin-bottom: 36px;
}

.accordion details {
  border-bottom: 1px dashed var(--dash);
}

.accordion summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 2px;
  font-weight: 500;
  font-size: 15px;
  color: var(--ink);
  cursor: pointer;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary::before {
  content: "";
  inline-size: 0.85em;
  block-size: 0.85em;
  flex-shrink: 0;
  background-color: var(--muted);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='black'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z' clip-rule='evenodd'/%3E%3C/svg%3E") no-repeat center / contain;
  rotate: -90deg;
}

.accordion details[open] > summary::before {
  rotate: 0deg;
  background-color: var(--ink);
}

.accordion details::details-content {
  interpolate-size: allow-keywords;
  overflow: clip;
  block-size: 0;
}

.accordion details[open]::details-content {
  block-size: auto;
}

@media (prefers-reduced-motion: no-preference) {
  .accordion summary::before {
    transition: rotate 0.2s ease;
  }

  .accordion details::details-content {
    transition: block-size, content-visibility, display;
    transition-duration: 0.26s;
    transition-timing-function: ease-in-out;
    transition-behavior: allow-discrete;
  }
}

.faq-text {
  padding: 0 2px 18px 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

/* Structured 3-Card Legal / Referral / Privacy (KVKK & GDPR) Section */
.legal-section {
  margin-top: 36px;
}

.legal-section-head {
  margin-bottom: 18px;
}

.legal-section-head h2 {
  margin: 0 0 4px 0;
  font-family: "Newsreader", Georgia, serif;
  font-size: 23px;
  font-weight: 400;
  color: var(--ink);
}

.legal-section-head p {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px dashed var(--dash);
  border-left: 1px dashed var(--dash);
}

.legal-card {
  padding: 22px;
  border-right: 1px dashed var(--dash);
  border-bottom: 1px dashed var(--dash);
  background: var(--surface-subtle);
  position: relative;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.legal-card.is-pulsing {
  z-index: 4;
  animation: legalCardPulse 0.75s ease-in-out 3;
}

@keyframes legalCardPulse {
  0%,
  100% {
    background: var(--surface-subtle);
    transform: scale(1);
    box-shadow: inset 0 0 0 1px transparent;
  }
  50% {
    background: var(--bg-elevated);
    transform: scale(1.018);
    box-shadow:
      inset 0 0 0 2px var(--ink),
      0 0 0 5px var(--surface-active),
      0 14px 36px rgba(0, 0, 0, 0.22);
  }
}

@media (prefers-reduced-motion: reduce) {
  .legal-card.is-pulsing {
    animation: none;
    background: var(--bg-elevated);
    box-shadow: inset 0 0 0 2px var(--ink);
  }
}

.legal-card-icon {
  color: var(--ink-2);
  font-size: 15px;
  margin-bottom: 12px;
}

.legal-card h3 {
  margin: 0 0 8px 0;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
}

.legal-card p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.legal-closing-note {
  margin: 22px 0 0 0;
  font-family: "Newsreader", Georgia, serif;
  font-style: italic;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 860px;
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px dashed var(--dash);
}

.footer-inner {
  width: min(1220px, 100% - 48px);
  margin-inline: auto;
  border-inline: 1px dashed var(--dash);
  padding: 26px 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: var(--muted);
}

.footer-brand-wrap {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: "Newsreader", Georgia, serif;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
}

.footer-logo {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.footer-sep {
  color: var(--faint);
}

.footer-note {
  font-size: 12.5px;
  color: var(--muted);
}

.footer-legal-links {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-legal-links button {
  appearance: none;
  border: none;
  background: transparent;
  padding: 0;
  font-family: inherit;
  font-size: 12.5px;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.15s ease;
}

.footer-legal-links button:hover {
  color: var(--ink);
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero-split,
  .reign-flow-section,
  .directory-grid,
  .role-list,
  .tips-grid,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .company-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .company-card {
    border-bottom: 1px dashed var(--dash);
  }

  .hero-right,
  .reign-flow-right,
  .cat-rail {
    border-left: none;
    border-right: none;
    border-top: 1px dashed var(--dash);
  }

  .reign-flow-left,
  .reign-flow-right {
    min-height: 360px;
  }

  .cat-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .cat-btn {
    width: auto;
    gap: 10px;
    background: var(--lg-surface);
    box-shadow: var(--lg-shadow);
  }

  .hero-left,
  .roles-pane,
  .editorial-block,
  .footer-inner {
    padding-inline: 24px;
  }

  .company-stage-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

@media (max-width: 640px) {
  .role-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

/* ── RTL Support (Arabic) — Keeps All Borders & Sizes Identical ──────────── */
html[dir="rtl"] .lang-menu {
  right: auto;
  left: 0;
}

html[dir="rtl"] .hero-right,
html[dir="rtl"] .reign-flow-right {
  border-left: none;
  border-right: 1px dashed var(--dash);
}

html[dir="rtl"] .reign-flow-left {
  padding: 52px 56px 52px 48px;
  background-position: right top;
}

html[dir="rtl"] .flow-step-btn,
html[dir="rtl"] .diagram-node,
html[dir="rtl"] .company-card,
html[dir="rtl"] .cat-btn,
html[dir="rtl"] .lang-option {
  text-align: right;
}

html[dir="rtl"] .company-card {
  border-right: none;
  border-left: 1px dashed var(--dash);
}

html[dir="rtl"] .company-card:last-child {
  border-left: none;
}

html[dir="rtl"] .cat-rail {
  border-right: none;
  border-left: 1px dashed var(--dash);
}

html[dir="rtl"] .search-input {
  padding: 0 34px 0 12px;
}

html[dir="rtl"] .search-icon {
  left: auto;
  right: 11px;
}

html[dir="rtl"] .reign-floating-cta {
  margin-left: 0;
  margin-right: 28px;
}
