:root {
  --ink: #111322;
  --muted: #5b6476;
  --line: #dce1ea;
  --paper: #ffffff;
  --soft: #f6f8fb;
  --red: #f43f2a;
  --orange: #ff8a1d;
  --yellow: #ffc928;
  --cyan: #12bfd1;
  --blue: #2867e8;
  --purple: #7b3ff2;
  --green: #16b878;
  --dark: #151524;
  --radius: 8px;
  --shadow: 0 18px 50px rgba(17, 19, 34, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

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

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

.site-shell {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(220, 225, 234, 0.86);
  backdrop-filter: blur(16px);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--paper);
  cursor: pointer;
}

.nav-toggle svg {
  width: 21px;
  height: 21px;
}

.mobile-nav-panel {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: clamp(18px, 4vw, 56px);
  width: min(320px, calc(100vw - 36px));
  padding: 8px;
  border: 1px solid rgba(220, 225, 234, 0.94);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
  z-index: 120;
}

.mobile-nav-panel.open {
  display: grid;
}

.mobile-nav-panel a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 6px;
  color: #333a4c;
  font-weight: 820;
}

.mobile-nav-panel a:hover,
.mobile-nav-panel a[aria-current="page"] {
  background: var(--soft);
  color: var(--ink);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  font-weight: 900;
  font-size: 1.24rem;
}

.brand img {
  width: 38px;
  height: 38px;
}

.brand small {
  display: block;
  margin-top: -2px;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.3vw, 26px);
  color: #333a4c;
  font-size: 0.94rem;
  font-weight: 760;
}

.nav a {
  border-bottom: 2px solid transparent;
  padding: 8px 0;
}

.nav a:hover,
.nav a[aria-current="page"] {
  border-color: var(--orange);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  font-weight: 850;
  line-height: 1;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(17, 19, 34, 0.14);
}

.button.primary {
  color: #fff;
  background: var(--ink);
}

.button.red {
  color: #fff;
  border-color: var(--red);
  background: var(--red);
}

.button.light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.13);
}

.button.ghost {
  border-color: var(--line);
  background: var(--paper);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 86vh;
  overflow: hidden;
  color: #fff;
  background: var(--dark) url("images/hero-canvas.png") center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(12, 13, 24, 0.72);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 10px;
  background: var(--orange);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 72px 0 88px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: #ffe9c5;
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 4px;
  background: var(--orange);
}

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

.hero h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(4rem, 10vw, 9rem);
  line-height: 0.84;
  font-weight: 1000;
}

.hero .lede {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.35;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.proof-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  width: min(1180px, calc(100% - 36px));
  margin: -44px auto 0;
  position: relative;
  z-index: 4;
}

.proof-card {
  min-height: 118px;
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 42px rgba(17, 19, 34, 0.11);
}

.proof-card strong {
  display: block;
  margin-bottom: 5px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.proof-card span {
  color: var(--muted);
  font-weight: 750;
}

.section {
  padding: clamp(58px, 8vw, 105px) clamp(18px, 4vw, 56px);
}

.section.soft {
  background: var(--soft);
}

.section.dark {
  color: #fff;
  background: var(--dark);
}

.wrap {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin-bottom: 12px;
  font-size: clamp(2.1rem, 4vw, 4.2rem);
  line-height: 0.98;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.6;
}

.dark .section-heading p,
.dark .muted {
  color: rgba(255, 255, 255, 0.72);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  gap: clamp(28px, 5vw, 62px);
  align-items: center;
}

.product-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.product-frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.shot-card {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 16px 42px rgba(17, 19, 34, 0.1);
}

.shot-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
}

.shot-card figcaption {
  min-height: 92px;
  padding: 15px 16px 17px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 760;
  line-height: 1.42;
}

.caption {
  padding: 13px 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 720;
}

.feature-list {
  display: grid;
  gap: 16px;
}

.feature {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.feature i {
  width: 12px;
  height: 12px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--red);
}

.feature:nth-child(2) i {
  background: var(--orange);
}

.feature:nth-child(3) i {
  background: var(--cyan);
}

.feature:nth-child(4) i {
  background: var(--green);
}

