:root {
  --ink: #111111;
  --muted: #5d6468;
  --paper: #ffffff;
  --soft: #f5f6f7;
  --line: #e3e3e3;
  --black: #050505;
  --red: #ec1d16;
  --red-dark: #be1712;
  --teal: #07383d;
  --cream: #fbf7f1;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

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

p,
h1,
h2,
h3,
figure {
  margin: 0;
}

.site-header {
  position: relative;
  z-index: 20;
  background: #ffffff;
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.5rem;
  padding: 0.45rem 4.25rem;
}

.brand {
  display: flex;
  align-items: center;
}

.brand-logo {
  display: block;
  width: min(19rem, 66vw);
  height: auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 4.4rem;
  height: 4.4rem;
  border: 3px solid var(--red);
  border-radius: 8px;
  color: var(--red);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.05rem;
  font-weight: 900;
}

.brand-text strong,
.brand-text small {
  display: block;
}

.brand-text strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.55rem;
  font-weight: 800;
  line-height: 0.95;
}

.brand-text small {
  margin-top: 0.42rem;
  color: var(--red);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-strip {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-weight: 800;
}

.contact-strip a:first-child {
  padding-right: 1.25rem;
  border-right: 1px solid var(--line);
}

.contact-strip a:hover {
  color: var(--red);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  padding: 0 4.25rem;
  background: var(--black);
  color: #ffffff;
}

.nav-links a {
  position: relative;
  display: block;
  padding: 1.05rem 1.1rem;
  font-weight: 850;
  white-space: nowrap;
}

.nav-links a::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--red);
}

.nav-links a:last-child::after {
  display: none;
}

.nav-links a.active,
.nav-links a:hover {
  background: var(--red);
}

.nav-links a.active::after,
.nav-links a:hover::after {
  display: none;
}

.hero {
  position: relative;
  min-height: 47rem;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 5rem 4.25rem;
  background-image: url("assets/hero-loop-poster-clean.jpg");
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.45) 48%, rgba(0, 0, 0, 0.12) 74%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.3), transparent 38%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 47rem;
  color: #ffffff;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.eyebrow {
  margin-bottom: 0.8rem;
  color: var(--red);
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffffff;
}

h1 {
  font-size: 4.85rem;
  line-height: 0.98;
  font-weight: 900;
}

h1 span,
h1 em {
  display: block;
}

h1 em {
  color: var(--red);
  font-style: normal;
}

h2 {
  font-size: 2.35rem;
  line-height: 1.12;
  font-weight: 900;
}

h3 {
  font-size: 1.15rem;
  line-height: 1.25;
  font-weight: 900;
}

.hero-copy {
  max-width: 42rem;
  margin-top: 1.25rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.15rem;
  line-height: 1.6;
}

.hero-actions,
.signal-band,
.setup-note,
.site-footer,
.cta-section {
  display: flex;
  align-items: center;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.05rem;
  padding: 0.95rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 900;
}

.button.primary {
  background: var(--red);
  color: #ffffff;
}

.button.primary:hover {
  background: var(--red-dark);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.56);
  color: #ffffff;
  background: rgba(0, 0, 0, 0.3);
}

.signal-band {
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 4.25rem;
  background: var(--black);
  color: #ffffff;
  text-align: center;
}

.signal-band strong {
  color: var(--red);
}

.signal-band span {
  display: block;
  min-width: 0;
}

.section {
  padding: 5rem 4.25rem;
}

.section-heading {
  max-width: 47rem;
  margin-bottom: 2.1rem;
}

.section-heading.wide {
  max-width: 64rem;
}

.section-heading h2,
.security-copy h2,
.cta-section h2,
.fit-section h2 {
  margin-bottom: 1rem;
}

.section-heading p:not(.eyebrow),
.intro-copy p,
.report-grid p,
.ai-grid p,
.security-copy p,
.security-grid p,
.process-list p,
.pricing-grid p,
.setup-note span,
.cta-section p,
.site-footer,
.fit-list p {
  color: var(--muted);
  line-height: 1.62;
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 4rem;
}

.intro-copy {
  display: grid;
  gap: 1rem;
  font-size: 1.05rem;
}

.reports-section,
.pricing-section,
.upload-main {
  background: var(--soft);
}

