:root {
  --canvas: #f5efe0;
  --paper: #fcfaf4;
  --mist: #e8dfc9;
  --line: #d8cfb8;
  --ink: #1f1813;
  --ink-soft: #4a3e2e;
  --ink-muted: #766858;
  --ink-faint: #776957;
  --accent: #1f4d2e;
  --accent-hover: #163923;
  --accent-soft: #c8dccd;
  --accent-tint: #ebf1e9;

  /* Secondary accent — warm bronze for badges, hover-states, decorative bits */
  --accent-bronze: #9b5c30;
  --accent-bronze-hover: #7d4922;
  --accent-bronze-soft: #f0d9c4;
  --accent-bronze-tint: #f8ecde;
  --warn: #b45309;
  --error: #b91c1c;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Source Serif 4", "Iowan Old Style", "Apple Garamond", "Baskerville", "Times New Roman", serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --shadow-soft: 0 1px 2px rgb(31 24 19 / 0.05), 0 4px 12px rgb(31 24 19 / 0.05);
  --shadow-card: 0 1px 3px rgb(31 24 19 / 0.06), 0 8px 24px rgb(31 24 19 / 0.07);
  --container: 1100px;
  --container-narrow: 820px;
  --container-form: 680px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.005em;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--accent-soft); color: var(--accent); }

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: transparent; }
input, button { font-family: inherit; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.018em; line-height: 1.1; }
p { margin: 0; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: var(--container-narrow); }
.container-form { max-width: var(--container-form); }

.wordmark {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 19px;
  color: var(--ink);
  line-height: 1;
}

