/* RegAIDossierIQ — public site (aligned with app theme) */
:root {
  --bg: #0c1115;
  --bg2: #121921;
  --bg3: #18222b;
  --border: #2a3a46;
  --amber: #c8a84b;
  --amber-dim: rgba(200, 168, 75, 0.15);
  --green: #3ecf8e;
  --text: #f0f5f8;
  --text2: #c1ced8;
  --text3: #93a8b7;
  --mono: "IBM Plex Mono", monospace;
  --serif: "Fraunces", serif;
  --sans: "DM Sans", sans-serif;
  --max: 1100px;
  --radius: 8px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
}

a {
  color: var(--amber);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

/* ----- layout ----- */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12, 17, 21, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: -0.02em;
}

.brand-tag {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text3);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-desktop a {
  font-size: 0.9rem;
  color: var(--text2);
  text-decoration: none;
  font-weight: 500;
}
.nav-desktop a:hover,
.nav-desktop a[aria-current="page"] {
  color: var(--amber);
  text-decoration: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.btn-primary {
  background: var(--amber-dim);
  border-color: rgba(200, 168, 75, 0.45);
  color: var(--amber);
}
.btn-primary:hover {
  background: rgba(200, 168, 75, 0.22);
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text2);
}
.btn-ghost:hover {
  border-color: var(--amber);
  color: var(--amber);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 0.75rem;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 12px 24px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
}
.mobile-nav a {
  padding: 12px 0;
  color: var(--text2);
  border-top: 1px solid var(--border);
  text-decoration: none;
  font-weight: 500;
}
.mobile-nav a:first-child {
  border-top: none;
}
.mobile-nav a:hover {
  color: var(--amber);
}

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

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
}

/* ----- hero ----- */
.hero {
  padding: 56px 0 72px;
  background: radial-gradient(ellipse 80% 50% at 50% -20%, var(--amber-dim), transparent);
  border-bottom: 1px solid var(--border);
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 44%);
  gap: 40px 48px;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }
}

.hero-visual {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg2);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 2.85rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 28ch;
  margin-bottom: 20px;
}

.hero-kicker {
  font-size: 0.95rem;
  color: var(--text3);
  font-style: italic;
  margin-bottom: 20px;
  max-width: 52ch;
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--text2);
  max-width: 52ch;
  margin-bottom: 32px;
}

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

.hero-note {
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text3);
}

/* ----- imagery ----- */
.card-visual {
  margin: -8px -8px 16px -8px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg);
}

.card-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.split-media {
  margin-top: 28px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg3);
}

.split-media img {
  display: block;
  width: 100%;
  height: auto;
}

.page-hero-row {
  display: grid;
  grid-template-columns: 1fr minmax(200px, 38%);
  gap: 32px 40px;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 768px) {
  .page-hero-row {
    grid-template-columns: 1fr;
  }
}

.page-hero-visual {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg2);
}

.page-hero-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 42%);
  gap: 40px 48px;
  align-items: start;
}

@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

.contact-aside {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg2);
}

.contact-aside img {
  display: block;
  width: 100%;
  height: auto;
}

.content-figure {
  margin: 0 0 32px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg2);
}

.content-figure img {
  display: block;
  width: 100%;
  height: auto;
}

/* ----- sections ----- */
section.block {
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}

section.block.alt {
  background: var(--bg2);
}

.block h2 {
  font-family: var(--serif);
  font-size: clamp(1.65rem, 3vw, 2rem);
  margin-bottom: 12px;
}

.block .intro {
  color: var(--text2);
  max-width: 60ch;
  margin-bottom: 40px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--text);
}

.card p {
  font-size: 0.95rem;
  color: var(--text2);
}

.card .icon {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
}

/* ----- list / bullets ----- */
.checklist {
  list-style: none;
  max-width: 56ch;
}

.checklist li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--text2);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  opacity: 0.85;
}

.checklist.checklist-ticks li::before {
  content: "✓";
  width: auto;
  height: auto;
  top: 0.1em;
  background: none;
  color: var(--green);
  font-size: 0.85rem;
  opacity: 1;
}

.callout {
  font-size: 1.05rem;
  color: var(--text);
  margin: 20px 0;
  padding-left: 16px;
  border-left: 3px solid var(--amber);
}

.step-flow {
  margin-top: 8px;
}

.step-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px 24px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

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

.step-badge {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--amber-dim);
  border: 1px solid rgba(200, 168, 75, 0.45);
  color: var(--amber);
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-row h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--text);
}

.step-row p,
.step-row ul {
  color: var(--text2);
  font-size: 0.95rem;
}

.step-row ul {
  margin-top: 10px;
  padding-left: 1.2em;
}

.step-row li {
  margin-bottom: 6px;
}

.positioning-quote {
  max-width: 42ch;
  margin: 0 auto;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.8vw, 1.65rem);
  font-style: italic;
  font-weight: 600;
  color: var(--amber);
  line-height: 1.35;
}

.block .subhead {
  font-size: 1rem;
  color: var(--text2);
  font-weight: 600;
  margin: 24px 0 12px;
}

/* ----- CTA strip ----- */
.cta-strip {
  padding: 56px 0;
  text-align: center;
  background: linear-gradient(180deg, var(--bg2), var(--bg));
}

.cta-strip h2 {
  font-family: var(--serif);
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.cta-strip p {
  color: var(--text2);
  margin-bottom: 24px;
}

/* ----- footer ----- */
.site-footer {
  padding: 40px 24px;
  border-top: 1px solid var(--border);
  background: var(--bg2);
}

.site-footer .inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}

.site-footer .legal {
  font-size: 0.85rem;
  color: var(--text3);
}

.site-footer nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.site-footer nav a {
  font-size: 0.85rem;
  color: var(--text2);
}

/* ----- inner pages ----- */
.page-hero {
  padding: 48px 0 40px;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-bottom: 12px;
}

.page-hero p {
  color: var(--text2);
  max-width: 60ch;
}

.content {
  padding: 40px 0 72px;
}

.content h2 {
  font-family: var(--serif);
  font-size: 1.35rem;
  margin: 32px 0 12px;
}
.content h2:first-child {
  margin-top: 0;
}

.content p {
  color: var(--text2);
  margin-bottom: 16px;
  max-width: 65ch;
}

/* ----- form ----- */
.form-grid {
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-grid label {
  display: block;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 6px;
}

.form-grid input,
.form-grid textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
}

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

.form-grid textarea {
  min-height: 140px;
  resize: vertical;
}

.form-hint {
  font-size: 0.85rem;
  color: var(--text3);
}
