/* Perinet Learning — perinet.org */

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Turkish letters (ğ Ğ İ ş Ş) as a 2.5 KB preloaded subset instead of the 22 KB latin-ext file:
   the founder's name would otherwise pull latin-ext in late and re-lay out the whole page.
   Other latin-ext characters fall back to the system font. */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/fonts/plus-jakarta-sans-tr.woff2") format("woff2");
  unicode-range: U+011E-011F, U+0130, U+015E-015F;
}

:root {
  --ink: #0b1324;
  --text: #374159;
  --muted: #586276;
  --line: #e4e8f1;
  --bg: #ffffff;
  --bg-soft: #f5f7fc;
  --brand: #3d4ef2;
  --brand-strong: #2c3bd4;
  --brand-tint: #eef0ff;
  --violet: #6a43e8;
  --teal: #0b7f7b;
  --teal-bright: #14b3ae;
  --amber: #e08a00;
  --green: #12a150;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgb(15 23 42 / .06), 0 1px 1px rgb(15 23 42 / .04);
  --shadow: 0 1px 2px rgb(15 23 42 / .05), 0 8px 24px -8px rgb(30 41 90 / .14);
  --shadow-lg: 0 2px 4px rgb(15 23 42 / .05), 0 24px 48px -16px rgb(30 41 90 / .22);
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  --header-h: 68px;
  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3 {
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; }
p, li { text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
svg { display: block; }

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

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

.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

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

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -0.005em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.btn svg { flex: none; transition: transform .2s ease; }
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 1px 2px rgb(30 40 160 / .2), 0 8px 20px -8px rgb(61 78 242 / .6), inset 0 1px 0 rgb(255 255 255 / .14);
}
.btn-primary:hover { background: var(--brand-strong); transform: translateY(-1px); }
.btn-primary:hover svg { transform: translateX(2px); }
.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { border-color: #c9cfe0; transform: translateY(-1px); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / .82);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 750;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}
.brand-mark { flex: none; }
.brand-name span { font-weight: 500; color: var(--muted); }

.site-nav ul { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 10px;
  color: var(--text);
  font-size: .95rem;
  font-weight: 550;
  text-decoration: none;
  transition: color .2s ease, background-color .2s ease;
}
.site-nav a:hover { color: var(--ink); background: var(--bg-soft); }
.site-nav a.nav-cta {
  margin-left: 6px;
  color: #fff;
  background: var(--ink);
}
.site-nav a.nav-cta:hover { background: #1f2a44; }

.nav-toggle {
  display: none;
  position: relative;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  position: absolute;
  left: 50%;
  width: 18px; height: 2px;
  margin-left: -9px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle-bar { top: 50%; margin-top: -1px; }
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; left: 0; margin-left: 0; }
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 767px) {
  .js .nav-toggle { display: block; }
  .js .site-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    padding: 8px 20px 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 32px -16px rgb(30 41 90 / .25);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  .js .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .js .site-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .js .site-nav a { min-height: 48px; font-size: 1rem; }
  .js .site-nav a.nav-cta { margin: 8px 0 0; justify-content: center; }

  /* Without JS the links simply wrap under the logo. */
  html:not(.js) .nav-wrap { flex-wrap: wrap; padding-block: 10px; }
  html:not(.js) .site-nav ul { flex-wrap: wrap; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 72px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(600px 380px at 82% 18%, rgb(122 77 240 / .12), transparent 70%),
    radial-gradient(520px 360px at 62% 78%, rgb(20 179 174 / .10), transparent 70%),
    radial-gradient(700px 420px at 8% 0%, rgb(61 78 242 / .08), transparent 70%),
    linear-gradient(180deg, #fbfcff 0%, #ffffff 100%);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgb(61 78 242 / .16) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(70% 70% at 70% 40%, #000 0%, transparent 75%);
  mask-image: radial-gradient(70% 70% at 70% 40%, #000 0%, transparent 75%);
}

.hero-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 992px) {
  .hero { padding: 64px 0 72px; }
  .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 40px 56px; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgb(255 255 255 / .8);
  color: var(--text);
  font-size: .85rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.eyebrow-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgb(18 161 80 / .16);
}

.hero h1 {
  margin-top: 22px;
  font-size: clamp(2.4rem, 1.45rem + 3.6vw, 3.7rem);
  font-weight: 780;
  line-height: 1.04;
  letter-spacing: -0.04em;
}
.w-see { color: var(--brand); }
.w-explore { color: var(--teal); }
.w-interact { color: var(--violet); }

.lead {
  margin-top: 22px;
  max-width: 36rem;
  font-size: clamp(1.06rem, 1rem + .3vw, 1.2rem);
  line-height: 1.6;
  color: var(--text);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
@media (max-width: 479px) {
  .hero-actions .btn { flex: 1 1 100%; }
}

.hero-live {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 28px;
  font-family: var(--mono);
  font-size: .82rem;
}
.hero-live a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  color: var(--muted);
  text-decoration: none;
}
.hero-live a::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
}
.hero-live a:hover { color: var(--ink); text-decoration: underline; }

/* Hero visual — scales as a unit via container query units. */
.hero-visual {
  container-type: inline-size;
  width: 100%;
  max-width: 580px;
  margin-inline: auto;
}
.hv {
  position: relative;
  aspect-ratio: .98;
  font-size: clamp(9px, 2.6cqw, 14px);
}
.hv-card {
  position: absolute;
  background: #fff;
  border: 1px solid rgb(226 231 243 / .9);
  border-radius: 1.15em;
  box-shadow: var(--shadow-lg);
}

.hv-main { left: 0; top: 18%; width: 80%; overflow: hidden; }
.hv-bar {
  display: flex;
  align-items: center;
  gap: .9em;
  padding: .85em 1.1em;
  border-bottom: 1px solid var(--line);
  background: #fbfcfe;
}
.hv-dots { display: inline-flex; gap: .4em; }
.hv-dots i { width: .62em; height: .62em; border-radius: 50%; background: #dfe3ee; }
.hv-title { font-weight: 700; color: var(--ink); font-size: 1em; }
.hv-formula {
  padding: .25em .7em;
  border-radius: 999px;
  background: var(--brand-tint);
  color: var(--brand-strong);
  font-family: var(--mono);
  font-size: .85em;
  font-weight: 600;
  white-space: nowrap;
}
.hv-graph { width: 100%; height: auto; padding: .6em .4em .5em; }
.hv-grid path { stroke: #eef1f7; stroke-width: 1; fill: none; }
.hv-axis { stroke: #cfd5e4; stroke-width: 1.2; fill: none; }
.hv-wave { fill: none; stroke: url(#wave-stroke); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.hv-area { fill: url(#wave-fill); }
.hv-slider text { font-family: var(--font); font-size: 13px; font-weight: 600; fill: var(--muted); }
.hv-track { fill: #eceff6; }
.hv-fill { fill: var(--brand); }
.hv-slider-b .hv-fill { fill: var(--teal-bright); }
.hv-knob { fill: #fff; stroke: var(--brand); stroke-width: 3; }
.hv-slider-b .hv-knob { stroke: var(--teal-bright); }

.hv-net { right: 0; top: 0; width: 35%; padding: .75em .8em .6em; }
.hv-label {
  display: block;
  margin-bottom: .35em;
  font-size: .8em;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: .02em;
}
.hv-net svg { width: 100%; height: auto; }
.net-edges path { stroke: #e3e6f2; stroke-width: 1.3; fill: none; }
.net-signals circle { fill: var(--teal-bright); }
.net-nodes circle { fill: #fff; stroke: var(--brand); stroke-width: 2.4; }
.net-nodes .n-h { stroke: var(--violet); }
.net-nodes .n-o { fill: var(--teal-bright); stroke: var(--teal-bright); }

.hv-tutor { right: 0; bottom: 1%; width: 50%; padding: 1em 1.1em 1.05em; }
.hv-tutor-head {
  display: flex;
  align-items: center;
  gap: .55em;
  font-size: .82em;
  font-weight: 700;
  color: var(--ink);
}
.hv-spark {
  display: inline-grid;
  place-items: center;
  width: 1.9em; height: 1.9em;
  border-radius: .6em;
  background: linear-gradient(135deg, #3d4ef2, #7a4df0);
}
.hv-spark svg { width: 1.1em; height: 1.1em; }
.hv-tutor p { margin-top: .6em; font-size: .95em; line-height: 1.45; color: var(--text); }
.hv-pills { display: flex; gap: .45em; margin-top: .75em; }
.hv-pills span {
  padding: .3em .75em;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: .78em;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}
.hv-pills span:first-child { background: var(--brand); border-color: var(--brand); color: #fff; }

.hv-chip {
  position: absolute;
  left: 7%;
  bottom: 8%;
  display: inline-flex;
  align-items: center;
  gap: .45em;
  padding: .55em .95em .55em .75em;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #cdeedc;
  box-shadow: var(--shadow);
  color: #0c7a3d;
  font-size: .9em;
  font-weight: 700;
}
.hv-chip svg { width: 1.1em; height: 1.1em; padding: .12em; border-radius: 50%; background: #dff6e9; }

@media (prefers-reduced-motion: no-preference) {
  .hv-net { animation: float 7s ease-in-out infinite; }
  .hv-tutor { animation: float 8s ease-in-out infinite -3s; }
  .hv-chip { animation: float 6s ease-in-out infinite -1.5s; }
  .net-nodes .n-h { animation: pulse 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
  .net-nodes .n-h:nth-child(5) { animation-delay: .6s; }
  .net-nodes .n-h:nth-child(6) { animation-delay: 1.2s; }
  .net-nodes .n-h:nth-child(7) { animation-delay: 1.8s; }
  .is-paused .hv-net, .is-paused .hv-tutor, .is-paused .hv-chip, .is-paused .net-nodes .n-h { animation-play-state: paused; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.18); }
}

/* ---------- At a glance (startup facts, inside the hero) ---------- */

.glance {
  grid-column: 1 / -1;
  padding: 22px 24px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgb(255 255 255 / .9);
  box-shadow: var(--shadow);
}
.glance-title { font-size: 1rem; font-weight: 750; letter-spacing: -0.01em; }
.glance-title span { color: var(--muted); font-weight: 550; }
.glance-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
  margin: 16px 0 0;
}
.glance-list div { min-width: 0; }
.glance-list dt {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.glance-list dd {
  margin: 3px 0 0;
  color: var(--ink);
  font-size: .98rem;
  font-weight: 650;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.glance-list dd a { color: var(--brand-strong); text-decoration: none; }
.glance-list dd a:hover { text-decoration: underline; }
.glance-contact { grid-column: 1 / -1; }
@media (min-width: 640px) {
  .glance-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .glance-contact { grid-column: auto; }
}
@media (min-width: 1100px) {
  .glance-list { grid-template-columns: repeat(6, auto); justify-content: space-between; }
}
/* On one column the facts come right after the copy, before the decorative visual. */
@media (max-width: 991px) {
  .hero-copy { order: 1; }
  .glance { order: 2; }
  .hero-visual { order: 3; }
}

/* ---------- Sections ---------- */

.section { padding: 88px 0; }
@media (min-width: 992px) { .section { padding: 112px 0; } }

.section-head {
  max-width: 44rem;
  margin: 0 auto 52px;
  text-align: center;
}
.section-head h2,
.vision h2,
.about h2 {
  font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.85rem);
  font-weight: 760;
}
.section-head p:not(.kicker, .status-pill) {
  margin-top: 16px;
  font-size: 1.125rem;
  color: var(--text);
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 4px 12px 4px 10px;
  border: 1px solid #f3dcae;
  border-radius: 999px;
  background: #fff6e5;
  color: #8a5300;
  font-size: .8rem;
  font-weight: 700;
}
.status-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
.kicker {
  margin-bottom: 14px;
  color: var(--brand);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* ---------- Products ---------- */

.products { background: var(--bg-soft); border-top: 1px solid #edf0f6; }

.product-grid {
  display: grid;
  gap: 24px;
}
@media (min-width: 700px) and (max-width: 991px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid .product:last-child { grid-column: 1 / -1; justify-self: center; width: calc(50% - 12px); }
}
@media (min-width: 992px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.product {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #d5dbea; }

.product-art {
  position: relative;
  aspect-ratio: 320 / 168;
  border-bottom: 1px solid var(--line);
}
.product-art svg { width: 100%; height: 100%; }
.product-primary .product-art { background: linear-gradient(135deg, #fff7ea 0%, #ecfaf8 100%); }
.product-courses .product-art { background: linear-gradient(135deg, #eef1ff 0%, #f3f7ff 100%); }
.product-ml .product-art { background: linear-gradient(135deg, #f3efff 0%, #ecfbfa 100%); }

.pa-ground { stroke: rgb(11 19 36 / .12); stroke-width: 2; stroke-linecap: round; fill: none; }
.pa-trail { stroke: #c6bff8; stroke-width: 2; stroke-dasharray: 2 7; stroke-linecap: round; fill: none; }
.pc-arc { stroke: #aab6ff; stroke-width: 2; stroke-dasharray: 3 7; stroke-linecap: round; fill: none; }
.pc-angle { stroke: #8a97f5; stroke-width: 1.6; fill: none; }
.pc-dots circle { fill: #3d4ef2; }
.pc-dots circle:not(:first-child) { fill: #8a97f5; }
.pc-vec path { stroke: #e08a00; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.pc-ball { fill: #3d4ef2; }
.pc-mol path { stroke: #9db0ff; stroke-width: 3; }
.pm-boundary { stroke: #6a43e8; stroke-width: 2.2; stroke-dasharray: 6 6; stroke-linecap: round; fill: none; }
.pm-a circle { fill: #8b6cf2; }
.pm-b circle { fill: #14b3ae; }
.pm-b .pm-hl { fill: #fff; stroke: #14b3ae; stroke-width: 3; }

@media (prefers-reduced-motion: no-preference) {
  .pa-float, .pc-ball, .pm-hl { transition: transform .45s cubic-bezier(.34, 1.4, .64, 1); transform-box: fill-box; transform-origin: center; }
  .product:hover .pa-f1 { transform: translateY(-6px) rotate(-6deg); }
  .product:hover .pa-f2 { transform: translateY(-9px); }
  .product:hover .pa-f3 { transform: translateY(-5px) rotate(5deg); }
  .product:hover .pc-ball { transform: translate(10px, 18px); }
  .product:hover .pm-hl { transform: scale(1.4); }
}

.product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px 24px 26px;
}
.live {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px 4px 9px;
  border-radius: 999px;
  background: rgb(255 255 255 / .92);
  border: 1px solid #cdeedc;
  box-shadow: var(--shadow-sm);
  color: #0c6e37;
  font-size: .78rem;
  font-weight: 700;
}
.live-dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
@media (prefers-reduced-motion: no-preference) {
  .live-dot::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--green);
    animation: ping 2s cubic-bezier(0, 0, .2, 1) infinite;
  }
}
@keyframes ping {
  75%, 100% { transform: scale(2.6); opacity: 0; }
}
.level {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.product h3 { font-size: 1.4rem; font-weight: 740; }
.domain {
  margin-top: 6px;
  font-family: var(--mono);
  font-size: .86rem;
  color: var(--brand-strong);
}
.product-desc { flex: 1; margin-top: 14px; color: var(--text); }
.btn-card {
  align-self: flex-start;
  margin-top: 24px;
  background: var(--ink);
  color: #fff;
  min-height: 46px;
  padding: 11px 18px;
}
.btn-card:hover { background: var(--brand); }
.btn-card:hover svg { transform: translate(2px, -2px); }

.products-note {
  margin-top: 28px;
  text-align: center;
  font-size: .92rem;
  color: var(--muted);
}

/* ---------- Already building ---------- */

.building {
  padding-top: 24px;
  background: var(--bg-soft);
  border-bottom: 1px solid #edf0f6;
}
.stats { display: grid; gap: 20px; }
@media (min-width: 860px) { .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.stat {
  display: flex;
  flex-direction: column;
  padding: 26px 26px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.stat-num {
  color: var(--brand);
  font-size: clamp(2.6rem, 2rem + 2vw, 3.4rem);
  font-weight: 780;
  line-height: 1;
  letter-spacing: -0.04em;
}
.stat:nth-child(2) .stat-num { color: var(--violet); }
.stat:nth-child(3) .stat-num { color: var(--teal); }
.stat-label { flex: 1; margin-top: 12px; color: var(--text); }
.stat-src {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
  min-height: 32px;
  margin-top: 14px;
  color: var(--brand-strong);
  font-family: var(--mono);
  font-size: .84rem;
  text-decoration: none;
}
.stat-src::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.stat-src:hover { text-decoration: underline; }
.stats-note { margin-top: 22px; text-align: center; font-size: .9rem; color: var(--muted); }

/* ---------- Why ---------- */

.feature-grid {
  display: grid;
  gap: 20px;
}
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .feature-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.feature {
  padding: 28px 26px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.feature:hover { border-color: #d5dbea; box-shadow: var(--shadow); transform: translateY(-2px); }
.feature h3 { margin-top: 20px; font-size: 1.15rem; font-weight: 720; letter-spacing: -0.015em; }
.feature p { margin-top: 10px; font-size: 1rem; color: var(--text); }

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 14px;
}
.feature-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fi-blue { background: #eef0ff; color: #3341d8; }
.fi-violet { background: #f2edff; color: #5f39d6; }
.fi-teal { background: #e6f7f6; color: #0b7f7b; }
.fi-amber { background: #fff3e0; color: #b26a00; }

/* ---------- How it works ---------- */

.how { background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); padding-top: 24px; }
@media (min-width: 992px) { .how { padding-top: 32px; } }

.steps {
  position: relative;
  display: grid;
  gap: 20px;
  counter-reset: step;
}
@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
  .steps::before {
    content: "";
    position: absolute;
    top: 52px;
    left: calc(16.66% + 28px);
    right: calc(16.66% + 28px);
    border-top: 2px dashed #cfd6ea;
  }
}
.step {
  position: relative;
  padding: 28px 26px 30px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
@media (min-width: 860px) {
  .step { text-align: center; padding-top: 24px; }
  .step-icon { margin-inline: auto; }
}
.step-num {
  position: absolute;
  top: 18px; right: 20px;
  font-family: var(--mono);
  font-size: .8rem;
  font-weight: 600;
  color: #9aa3b8;
}
.step-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3d4ef2, #7a4df0);
  color: #fff;
  box-shadow: 0 0 0 6px #fff, 0 10px 20px -8px rgb(61 78 242 / .55);
}
.step:nth-child(2) .step-icon { background: linear-gradient(135deg, #6a43e8, #a55cf0); box-shadow: 0 0 0 6px #fff, 0 10px 20px -8px rgb(106 67 232 / .55); }
.step:nth-child(3) .step-icon { background: linear-gradient(135deg, #0b8f8a, #24c4b5); box-shadow: 0 0 0 6px #fff, 0 10px 20px -8px rgb(11 143 138 / .55); }
.step-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.step h3 { margin-top: 20px; font-size: 1.3rem; font-weight: 740; }
.step p { margin-top: 10px; color: var(--text); }

/* ---------- Vision ---------- */

.vision {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(560px 360px at 88% 20%, rgb(122 77 240 / .28), transparent 70%),
    radial-gradient(480px 360px at 70% 100%, rgb(20 179 174 / .2), transparent 70%),
    #0b1324;
  color: #c9d1e4;
}
.vision-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 992px) { .vision-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 72px; } }
.kicker-light { color: #9fb0ff; }
.vision h2 { color: #fff; }
.vision-copy p:not(.kicker) {
  margin-top: 22px;
  max-width: 38rem;
  font-size: clamp(1.08rem, 1rem + .3vw, 1.22rem);
  line-height: 1.7;
  color: #c9d1e4;
}
.vision-visual { max-width: 380px; width: 100%; margin-inline: auto; }
.vision-visual svg { width: 100%; height: auto; overflow: visible; }
.vv-ring { fill: none; stroke: rgb(255 255 255 / .1); stroke-width: 18; }
.vv-ring-dash { fill: none; stroke: url(#ring-grad); stroke-width: 2; stroke-dasharray: 4 9; opacity: .9; }
.vv-runner { fill: #3ed6c8; }
.vv-core circle { fill: rgb(255 255 255 / .06); stroke: rgb(255 255 255 / .18); }
.vv-core text { fill: #fff; font-family: var(--font); font-size: 17px; font-weight: 700; text-anchor: middle; }
.vv-node circle { fill: #0b1324; stroke: #9fb0ff; stroke-width: 3; }
.vv-node text { fill: #dfe5f3; font-family: var(--font); font-size: 16px; font-weight: 650; text-anchor: middle; }

/* ---------- About ---------- */

.about-grid {
  display: grid;
  gap: 36px;
  align-items: center;
}
@media (min-width: 900px) { .about-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr); gap: 64px; } }
.about-copy p:not(.kicker) { margin-top: 20px; max-width: 40rem; font-size: 1.15rem; line-height: 1.7; }

.founder {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #fff 0%, #f7f8ff 100%);
  box-shadow: var(--shadow);
}
.founder-avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, #3d4ef2, #7a4df0);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 750;
  letter-spacing: .02em;
}
.founder-name { color: var(--ink); font-size: 1.15rem; font-weight: 720; line-height: 1.3; }
.founder-role { color: var(--muted); font-size: .95rem; font-weight: 550; }
.founder-mail {
  display: inline-block;
  margin-top: 6px;
  font-size: .95rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

/* ---------- Contact ---------- */

.contact { padding-top: 0; }
.contact-card {
  display: grid;
  gap: 24px;
  align-items: center;
  padding: 40px 28px;
  border-radius: 24px;
  background:
    radial-gradient(420px 240px at 100% 0%, rgb(122 77 240 / .16), transparent 70%),
    radial-gradient(420px 240px at 0% 100%, rgb(20 179 174 / .12), transparent 70%),
    var(--brand-tint);
  border: 1px solid #dfe3ff;
}
@media (min-width: 860px) {
  .contact-card { grid-template-columns: 1fr auto; padding: 48px 56px; gap: 40px; }
}
.contact-card h2 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.3rem); font-weight: 760; }
.contact-card p { margin-top: 10px; font-size: 1.1rem; }
.contact-actions .btn { max-width: 100%; overflow-wrap: anywhere; }

/* ---------- Footer ---------- */

.site-footer {
  padding: 40px 0 44px;
  border-top: 1px solid var(--line);
  font-size: .95rem;
  color: var(--muted);
}
.footer-grid {
  display: grid;
  gap: 18px;
}
@media (min-width: 860px) {
  .footer-grid { grid-template-columns: 1fr auto auto; align-items: center; gap: 40px; }
}
.footer-name { color: var(--ink); font-weight: 750; }
.footer-brand p:not(.footer-name) { margin-top: 4px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-links a { color: var(--text); text-decoration: none; font-weight: 550; }
.footer-links a:hover { color: var(--brand); text-decoration: underline; }

/* ---------- Reveal (progressive enhancement) ---------- */

@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; }
  .js .reveal.is-visible {
    opacity: 1;
    animation: reveal .65s cubic-bezier(.2, .7, .2, 1) backwards;
  }
  .js .reveal.is-visible:nth-child(2) { animation-delay: .07s; }
  .js .reveal.is-visible:nth-child(3) { animation-delay: .14s; }
  .js .reveal.is-visible:nth-child(4) { animation-delay: .21s; }
}
@keyframes reveal {
  from { opacity: 0; transform: translateY(16px); }
}

/* ---------- 404 ---------- */

.not-found {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 48px 0;
  text-align: center;
}
.not-found h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); font-weight: 760; }
.not-found p:not(.kicker) { margin: 16px auto 28px; max-width: 30rem; }