.logo-link { display: inline-flex; align-items: center; gap: 8px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(245, 239, 224, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.site-nav {
  display: none;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  color: var(--ink-soft);
}

.site-nav a { transition: color 150ms ease; }
.site-nav a:hover { color: var(--ink); }

@media (min-width: 768px) {
  .site-nav { display: flex; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.005em;
  transition: background 150ms ease, border-color 150ms ease, transform 100ms ease;
  white-space: nowrap;
}

.btn-primary { background: var(--accent); color: var(--paper); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary:active { transform: translateY(0.5px); }

.btn-secondary {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--ink-muted);
}

.btn-secondary:hover {
  border-color: var(--ink-soft);
  background: var(--mist);
}

.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn-block { width: 100%; }

.hero { position: relative; overflow: hidden; }

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgb(31 24 19 / 0.028) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(31 24 19 / 0.028) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 30%, black 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 60% 60% at 50% 30%, black 30%, transparent 80%);
  pointer-events: none;
  opacity: 0.6;
}

.hero .container {
  position: relative;
  padding-top: 80px;
  padding-bottom: 112px;
}

@media (min-width: 768px) {
  .hero .container { padding-top: 128px; padding-bottom: 144px; }
}

.hero-content { max-width: 760px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 32px;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

.hero-headline {
  font-size: 44px;
  line-height: 1.04;
  letter-spacing: -0.022em;
  color: var(--ink);
  margin-bottom: 28px;
}

@media (min-width: 768px) {
  .hero-headline { font-size: 64px; }
}

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

.hero-sub {
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 620px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .hero-sub { font-size: 21px; }
}

.hero-ctas { display: flex; flex-direction: column; gap: 12px; }

@media (min-width: 540px) {
  .hero-ctas { flex-direction: row; }
}

.hero-trust {
  margin-top: 64px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  font-size: 13px;
  color: var(--ink-faint);
}

.trust-item { display: inline-flex; align-items: center; gap: 8px; }

.check {
  display: inline-block;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 7.5L5.5 10L11 4' stroke='%231f4d2e' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.section { padding: 96px 0; border-top: 1px solid var(--line); }

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

.section-canvas { background: var(--canvas); }
.section-paper { background: var(--paper); }

.section-heading { max-width: 640px; margin-bottom: 64px; }
.section-heading-center { margin-left: auto; margin-right: auto; text-align: center; margin-bottom: 56px; }

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

.section-title {
  font-size: 34px;
  letter-spacing: -0.018em;
  color: var(--ink);
  line-height: 1.1;
}

@media (min-width: 768px) {
  .section-title { font-size: 44px; }
}

.section-sub {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 520px;
  margin: 20px auto 0;
}

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}

.step {
  background: var(--paper);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 768px) {
  .step { padding: 40px; }
}

.step-row { display: flex; align-items: center; justify-content: space-between; }

.step-number {
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.step-line { display: block; width: 32px; height: 1px; background: var(--line); }

.step-title { font-size: 22px; color: var(--ink); letter-spacing: -0.012em; }
.step-body { font-size: 15px; line-height: 1.6; color: var(--ink-soft); }

.audience-grid { display: grid; grid-template-columns: 1fr; gap: 48px; }

@media (min-width: 768px) {
  .audience-grid { grid-template-columns: 5fr 7fr; }
}

.audience-title {
  font-size: 34px;
  color: var(--ink);
  letter-spacing: -0.018em;
  line-height: 1.1;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .audience-title { font-size: 40px; }
}

.audience-sub { font-size: 17px; line-height: 1.6; color: var(--ink-soft); }

.point-list { display: flex; flex-direction: column; gap: 16px; }

.point-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
}

.check-circle {
  flex-shrink: 0;
  margin-top: 6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-tint);
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 7.5L5.5 10L11 4' stroke='%231f4d2e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.audience-points .btn { margin-top: 40px; }

.faq-list { display: flex; flex-direction: column; gap: 8px; }

.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  transition: background 150ms ease;
  position: relative;
}

@media (min-width: 768px) {
  .faq-item summary { font-size: 17px; }
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "";
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 4V14M4 9H14' stroke='%237a6b5a' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 200ms ease;
  flex-shrink: 0;
}

.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { background: var(--mist); }

.faq-item p {
  padding: 0 24px 24px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: -1px;
}

.waitlist-form {
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-row label, .form-label { font-size: 13px; font-weight: 500; color: var(--ink); }

.form-row input[type="email"], .form-row input[type="text"] {
  width: 100%;
  padding: 12px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 15px;
  color: var(--ink);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.form-row input::placeholder { color: var(--ink-faint); }

.form-row input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.radio-group { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.radio-tile { position: relative; cursor: pointer; }

.radio-tile input { position: absolute; opacity: 0; pointer-events: none; }

.radio-tile-content {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 15px;
  color: var(--ink-soft);
  transition: all 150ms ease;
  text-align: center;
}

.radio-tile input:checked + .radio-tile-content {
  border-color: var(--accent);
  background: var(--accent-tint);
  color: var(--ink);
  font-weight: 500;
}

.form-message { font-size: 13px; text-align: center; margin: 0; min-height: 1.4em; }
.form-message.error { color: var(--error); }
.form-fineprint { font-size: 12px; color: var(--ink-faint); text-align: center; margin: 0; }

.waitlist-success {
  border: 1px solid var(--accent-soft);
  background: var(--accent-tint);
  border-radius: 14px;
  padding: 40px 32px;
  text-align: center;
}

.success-mark {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.waitlist-success h3 { font-size: 20px; color: var(--ink); margin-bottom: 8px; }
.waitlist-success p { font-size: 15px; color: var(--ink-soft); }

.site-footer { background: var(--canvas); border-top: 1px solid var(--line); }
.site-footer .container { padding-top: 64px; padding-bottom: 32px; }

.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 5fr 2fr 2fr 3fr; }
}

.footer-tagline {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 360px;
}

.footer-links h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
  font-weight: 500;
  margin-bottom: 16px;
}

.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: var(--ink-soft); transition: color 150ms ease; }
.footer-links a:hover { color: var(--ink); }

.footer-bar {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: var(--ink-faint);
}

@media (min-width: 768px) {
  .footer-bar { flex-direction: row; align-items: center; }
}

.footer-bar p { margin: 0; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-up, .fade-up-1, .fade-up-2, .fade-up-3 {
  animation: fade-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.fade-up-1 { animation-delay: 0.1s; }
.fade-up-2 { animation-delay: 0.2s; }
.fade-up-3 { animation-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

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

/* ============================================================
   v2 additions — kohort-banner, vendor-strip, dual-steps,
   tier-grid, compliance-grid, final-cta, form-context
   ============================================================ */

.cohort-banner {
  background: var(--ink);
  color: var(--canvas);
  font-size: 13px;
  letter-spacing: 0.02em;
}

.cohort-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-top: 10px;
  padding-bottom: 10px;
  text-align: center;
}

.cohort-pulse {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5);
  animation: cohort-pulse 2s infinite;
  flex-shrink: 0;
}

@keyframes cohort-pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.cohort-text {
  font-weight: 400;
  color: rgba(245, 239, 224, 0.92);
}

/* Vendor strip — under hero */
.vendor-strip {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 32px 0;
}

.vendor-strip-label {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 18px;
  font-weight: 500;
}

.vendor-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.vendor-pill {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--canvas);
  letter-spacing: -0.005em;
}

/* Dual-flow steps */
.dual-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 900px) {
  .dual-steps { grid-template-columns: 1fr 1fr; gap: 24px; }
}

