:root {
  --ink: #1A1A1A;
  --muted: #5F6368;
  --line: #E8E8E6;
  --amber: #C97B2E;
  --paper: #FFFFFF;
  --dark: #14262B;
  --dark-text: #EDE6D8;
}

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

html {
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

body {
  font-family: 'Google Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

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

/* SCROLL SNAP CONTAINER */
.scroll-container {
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

.screen {
  min-height: 100vh;
  width: 100%;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 28px;
  position: relative;
}

/* SCREEN 1 — HERO, full-bleed, no nav */
.hero {
  background: url('lighthouse-real2.jpeg') center 25% / cover no-repeat;
  justify-content: space-between;
  padding-top: 90px;
  padding-bottom: 60px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,30,40,0.45) 0%, rgba(20,30,40,0.18) 22%, rgba(20,30,40,0.16) 55%, rgba(20,30,40,0.55) 100%);
}

.hero-top, .hero-bottom {
  position: relative;
  max-width: 620px;
}

.brand-title {
  color: #FFFFFF;
  font-size: clamp(48px, 15vw, 72px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 44px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
}

.hero-sub {
  color: #FFFFFF;
  font-size: clamp(16px, 4.4vw, 19px);
  font-weight: 500;
  line-height: 1.5;
  max-width: 420px;
  text-shadow: 0 1px 14px rgba(0,0,0,0.4);
}

.hero-bottom .beacon-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #F3C98A;
  margin-bottom: 10px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

.hero-beacon-copy {
  color: #FFFFFF;
  font-size: clamp(15px, 4vw, 17px);
  line-height: 1.5;
  max-width: 380px;
  margin-bottom: 16px;
  text-shadow: 0 1px 14px rgba(0,0,0,0.45);
}

.hero-link {
  display: inline-block;
  background: rgba(255,255,255,0.16);
  border: 1.5px solid rgba(255,255,255,0.55);
  backdrop-filter: blur(6px);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 24px;
}

/* SCREEN 2 & 3 — CONTENT PANELS */
.panel {
  background: linear-gradient(180deg, #3A4A60 0%, #4F4256 45%, #5E3F3C 75%, #613328 100%);
  justify-content: flex-start;
  padding-top: 40px;
}

.panel.dark {
  background: var(--dark);
  color: var(--dark-text);
  align-items: center;
  text-align: center;
}

.panel-content {
  max-width: 560px;
}

.beacon-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #FFE9C8;
  margin-bottom: 10px;
}

.beacon-label-big {
  display: block;
  font-size: clamp(28px, 8vw, 36px);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #FFFFFF;
  margin-bottom: 8px;
  text-shadow: 0 1px 14px rgba(20,20,30,0.3);
}

.panel-subtitle {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 26px;
}

.line {
  font-size: clamp(19px, 5vw, 24px);
  line-height: 1.5;
  font-weight: 600;
  margin-bottom: 26px;
  color: #FFFFFF;
  text-shadow: 0 1px 12px rgba(20,20,30,0.3);
}

.audit-block {
  margin-top: 56px;
}

.closing-line {
  margin-top: 48px;
  margin-bottom: 28px;
}

.audit-header {
  font-size: clamp(15px, 4vw, 17px);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #F3C98A;
  margin-bottom: 16px;
  text-shadow: 0 1px 10px rgba(20,20,30,0.35);
}

.list-line {
  font-weight: 500;
  line-height: 1.75;
}

.principle-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8FB3AD;
  margin-bottom: 20px;
}

.principle-text {
  font-size: clamp(26px, 8vw, 36px);
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.3;
  margin-bottom: 40px;
}

.cta {
  display: inline-block;
  background: var(--amber);
  color: #1A1200;
  font-weight: 700;
  padding: 15px 26px;
  border-radius: 8px;
  font-size: 15px;
}

/* SCREEN 3 — AUDIT FORM */
.audit-form-content {
  text-align: left;
  width: 100%;
}

.audit-headline {
  font-size: clamp(26px, 7vw, 34px);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}

.audit-supporting {
  font-size: clamp(15px, 4vw, 17px);
  line-height: 1.6;
  color: #C9D6D2;
  margin-bottom: 36px;
  max-width: 480px;
}

.audit-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8FB3AD;
  margin-bottom: 10px;
}

.audit-input {
  display: block;
  width: 100%;
  background: #0F211F;
  border: 1.5px solid #37564F;
  border-radius: 10px;
  padding: 16px 18px;
  font-size: 16px;
  color: #FFFFFF;
  margin-bottom: 8px;
  font-family: inherit;
  transition: border-color 0.15s ease;
}

.audit-input::placeholder {
  color: #5F8783;
}

.audit-input:focus-visible {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(201, 123, 46, 0.25);
}

.audit-input-error {
  border-color: #E4877E;
}

.audit-error {
  font-size: 13px;
  color: #F3A99B;
  margin-bottom: 16px;
}

.audit-cta {
  display: block;
  width: 100%;
  background: var(--amber);
  color: #1A1200;
  font-weight: 800;
  font-size: 16px;
  padding: 17px 24px;
  border-radius: 10px;
  border: none;
  margin-top: 20px;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.1s ease, background 0.15s ease;
}

.audit-cta:hover {
  background: #DB8A38;
}

.audit-cta:active {
  transform: scale(0.98);
}

.audit-cta:focus-visible {
  outline: 3px solid rgba(201, 123, 46, 0.5);
  outline-offset: 3px;
}

.audit-microcopy {
  font-size: 13px;
  color: #6E8B86;
  text-align: center;
  margin-top: 16px;
}

.audit-step-hidden {
  text-align: center;
}

.audit-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid #37564F;
  border-top-color: var(--amber);
  border-radius: 50%;
  margin: 0 auto 24px;
  animation: audit-spin 0.8s linear infinite;
}

@keyframes audit-spin {
  to { transform: rotate(360deg); }
}

.audit-loading-text {
  font-size: 16px;
  color: #C9D6D2;
  line-height: 1.6;
  max-width: 340px;
  margin: 0 auto;
}

#audit-step-done .audit-headline,
#audit-step-done .audit-supporting {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

#submitted-url {
  color: var(--amber);
  font-weight: 700;
}

/* FOOTER — only on screen 3 */
.screen-footer {
  position: absolute;
  bottom: 24px;
  left: 28px;
  right: 28px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #8FB3AD;
}
