/* =================================================================
   Selety — styles.css
   Vanilla CSS. Bento Grid Showcase + Trust & Authority direction
   (via ui-ux-pro-max). Mobile-first, responsive, WCAG AA focused.
   ================================================================= */

/* ----------------------------- Tokens ----------------------------- */
:root {
  /* Brand */
  --violet: #6215ee;
  --violet-dark: #4e11be;
  --violet-light: #8b4ff2;

  /* Surfaces */
  --bg-dark: #0e0e12;
  --bg-darker: #09090c;
  --white: #ffffff;
  --neutral-50: #f7f7fa;
  --neutral-200: #e5e5ec;
  --neutral-500: #6b6b76;

  /* Text */
  --text: #1a1a22;
  --text-muted: #6b6b76;
  --text-on-dark: #f2f2f6;
  --text-on-dark-muted: #b7b7c4;

  /* Glass (on dark) */
  --glass: rgba(255, 255, 255, 0.04);
  --glass-strong: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.1);

  /* Type — "Tech Startup" pairing */
  --font-body:
    'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-head: 'Space Grotesk', var(--font-body);

  /* Shape & motion */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow-sm:
    0 1px 2px rgba(14, 14, 18, 0.06), 0 2px 8px rgba(14, 14, 18, 0.05);
  --shadow: 0 12px 34px rgba(14, 14, 18, 0.1);
  --shadow-violet: 0 14px 40px rgba(98, 21, 238, 0.3);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Layout */
  --container: 1160px;
  --header-h: 72px;
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html.i18n-pending body {
  visibility: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: var(--violet-dark);
  text-decoration: none;
}
a:hover {
  color: var(--violet);
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
button {
  font: inherit;
  cursor: pointer;
}

h1,
h2,
h3 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin: 0;
}
p {
  margin: 0;
}

/* ------------------------- Accessibility -------------------------- */
:focus-visible {
  outline: 3px solid var(--violet-light);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  background: var(--violet);
  color: var(--white);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus {
  top: 12px;
  color: var(--white);
}

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

.section {
  padding-block: clamp(64px, 9vw, 112px);
}
.section-alt {
  background: var(--neutral-50);
}
.section-dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}

.section-head {
  max-width: 660px;
  margin-bottom: 48px;
}
.eyebrow {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 12px;
}
.section-dark .eyebrow {
  color: var(--violet-light);
}
.section h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
}
.section-lead {
  margin-top: 16px;
  font-size: 1.12rem;
  color: var(--text-muted);
}
.section-dark .section-lead {
  color: var(--text-on-dark-muted);
}