.dual-col {
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
}

@media (min-width: 768px) {
  .dual-col { padding: 40px; }
}

.dual-col-accent {
  background: var(--accent-tint);
  border-color: var(--accent-soft);
}

.dual-col-title {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
  font-weight: 600;
  margin-bottom: 24px;
}

.dual-col-accent .dual-col-title {
  color: var(--accent);
}

.ordered-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ordered-steps li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 16px;
  align-items: flex-start;
}

.ord-num {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.02em;
  margin-top: 2px;
}

.ordered-steps h4 {
  font-size: 17px;
  margin-bottom: 6px;
  color: var(--ink);
  letter-spacing: -0.012em;
}

.ordered-steps p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.section-sub-left {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 640px;
  margin-top: 16px;
}

/* Tier grid */
.section-tight { padding-top: 64px; padding-bottom: 64px; }

@media (min-width: 768px) {
  .section-tight { padding-top: 96px; padding-bottom: 96px; }
}

.tier-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .tier-grid { grid-template-columns: repeat(3, 1fr); }
}

.tier-card {
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tier-card-featured {
  border-color: var(--accent);
  background: var(--paper);
  box-shadow: var(--shadow-card);
  position: relative;
}

.tier-card-featured::before {
  content: "Most retainers";
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--accent);
  color: var(--paper);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}

.tier-tag {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 600;
  margin: 0;
}

.tier-name {
  font-size: 20px;
  letter-spacing: -0.012em;
  color: var(--ink);
}

.tier-detail {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.tier-divider {
  height: 1px;
  background: var(--line);
  margin: 4px 0;
}

.tier-price-hint {
  font-size: 13px;
  color: var(--ink-muted);
  font-style: italic;
}

/* Referral card */
.section-canvas-tinted {
  background: linear-gradient(180deg, var(--canvas) 0%, var(--accent-bronze-tint) 100%);
}

.referral-card {
  background: var(--paper);
  border: 1px solid var(--accent-soft);
  border-radius: 16px;
  padding: 48px 32px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

@media (min-width: 768px) {
  .referral-card { padding: 64px 48px; }
}

.referral-mark {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--accent-tint);
  display: flex;
  align-items: center;
  justify-content: center;
}

.referral-fineprint {
  margin-top: 24px;
  font-size: 13px;
  color: var(--ink-faint);
  font-style: italic;
}

/* Compliance grid */
.compliance-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .compliance-grid { grid-template-columns: repeat(2, 1fr); }
}

