:root {
  color-scheme: light;
  --ink: #10151b;
  --muted: #63717d;
  --line: #dfe7ea;
  --paper: #f7f9f8;
  --white: #ffffff;
  --teal: #1c8e8a;
  --teal-dark: #0f5f62;
  --coral: #e76f51;
  --amber: #e4b363;
  --charcoal: #12181d;
  --shadow: 0 22px 70px rgba(18, 24, 29, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

button,
input {
  font: inherit;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: rgba(14, 20, 24, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--white);
  color: var(--teal-dark);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
  font-weight: 600;
}

.nav-links a:hover,
.login-link:hover {
  color: var(--white);
}

.login-link,
.auth-tab,
.close-button {
  border: 0;
  cursor: pointer;
}

.login-link {
  padding: 10px 16px;
  border-radius: 8px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
}

.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  padding: 126px clamp(20px, 5vw, 72px) 78px;
  color: var(--white);
  background-image: url("assets/hero-media-authenticity.png");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 14, 17, 0.92) 0%, rgba(9, 14, 17, 0.76) 42%, rgba(9, 14, 17, 0.16) 100%),
    linear-gradient(0deg, rgba(9, 14, 17, 0.5) 0%, rgba(9, 14, 17, 0) 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 730px;
  padding-top: 28px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3.1rem, 6.2vw, 6.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2rem, 3.8vw, 3.8rem);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.hero-copy {
  max-width: 620px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 2vw, 1.24rem);
  line-height: 1.65;
}

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

.primary-button,
.secondary-button,
.process-button,
.outline-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 13px 20px;
  font-weight: 800;
  cursor: pointer;
}

.primary-button,
.process-button {
  color: var(--white);
  background: var(--teal);
  box-shadow: 0 14px 34px rgba(28, 142, 138, 0.28);
}

.secondary-button {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.1);
}

.seo-band,
.upload-band,
.features-band,
.security-band {
  padding: clamp(58px, 8vw, 104px) clamp(20px, 5vw, 72px);
}

.seo-band {
  background: var(--paper);
}

.seo-band .section-heading {
  max-width: 880px;
}

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

.section-heading p:not(.eyebrow),
.security-band p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.compact {
  max-width: 690px;
}

.upload-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 24px;
  align-items: stretch;
}

.upload-panel,
.trust-panel,
.feature-grid article,
.login-modal {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 32px rgba(16, 21, 27, 0.06);
}

.upload-panel {
  padding: clamp(18px, 4vw, 34px);
}

.drop-zone {
  min-height: 280px;
  display: grid;
  place-items: center;
  gap: 12px;
  padding: 28px;
  text-align: center;
  border: 1.5px dashed #afc3c8;
  border-radius: 8px;
  background: #fbfdfc;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.drop-zone:hover,
.drop-zone.is-dragging {
  border-color: var(--teal);
  background: #f0f8f7;
  transform: translateY(-1px);
}

.drop-zone input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  clip: rect(0 0 0 0);
  overflow: hidden;
}

.upload-icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 8px;
  color: var(--teal-dark);
  background: #dff1ef;
}

svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.drop-zone strong {
  font-size: 1.25rem;
}

.drop-zone span:last-child,
.form-note,
.file-summary span {
  color: var(--muted);
}

.file-summary {
  margin-top: 18px;
  padding: 16px;
  border-radius: 8px;
  background: #f0f4f2;
}

.summary-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.file-summary strong {
  display: block;
  margin-bottom: 4px;
}

.process-button {
  width: 100%;
  margin-top: 18px;
  border: 0;
}

.form-note {
  margin: 14px 0 0;
  font-size: 0.94rem;
}

.trust-panel {
  display: grid;
  gap: 1px;
  overflow: hidden;
}

.trust-panel div {
  padding: 28px;
  background: #101820;
  color: var(--white);
}

.metric {
  display: block;
  margin-bottom: 10px;
  color: var(--amber);
  font-size: 1.8rem;
  font-weight: 800;
}

.trust-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.features-band {
  background: var(--white);
}

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

.feature-grid article {
  padding: 24px;
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  border-radius: 8px;
  background: #ffe9df;
  color: #b4492f;
  font-weight: 800;
}

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

.security-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  background: #e9f2ef;
}

.security-band > div {
  max-width: 760px;
}

.outline-button {
  color: var(--teal-dark);
  border-color: #9bbfbc;
  background: transparent;
}

.modal-backdrop {
  position: fixed;
  z-index: 40;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(7, 11, 14, 0.68);
}

.modal-backdrop[hidden] {
  display: none;
}

.login-modal {
  position: relative;
  width: min(100%, 470px);
  padding: 30px;
  box-shadow: var(--shadow);
}

.close-button {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: var(--ink);
  background: #eef3f2;
}

.login-modal p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.6;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin-top: 20px;
  padding: 5px;
  border-radius: 8px;
  background: #eef3f2;
}

.auth-tab {
  min-height: 40px;
  border-radius: 7px;
  color: var(--muted);
  background: transparent;
  font-weight: 800;
}

.auth-tab.is-active {
  color: var(--teal-dark);
  background: var(--white);
  box-shadow: 0 6px 18px rgba(16, 21, 27, 0.08);
}

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

.login-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 700;
}

.login-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cfdadd;
  border-radius: 8px;
  padding: 12px 14px;
}

.login-form input:focus {
  outline: 3px solid rgba(28, 142, 138, 0.18);
  border-color: var(--teal);
}

.auth-message {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.process-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

@media (max-width: 860px) {
  .site-header {
    position: absolute;
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: 820px;
    align-items: flex-end;
    padding-top: 170px;
    background-position: 58% center;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(9, 14, 17, 0.92) 0%, rgba(9, 14, 17, 0.74) 55%, rgba(9, 14, 17, 0.24) 100%),
      linear-gradient(90deg, rgba(9, 14, 17, 0.76), rgba(9, 14, 17, 0.08));
  }

  .upload-layout,
  .feature-grid,
  .security-band {
    grid-template-columns: 1fr;
  }

  .outline-button {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .brand span:last-child {
    max-width: 210px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .login-link {
    padding: 9px 12px;
  }

  .nav-links {
    font-size: 0.88rem;
  }

  .hero {
    min-height: 760px;
    padding-top: 150px;
  }

  .hero-content {
    padding-top: 0;
  }

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

  h1 {
    font-size: clamp(2.45rem, 13vw, 4rem);
  }

  .drop-zone {
    min-height: 220px;
    padding: 20px;
  }
}