/* ----------------------------- Buttons ---------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.96rem;
  line-height: 1;
  text-align: center;
  transition:
    transform 0.2s var(--ease),
    background 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    border-color 0.2s var(--ease),
    color 0.2s var(--ease);
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0);
}
.btn-lg {
  padding: 16px 30px;
  font-size: 1.02rem;
}
.btn-sm {
  padding: 10px 18px;
  font-size: 0.9rem;
}
.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--violet);
  color: var(--white);
  box-shadow: var(--shadow-violet);
}
.btn-primary:hover {
  background: var(--violet-dark);
  color: var(--white);
}
.btn-ghost {
  background: transparent;
  color: var(--text-on-dark);
  border-color: rgba(255, 255, 255, 0.25);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

/* ----------------------------- Header ----------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(27, 11, 58);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(139, 79, 242, 0.22);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.38rem;
  letter-spacing: -0.02em;
}
.brand:hover {
  color: var(--white);
}
.brand-logo {
  height: 30px;
  width: auto;
}
.footer-logo {
  height: 50px;
}

.main-nav {
  margin-left: auto;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-list a {
  color: var(--text-on-dark-muted);
  font-weight: 500;
  font-size: 0.98rem;
  position: relative;
  padding-block: 6px;
  transition: color 0.2s var(--ease);
}
.nav-list a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--violet-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav-list a:hover,
.nav-list a.is-active {
  color: var(--white);
}
.nav-list a:hover::after,
.nav-list a.is-active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.lang-btn {
  background: none;
  border: none;
  color: var(--text-on-dark-muted);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 6px;
  border-radius: 6px;
  transition: color 0.2s var(--ease);
}
.lang-btn[aria-pressed='true'] {
  color: var(--white);
}
.lang-btn:hover {
  color: var(--violet-light);
}
.lang-sep {
  color: rgba(255, 255, 255, 0.3);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
}
.menu-bar {
  display: block;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  background: var(--white);
  transition:
    transform 0.25s var(--ease),
    opacity 0.2s var(--ease);
}
.menu-toggle[aria-expanded='true'] .menu-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded='true'] .menu-bar:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded='true'] .menu-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ------------------------------ Hero ------------------------------ */
.hero {
  position: relative;
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding-block: clamp(80px, 12vw, 150px);
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      60% 55% at 18% 8%,
      rgba(98, 21, 238, 0.45),
      transparent 60%
    ),
    radial-gradient(
      46% 46% at 92% 26%,
      rgba(139, 79, 242, 0.22),
      transparent 60%
    );
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 48px;
  align-items: center;
}
.hero-content {
  max-width: 640px;
}
.hero-visual {
  justify-self: end;
  width: 100%;
  max-width: 540px;
}
.hero-visual img {
  width: 100%;
  height: auto;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-on-dark-muted);
  margin-bottom: 24px;
}
.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--violet-light);
  box-shadow: 0 0 0 4px rgba(139, 79, 242, 0.2);
}
.hero-title {
  font-size: clamp(2.3rem, 6vw, 4rem);
  letter-spacing: -0.03em;
}
.hero-title .accent {
  color: var(--violet-light);
}
.hero-subtitle {
  margin-top: 22px;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  color: var(--text-on-dark-muted);
  max-width: 640px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

/* Trust bar */
.trust-bar {
  grid-column: 1 / -1;
  margin-top: 52px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.trust-label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
  margin-bottom: 16px;
}
.trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
}
.trust-chips li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-on-dark);
}
.trust-chips svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--violet-light);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ------------------------- Bento grid ----------------------------- */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.bento-card {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition:
    transform 0.25s var(--ease),
    border-color 0.25s var(--ease),
    background 0.25s var(--ease);
}
.bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 79, 242, 0.55);
  background: var(--glass-strong);
}
.bento-card h3 {
  font-size: 1.18rem;
  margin-bottom: 10px;
  color: var(--white);
}
.bento-card p {
  color: var(--text-on-dark-muted);
  font-size: 0.97rem;
}

/* Feature card spans tall on the left */
.bento-feature {
  grid-column: 1;
  grid-row: 1 / span 2;
  background: linear-gradient(
    155deg,
    rgba(98, 21, 238, 0.22),
    rgba(255, 255, 255, 0.03)
  );
  border-color: rgba(139, 79, 242, 0.4);
  display: flex;
  flex-direction: column;
}
.bento-feature h3 {
  font-size: 1.5rem;
}
.bento-feature p {
  font-size: 1.02rem;
}
.bento-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 22px;
}
.bento-tags li {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--violet-light);
  padding: 6px 12px;
  border: 1px solid rgba(139, 79, 242, 0.35);
  border-radius: 999px;
  background: rgba(139, 79, 242, 0.08);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(139, 79, 242, 0.14);
  color: var(--violet-light);
  margin-bottom: 18px;
}
.card-icon svg {
  width: 25px;
  height: 25px;
}

/* Metric tile inside bento */
.bento-metric {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 4px;
}
.bento-wide {
  grid-column: span 2;
}

/* Shared metric typography */
.metric-value {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.2rem, 4vw, 2.9rem);
  line-height: 1;
  color: var(--white);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.metric-of {
  font-size: 0.5em;
  color: var(--violet-light);
}
.metric-label {
  font-size: 0.9rem;
  color: var(--text-on-dark-muted);
  margin-top: 8px;
}