.compliance-card {
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.compliance-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.compliance-title {
  font-size: 18px;
  color: var(--ink);
  letter-spacing: -0.012em;
}

.compliance-body {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* Form context blocks */
.form-context {
  background: var(--mist);
  border-left: 3px solid var(--accent);
  padding: 14px 16px;
  border-radius: 0 8px 8px 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.form-context p { margin: 0; }
.form-context strong { color: var(--ink); font-weight: 600; }

.field-hint {
  font-size: 12.5px;
  color: var(--ink-muted);
  margin-top: -2px;
}

/* Final CTA band */
.final-cta {
  background: var(--ink);
  color: var(--canvas);
  padding: 64px 0;
  border-top: 1px solid var(--line);
}

@media (min-width: 768px) {
  .final-cta { padding: 96px 0; }
}

.final-cta-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

@media (min-width: 900px) {
  .final-cta-inner { grid-template-columns: 1fr auto; gap: 48px; }
}

.final-cta .section-title {
  color: var(--canvas);
  font-size: 32px;
}

@media (min-width: 768px) {
  .final-cta .section-title { font-size: 40px; }
}

.final-cta .section-sub {
  color: rgba(245, 239, 224, 0.72);
  margin-top: 12px;
  max-width: 520px;
  text-align: left;
  margin-left: 0;
}

.final-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 540px) {
  .final-cta-actions { flex-direction: row; }
}

.btn-ghost {
  background: transparent;
  color: var(--canvas);
  border: 1px solid rgba(245, 239, 224, 0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.005em;
  transition: border-color 150ms ease, background 150ms ease;
}

.btn-ghost:hover {
  border-color: rgba(245, 239, 224, 0.52);
  background: rgba(245, 239, 224, 0.06);
}

.final-cta .btn-primary {
  background: var(--canvas);
  color: var(--ink);
}

.final-cta .btn-primary:hover {
  background: var(--paper);
}

/* ============================================================
   LinkedIn-only consultant flow
   ============================================================ */

.btn-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  background: #0A66C2;
  color: #ffffff;
  border: 1px solid #0A66C2;
  transition: background 150ms ease, opacity 150ms ease;
  cursor: pointer;
  width: 100%;
}

.btn-linkedin:hover:not(:disabled) {
  background: #084482;
  border-color: #084482;
}

.btn-linkedin:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn-linkedin svg {
  flex-shrink: 0;
}

.linkedin-status {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-top: 4px;
  padding: 14px 16px;
  background: var(--mist);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.linkedin-status-tag {
  display: inline-block;
  align-self: flex-start;
  background: var(--ink);
  color: var(--canvas);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.linkedin-status-tag.linkedin-status-live {
  background: var(--accent, #1F4D2E);
  color: #fff;
  box-shadow: 0 0 0 3px rgba(31, 77, 46, 0.12);
}

.linkedin-status-tag.linkedin-status-live::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6EE7B7;
  margin-right: 6px;
  vertical-align: middle;
  animation: linkedin-live-pulse 1.8s ease-in-out infinite;
}

@keyframes linkedin-live-pulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.25); }
}

.form-context-emphasis {
  background: var(--accent-tint);
  border-left-color: var(--accent);
  border-left-width: 4px;
}

.form-context-emphasis strong {
  color: var(--accent);
}


/* ============================================================
   Visual richness — paper-grain, decorative dividers, hero composition
   ============================================================ */

body {
  background-color: var(--canvas);
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.12  0 0 0 0 0.09  0 0 0 0 0.07  0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.65'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 240px 240px;
}

/* Decorative section divider — used between hero and first section */
.section-divider {
  display: block;
  margin: 0 auto;
  height: 64px;
  position: relative;
}
.section-divider::before {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ink-faint), transparent);
}
.section-divider::after {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-bronze);
  box-shadow: 0 0 0 8px var(--canvas);
}

