:root {
  --bg: #F8FAFC;
  --bg-top: #FFFFFF;
  --text: #0F172A;
  --muted: #475569;
  --muted-2: #64748B;
  --border: #E2E8F0;
  --accent: #2563EB;
  --accent-dark: #1D4ED8;
  --accent-soft: #E2E8F0;
  --accent-soft-hover: #CBD5E1;
  --green: #22C55E;
  --cyan: #06B6D4;
  --card: rgba(255, 255, 255, 0.72);
  --content: 1160px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

html, body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: #FFFFFF;
  /*
    radial-gradient(circle at top, rgba(37, 99, 235, 0.05), transparent 24%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg) 100%);
  */
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.03;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.07) 1px, transparent 1px);
  background-size: 44px 44px;
}

a { color: inherit; text-decoration: none; }

.page {
  position: relative;
  width: min(100%, var(--content));
  margin: 0 auto;
  /* Clearance for fixed navbar */
  padding: calc(72px + env(safe-area-inset-top, 0px)) clamp(18px, 3vw, 28px) 56px;
  z-index: 1;
}

/* Keep slot out of layout / transform trees so position:fixed on the header is viewport-relative */
.site-header-slot {
  display: contents;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  pointer-events: auto;
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  background: rgba(255, 255, 255, 0.42);
  border-bottom: 1px solid rgba(226, 232, 240, 0.28);
  padding-top: env(safe-area-inset-top, 0px);
}

.site-header.nav-open {
  background: rgba(255, 255, 255, 0.92);
}

.nav {
  width: min(100%, var(--content));
  margin: 0 auto;
  padding: 14px clamp(16px, 3vw, 28px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  background: transparent;
  pointer-events: auto;
}

.nav a {
  pointer-events: auto;
  position: relative;
  z-index: 1;
}

.nav .brand {
  justify-self: start;
  min-width: 0;
}

.nav-center,
.nav-right {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 26px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.nav-center {
  justify-self: center;
}

.nav-end {
  justify-self: end;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  /* Pull Contact / Sign-In slightly left of the far edge */
  padding-right: clamp(18px, 4vw, 52px);
}

.nav-center a,
.nav-right a,
.nav-drawer a {
  position: relative;
  transition: color 0.18s ease;
}

.nav-center a:hover,
.nav-right a:not(.nav-signin):hover,
.nav-drawer a:not(.nav-signin):hover {
  color: var(--text);
}

.nav-center a.is-active,
.nav-right a.is-active,
.nav-drawer a.is-active {
  color: var(--text);
}

.nav-center a.is-active::after,
.nav-right a:not(.nav-signin).is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--green));
}

.nav-signin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--text);
  background: var(--text);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.nav-signin:hover,
.nav-right a.nav-signin:hover,
.nav-drawer a.nav-signin:hover {
  background: #1E293B;
  border-color: #1E293B;
  color: #fff;
}

.nav-signin.is-active {
  color: #fff;
  box-shadow: 0 0 0 2px rgba(6, 182, 212, 0.35);
}

.nav-signin.is-active::after {
  display: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  justify-self: end;
  z-index: 2;
}

.nav-toggle-bars {
  display: grid;
  gap: 5px;
  width: 18px;
}

.nav-toggle-bars span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
  transform-origin: center;
}

.site-header.nav-open .nav-toggle-bars span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.nav-open .nav-toggle-bars span:nth-child(2) {
  opacity: 0;
}