/* ----------------------------- About ------------------------------ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.about-intro h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  margin-bottom: 16px;
}
.about-intro .btn {
  margin-top: 28px;
}
.about-intro p + p {
  margin-top: 16px;
  color: var(--text-muted);
}

.strengths {
  display: grid;
  gap: 22px;
}
.strength {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.strength-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--neutral-200);
  color: var(--violet);
  box-shadow: var(--shadow-sm);
}
.strength-icon svg {
  width: 22px;
  height: 22px;
}
.strength h3 {
  font-size: 1.08rem;
  margin-bottom: 4px;
}
.strength p {
  color: var(--text-muted);
  font-size: 0.96rem;
}

/* Impact metrics (light surface) */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--neutral-200);
}
.impact-card {
  background: var(--white);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.impact-card .metric-value {
  color: var(--violet);
}
.impact-card .metric-label {
  color: var(--text-muted);
}

/* --------------------------- Technologies ------------------------- */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}
.tech-group h3 {
  font-size: 1.05rem;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--neutral-200);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chips li {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(98, 21, 238, 0.07);
  border: 1px solid rgba(98, 21, 238, 0.14);
  color: var(--violet-dark);
  font-size: 0.9rem;
  font-weight: 500;
}

/* ----------------------------- Sectors ---------------------------- */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.sector-card {
  background: var(--white);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}
.sector-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.sector-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--violet-light);
}
.sector-card h3 {
  font-size: 1.15rem;
  margin: 10px 0 8px;
}
.sector-card p {
  color: var(--text-muted);
  font-size: 0.96rem;
}

/* ------------------------ AI specialization ----------------------- */
.section-ai {
  position: relative;
  background: var(--bg-dark);
  color: var(--text-on-dark);
  overflow: hidden;
}
.ai-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      55% 60% at 82% 0%,
      rgba(139, 79, 242, 0.3),
      transparent 65%
    ),
    radial-gradient(
      50% 55% at 8% 100%,
      rgba(98, 21, 238, 0.22),
      transparent 60%
    );
}
.section-ai .container {
  position: relative;
}
.ai-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.ai-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition:
    transform 0.25s var(--ease),
    border-color 0.25s var(--ease),
    background 0.25s var(--ease);
}
.ai-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 79, 242, 0.55);
  background: var(--glass-strong);
}
.ai-card h3 {
  font-size: 1.18rem;
  margin-bottom: 10px;
  color: var(--white);
}
.ai-card p {
  color: var(--text-on-dark-muted);
  font-size: 0.97rem;
}

/* ----------------------------- Contact ---------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-intro h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  margin-bottom: 16px;
}
.contact-details {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}
.contact-details li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.contact-details a {
  color: var(--violet-light);
}
.contact-details a:hover {
  color: var(--white);
}
.contact-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-on-dark-muted);
}

.social {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}
.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text-on-dark);
  transition:
    background 0.2s var(--ease),
    border-color 0.2s var(--ease),
    color 0.2s var(--ease);
}
.social a:hover {
  background: var(--violet);
  border-color: var(--violet);
  color: var(--white);
}
.social svg {
  width: 20px;
  height: 20px;
}

/* Form */
.contact-form {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: grid;
  gap: 18px;
}
.field {
  display: grid;
  gap: 7px;
}
.field label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-on-dark);
}
.field input,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(14, 14, 18, 0.5);
  color: var(--white);
  font: inherit;
  transition:
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}
.field input::placeholder,
.field textarea::placeholder {
  color: #7a7a88;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--violet-light);
  box-shadow: 0 0 0 3px rgba(139, 79, 242, 0.25);
}
.field textarea {
  resize: vertical;
  min-height: 110px;
}
.field-error {
  display: none;
  font-size: 0.85rem;
  color: #ff8a8a;
}
.field.has-error input,
.field.has-error textarea {
  border-color: #ff8a8a;
}
.field.has-error .field-error {
  display: block;
}
.form-status {
  margin: 0;
  font-size: 0.95rem;
  min-height: 1.2em;
}
.form-status.is-success {
  color: #5fe0a8;
}
.form-status.is-error {
  color: #ff8a8a;
}