/* Hero — restructure into 2 columns at desktop with a visual on the right */
.hero-visual {
  display: none;
  width: 360px;
}

.hero-text {
  max-width: 760px;
}

@media (min-width: 1024px) {
  .hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 64px;
    align-items: center;
    max-width: none;
  }
  .hero-text { max-width: 700px; }
  .hero-visual { display: block; }
}

/* Cert-stack visualization */
.cert-stack {
  position: relative;
  width: 380px;
  height: 540px;
}

.cert-card {
  position: absolute;
  width: 240px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: var(--shadow-card);
  transition: transform 220ms ease;
}
.cert-card:hover { transform: translateY(-3px); }

.cert-card-1 { top: 0; left: 0; transform: rotate(-3deg); z-index: 4; }
.cert-card-2 { top: 110px; left: 130px; transform: rotate(1.5deg); z-index: 3; }
.cert-card-3 { top: 220px; left: 20px; transform: rotate(-2deg); z-index: 2; }
.cert-card-4 { top: 330px; left: 110px; transform: rotate(2.5deg); z-index: 1; }

.cert-card-1:hover { transform: translateY(-3px) rotate(-3deg); }
.cert-card-2:hover { transform: translateY(-3px) rotate(1.5deg); }
.cert-card-3:hover { transform: translateY(-3px) rotate(-2deg); }
.cert-card-4:hover { transform: translateY(-3px) rotate(2.5deg); }

.cert-card-vendor {
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-bronze);
  font-weight: 600;
  margin-bottom: 4px;
}
.cert-card-name {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.012em;
  line-height: 1.3;
  margin-bottom: 8px;
}
.cert-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--ink-muted);
}
.cert-verified-tick {
  display: inline-flex;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  align-items: center;
  justify-content: center;
}

/* Cert-stack CTA — index-tab till vendor-katalogen, motsatt rotation till card-4 */
.cert-stack-cta {
  position: absolute;
  top: 460px;
  left: 50px;
  width: 280px;
  padding: 18px 20px;
  background: var(--accent);
  color: var(--paper);
  border: 1px solid var(--accent-hover);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  text-decoration: none;
  transform: rotate(-1.5deg);
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
  z-index: 5;
  display: block;
}
.cert-stack-cta:hover,
.cert-stack-cta:focus-visible {
  transform: translateY(-4px) rotate(-1.5deg);
  background: var(--accent-hover);
  box-shadow: 0 16px 40px -10px rgba(31, 77, 46, 0.42);
  outline: none;
}
.cert-stack-cta-eyebrow {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-bronze-soft);
  font-weight: 600;
  margin: 0 0 6px;
}
.cert-stack-cta-title {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.25;
  color: var(--paper);
  margin: 0 0 8px;
}
.cert-stack-cta-meta {
  font-size: 12px;
  color: rgba(252, 250, 244, 0.78);
  margin: 0;
}

/* Cert tiers — give middle one bronze "Most retainers" badge instead of green */
.tier-card-featured::before {
  background: var(--accent-bronze) !important;
}

/* Audience-points: bronze tinted check circles for variety */
.point-list li:nth-child(odd) .check-circle {
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 7.5L5.5 10L11 4' stroke='%231f4d2e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
}

/* Hero eyebrow gets a small bronze decorative element */
.eyebrow-dot {
  background: var(--accent-bronze);
}


/* Headline scaling at larger viewports — prevents awkward 3-line wrap when cert-stack is visible */
@media (min-width: 1024px) and (max-width: 1399px) {
  .hero-headline { font-size: 50px; }
}
@media (min-width: 1400px) {
  .hero-headline { font-size: 60px; }
}

/* =======================================

/* =======================================
   How-it-works — Y-flowchart
   ======================================= */