.report-grid,
.ai-grid,
.security-grid,
.pricing-grid {
  display: grid;
  gap: 1rem;
}

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

.ai-section {
  background: #ffffff;
}

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

.report-grid article,
.ai-grid article,
.security-grid article,
.pricing-grid article,
.fit-list p,
.upload-form,
.upload-details article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.report-grid article {
  min-height: 15rem;
  padding: 1.35rem;
}

.ai-grid article {
  min-height: 12.5rem;
  padding: 1.35rem;
  border-top: 4px solid var(--red);
}

.report-grid span {
  display: inline-block;
  margin-bottom: 1.9rem;
  color: var(--red);
  font-weight: 900;
}

.report-grid h3,
.ai-grid h3,
.security-grid h3,
.pricing-grid h3 {
  margin-bottom: 0.75rem;
}

.security-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: 3rem;
  background: #ffffff;
}

.section-image {
  margin-top: 1.8rem;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--soft);
}

.section-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

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

.security-grid article {
  padding: 1.35rem;
}

.process-section {
  background: var(--black);
  color: #ffffff;
}

.process-section .section-heading p:not(.eyebrow),
.process-list p {
  color: rgba(255, 255, 255, 0.72);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
}

.process-list li {
  min-height: 13.5rem;
  padding: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  counter-increment: process;
}

.process-list li::before {
  content: counter(process, decimal-leading-zero);
  display: block;
  margin-bottom: 2rem;
  color: var(--red);
  font-weight: 900;
}

.process-list strong {
  display: block;
  margin-bottom: 0.6rem;
}

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

.pricing-grid article {
  display: flex;
  min-height: 25rem;
  flex-direction: column;
  padding: 1.4rem;
}

.pricing-grid .featured {
  border-color: var(--red);
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.08);
}

.plan {
  margin-bottom: 0.9rem;
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.pricing-grid h3 {
  font-size: 2.35rem;
}

.pricing-grid ul {
  display: grid;
  gap: 0.55rem;
  margin: 1.35rem 0 0;
  padding-left: 1.1rem;
  color: #3d4548;
  line-height: 1.45;
}

.setup-note {
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 1rem;
  padding: 1.2rem 1.35rem;
  border-radius: 8px;
  background: var(--black);
  color: #ffffff;
}

.setup-note span {
  color: rgba(255, 255, 255, 0.74);
}

.fit-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 3rem;
  background: #ffffff;
}

.fit-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.fit-list p {
  padding: 0.95rem 1rem;
  font-weight: 800;
}

.cta-section {
  justify-content: space-between;
  gap: 2rem;
  margin: 0 4.25rem 5rem;
  padding: 2.1rem;
  border-radius: 8px;
  background: var(--red);
  color: #ffffff;
}

.cta-section div {
  max-width: 51rem;
}

.cta-section .eyebrow,
.cta-section p {
  color: rgba(255, 255, 255, 0.88);
}

.site-footer {
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 4.25rem;
  border-top: 1px solid var(--line);
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer strong {
  margin-bottom: 0.2rem;
  color: var(--ink);
}

.upload-page {
  background: var(--soft);
}

.upload-main {
  min-height: 100vh;
  padding: 0 0 5rem;
}

.upload-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.44fr);
  gap: 2rem;
  align-items: center;
  min-height: 31rem;
  padding: 4.8rem 4.25rem;
  color: #ffffff;
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.55) 54%, rgba(0, 0, 0, 0.2)),
    url("assets/secure-upload-ai.png");
  background-size: cover;
  background-position: center;
}

.upload-hero h1 {
  max-width: 11ch;
}

.upload-hero h1 em {
  color: var(--red);
}

.upload-hero p:not(.eyebrow) {
  max-width: 42rem;
  margin-top: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.08rem;
  line-height: 1.6;
}

.upload-security-panel {
  display: grid;
  gap: 0.7rem;
  padding: 1.35rem;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.76);
  color: #ffffff;
}

.upload-security-panel strong {
  color: var(--red);
}

.upload-security-panel span {
  padding-top: 0.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.82);
}

.upload-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.48fr);
  gap: 1rem;
  padding: 2rem 4.25rem 0;
}

.upload-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.5rem;
}

.form-heading,
.full-span {
  grid-column: 1 / -1;
}

