/* ===== Atlas Design System ===== */

:root {
  --paper:    #FFFFFF;
  --ink:      #111111;
  --graphite: #6B6B6B;
  --accent:   #FF5A5F;
  --sand:     #EFEDE9;
  --hairline: #E4E4E4;
}

/* ===== Reset & Base ===== */

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

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

body {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font: inherit;
  color: inherit;
}

/* ===== Focus states ===== */

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

/* ===== Typography ===== */

.hero-heading {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.section-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-heading {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 32px;
}

.subsection-heading {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
}

.caption {
  font-size: 13px;
  line-height: 1.5;
  color: var(--graphite);
}

/* ===== Layout ===== */

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 120px 0;
}

/* ===== Header ===== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--hairline);
  height: 72px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.header-logo img {
  width: 150px;
  height: auto;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  transition: color 0.2s;
}

.header-nav a:hover {
  color: var(--accent);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s, opacity 0.2s;
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== Buttons ===== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  text-decoration: none;
}

.btn-accent {
  background: var(--accent);
  color: var(--paper);
  border-color: var(--accent);
}

.btn-accent:hover {
  background: #e84e52;
  border-color: #e84e52;
}

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

.btn-outline:hover {
  background: var(--ink);
  color: var(--paper);
}

/* ===== Hero ===== */

.hero {
  padding: 100px 0 120px;
}

.hero-sub {
  font-size: 20px;
  color: var(--graphite);
  max-width: 640px;
  margin-top: 24px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero-note {
  font-size: 13px;
  color: var(--graphite);
  margin-top: 24px;
}

.accent {
  color: var(--accent);
}

/* ===== Problem Section ===== */

.stat-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.stat-card {
  background: var(--sand);
  border-radius: 12px;
  padding: 32px 24px;
}

.stat-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 12px;
  line-height: 1.4;
}

.stat-source {
  font-size: 13px;
  color: var(--graphite);
  line-height: 1.5;
}

.problem-text {
  max-width: 700px;
  color: var(--graphite);
  font-size: 17px;
  line-height: 1.6;
}

/* ===== How It Works ===== */

.funnel-stages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-top: 48px;
}

.funnel-stage {
  position: relative;
  padding: 32px 24px;
  text-align: center;
}

.funnel-stage::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 12px solid var(--hairline);
}

.funnel-stage:last-child::after {
  display: none;
}

.funnel-stage.active .stage-number {
  background: var(--accent);
  color: var(--paper);
}

.stage-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--sand);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 16px;
}

.stage-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.stage-desc {
  font-size: 15px;
  color: var(--graphite);
  line-height: 1.5;
}

/* Connector lines between stages */
.funnel-connector {
  position: absolute;
  top: 50%;
  right: -2px;
  width: 4px;
  background: var(--accent);
  transform: translateY(-50%);
  z-index: 1;
}

/* ===== What You Leave With ===== */

.record-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-top: 48px;
}

.record-prose {
  font-size: 17px;
  color: var(--graphite);
  line-height: 1.6;
}

.assessment-card {
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 32px;
}

.assessment-card-header {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--hairline);
}

.assessment-meta {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
  font-size: 15px;
}

.assessment-meta span {
  color: var(--graphite);
}

.assessment-meta .slot {
  font-weight: 600;
  color: var(--ink);
}

.dimension-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--hairline);
}

.dimension-row:last-child {
  border-bottom: none;
}

.dimension-name {
  font-size: 14px;
  font-weight: 600;
  min-width: 140px;
  flex-shrink: 0;
}

.level-bar {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}

.level-segment {
  width: 24px;
  height: 10px;
  border-radius: 3px;
  background: var(--hairline);
}

.level-segment.filled {
  background: var(--accent);
}

.assessor-comment {
  font-size: 13px;
  color: var(--graphite);
  flex: 1;
  min-width: 0;
}

.assessment-note {
  margin-top: 16px;
}

/* ===== Rubric Section ===== */

.rubric-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.rubric-card {
  background: var(--sand);
  border-radius: 12px;
  padding: 24px;
}

.rubric-card-name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}

.rubric-card-desc {
  font-size: 14px;
  color: var(--graphite);
  line-height: 1.5;
}

/* ===== For Companies ===== */

.companies-section {
  background: var(--sand);
}

.benefit-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
  margin-bottom: 48px;
}

.benefit-block h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.benefit-block p {
  font-size: 16px;
  color: var(--graphite);
  line-height: 1.6;
}

.honest-block {
  border: 2px solid var(--ink);
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 32px;
}