.flow-y {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto auto auto auto auto auto auto;
  grid-template-areas:
    "lp     .      lc"
    "p1     .      c1"
    "p2     .      c2"
    ".      match  ."
    ".      vendor ."
    ".      live   ."
    "outp   .      outc"
    "br     br     br";
  gap: 28px 32px;
  max-width: 1080px;
  margin: 48px auto 56px;
  align-items: stretch;
}


.flow-label {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--ink-muted);
  margin: 0;
  text-align: center;
}
.flow-label-partner { grid-area: lp; }
.flow-label-consultant { grid-area: lc; }

.flow-node {
  position: relative;
  z-index: 1;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 1px 2px rgba(31,24,19,.04);
  display: flex;
  flex-direction: column;
}
.flow-node h4 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 4px 0 6px;
}
.flow-node p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0 0 10px;
  flex: 1;
}
.flow-node .node-step {
  display: inline-block;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
}
.flow-node .node-icon {
  font-size: 18px;
  line-height: 1;
  color: var(--paper);
  background: var(--accent);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.flow-node .node-time {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--accent);
  margin-top: auto;
}
.flow-node .node-time-warn {
  color: var(--accent-bronze);
}

.node-partner-1   { grid-area: p1; }
.node-partner-2   { grid-area: p2; }
.node-consultant-1 { grid-area: c1; }
.node-consultant-2 { grid-area: c2; }

.node-spine {
  margin: 0 24px;
}
.node-match  { grid-area: match; }
.node-vendor { grid-area: vendor; background: var(--accent-bronze-tint); border-color: var(--accent-bronze-soft); }
.node-vendor .node-icon { background: var(--accent-bronze); }
.node-activate {
  grid-area: live;
  background: var(--accent);
  border-color: var(--accent-hover);
  color: var(--paper);
}
.node-activate h4, .node-activate p, .node-activate .node-time { color: var(--paper); }
.node-activate p { color: rgba(252,250,244,.85); }
.node-activate .node-icon { background: var(--paper); color: var(--accent); }
.node-activate .node-time { color: var(--accent-bronze-soft); }

.node-output { background: var(--paper); border-color: var(--accent-soft); }
.node-output-partner    { grid-area: outp; }
.node-output-consultant { grid-area: outc; }
.node-output h4 { color: var(--accent); }

.flow-bridge {
  grid-area: br;
  margin-top: 8px;
  padding: 18px 22px;
  border: 1px dashed var(--ink-faint);
  border-radius: 12px;
  background: rgba(252,250,244,0.4);
  text-align: center;
}
.flow-bridge-tag {
  display: inline-block;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--ink-muted);
  margin-bottom: 6px;
}
.flow-bridge p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* Activation timeline */
.flow-timeline {
  list-style: none;
  padding: 0;
  margin: 56px auto 0;
  max-width: 1080px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  position: relative;
}
.flow-timeline::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--line) 12%, var(--line) 88%, transparent 100%);
  z-index: 0;
}
.flow-timeline li {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 4px;
}
.flow-timeline li::before {
  content: '';
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--accent-soft);
  margin-bottom: 16px;
}
.flow-timeline li.t-pivot::before {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(31,77,46,.14);
}
.flow-timeline .t-time {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--ink-muted);
  margin-bottom: 4px;
}
.flow-timeline .t-event {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.012em;
  margin-bottom: 4px;
}
.flow-timeline li.t-pivot .t-event { color: var(--accent); }
.flow-timeline .t-tag {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-muted);
}
.flow-timeline .t-tag-accent {
  color: var(--accent-bronze);
  font-weight: 600;
}