/* ----------------------------- Footer ----------------------------- */
.site-footer {
  background: var(--bg-darker);
  color: var(--text-on-dark-muted);
  padding-top: 64px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand .brand {
  margin-bottom: 14px;
}
.footer-tagline {
  max-width: 280px;
  font-size: 0.96rem;
}
.footer-heading {
  font-family: var(--font-head);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-nav ul,
.footer-contact ul {
  display: grid;
  gap: 10px;
}
.footer-nav a,
.footer-contact a {
  color: var(--text-on-dark-muted);
}
.footer-nav a:hover,
.footer-contact a:hover {
  color: var(--violet-light);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  padding-block: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
}
.footer-legal {
  display: flex;
  gap: 10px;
  align-items: center;
}
.footer-legal a {
  color: var(--text-on-dark-muted);
}
.footer-legal a:hover {
  color: var(--violet-light);
}

/* -------------------------- Privacy policy ----------------------- */
.privacy-page {
  background: var(--neutral-50);
}
.privacy-hero {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding-block: clamp(56px, 9vw, 96px);
}
.privacy-hero .eyebrow {
  color: var(--violet-light);
}
.privacy-hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.7rem);
}
.privacy-hero p:not(.eyebrow) {
  max-width: 700px;
  margin-top: 18px;
  color: var(--text-on-dark-muted);
  font-size: 1.08rem;
}
.privacy-hero .privacy-updated {
  margin-top: 26px;
  font-size: 0.92rem;
}
.privacy-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 760px);
  justify-content: center;
  gap: clamp(36px, 7vw, 88px);
  padding-block: clamp(48px, 8vw, 88px);
}
.privacy-toc {
  align-self: start;
  position: sticky;
  top: calc(var(--header-h) + 24px);
  font-size: 0.92rem;
}
.privacy-toc > p {
  margin-bottom: 12px;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--text);
}
.privacy-toc ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}
.privacy-toc a {
  color: var(--text-muted);
}
.privacy-toc a:hover {
  color: var(--violet-dark);
}
.privacy-content {
  min-width: 0;
}
.privacy-content section + section {
  margin-top: 52px;
}
.privacy-content h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  margin-bottom: 16px;
  color: var(--text);
}
.privacy-content p {
  color: #454550;
}
.privacy-content p + p {
  margin-top: 16px;
}
.privacy-content a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.privacy-table-wrap {
  overflow-x: auto;
  margin-block: 24px;
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-sm);
  background: var(--white);
}
.privacy-content table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.privacy-content th,
.privacy-content td {
  padding: 16px;
  vertical-align: top;
  text-align: left;
  border-bottom: 1px solid var(--neutral-200);
}
.privacy-content th {
  color: var(--text);
  background: #f0eef7;
  font-family: var(--font-head);
  font-weight: 600;
}
.privacy-content tr:last-child td {
  border-bottom: 0;
}

/* --------------------- Scroll offset for anchors ------------------ */
:where(section[id], [id='top']) {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

/* ----------------------- Reveal on scroll ------------------------- */
/* Gated behind .js so content stays visible if JavaScript is disabled. */
html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease);
}
html.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ----------------------------- Responsive ------------------------- */
@media (max-width: 960px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-feature {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-visual {
    display: none;
  }
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .ai-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .privacy-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .privacy-toc {
    position: static;
  }
}
@media (max-width: 720px) {
  .header-cta {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .header-actions {
    margin-left: auto;
  }
  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    margin: 0;
    background: rgba(24, 10, 52, 0.98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(139, 79, 242, 0.2);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s var(--ease);
  }
  .main-nav.is-open {
    max-height: 70vh;
  }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 20px;
  }
  .nav-list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .nav-list a {
    display: block;
    padding: 16px 0;
    font-size: 1.05rem;
  }
  .nav-list a::after {
    display: none;
  }
}
@media (max-width: 560px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .btn {
    width: 100%;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
  }
}
@media (max-width: 420px) {
  .impact-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------- Reduced motion ----------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .btn:hover,
  .bento-card:hover,
  .sector-card:hover {
    transform: none;
  }
}
