/* ==========================================================================
   Tarkyaan - Global Stylesheet
   Pure CSS3. No frameworks. Mobile-first, responsive.
   ========================================================================== */

/* ----------------------------- Design tokens ----------------------------- */
:root {
  --ink: #0e1a33;
  --ink-soft: #3d4a63;
  --muted: #667089;
  --line: #e4e9f2;
  --line-strong: #d3dae8;
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --bg-tint: #eef2fb;
  --surface: #ffffff;
  --primary: #2f4bd8;
  --primary-dark: #2238a6;
  --primary-light: #5b76f0;
  --primary-soft: #eef1fe;
  --indigo: #4f46e5;
  --accent: #0e9f8f;
  --accent-soft: #e6f7f4;
  --amber: #c47d10;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --shadow-xs: 0 1px 2px rgba(14, 26, 51, 0.05);
  --shadow-sm: 0 2px 8px rgba(14, 26, 51, 0.06);
  --shadow-md: 0 12px 30px -12px rgba(14, 26, 51, 0.18);
  --shadow-lg: 0 30px 60px -28px rgba(14, 26, 51, 0.32);

  --container: 1160px;
  --header-h: 72px;

  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial,
    "Noto Sans", sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--primary-dark);
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 0.5em;
  letter-spacing: -0.015em;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.05rem, 4.6vw, 3.35rem);
}

h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.35rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

ul {
  margin: 0;
  padding: 0;
}

/* ------------------------------- Layout --------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 22px;
}

.section {
  padding: 84px 0;
}

.section--soft {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 720px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-head p {
  font-size: 1.06rem;
  margin-bottom: 0;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.lead {
  font-size: 1.12rem;
  color: var(--ink-soft);
}

/* ------------------------------- Buttons -------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1;
  padding: 15px 26px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: #fff;
  box-shadow: 0 10px 22px -12px rgba(47, 75, 216, 0.85);
}

.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 18px 32px -14px rgba(47, 75, 216, 0.9);
}

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-xs);
}

.btn-ghost:hover {
  color: var(--primary-dark);
  border-color: var(--primary-light);
  transform: translateY(-2px);
}

.btn-light {
  background: #fff;
  color: var(--primary-dark);
}

.btn-light:hover {
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 17px 32px;
  font-size: 1.02rem;
}

.btn-block {
  width: 100%;
}

/* ------------------------------- Header --------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(14, 26, 51, 0.4);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  font-size: 1.22rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

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

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}

.brand span small {
  display: block;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 10px 14px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-soft);
  border-radius: 9px;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--primary-dark);
  background: var(--primary-soft);
}

.nav-links a[aria-current="page"] {
  color: var(--primary-dark);
}

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

.nav-actions .btn {
  padding: 12px 20px;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  padding: 0;
  position: relative;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle span {
  top: 50%;
  margin-top: -1px;
}

.nav-toggle span::before {
  content: "";
  top: -6px;
}

.nav-toggle span::after {
  content: "";
  top: 6px;
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  transform: translateX(-50%) translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  transform: translateX(-50%) translateY(-6px) rotate(-45deg);
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 14px 22px 26px;
    display: none;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }

  .nav-menu.is-open {
    display: block;
    animation: menuDrop 0.22s ease;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin-bottom: 16px;
  }

  .nav-links a {
    padding: 14px 12px;
    font-size: 1rem;
    border-bottom: 1px solid var(--line);
  }

  .nav-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-actions .btn {
    width: 100%;
  }
}

@keyframes menuDrop {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --------------------------------- Hero --------------------------------- */
.hero {
  position: relative;
  padding: 72px 0 84px;
  background: radial-gradient(
      1100px 520px at 88% -8%,
      rgba(91, 118, 240, 0.16),
      transparent 60%
    ),
    radial-gradient(
      800px 420px at 4% 0%,
      rgba(79, 70, 229, 0.08),
      transparent 55%
    ),
    linear-gradient(180deg, #fbfcff 0%, #ffffff 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(14, 26, 51, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 26, 51, 0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 70% 20%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 70% 20%, #000 0%, transparent 72%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  color: var(--primary-dark);
  background: #fff;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-xs);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(14, 159, 143, 0.14);
}

.hero h1 {
  margin-bottom: 20px;
}

.hero h1 .accent-line {
  color: var(--primary);
}

.hero-lead {
  font-size: 1.16rem;
  max-width: 540px;
  margin-bottom: 30px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.hero-points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.hero-points svg {
  flex: none;
  color: var(--primary);
}

/* ------------------------- Hero dashboard visual ------------------------ */
.dash {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 24px;
  transform: perspective(1400px) rotateY(-7deg) rotateX(2deg);
  transition: transform 0.5s ease;
}

.dash:hover {
  transform: perspective(1400px) rotateY(-2deg) rotateX(0deg);
}

.dash-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.dash-title {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.dash-dots {
  display: flex;
  gap: 6px;
}

.dash-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line-strong);
}

.dash-profile {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 18px;
}

.dash-avatar {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary-light), var(--indigo));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex: none;
}