.site-header.nav-open .nav-toggle-bars span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(15, 23, 42, 0.34);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.nav-drawer {
  position: fixed;
  top: calc(64px + env(safe-area-inset-top, 0px));
  right: max(12px, env(safe-area-inset-right, 0px));
  left: auto;
  z-index: 999;
  width: min(320px, calc(100vw - 24px));
  max-height: calc(100svh - 80px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
  overflow: hidden;
}

.nav-drawer-scroll {
  display: grid;
  gap: 4px;
  padding: 14px;
  max-height: inherit;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.nav-drawer a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 14px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
}

.nav-drawer a.is-active {
  background: rgba(15, 23, 42, 0.05);
  color: var(--text);
}

.nav-drawer .nav-signin {
  margin-top: 8px;
  justify-content: center;
  color: #fff;
}

.nav-drawer .nav-signin:hover {
  color: #fff;
}

body.nav-locked {
  overflow: hidden;
  touch-action: none;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
}

.site-footer {
  padding: 72px 0 28px;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.footer-brand h3 {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 20px;
}

.footer-brand p {
  max-width: 320px;
  line-height: 1.65;
}

.footer-col {
  display: grid;
  gap: 14px;
}

.footer-col h4 {
  margin: 0 0 4px;
  color: var(--text);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-col a {
  color: var(--muted);
}

.footer-col a:hover,
.footer-social a:hover {
  color: var(--text);
}

.footer-social {
  margin-top: 44px;
  display: flex;
  justify-content: center;
  gap: 24px;
  color: var(--muted);
}

.footer-social svg {
  width: 28px;
  height: 28px;
}

.footer-copy {
  margin-top: 24px;
  text-align: center;
  font-size: 12px;
  color: var(--muted-2);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 9px;
  background:
    radial-gradient(circle at 35% 30%, var(--cyan), transparent 36%),
    linear-gradient(135deg, var(--accent), var(--green));
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.18);
}

.hero {
  min-height: calc(100svh - 80px);
  display: grid;
  align-items: center;
  padding: 48px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.18fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  width: 100%;
  min-width: 0;
}

.copy {
  min-width: 0;
  max-width: 640px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.96;
  letter-spacing: -0.06em;
  max-width: 11ch;
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  margin-bottom: 18px;
}

h3 {
  font-size: 18px;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.lede {
  margin: 24px 0 0;
  max-width: 44ch;
  font-size: clamp(17px, 2.1vw, 20px);
  line-height: 1.75;
  color: var(--muted);
}

.term {
  position: relative;
  display: inline-block;
  font-weight: 600;
  color: var(--text);
  background-image: linear-gradient(rgba(37, 99, 235, 0.24), rgba(37, 99, 235, 0.24));
  background-repeat: no-repeat;
  background-size: 100% 0.36em;
  background-position: 0 92%;
  padding-bottom: 0.02em;
}

.actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--accent-soft);
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.button:hover {
  background: var(--accent-soft-hover);
  border-color: #CBD5E1;
  transform: translateY(-1px);
}

.button.primary {
  background: var(--text);
  color: white;
  border-color: var(--text);
}

.button.primary:hover {
  background: #1E293B;
  border-color: #1E293B;
}

.visual {
  position: relative;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transform: translateY(-8px);
}

.network-shell {
  position: relative;
  width: min(112%, 760px);
  margin-right: -4%;
  pointer-events: none;
  isolation: isolate;
}

.network-shell::before {
  content: "";
  position: absolute;
  inset: 4%;
  border-radius: 999px;
  background:
    radial-gradient(circle at 52% 48%, rgba(6, 182, 212, 0.22), transparent 50%),
    radial-gradient(circle at 48% 50%, rgba(34, 197, 94, 0.16), transparent 48%);
  filter: blur(34px);
  z-index: -1;
  pointer-events: none;
}

.network-shell img {
  display: block;
  width: 100%;
  height: auto;
  transform: scale(1.08);
  transform-origin: center center;
}

/* Staggered illuminate entrance — echoes network node lighting */
[data-illuminate],
[data-illuminate-scroll] {
  opacity: 0;
  filter: brightness(0.55);
  transform: translateY(18px) scale(0.97);
  will-change: opacity, transform, filter;
}

[data-illuminate].is-lit,
[data-illuminate-scroll].is-lit {
  animation: illuminateIn 0.9s cubic-bezier(0.22, 1.2, 0.36, 1) forwards;
  animation-delay: var(--d, 0s);
}

.visual[data-illuminate] {
  transform: translateY(8px) scale(0.94);
  filter: brightness(0.45) saturate(0.8);
}

.visual[data-illuminate].is-lit {
  animation-name: illuminateVisual;
  animation-duration: 1.15s;
}

@keyframes illuminateIn {
  0% {
    opacity: 0;
    filter: brightness(0.55);
    transform: translateY(18px) scale(0.97);
  }
  45% {
    opacity: 1;
    filter: brightness(1.18);
  }
  100% {
    opacity: 1;
    filter: brightness(1);
    transform: translateY(0) scale(1);
  }
}

@keyframes illuminateVisual {
  0% {
    opacity: 0;
    filter: brightness(0.4) saturate(0.75);
    transform: translateY(10px) scale(0.94);
  }
  40% {
    opacity: 1;
    filter: brightness(1.25) saturate(1.15);
  }
  100% {
    opacity: 1;
    filter: brightness(1) saturate(1);
    transform: translateY(-8px) scale(1);
  }
}

.section {
  padding: clamp(52px, 8vw, 96px) 0;
}

.section-intro {
  max-width: 700px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.card {
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: var(--card);
  border-radius: 28px;
  padding: 24px;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.04);
}

.card p {
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 0;
}

.card-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.role-list {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.role-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.72);
}

.role-meta {
  margin: 10px 0 0;
  color: var(--muted-2);
  font-size: 14px;
}

.footer {
  border-top: 1px solid var(--border);
  margin-top: 40px;
  padding: 28px 0 12px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted-2);
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.subpage {
  padding-top: 28px;
}

.narrow {
  max-width: 780px;
}

.blog-header {
  max-width: 980px;
}

.blog-header h1 {
  max-width: 18ch;
}

.job-header {
  max-width: 850px;
  padding: 64px 0 34px;
}

.job-header h1 {
  max-width: 14ch;
  font-size: clamp(40px, 5.2vw, 64px);
}

.job-meta {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.64);
  font-size: 13px;
  font-weight: 700;
}