.honest-block p {
  font-size: 17px;
  line-height: 1.6;
}

.honest-block strong {
  font-weight: 700;
}

/* ===== Form Section ===== */

.form-section {
  max-width: 600px;
}

.form-section .section-sub {
  font-size: 17px;
  color: var(--graphite);
  margin-bottom: 40px;
  line-height: 1.6;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  font-size: 16px;
  background: var(--paper);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  outline: none;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.radio-group label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 400;
  cursor: pointer;
  font-size: 16px;
}

.radio-group input[type="radio"] {
  accent-color: var(--accent);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.checkbox-group {
  margin-top: 4px;
}

.checkbox-group label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  cursor: pointer;
  font-size: 16px;
}

.checkbox-group input[type="checkbox"] {
  accent-color: var(--accent);
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex-shrink: 0;
}

.field-error {
  font-size: 13px;
  color: var(--accent);
  margin-top: 6px;
  display: none;
}

.field-error.visible {
  display: block;
}

.form-group.has-error input,
.form-group.has-error textarea {
  border-color: var(--accent);
}

.form-config-warning {
  background: #FFF3CD;
  border: 1px solid #FFD54F;
  border-radius: 12px;
  padding: 16px;
  font-size: 14px;
  margin-bottom: 24px;
  display: none;
}

.form-config-warning.visible {
  display: block;
}

.form-success {
  text-align: center;
  padding: 48px 24px;
  display: none;
}

.form-success.visible {
  display: block;
}

.form-success h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.form-success p {
  font-size: 17px;
  color: var(--graphite);
}

.form-loading {
  opacity: 0.6;
  pointer-events: none;
}

/* ===== FAQ ===== */

.faq-list {
  max-width: 800px;
}

.faq-item {
  border-bottom: 1px solid var(--hairline);
}

.faq-item:first-child {
  border-top: 1px solid var(--hairline);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  text-align: left;
  color: var(--ink);
  gap: 16px;
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  position: relative;
  transition: transform 0.2s;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--ink);
}

.faq-icon::before {
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  transform: translateY(-50%);
}

.faq-icon::after {
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  transform: translateX(-50%);
  transition: transform 0.2s;
}

.faq-item[aria-expanded="true"] .faq-icon::after {
  transform: translateX(-50%) scaleY(0);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-inner {
  padding: 0 0 24px;
  font-size: 16px;
  color: var(--graphite);
  line-height: 1.6;
}

/* ===== Footer ===== */

.site-footer {
  border-top: 1px solid var(--hairline);
  padding: 64px 0;
}

.footer-logo {
  width: 200px;
  margin: 0 auto 24px;
}

.footer-tagline {
  text-align: center;
  font-size: 15px;
  color: var(--graphite);
  margin-bottom: 24px;
}

.footer-team {
  text-align: center;
  font-size: 14px;
  color: var(--graphite);
  margin-bottom: 12px;
}

.footer-meta {
  text-align: center;
  font-size: 13px;
  color: var(--graphite);
}

/* ===== Mobile Nav Overlay ===== */

.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--paper);
  z-index: 99;
  padding: 32px 24px;
  flex-direction: column;
  gap: 0;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a,
.mobile-nav .btn {
  display: block;
  padding: 16px 0;
  font-size: 20px;
  font-weight: 500;
  border-bottom: 1px solid var(--hairline);
}

.mobile-nav .btn {
  border-bottom: none;
  margin-top: 16px;
  text-align: center;
}

/* ===== Responsive ===== */

@media (max-width: 768px) {
  .section {
    padding: 72px 0;
  }

  .hero {
    padding: 64px 0 72px;
  }

  .hero-heading {
    font-size: 34px;
  }

  .hero-sub {
    font-size: 17px;
  }

  .section-heading {
    font-size: 28px;
  }

  .header-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .stat-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .stat-number {
    font-size: 36px;
  }

  .funnel-stages {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .funnel-stage {
    text-align: left;
    padding: 24px 0 24px 56px;
    border-bottom: 1px solid var(--hairline);
  }

  .funnel-stage:last-child {
    border-bottom: none;
  }

  .funnel-stage::after {
    display: none;
  }

  .stage-number {
    position: absolute;
    left: 0;
    top: 24px;
  }

  .record-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .dimension-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .dimension-name {
    min-width: auto;
  }

  .rubric-cards {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .benefit-blocks {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .rubric-cards {
    grid-template-columns: 1fr;
  }

  .assessment-meta {
    flex-direction: column;
    gap: 8px;
  }
}