.dash-profile-name {
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

.dash-profile-role {
  font-size: 0.84rem;
  color: var(--muted);
}

.dash-complete {
  margin-left: auto;
  text-align: right;
  flex: none;
}

.dash-complete b {
  display: block;
  font-size: 1.3rem;
  color: var(--primary);
  line-height: 1.1;
}

.dash-complete span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.dash-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
}

.skill {
  margin-bottom: 12px;
}

.skill-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.skill-bar {
  height: 8px;
  border-radius: 999px;
  background: var(--bg-tint);
  overflow: hidden;
}

.skill-bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary-light), var(--primary));
  width: 0;
  transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.is-visible .skill-bar i {
  width: var(--val);
}

.dash-progress {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed var(--line-strong);
}

.ring {
  flex: none;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: conic-gradient(
    var(--primary) calc(var(--p) * 1%),
    var(--bg-tint) 0
  );
  display: grid;
  place-items: center;
  position: relative;
}

.ring::after {
  content: "";
  position: absolute;
  inset: 8px;
  background: #fff;
  border-radius: 50%;
}

.ring b {
  position: relative;
  z-index: 1;
  font-size: 0.9rem;
  color: var(--ink);
}

.dash-progress-text strong {
  display: block;
  color: var(--ink);
  font-size: 0.95rem;
}

.dash-progress-text span {
  font-size: 0.83rem;
  color: var(--muted);
}

.float-card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 12px 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  font-weight: 650;
  color: var(--ink);
}

.float-card svg {
  flex: none;
  color: var(--accent);
}

.float-card small {
  display: block;
  font-weight: 500;
  font-size: 0.74rem;
  color: var(--muted);
}

.float-card--a {
  top: 22px;
  left: -26px;
  animation: floatY 5.5s ease-in-out infinite;
}

.float-card--b {
  bottom: 30px;
  right: -22px;
  animation: floatY 6.5s ease-in-out infinite 0.8s;
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

/* ------------------------------ Trust strip ----------------------------- */
.trust-strip {
  background: linear-gradient(135deg, #101d3d, #1b2a5c);
  color: #fff;
  padding: 26px 0;
}

.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px 46px;
}

.trust-inner span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.98rem;
  font-weight: 600;
  color: #dbe3ff;
}

.trust-inner svg {
  color: #8fa4ff;
  flex: none;
}

/* ------------------------------ How it works ---------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.step-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease,
    border-color 0.22s ease;
  overflow: hidden;
}

.step-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-light), var(--indigo));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

.step-card:hover::after {
  transform: scaleX(1);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-weight: 800;
  font-size: 0.98rem;
  margin-bottom: 18px;
}

.step-card h3 {
  margin-bottom: 8px;
  font-size: 1.16rem;
}

.step-card p {
  margin: 0;
  font-size: 0.96rem;
}

/* ------------------------------ Candidates ------------------------------ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.check-list {
  list-style: none;
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink);
}

.check-list .tick {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-top: 1px;
}

.check-list li small {
  display: block;
  font-weight: 500;
  font-size: 0.86rem;
  color: var(--muted);
  margin-top: 2px;
}

/* Candidate profile fictional UI */
.profile-ui {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 26px;
}

.profile-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.profile-head .dash-avatar {
  width: 60px;
  height: 60px;
  font-size: 1.25rem;
}

.profile-head .name {
  font-weight: 700;
  font-size: 1.08rem;
}

