/* ==========================================================================
   Internception — landing page styles
   One accent colour (--blue), off-white paper, black ink. Motif: an origin
   dot from which a line flows (see .origin, .origin-line, .origin-panel).
   ========================================================================== */

:root {
  --blue: #2244FF;
  --blue-deep: #1127D9;
  --blue-soft: #E9EDFF;
  --ink: #0B0B0F;
  --ink-2: #55555F;
  --ink-3: #8A8A94;
  --paper: #F5F5F7;
  --surface: #FFFFFF;
  --line: rgba(11, 11, 15, .10);
  --line-strong: rgba(11, 11, 15, .22);
  --radius: 24px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mark: "Montserrat", "Inter", system-ui, sans-serif;
  --max: 1200px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol { margin: 0; }
button { font: inherit; }

.container {
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

/* --------------------------------------------------------------------------
   Type
   -------------------------------------------------------------------------- */

.wordmark {
  font-family: var(--font-mark);
  text-transform: uppercase;
  letter-spacing: .26em;
  font-size: .95rem;
  line-height: 1;
  display: inline-flex;
  white-space: nowrap;
}
.wm-a { font-weight: 700; color: var(--blue); }
.wm-b { font-weight: 300; color: var(--ink); }
.wordmark-lg { font-size: clamp(1.3rem, 3vw, 2rem); }

.eyebrow {
  display: flex; align-items: center; gap: .6rem;
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 600; color: var(--ink-2);
}
.eyebrow-light { color: rgba(255, 255, 255, .62); }

/* The motif: a dot from which a line flows. */
.origin {
  position: relative; flex: none;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue);
  margin-right: 30px;
}
.origin::after {
  content: ""; position: absolute; left: 8px; top: 50%;
  width: 30px; height: 2px; background: var(--blue);
  transform: translateY(-50%);
}

h1, h2 { font-weight: 600; letter-spacing: -.035em; line-height: 1.04; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 6.2vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
h3 { font-weight: 600; letter-spacing: -.02em; }

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--ink-2);
  max-width: 36rem;
  text-wrap: pretty;
}
.accent { color: var(--blue); }

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .72rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600; font-size: .93rem; line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: .95rem 1.6rem; font-size: 1rem; }

.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--blue); }

.btn-outline { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

.btn-ghost { background: transparent; color: var(--ink-2); }
.btn-ghost:hover { color: var(--ink); }

.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--blue); color: #fff; }

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

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 245, 247, .8);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.is-scrolled { border-color: var(--line); }

.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 72px; position: relative; }
.nav-links { display: flex; gap: 2rem; font-size: .92rem; font-weight: 500; color: var(--ink-2); }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: .4rem; }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: transparent; cursor: pointer;
  margin-left: .25rem;
}
.nav-toggle span { display: block; width: 16px; height: 2px; background: var(--ink); margin-inline: auto; transition: transform .25s var(--ease); }
.site-header.is-open .nav-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
.site-header.is-open .nav-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-links {
    display: none;
    position: absolute; top: 72px; left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter));
    flex-direction: column; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: .5rem 0 .75rem;
  }
  .nav-links a { padding: .85rem var(--gutter); }
  .site-header.is-open .nav-links { display: flex; }
  .nav-toggle { display: flex; }
  .btn-ghost { display: none; }
}
@media (max-width: 480px) {
  .nav .wordmark { font-size: .8rem; letter-spacing: .2em; }
  .nav-actions .btn-primary { padding: .6rem .85rem; font-size: .82rem; }
  .nav-toggle { width: 38px; height: 38px; }
}

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