.feature h3 {
  margin-bottom: 5px;
  font-size: 1.05rem;
}

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

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 16px;
}

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

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.price-card {
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.card h3,
.price-card h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
}

.card p,
.price-card p {
  color: var(--muted);
  line-height: 1.58;
}

.card.accent-red {
  border-top: 5px solid var(--red);
}

.card.accent-yellow {
  border-top: 5px solid var(--yellow);
}

.card.accent-cyan {
  border-top: 5px solid var(--cyan);
}

.card.accent-purple {
  border-top: 5px solid var(--purple);
}

.team-grid {
  align-items: stretch;
}

.team-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 0;
  overflow: hidden;
}

.team-photo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--soft);
}

.team-photo-frame::before,
.team-photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.team-photo-frame::before {
  background:
    radial-gradient(circle at 50% 8%, rgba(255, 255, 255, 0.2), transparent 34%),
    linear-gradient(180deg, transparent 56%, rgba(17, 19, 34, 0.18));
}

.team-photo-frame::after {
  background: linear-gradient(135deg, rgba(123, 63, 242, 0.18), rgba(18, 191, 209, 0.1) 44%, rgba(244, 63, 42, 0.1));
  mix-blend-mode: soft-light;
}

.team-card.accent-yellow .team-photo-frame::after {
  background: linear-gradient(135deg, rgba(255, 201, 40, 0.18), rgba(255, 138, 29, 0.12), rgba(123, 63, 242, 0.14));
}

.team-card.accent-red .team-photo-frame::after {
  background: linear-gradient(135deg, rgba(244, 63, 42, 0.14), rgba(123, 63, 242, 0.16), rgba(18, 191, 209, 0.08));
}

.team-card.accent-cyan .team-photo-frame::after {
  background: linear-gradient(135deg, rgba(18, 191, 209, 0.16), rgba(40, 103, 232, 0.12), rgba(255, 201, 40, 0.1));
}

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.04) brightness(1.02);
  transform: scale(1.012);
  transition: transform 220ms ease, filter 220ms ease;
}

.team-card:hover .team-photo {
  filter: saturate(1.14) contrast(1.06) brightness(1.03);
  transform: scale(1.035);
}

.team-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 0 24px 24px;
}

.team-card h3 {
  margin-bottom: 6px;
}

.team-role {
  margin-bottom: 10px;
  color: var(--ink) !important;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.team-affiliation {
  margin-top: auto;
  margin-bottom: 0;
  padding-top: 16px;
  color: var(--ink) !important;
  font-weight: 850;
}

.team-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.team-social-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: #1f4f9c;
  background: var(--soft);
  font-size: 0.9rem;
  font-weight: 850;
}

.team-social-link:hover {
  border-color: #1f4f9c;
  background: #eef5ff;
}

.team-social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex: 0 0 auto;
}

.flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.flow-step {
  min-height: 150px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.flow-step strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  color: #fff;
  background: var(--ink);
  border-radius: 50%;
}

.flow-step h3 {
  font-size: 1rem;
}

.flow-step p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.quote-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 32px;
  color: #fff;
  background: var(--ink);
  border-radius: var(--radius);
}

.quote-band p {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2.5rem);
  line-height: 1.15;
  font-weight: 950;
}

.price-card {
  display: flex;
  flex-direction: column;
  min-height: 330px;
}

.price {
  margin: 12px 0;
  font-size: 2.25rem;
  font-weight: 1000;
}