.content-block {
  max-width: 850px;
  padding: 18px 0;
  overflow-wrap: anywhere;
}

.content-block p, .content-block li {
  color: var(--muted);
  line-height: 1.72;
}

.content-block ul {
  padding-left: 20px;
}

.notice {
  border-left: 4px solid var(--accent);
  padding: 16px 18px;
  background: rgba(37, 99, 235, 0.06);
  border-radius: 16px;
  color: var(--muted);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}

.contact-copy {
  max-width: 560px;
}

.contact-card {
  margin-top: 32px;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.72);
}

.contact-card p {
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 0;
}

.contact-form {
  margin-top: 10px;
  min-height: 560px;
  display: grid;
  gap: 22px;
}

.contact-reason {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.contact-reason legend {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.contact-reason label {
  cursor: pointer;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.contact-reason input {
  position: absolute;
  opacity: 0;
}

.contact-reason label:has(input:checked) {
  background: var(--text);
  color: white;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  min-height: 44px;
  display: flex;
}

.consent-row.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.consent-row input {
  width: auto;
  margin-top: 3px;
}

.form-grid {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.form-success {
  min-height: 420px;
  display: grid;
  align-content: center;
  gap: 16px;
  text-align: center;
}

.form-success h3 {
  font-size: 28px;
  margin: 0;
}

.form-success p {
  color: var(--muted);
  line-height: 1.6;
  max-width: 42ch;
  margin: 0 auto;
}

.form-status {
  color: var(--muted);
  font-size: 14px;
}

.form-status.error {
  color: #B91C1C;
}

input, textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 14px 15px;
  font: inherit;
  background: white;
  color: var(--text);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

/* —— Responsive layout —— */
@media (max-width: 1080px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .hero {
    min-height: auto;
    padding-top: 28px;
  }

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

  .copy {
    max-width: 100%;
    order: 2;
    text-align: center;
    margin: 0 auto;
  }

  .visual {
    order: 1;
  }

  .network-shell {
    width: min(100%, 680px);
    margin-right: 0;
  }

  .network-shell img {
    transform: scale(1.02);
  }

  h1 {
    max-width: 14ch;
    margin-left: auto;
    margin-right: auto;
  }

  .lede {
    margin-left: auto;
    margin-right: auto;
  }

  .actions {
    justify-content: center;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-form {
    margin-top: 0;
  }
}

@media (max-width: 860px) {
  .nav {
    grid-template-columns: 1fr auto;
  }

  .nav-center,
  .nav-right {
    display: none;
  }

  .nav-end {
    padding-right: 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .page {
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
  }

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

  .role-card {
    grid-template-columns: 1fr;
  }

  .role-card .button {
    width: 100%;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer {
    flex-direction: column;
  }

  .job-header {
    padding-top: 36px;
  }

  .contact-reason {
    border-radius: 22px;
  }

  .contact-reason label {
    flex: 1 1 auto;
    text-align: center;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .page {
    padding-top: calc(68px + env(safe-area-inset-top, 0px));
    padding-bottom: 40px;
  }

  h1 {
    font-size: clamp(34px, 11vw, 48px);
    max-width: none;
  }

  .blog-header h1,
  .job-header h1 {
    max-width: none;
  }

  .lede,
  .section-intro {
    font-size: 16px;
    line-height: 1.65;
  }

  .section {
    padding: 44px 0;
  }

  .card,
  .role-card,
  .contact-card,
  .contact-form.card {
    border-radius: 22px;
    padding: 20px;
  }

  .actions {
    width: 100%;
  }

  .actions .button {
    flex: 1 1 100%;
  }

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

  .footer-social {
    margin-top: 28px;
    gap: 18px;
  }

  .nav-drawer {
    right: max(10px, env(safe-area-inset-right, 0px));
    left: max(10px, env(safe-area-inset-left, 0px));
    width: auto;
  }
}

@media (max-width: 380px) {
  .brand {
    font-size: 15px;
  }

  .button {
    min-height: 44px;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  [data-illuminate],
  [data-illuminate-scroll] {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }

  .visual[data-illuminate] {
    transform: translateY(-8px) !important;
  }
}

/* —— Distinct sign-in page —— */
.signin-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(6, 182, 212, 0.08), transparent 34%),
    radial-gradient(circle at 80% 20%, rgba(34, 197, 94, 0.06), transparent 28%),
    #F8FAFC;
}

.signin-page::before {
  opacity: 0.02;
}

.signin-shell {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding:
    max(32px, env(safe-area-inset-top, 0px))
    max(16px, env(safe-area-inset-right, 0px))
    max(28px, env(safe-area-inset-bottom, 0px))
    max(16px, env(safe-area-inset-left, 0px));
  gap: 22px;
}

.signin-brand {
  text-align: center;
}

.signin-logo {
  display: inline-block;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 18px;
}

.signin-brand h1 {
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  max-width: none;
  font-weight: 700;
  color: var(--muted);
}

.signin-card {
  width: min(100%, 420px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 28px 26px 22px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
}

.signin-form {
  position: relative;
  display: grid;
  gap: 10px;
}

.signin-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.signin-status {
  margin: 2px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: #B91C1C;
}

.signin-status[data-kind="info"] {
  color: var(--muted);
}

.signin-submit:disabled,
.signin-google:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.signin-result-card {
  text-align: center;
}

.signin-result-message {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.45;
}

.signin-result-support {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

.signin-result-actions {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.signin-action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.signin-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.signin-label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.signin-forgot-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

.signin-forgot-link:hover {
  color: var(--text);
}

.signin-lead {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

.signin-password-wrap {
  position: relative;
  display: grid;
}

.signin-password-wrap .signin-input {
  padding-right: 46px;
}

.signin-password-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted-2);
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}

.signin-password-toggle:hover {
  color: var(--text);
  background: #F1F5F9;
}

.signin-password-toggle:focus-visible {
  outline: 2px solid rgba(6, 182, 212, 0.7);
  outline-offset: 1px;
}

.signin-password-toggle[aria-pressed="true"],
.signin-password-toggle.is-open {
  color: var(--text);
}

.signin-eye .signin-eye-open-state {
  display: none;
}

.signin-eye .signin-eye-closed-state {
  display: inline;
}

.signin-password-toggle.is-open .signin-eye-open-state {
  display: inline;
}

.signin-password-toggle.is-open .signin-eye-closed-state {
  display: none;
}

.signin-input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  font-size: 15px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.signin-input::placeholder {
  color: #94A3B8;
}

.signin-input:focus {
  border-color: rgba(6, 182, 212, 0.7);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.16);
}

.signin-submit {
  margin-top: 6px;
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 14px;
  background: var(--text);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.signin-submit:hover {
  background: #1E293B;
  transform: translateY(-1px);
}

.signin-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--muted-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.signin-divider::before,
.signin-divider::after {
  content: "";
  height: 1px;
  background: var(--border);
}

.signin-google {
  width: 100%;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.signin-google:hover {
  background: #F8FAFC;
  border-color: #CBD5E1;
  transform: translateY(-1px);
}

.signin-google-icon {
  flex: 0 0 auto;
}

.signin-footer-text {
  margin: 18px 0 0;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

.signin-footer-text a {
  color: var(--text);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.signin-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted-2);
}

.signin-legal a:hover {
  color: var(--text);
}

@media (max-width: 480px) {
  .signin-card {
    border-radius: 22px;
    padding: 24px 18px 18px;
  }

  .signin-logo {
    font-size: 26px;
    margin-bottom: 16px;
  }

  .signin-brand h1 {
    font-size: 18px;
  }
}