.profile-head .sub {
  font-size: 0.85rem;
  color: var(--muted);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px 12px;
  border-radius: 999px;
  flex: none;
}

.status-pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.profile-section {
  padding-top: 18px;
}

.profile-section h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary-dark);
  background: var(--primary-soft);
  border-radius: 8px;
  padding: 6px 11px;
}

.chip--muted {
  color: var(--ink-soft);
  background: var(--bg-tint);
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-item {
  display: flex;
  gap: 13px;
}

.timeline-item .marker {
  flex: none;
  width: 11px;
  height: 11px;
  margin-top: 6px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: #fff;
}

.timeline-item strong {
  display: block;
  font-size: 0.93rem;
  color: var(--ink);
}

.timeline-item span {
  font-size: 0.82rem;
  color: var(--muted);
}

.meter-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 10px;
}

.meter-row .skill-bar {
  flex: 1;
}

/* ----------------------------- Career areas ----------------------------- */
.area-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.area-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-xs);
  transition: transform 0.2s ease, box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.area-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
}

.area-icon {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.area-card h3 {
  font-size: 1.04rem;
  margin-bottom: 4px;
}

.area-card p {
  margin: 0;
  font-size: 0.88rem;
}

.area-note {
  text-align: center;
  margin-top: 30px;
  font-size: 0.92rem;
  color: var(--muted);
}

/* ------------------------------- Support -------------------------------- */
.support {
  position: relative;
  background: linear-gradient(135deg, #16234a 0%, #223a9e 55%, #3348c4 100%);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  color: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.support::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -140px;
  top: -160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 68%);
  pointer-events: none;
}

.support-inner {
  position: relative;
  max-width: 720px;
}

.support .eyebrow {
  background: rgba(255, 255, 255, 0.14);
  color: #dbe4ff;
}

.support h2 {
  color: #fff;
}

.support p {
  color: #d4dcf7;
  font-size: 1.06rem;
}

.mail-display {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(1.15rem, 2.6vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  padding: 16px 24px;
  border-radius: 16px;
  margin: 8px 0 24px;
  word-break: break-all;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.mail-display:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.support .btn-light {
  box-shadow: var(--shadow-md);
}

.support-note {
  margin: 26px 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.94rem;
  color: #c7d1f2;
  display: flex;
  gap: 11px;
  align-items: flex-start;
}

.support-note svg {
  flex: none;
  color: #9fb2ff;
  margin-top: 3px;
}

/* ----------------------------- Transparency ----------------------------- */
.legal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.legal-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-xs);
}

.legal-card h3 {
  font-size: 1.06rem;
  margin-bottom: 8px;
}

.legal-card p {
  margin: 0;
  font-size: 0.96rem;
}

.callout {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  background: #fff8ec;
  border: 1px solid #f2dfba;
  border-left: 4px solid var(--amber);
  border-radius: var(--radius);
  padding: 20px 24px;
}

.callout svg {
  flex: none;
  color: var(--amber);
  margin-top: 2px;
}

.callout p {
  margin: 0;
  color: #5c451a;
  font-weight: 600;
}

/* ------------------------- Email communication -------------------------- */
.mail-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-sm);
  max-width: 880px;
  margin: 0 auto;
}

.mail-card .big-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  display: grid;
  place-items: center;
  flex: none;
}

.mail-card h3 {
  font-size: 1.2rem;
}

.mail-card p:last-child {
  margin-bottom: 0;
}

/* --------------------------------- FAQ ---------------------------------- */
.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item.is-open {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-sm);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
  font-family: inherit;
  font-size: 1.02rem;
  font-weight: 650;
  color: var(--ink);
  background: transparent;
  border: 0;
  padding: 20px 22px;
  cursor: pointer;
}

.faq-q:hover {
  color: var(--primary-dark);
}

.faq-icon {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  display: grid;
  place-items: center;
  position: relative;
  transition: transform 0.25s ease, background-color 0.2s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 2px;
}

.faq-icon::before {
  width: 12px;
  height: 2px;
}