.price small {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.price-card ul {
  margin: 8px 0 22px;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.price-card li {
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
}

.price-card .button {
  margin-top: auto;
}

.page-hero {
  padding: clamp(72px, 10vw, 130px) clamp(18px, 4vw, 56px);
  color: #fff;
  background: var(--dark) url("images/product-unified.png") center / cover no-repeat;
  position: relative;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(14, 15, 28, 0.78);
}

.page-hero .wrap {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  max-width: 870px;
  margin-bottom: 16px;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.9;
}

.page-hero p {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.25rem;
  line-height: 1.5;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.45fr);
  gap: 24px;
}

.panel {
  padding: 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.panel h2 {
  font-size: 1.45rem;
}

.panel p,
.panel li {
  color: var(--muted);
  line-height: 1.62;
}

.panel ul,
.panel ol {
  padding-left: 1.15rem;
}

.auth-shell {
  display: flex;
  flex-direction: column;
}

.auth-main {
  flex: 1;
  display: grid;
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: clamp(52px, 8vw, 96px) clamp(18px, 4vw, 56px);
  background: var(--soft);
}

.auth-wrap {
  width: min(980px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.auth-copy h1 {
  margin-bottom: 16px;
  font-size: clamp(3.2rem, 8vw, 6.5rem);
  line-height: 0.88;
}

.auth-copy .eyebrow {
  color: var(--orange);
}

.auth-copy p {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.16rem;
  line-height: 1.55;
}

.auth-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 18px 46px rgba(17, 19, 34, 0.12);
}

.auth-form {
  display: grid;
  gap: 12px;
}

.auth-form label {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 850;
}

.auth-form input,
.auth-form select {
  width: 100%;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}

.auth-form select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 19px, calc(100% - 13px) 19px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.auth-form input:focus,
.auth-form select:focus {
  border-color: var(--orange);
  outline: 3px solid rgba(255, 138, 29, 0.18);
}

.auth-hint {
  margin: -6px 0 2px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.auth-check {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 720;
  line-height: 1.45;
}

.auth-check input {
  width: 18px;
  min-height: 18px;
  height: 18px;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--red);
}

.auth-check a {
  color: var(--blue);
  font-weight: 850;
}

.auth-form .button {
  width: 100%;
  margin-top: 8px;
}

.auth-form .button:disabled {
  cursor: progress;
  opacity: 0.72;
  transform: none;
  box-shadow: none;
}

.auth-error {
  padding: 10px 12px;
  border: 1px solid rgba(244, 63, 42, 0.38);
  border-radius: var(--radius);
  color: #9f1d10;
  background: #fff0ed;
  font-size: 0.92rem;
  font-weight: 760;
  line-height: 1.4;
}

.auth-success {
  padding: 10px 12px;
  border: 1px solid rgba(22, 184, 120, 0.36);
  border-radius: var(--radius);
  color: #0d6c46;
  background: #ecfff7;
  font-size: 0.92rem;
  font-weight: 760;
  line-height: 1.4;
}

.auth-footnote {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

.auth-footnote a {
  color: var(--blue);
  font-weight: 850;
}

.color-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
}

.color-strip span:nth-child(1) { background: var(--red); }
.color-strip span:nth-child(2) { background: var(--orange); }
.color-strip span:nth-child(3) { background: var(--yellow); }
.color-strip span:nth-child(4) { background: var(--cyan); }
.color-strip span:nth-child(5) { background: var(--blue); }
.color-strip span:nth-child(6) { background: var(--purple); }

.contact-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
}

.footer {
  padding: 36px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.78);
  background: var(--dark);
}

.footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

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

@media (max-width: 980px) {
  .topbar {
    align-items: center;
    gap: 12px;
  }

  .nav {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .proof-row,
  .grid-4,
  .flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-2,
  .grid-3,
  .shot-grid,
  .split,
  .two-col,
  .auth-wrap,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .auth-main {
    align-items: start;
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .topbar {
    padding: 12px 14px;
    gap: 8px;
  }

  .brand span {
    display: none;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .nav-toggle {
    width: 38px;
    height: 38px;
  }

  .mobile-nav-panel {
    left: 14px;
    right: 14px;
    width: auto;
  }

  .nav-actions .button {
    min-height: 36px;
    padding: 0 12px;
    font-size: 0.82rem;
  }

  .hero {
    min-height: 78vh;
  }

  .hero-inner {
    padding-top: 52px;
  }

  .hero h1 {
    font-size: 4.6rem;
  }

  .proof-row,
  .grid-3,
  .grid-4,
  .flow {
    grid-template-columns: 1fr;
  }

  .quote-band,
  .footer .wrap {
    grid-template-columns: 1fr;
    display: grid;
  }

  .section {
    padding-top: 54px;
    padding-bottom: 54px;
  }
}