.form-heading h2 {
  margin-bottom: 0.7rem;
}

.form-heading p:not(.eyebrow),
.upload-details p,
.upload-form small {
  color: var(--muted);
  line-height: 1.58;
}

.upload-form label {
  display: grid;
  gap: 0.45rem;
  color: #1c2224;
  font-weight: 850;
}

.upload-form input,
.upload-form select,
.upload-form textarea {
  width: 100%;
  min-height: 3rem;
  border: 1px solid #cfd2d4;
  border-radius: 6px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  padding: 0.75rem 0.85rem;
}

.upload-form textarea {
  resize: vertical;
}

.upload-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.9rem;
  border-radius: 8px;
  background: #fff1ef;
}

.upload-consent input {
  width: auto;
  min-height: auto;
  margin-top: 0.25rem;
}

.upload-consent label {
  display: block;
  color: #343a3c;
  font-weight: 700;
  line-height: 1.45;
}

.upload-consent p {
  margin: 0;
  color: #343a3c;
  font-weight: 700;
  line-height: 1.45;
}

.upload-status {
  margin-top: -0.2rem;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  background: #fff1ef;
  color: #8a2f28;
  line-height: 1.5;
}

.upload-status[data-kind="success"] {
  background: #e7f3ea;
  color: #1f5b3b;
}

.upload-status[data-kind="warning"] {
  background: #fff1ef;
  color: #8a2f28;
}

.upload-details {
  display: grid;
  gap: 1rem;
}

.upload-details article {
  padding: 1.25rem;
}

@media (max-width: 1050px) {
  .brand-row {
    padding: 1rem 1.5rem;
    align-items: flex-start;
    flex-direction: column;
  }

  .brand-text strong {
    font-size: 2rem;
  }

  .brand-logo {
    width: min(18rem, 72vw);
  }

  .contact-strip {
    flex-wrap: wrap;
  }

  .nav-links {
    padding: 0 1.5rem;
  }

  .hero,
  .section,
  .signal-band {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .hero {
    background-position: 60% center;
  }

  h1 {
    font-size: 3.65rem;
  }

  h2 {
    font-size: 2rem;
  }

  .intro-section,
  .security-section,
  .fit-section,
  .upload-hero,
  .upload-layout {
    grid-template-columns: 1fr;
  }

  .report-grid,
  .ai-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .process-list li {
    min-height: auto;
    border-right: 0;
  }

  .cta-section {
    align-items: flex-start;
    flex-direction: column;
    margin: 0 1.5rem 4rem;
  }

  .upload-hero,
  .upload-layout {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .upload-form {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 620px) {
  .brand-row {
    gap: 0.9rem;
    padding: 0.9rem 1rem;
  }

  .brand-mark {
    width: 3rem;
    height: 3rem;
    font-size: 1.25rem;
  }

  .brand-logo {
    width: min(16rem, 82vw);
  }

  .brand-text strong {
    font-size: 1.45rem;
  }

  .brand-text small {
    font-size: 0.74rem;
  }

  .contact-strip {
    display: none;
  }

  .nav-links {
    padding: 0 1rem;
  }

  .nav-links a {
    padding: 0.85rem 0.75rem;
    font-size: 0.88rem;
  }

  .hero {
    min-height: 42rem;
    padding: 3.5rem 1.5rem;
    background-position: 62% center;
  }

  .hero-content,
  .section-heading,
  .intro-copy,
  .security-copy,
  .report-grid,
  .ai-grid,
  .security-grid,
  .process-list,
  .pricing-grid,
  .fit-list,
  .upload-hero > div,
  .upload-security-panel,
  .upload-form,
  .upload-details {
    width: 100%;
    max-width: 21rem;
  }

  h1 {
    font-size: 2.85rem;
  }

  h2 {
    font-size: 1.72rem;
  }

  .hero-copy,
  .upload-hero p:not(.eyebrow) {
    font-size: 1rem;
  }

  .button,
  .hero-actions {
    width: 100%;
  }

  .signal-band,
  .setup-note {
    align-items: center;
    flex-direction: column;
  }

  .signal-band span {
    width: 100%;
    max-width: 19rem;
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .security-grid,
  .fit-list {
    grid-template-columns: 1fr;
  }

  .upload-hero {
    min-height: 34rem;
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
}