.faq-icon::after {
  width: 2px;
  height: 12px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.faq-item.is-open .faq-icon {
  transform: rotate(90deg);
}

.faq-item.is-open .faq-icon::after {
  opacity: 0;
}

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.faq-item.is-open .faq-a {
  grid-template-rows: 1fr;
}

.faq-a-inner {
  overflow: hidden;
}

.faq-a-inner p {
  margin: 0;
  padding: 0 22px 22px;
  font-size: 0.98rem;
}

/* -------------------------------- Contact ------------------------------- */
.contact-card {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-md);
}

.contact-card .big-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
}

.contact-mail {
  display: inline-block;
  font-size: clamp(1.1rem, 2.4vw, 1.45rem);
  font-weight: 700;
  color: var(--primary-dark);
  margin: 6px 0 26px;
  word-break: break-all;
}

.contact-mail:hover {
  text-decoration: underline;
}

/* -------------------------------- Footer -------------------------------- */
.site-footer {
  background: #0c1730;
  color: #b8c2d9;
  padding: 62px 0 30px;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  font-weight: 800;
  font-size: 1.24rem;
  margin-bottom: 14px;
}

.footer-brand:hover {
  color: #fff;
}

.footer-brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.site-footer p {
  color: #98a4bf;
  font-size: 0.92rem;
  margin: 0 0 16px;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.86rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 11px;
}

.footer-col a {
  color: #b8c2d9;
  font-size: 0.93rem;
}

.footer-col a:hover {
  color: #fff;
}

.footer-mail {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #dbe3ff;
  font-weight: 600;
  font-size: 0.95rem;
  word-break: break-all;
}

.footer-mail:hover {
  color: #fff;
}

.footer-disclaimer {
  font-size: 0.82rem;
  color: #7d89a5;
  line-height: 1.7;
  margin: 24px 0 0;
  max-width: 900px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-size: 0.86rem;
  color: #7d89a5;
}

/* ------------------------------ Legal pages ----------------------------- */
.page-hero {
  background: radial-gradient(
      900px 380px at 85% -30%,
      rgba(91, 118, 240, 0.16),
      transparent 60%
    ),
    linear-gradient(180deg, #fbfcff, #fff);
  padding: 60px 0 40px;
  border-bottom: 1px solid var(--line);
}

.page-hero .eyebrow {
  margin-bottom: 14px;
}

.page-hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  margin-bottom: 12px;
}

.page-hero p {
  max-width: 660px;
  font-size: 1.05rem;
  margin: 0;
}

.prose {
  max-width: 840px;
}

.prose h2 {
  font-size: 1.45rem;
  margin-top: 46px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.prose h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.prose h3 {
  font-size: 1.1rem;
  margin-top: 28px;
}

.prose p,
.prose li {
  color: var(--ink-soft);
}

.prose ul {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 16px 0;
}

.prose ul li {
  position: relative;
  padding-left: 26px;
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.prose .updated {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 30px;
}

.prose .callout {
  margin: 24px 0;
}

.info-box {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin: 24px 0;
}

.info-box p:last-child {
  margin-bottom: 0;
}

/* ---------------------------- Reveal animations ------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 {
  transition-delay: 0.08s;
}
.reveal-delay-2 {
  transition-delay: 0.16s;
}
.reveal-delay-3 {
  transition-delay: 0.24s;
}
.reveal-delay-4 {
  transition-delay: 0.32s;
}

/* ------------------------------ Accessibility --------------------------- */
:focus-visible {
  outline: 3px solid rgba(47, 75, 216, 0.55);
  outline-offset: 2px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--primary-dark);
  color: #fff;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 14px;
  color: #fff;
}

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

/* ------------------------------ Responsive ------------------------------ */
@media (max-width: 1024px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 900px) {
  .hero {
    padding: 52px 0 66px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .dash {
    transform: none;
    max-width: 520px;
    margin: 0 auto;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .split .profile-ui {
    max-width: 540px;
    margin: 0 auto;
    width: 100%;
  }

  .legal-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .section {
    padding: 62px 0;
  }

  .section-head {
    margin-bottom: 38px;
  }

  .steps,
  .area-grid {
    grid-template-columns: 1fr;
  }

  .float-card--a,
  .float-card--b {
    display: none;
  }

  .support {
    padding: 40px 26px;
    border-radius: var(--radius-lg);
  }

  .mail-card {
    grid-template-columns: 1fr;
    padding: 28px 24px;
  }

  .contact-card {
    padding: 38px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ------------------------------ Motion pref ----------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