/* Mobile: collapse Y to vertical stack */
@media (max-width: 860px) {
  .flow-y {
    grid-template-columns: 1fr;
    grid-template-areas:
      "lp"
      "p1"
      "p2"
      "lc"
      "c1"
      "c2"
      "match"
      "vendor"
      "live"
      "outp"
      "outc"
      "br";
    gap: 16px;
    margin: 32px 0;
  }
    .node-spine { margin: 0; }
  .flow-label { text-align: left; margin-top: 8px; }
  .flow-timeline {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 32px;
  }
  .flow-timeline::before {
    top: 0; bottom: 0; left: 5px; right: auto;
    width: 1px; height: auto;
    background: linear-gradient(180deg, transparent 0%, var(--line) 8%, var(--line) 92%, transparent 100%);
  }
  .flow-timeline li {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 14px;
    padding: 0 0 0 16px;
  }
  .flow-timeline li::before {
    margin-bottom: 0;
    flex-shrink: 0;
    position: absolute;
    left: 0;
  }
}


/* Y-flow connector arrows (CSS pseudo-elements, robust across viewports) */
.flow-y .flow-node {
  position: relative;
}
/* Vertical down-arrow between stacked side nodes */
.node-partner-2::before,
.node-consultant-2::before {
  content: '';
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 1.5px;
  height: 14px;
  background: var(--ink-soft);
}
.node-partner-2::after,
.node-consultant-2::after {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 6px solid var(--ink-soft);
}

/* Spine arrows: match->vendor, vendor->live (live gets bronze emphasis since the manual step feeds into instant activation) */
.node-vendor::before,
.node-activate::before {
  content: '';
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 1.5px;
  height: 14px;
  background: var(--accent);
}
.node-vendor::after,
.node-activate::after {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 7px solid var(--accent);
}
/* The vendor->activate arrow is the celebration moment: bronze pour into green */
.node-activate::before { background: var(--accent-bronze); height: 18px; top: -10px; }
.node-activate::after  { border-top-color: var(--accent-bronze); border-left-width: 6px; border-right-width: 6px; border-top-width: 9px; top: -12px; }

/* Output Y-fork: arrows pointing UP from each output toward the activated retainer above */
.node-output::before {
  content: '';
  position: absolute;
  top: -24px;
  width: 1.5px;
  height: 16px;
  background: var(--accent);
}
.node-output-partner::before    { right: 30%; }
.node-output-consultant::before { left: 30%; }
.node-output::after {
  content: '';
  position: absolute;
  top: -10px;
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 7px solid var(--accent);
}
.node-output-partner::after    { right: calc(30% - 5px); }
.node-output-consultant::after { left:  calc(30% - 5px); }

/* Subtle diagonal hint from side col level-2 nodes toward the spine match-node:
   a small inward chevron on the inside edge of partner-2/consultant-2 */
.node-partner-2,
.node-consultant-2 {
  /* visually nudge them slightly toward center so the converge feels intentional */
}

/* Mobile: hide all connector arrows (collapsed flow speaks for itself) */
@media (max-width: 860px) {
  .node-partner-2::before, .node-partner-2::after,
  .node-consultant-2::before, .node-consultant-2::after,
  .node-vendor::before, .node-vendor::after,
  .node-activate::before, .node-activate::after,
  .node-output::before, .node-output::after { display: none; }
}

/* ===========================================
   Sign-in modal
   =========================================== */