.hero {
  position: relative;
  padding: clamp(2.5rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}
/* Faint particle field behind the copy (the "particles" reference). */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(11, 11, 15, .16) 1px, transparent 1.2px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(55% 55% at 28% 45%, #000 0%, transparent 100%);
  mask-image: radial-gradient(55% 55% at 28% 45%, #000 0%, transparent 100%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero h1 { margin: 1.4rem 0 1.3rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-note { margin-top: 1.1rem; font-size: .85rem; color: var(--ink-3); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; }
}

/* The origin panel: a starting point from which paths flow outward. */
.origin-panel {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 32px;
  overflow: hidden;
  background: var(--blue);
  box-shadow: 0 40px 80px -40px rgba(34, 68, 255, .55);
}
.origin-svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.pulse-ring {
  stroke-opacity: .55;
  transform-box: fill-box; transform-origin: center;
  animation: pulse 3s ease-out infinite;
}
.pulse-ring-2 { animation-delay: 1.5s; }
@keyframes pulse {
  0%   { transform: scale(1);   stroke-opacity: .55; }
  100% { transform: scale(7);   stroke-opacity: 0; }
}

.panel-caption {
  position: absolute; top: 22px; left: 24px;
  color: rgba(255, 255, 255, .78);
  font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500;
}

.node {
  position: absolute;
  left: calc(var(--x) * 100%); top: calc(var(--y) * 100%);
  transform: translate(-50%, -50%);
  background: #fff; color: var(--blue);
  font-size: .78rem; font-weight: 600; white-space: nowrap;
  padding: .38rem .72rem; border-radius: 999px;
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .4);
  opacity: 0;
  transition: opacity .6s ease calc(1s + var(--i, 0) * .2s);
}
.node-origin {
  background: transparent; color: rgba(255, 255, 255, .85); box-shadow: none;
  font-weight: 500; padding: 0;
  transform: translate(-50%, 14px);
  transition-delay: .25s;
}
.origin-panel.is-live .node { opacity: 1; }

.panel-timeline {
  position: absolute; left: 24px; right: 24px; bottom: 20px;
  list-style: none; padding: 0;
  display: flex; justify-content: space-between; gap: .5rem;
  color: rgba(255, 255, 255, .72);
  font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
}
.panel-timeline b { color: #fff; font-weight: 600; margin-right: .25rem; }

@media (max-width: 480px) {
  .node { font-size: .68rem; padding: .3rem .55rem; }
  .panel-caption, .panel-timeline { font-size: .6rem; }
  .origin-panel { border-radius: 24px; }
}

/* --------------------------------------------------------------------------
   Statement band
   -------------------------------------------------------------------------- */

.statement { padding: clamp(3rem, 8vw, 7rem) 0; }
.statement-text { font-size: clamp(2.2rem, 6vw, 5rem); max-width: 18ch; }
.statement .lead { margin-top: 1.5rem; }

.origin-line { position: relative; height: 10px; margin-bottom: 2rem; }
.origin-line::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 10px; height: 10px; border-radius: 50%; background: var(--blue);
  transform: translateY(-50%);
}
.origin-line::after {
  content: ""; position: absolute; left: 10px; top: 50%;
  width: calc(100% - 10px); height: 2px; background: var(--blue);
  transform: translateY(-50%) scaleX(0); transform-origin: left;
  transition: transform 1.6s var(--ease) .2s;
}
.origin-line.in::after { transform: translateY(-50%) scaleX(1); }

/* --------------------------------------------------------------------------
   Sections (shared)
   -------------------------------------------------------------------------- */

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head h2 { margin: 1rem 0; }

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

.why { padding: clamp(2rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 6rem); }

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 340px;
  padding: 1.6rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.card-num { font-size: .72rem; letter-spacing: .14em; font-weight: 600; color: var(--ink-3); }
.card-icon { width: 44px; height: 44px; margin-top: auto; margin-bottom: 1.4rem; color: var(--blue); }
.card h3 { font-size: 1.22rem; margin-bottom: .5rem; }
.card p { color: var(--ink-2); font-size: .95rem; }

.card-ink { background: var(--ink); color: #fff; border-color: var(--ink); }
.card-ink p { color: rgba(255, 255, 255, .7); }
.card-ink .card-num { color: rgba(255, 255, 255, .5); }
.card-ink .card-icon { color: #fff; }
.card-ink::after {
  content: ""; position: absolute; right: -70px; top: -70px;
  width: 220px; height: 220px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 0 0 40px rgba(255, 255, 255, .03), 0 0 0 80px rgba(255, 255, 255, .02);
}

.card-blue {
  background: linear-gradient(160deg, #3457FF 0%, #2244FF 50%, #1A36E6 100%);
  color: #fff; border-color: transparent;
}
.card-blue p { color: rgba(255, 255, 255, .82); }
.card-blue .card-num { color: rgba(255, 255, 255, .62); }
.card-blue .card-icon { color: #fff; }
.card-blue::after {
  content: ""; position: absolute; left: -90px; bottom: -90px;
  width: 240px; height: 240px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: 0 0 0 40px rgba(255, 255, 255, .05), 0 0 0 80px rgba(255, 255, 255, .03);
}

@media (max-width: 1100px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px)  { .cards { grid-template-columns: 1fr; } .card { min-height: 0; } .card-icon { margin-top: 1.6rem; } }

/* --------------------------------------------------------------------------
   Connections
   -------------------------------------------------------------------------- */

.connect {
  position: relative; overflow: hidden;
  padding: clamp(3rem, 7vw, 6.5rem) 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.ribbon { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.connect-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.connect-copy h2 { margin: 1rem 0 1.2rem; }
.connect-copy .body { margin-top: 1rem; color: var(--ink-2); max-width: 34rem; }

.ui-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: 0 30px 60px -30px rgba(11, 11, 15, .3);
  max-width: 440px; margin-inline: auto;
}
.ui-card-head { display: flex; align-items: center; gap: .9rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.ui-avatar {
  flex: none; width: 44px; height: 44px; border-radius: 12px;
  background: var(--blue); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: .8rem; letter-spacing: .06em;
}
.ui-card-head strong { display: block; font-size: .98rem; }
.ui-card-head .sub { display: block; font-size: .8rem; color: var(--ink-3); }
.ui-badge {
  margin-left: auto; flex: none;
  font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue); background: var(--blue-soft);
  padding: .35rem .6rem; border-radius: 999px;
}
.ui-timeline { list-style: none; margin: 1.1rem 0 0; padding: 0 0 0 1.5rem; position: relative; }
.ui-timeline::before { content: ""; position: absolute; left: 4px; top: 14px; bottom: 14px; width: 2px; background: var(--line); }
.ui-timeline li { position: relative; display: flex; gap: .9rem; padding: .45rem 0; font-size: .9rem; }
.ui-timeline li::before {
  content: ""; position: absolute; left: -1.5rem; top: .95rem;
  width: 10px; height: 10px; border-radius: 50%; background: var(--blue);
}
.ui-timeline li.is-next { color: var(--ink-2); }
.ui-timeline li.is-next::before { background: #fff; border: 2px solid var(--blue); width: 6px; height: 6px; }
.ui-timeline time {
  flex: none; width: 3rem; padding-top: .15rem;
  color: var(--ink-3); font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}

@media (max-width: 900px) {
  .connect-grid { grid-template-columns: 1fr; }
  .ribbon { display: none; }
}

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

.how { padding: clamp(3rem, 7vw, 6rem) 0; }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.step { position: relative; border-top: 2px solid var(--line); padding-top: 1.5rem; }
.step::before { content: ""; position: absolute; top: -2px; left: 0; width: 56px; height: 2px; background: var(--blue); }
.step::after  { content: ""; position: absolute; top: -6px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); }
.step-num { font-size: .72rem; letter-spacing: .14em; color: var(--blue); font-weight: 600; }
.step h3 { font-size: 1.3rem; margin: .6rem 0 .5rem; }
.step p { color: var(--ink-2); font-size: .95rem; }
.step em { font-style: normal; color: var(--ink); font-weight: 500; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; gap: 1.5rem; } }

/* --------------------------------------------------------------------------
   For companies (dark)
   -------------------------------------------------------------------------- */

.companies {
  position: relative; overflow: hidden;
  background: var(--ink); color: #fff;
  padding: clamp(3.5rem, 8vw, 7rem) 0;
}
.companies::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(720px 520px at 88% 8%, rgba(34, 68, 255, .55), transparent 65%),
    radial-gradient(520px 420px at 4% 96%, rgba(34, 68, 255, .22), transparent 65%);
}
.companies .container { position: relative; }
.companies-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(2rem, 5vw, 5rem); align-items: start;
}
.companies h2 { margin: 1rem 0 1.2rem; }
.companies .lead { color: rgba(255, 255, 255, .72); }

.feature-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; }
.feature-list li { position: relative; padding-left: 1.6rem; color: rgba(255, 255, 255, .72); font-size: .95rem; }
.feature-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.feature-list strong { color: #fff; font-weight: 600; }

.dash {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  padding: 1.4rem;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.dash-head {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600;
  color: rgba(255, 255, 255, .7);
}
.dash-tag {
  flex: none;
  font-size: .64rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 600;
  color: #fff; background: rgba(34, 68, 255, .45); border: 1px solid rgba(34, 68, 255, .8);
  padding: .3rem .55rem; border-radius: 999px; white-space: nowrap;
}
.dash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-top: 1.2rem; }
.dash-grid div { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); border-radius: 16px; padding: 1rem; }
.dash-grid b { display: block; font-size: 2rem; font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.dash-grid span { display: block; margin-top: .4rem; font-size: .78rem; color: rgba(255, 255, 255, .6); }
.dash-match { margin-top: 1.1rem; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 1.1rem; }
.dash-match-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: .88rem; font-weight: 500; }
.dash-match ul { list-style: none; padding: 0; margin: .8rem 0 0; display: grid; gap: .5rem; }
.dash-match li { display: flex; gap: .8rem; align-items: center; font-size: .8rem; color: rgba(255, 255, 255, .72); }
.pct { flex: none; width: 3.2rem; text-align: center; font-weight: 700; font-size: .76rem; color: #fff; background: var(--blue); border-radius: 8px; padding: .3rem 0; }
.dash-foot { margin-top: 1rem; font-size: .72rem; color: rgba(255, 255, 255, .45); }

.principle {
  margin-top: clamp(2.5rem, 6vw, 5rem);
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: grid; grid-template-columns: minmax(0, .45fr) minmax(0, 1fr);
  gap: 1.5rem; align-items: start;
}
.principle-text { font-size: clamp(1.25rem, 2.2vw, 1.8rem); letter-spacing: -.02em; line-height: 1.3; font-weight: 500; max-width: 34ch; }

@media (max-width: 900px) {
  .companies-grid, .principle { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .dash-grid { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .dash-grid b { font-size: 1.6rem; }
  .dash-match-row { flex-direction: column; align-items: flex-start; gap: .5rem; }
}

/* --------------------------------------------------------------------------
   Create a profile
   -------------------------------------------------------------------------- */

.create { padding: clamp(3.5rem, 8vw, 7rem) 0; }
.create-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.create h2 { font-size: clamp(2.2rem, 5vw, 4rem); margin: 1rem 0; }

.form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2rem);
  display: grid; gap: 1rem;
}
.segmented {
  display: inline-grid; grid-template-columns: 1fr 1fr;
  width: max-content; max-width: 100%;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 999px; padding: 4px;
}
.seg {
  border: 0; background: transparent; cursor: pointer;
  font-weight: 600; font-size: .88rem; color: var(--ink-2);
  padding: .55rem 1rem; border-radius: 999px;
  transition: background-color .2s, color .2s;
}
.seg.is-active { background: var(--ink); color: #fff; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .4rem; font-size: .85rem; font-weight: 500; color: var(--ink-2); }
.field small { font-weight: 400; color: var(--ink-3); }
.field input {
  width: 100%;
  font: inherit; font-size: 1rem; color: var(--ink);
  padding: .8rem 1rem; border-radius: 12px;
  border: 1px solid var(--line-strong); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(34, 68, 255, .15); }
.field input::placeholder { color: var(--ink-3); }

.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .85rem; color: var(--ink-2); }
.check input { margin: .2rem 0 0; accent-color: var(--blue); flex: none; }
.check a { color: var(--blue); text-decoration: underline; }

.form[data-role="student"] [data-for="company"],
.form[data-role="company"] [data-for="student"] { display: none; }

.form-success { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; padding: .5rem 0; }
.form-success strong { font-size: 1.2rem; letter-spacing: -.02em; }
.form-success p { width: 100%; color: var(--ink-2); font-size: .9rem; }
.form-success:focus { outline: none; }
.form-success[hidden] { display: none; }

@media (max-width: 900px) { .create-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }

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

.site-footer { border-top: 1px solid var(--line); padding: 2.5rem 0 2rem; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; align-items: flex-start; }
.footer-tag { margin-top: .7rem; font-size: .85rem; color: var(--ink-3); }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.25rem; font-size: .88rem; color: var(--ink-2); }
.footer-links a:hover { color: var(--ink); }
.footer-bottom { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .78rem; color: var(--ink-3); }

/* --------------------------------------------------------------------------
   Motion
   -------------------------------------------------------------------------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease) var(--delay, 0s), transform .7s var(--ease) var(--delay, 0s); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .node { opacity: 1; transition: none; }
  .pulse-ring { animation: none; stroke-opacity: .3; }
  .origin-line::after { transform: translateY(-50%) scaleX(1); transition: none; }
  .btn:hover { transform: none; }
}