.signin-overlay[hidden] { display: none !important; }
.signin-overlay {
  position: fixed;
  inset: 0;
  background: rgba(31, 24, 19, 0.45);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: signin-fade 180ms ease;
}
@keyframes signin-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.signin-modal {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  max-width: 480px;
  width: 100%;
  padding: 36px 32px 28px;
  box-shadow: 0 30px 80px -20px rgba(31, 24, 19, 0.45);
  animation: signin-pop 220ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes signin-pop {
  from { transform: scale(0.92) translateY(8px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.signin-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  background: var(--canvas);
  color: var(--ink-soft);
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 150ms ease, color 150ms ease;
}
.signin-close:hover { background: var(--ink); color: var(--paper); }
.signin-eyebrow {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 10px;
}
.signin-title {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: var(--ink);
}
.signin-sub {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 22px;
}
.signin-choices {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
}
.signin-choice {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto auto;
  grid-template-areas:
    'eyebrow arrow'
    'title arrow'
    'meta arrow';
  align-items: center;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--canvas);
  text-decoration: none;
  color: var(--ink);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}
.signin-choice:hover, .signin-choice:focus-visible {
  border-color: var(--accent);
  background: rgba(31, 77, 46, 0.04);
  transform: translateY(-1px);
  outline: none;
}
.signin-choice-partner:hover .signin-choice-arrow,
.signin-choice-partner:focus-visible .signin-choice-arrow { color: var(--accent); }
.signin-choice-consultant:hover .signin-choice-arrow,
.signin-choice-consultant:focus-visible .signin-choice-arrow { color: var(--accent); }
.signin-choice-eyebrow {
  grid-area: eyebrow;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--accent-bronze);
  margin-bottom: 4px;
}
.signin-choice-title {
  grid-area: title;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.012em;
  color: var(--ink);
}
.signin-choice-meta {
  grid-area: meta;
  font-size: 12.5px;
  color: var(--ink-muted);
  margin-top: 4px;
  line-height: 1.4;
}
.signin-choice-arrow {
  grid-area: arrow;
  font-size: 22px;
  color: var(--ink-faint);
  align-self: center;
  padding-left: 16px;
  transition: color 180ms ease, transform 180ms ease;
}
.signin-choice:hover .signin-choice-arrow { transform: translateX(3px); }
.signin-footer {
  font-size: 13px;
  color: var(--ink-muted);
  text-align: center;
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.signin-footer a { color: var(--accent); text-decoration: none; font-weight: 500; }
.signin-footer a:hover { text-decoration: underline; }

/* Make sure header sign-in button is always visible (not pushed off on mobile) */
@media (max-width: 640px) {
  .header-inner { flex-wrap: wrap; gap: 8px; }
  #signin-trigger { padding: 8px 14px; font-size: 13px; }
}

/* CTA-row for partner-section: Register + Sign in side-by-side */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.cta-row .btn { flex: 0 0 auto; }
@media (max-width: 480px) {
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { width: 100%; }
}


/* Outline button: more visible than ghost on cream backgrounds */
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn-outline:hover, .btn-outline:focus-visible {
  background: var(--accent);
  color: var(--paper);
  outline: none;
}
.btn-outline.btn-sm {
  padding: 7px 16px;
  font-size: 13px;
}

/* Header CTA-wrapper — keeps Sign in + Register tight together on right */
.header-cta {
  display: flex;
  align-items: center;
  gap: 8px;
}
@media (max-width: 640px) {
  .header-cta { gap: 6px; }
}

/* Partner registration: LinkedIn alternative on landing */
.partner-linkedin-option {
  margin-bottom: 24px;
}
.partner-linkedin-option .btn-linkedin {
  width: 100%;
  background: #0A66C2;
  color: #ffffff;
  border: 1px solid #0A66C2;
  font-weight: 500;
  padding: 13px 18px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-size: 14.5px;
  transition: background 150ms ease;
}
.partner-linkedin-option .btn-linkedin:hover {
  background: #084482;
}
.partner-linkedin-option .linkedin-hint {
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-muted);
  margin: 8px 0 18px;
}
.form-divider {
  position: relative;
  text-align: center;
  margin: 18px 0;
  color: var(--ink-muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.form-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  height: 1px;
  background: var(--line);
  z-index: 0;
}
.form-divider span {
  position: relative;
  background: var(--paper);
  padding: 0 12px;
  z-index: 1;
}

/* Skip-link — visible only when keyboard-focused (a11y best practice) */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 10000;
  background: var(--accent);
  color: var(--paper);
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(31, 24, 19, 0.3);
  transition: top 180ms ease;
}
.skip-link:focus,
.skip-link:focus-visible {
  top: 12px;
  outline: 2px solid var(--paper);
  outline-offset: 2px;
}
