/* Relay → Lumi AI — plain CSS port of UX Pilot saas-product tokens */

:root {
  --ink: #202020;
  --carbon: #2a2a2a;
  --slate: #646464;
  --ash: #838383;
  --fog: #b3b3b3;
  --canvas: #ffffff;
  --card: #f8f9fa;
  --panel: #111111;
  --band: #e9ebf0;
  --brand: #6647f0;
  --title: #090c1d;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --green-50: #f0fdf4;
  --green-100: #dcfce7;
  --green-500: #22c55e;
  --green-600: #16a34a;
  --green-700: #15803d;
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-500: #f59e0b;
  --amber-700: #b45309;
  --red-50: #fef2f2;
  --red-100: #fee2e2;
  --red-200: #fecaca;
  --red-500: #ef4444;
  --red-700: #b91c1c;
  --radius-tag: 9999px;
  --radius-card: 12px;
  --radius-lgcard: 20px;
  --radius-img: 16px;
  --radius-input: 9px;
  --shadow-soft: rgba(0, 0, 0, 0.04) 0px 0px 0px 1px, rgba(0, 0, 0, 0.06) 0px 2px 4px;
  --shadow-raised: rgba(0, 0, 0, 0.06) 0px 0px 0px 1px, rgba(0, 0, 0, 0.10) 0px 8px 24px;
  --site: 1200px;
  --font-sans: "Inter", system-ui, sans-serif;
  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-mono: "Sometype Mono", ui-monospace, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

h1,
h2,
h3,
h4,
.display {
  font-family: var(--font-display);
  letter-spacing: -0.04em;
  margin: 0;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wrap {
  width: 100%;
  max-width: var(--site);
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.mono-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--radius-tag);
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.btn-primary {
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 2rem;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-secondary {
  background: transparent;
  border-color: var(--gray-200);
  color: var(--gray-700);
  padding: 0.75rem 2rem;
}

.btn-secondary:hover {
  border-color: var(--carbon);
  color: var(--carbon);
}

.btn-ghost-dark {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 0.75rem 2rem;
}

.btn-ghost-dark:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-light {
  background: #fff;
  color: var(--ink);
  padding: 0.75rem 2rem;
}

.btn-block {
  width: 100%;
  padding: 0.75rem 1rem;
}

@media (prefers-reduced-motion: reduce) {
  .btn-primary:hover {
    transform: none;
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  border-bottom: 1px solid var(--gray-100);
}

.header-inner {
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 2rem;
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.04em;
  color: var(--title);
}

.brand-name em {
  font-style: normal;
  font-weight: 700;
  color: var(--brand);
  font-size: 0.95em;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-500);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.nav-link:hover {
  color: #000;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-actions .link-quiet {
  display: none;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-500);
}

.header-actions .link-quiet:hover {
  color: #000;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  color: var(--gray-500);
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: currentColor;
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

#mobile-menu {
  display: none;
  border-top: 1px solid var(--gray-100);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, opacity 0.2s ease;
}

#mobile-menu.open {
  max-height: 480px;
  opacity: 1;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 1rem 1.5rem 1.25rem;
  gap: 0.25rem;
}

.mobile-nav a {
  padding: 0.5rem 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
}

.mobile-nav-extra {
  border-top: 1px solid var(--gray-100);
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .header-actions .link-quiet {
    display: inline-block;
  }
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  #mobile-menu {
    display: none !important;
  }
}

@media (max-width: 767px) {
  #mobile-menu {
    display: block;
  }
}

/* Hero */
.hero {
  padding: 4rem 0 5rem;
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  color: var(--gray-500);
}

.hero h1 {
  font-size: clamp(2.5rem, 8vw, 3.75rem);
  line-height: 1.05;
  font-weight: 700;
  color: var(--title);
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--gray-500);
  max-width: 28rem;
}

.hero-checks {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero-checks li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--gray-700);
}

.hero-checks .check {
  color: var(--brand);
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.5rem;
}

.hero-tags .mono-tag {
  color: var(--gray-400);
}

/* Product mockup */
.product-shell {
  position: relative;
}

.product-card {
  background: var(--card);
  border: 1px solid var(--fog);
  border-radius: var(--radius-lgcard);
  box-shadow: var(--shadow-raised);
  overflow: hidden;
}

.product-head {
  border-bottom: 1px solid var(--fog);
  padding: 0 1rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.product-head-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.product-dot {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  background: var(--gray-200);
  flex-shrink: 0;
}

.product-title {
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-avatars {
  display: flex;
  align-items: center;
}

.product-avatars span {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  border: 2px solid #fff;
  background: linear-gradient(135deg, var(--band), #d8dbe2);
}

.product-avatars span + span {
  margin-left: -0.5rem;
  background: var(--gray-200);
}

.product-body {
  display: flex;
  min-height: 420px;
}

.product-rail {
  width: 3.5rem;
  border-right: 1px solid var(--fog);
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.rail-btn {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 0.75rem;
}

.rail-btn.active {
  background: rgba(102, 71, 240, 0.1);
  color: var(--brand);
}

.product-main {
  flex: 1;
  min-width: 0;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.chat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  border: 1px solid var(--fog);
  background: #fff;
  border-radius: var(--radius-tag);
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gray-600);
  cursor: pointer;
}

.chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.chat-stream {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 260px;
}

.msg {
  max-width: 92%;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-card);
  font-size: 0.875rem;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}

.msg-user {
  align-self: flex-end;
  background: #fff;
  border: 1px solid var(--fog);
  color: var(--gray-800);
}

.msg-ai {
  align-self: flex-start;
  background: rgba(102, 71, 240, 0.08);
  border: 1px solid rgba(102, 71, 240, 0.18);
  color: var(--ink);
  min-height: 2.5rem;
}

.typing {
  display: none;
  gap: 0.3rem;
  padding: 0.2rem 0;
}

.typing.show {
  display: inline-flex;
}

.typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  opacity: 0.45;
  animation: blink 1s infinite ease-in-out;
}

.typing i:nth-child(2) {
  animation-delay: 0.15s;
}

.typing i:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes blink {
  0%,
  80%,
  100% {
    opacity: 0.3;
    transform: translateY(0);
  }
  40% {
    opacity: 1;
    transform: translateY(-2px);
  }
}

.caret::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 0.95em;
  margin-left: 2px;
  background: var(--brand);
  vertical-align: -0.1em;
  animation: caret 0.9s step-end infinite;
}

@keyframes caret {
  50% {
    opacity: 0;
  }
}

.chat-composer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border: 1px solid var(--fog);
  background: #fff;
  border-radius: var(--radius-input);
  padding: 0.65rem 0.85rem;
  color: var(--gray-400);
  font-size: 0.8125rem;
}

.chat-composer .send {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 9999px;
  background: var(--ink);
  position: relative;
  flex-shrink: 0;
}

.chat-composer .send::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 4px 0 4px 7px;
  border-color: transparent transparent transparent #fff;
  transform: translateX(1px);
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero h1 {
    font-size: 80px;
  }
}

/* Proof strip */
.proof {
  padding: 3rem 0;
  background: var(--band);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.proof-grid {
  display: grid;
  gap: 2rem;
}

.proof-stat {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--title);
  letter-spacing: -0.04em;
  margin-bottom: 0.5rem;
}

.proof-desc {
  font-size: 0.875rem;
  color: var(--gray-600);
}

.proof-quote {
  font-size: 0.875rem;
  color: var(--gray-800);
  font-style: italic;
  margin-bottom: 0.5rem;
}

.proof-cite {
  font-size: 0.75rem;
  color: var(--gray-500);
}

.proof-logos-label {
  color: var(--gray-400);
  margin-bottom: 0.75rem;
}

.proof-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  opacity: 0.6;
  filter: grayscale(1);
}

.proof-logos span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.04em;
}

@media (min-width: 768px) {
  .proof-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Features / narratives */
.features {
  padding: 5rem 0;
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.narrative {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.narrative-copy h2 {
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--title);
  margin-bottom: 1rem;
}

.narrative-copy p {
  color: var(--gray-500);
}

.feature-panel {
  background: var(--card);
  border: 1px solid var(--fog);
  border-radius: var(--radius-lgcard);
  box-shadow: var(--shadow-soft);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-panel-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--gray-400);
}

.feature-panel img {
  width: 100%;
  border-radius: var(--radius-img);
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 0.5rem;
  background: #fff;
  border: 1px solid var(--fog);
  font-size: 0.875rem;
}

.flow-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: var(--gray-200);
  flex-shrink: 0;
}

.flow-arrow {
  text-align: center;
  color: #d1d5db;
  font-size: 0.875rem;
}

.band-card {
  background: var(--card);
  border: 1px solid var(--fog);
  border-radius: var(--radius-lgcard);
  box-shadow: var(--shadow-soft);
  padding: 2rem;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.band-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.band-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 0.5rem;
  background: #fff;
  border: 1px solid var(--fog);
  font-size: 0.875rem;
}

.band-item .ico {
  width: 1.25rem;
  text-align: center;
  color: #d1d5db;
  flex-shrink: 0;
}

.band-item .ico.warn {
  color: var(--amber-500);
}

@media (min-width: 768px) {
  .narrative {
    grid-template-columns: 1fr 1fr;
  }

  .narrative.reverse .narrative-visual {
    order: 2;
  }

  .narrative.reverse .narrative-copy {
    order: 1;
  }

  .band-card {
    grid-template-columns: 1fr 1fr;
  }
}

/* How it works */
.how {
  padding: 5rem 0;
  background: var(--panel);
  color: #fff;
}

.how-head {
  text-align: center;
  margin-bottom: 3rem;
}

.how-head h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  margin-bottom: 1rem;
}

.how-head p {
  color: var(--gray-400);
  max-width: 42rem;
  margin: 0 auto;
}

.tabs {
  display: flex;
  justify-content: center;
  gap: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 2.5rem;
  overflow-x: auto;
}

.tab-btn {
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 0 0 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-400);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.tab-btn:hover {
  color: #fff;
}

.tab-btn.active {
  border-bottom-color: #fff;
  color: #fff;
}

.how-card {
  background: var(--card);
  color: var(--gray-900);
  border-radius: var(--radius-lgcard);
  box-shadow: var(--shadow-raised);
  padding: 2rem;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: fadeInUp 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tab-panel.active {
    animation: none;
  }
}

.how-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.how-copy h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.how-copy > p {
  color: var(--gray-500);
  margin-bottom: 1rem;
}

.how-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--gray-600);
}

.how-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.how-list .check {
  color: var(--brand);
}

.how-demo {
  background: #fff;
  border: 1px solid var(--fog);
  border-radius: var(--radius-card);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.how-demo-img {
  border-radius: var(--radius-input);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
}

.band-shot {
  padding: 0;
  overflow: hidden;
  margin-bottom: 1rem;
}

.band-shot img {
  border-radius: 0;
  aspect-ratio: 16 / 9;
}

.how-demo-label {
  font-size: 0.75rem;
  color: var(--gray-400);
  margin-bottom: 0.25rem;
}

.how-demo input,
.how-demo select {
  width: 100%;
  border: 1px solid var(--fog);
  border-radius: var(--radius-input);
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  background: #fff;
}

.how-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.875rem;
}

.how-row .label {
  flex: 1;
  font-size: 0.75rem;
  color: var(--gray-400);
}

.how-row .value {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mini-ava {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--band), #d8dbe2);
}

@media (min-width: 768px) {
  .how-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Objections */
.objections {
  padding: 5rem 0;
}

.objections h2 {
  font-size: 2.25rem;
  font-weight: 600;
  text-align: center;
  color: var(--title);
  margin-bottom: 3rem;
}

.obj-grid {
  display: grid;
  gap: 1.5rem;
}

.obj-card {
  border: 1px solid var(--fog);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.obj-card h3 {
  font-size: 1rem;
  font-weight: 600;
}

.obj-card p {
  font-size: 0.875rem;
  color: var(--gray-500);
}

@media (min-width: 768px) {
  .obj-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* FAQ */
.faq {
  padding: 4rem 0;
  border-top: 1px solid var(--gray-100);
}

.faq-inner {
  max-width: 48rem;
  margin: 0 auto;
}

.faq h2 {
  font-size: 1.875rem;
  font-weight: 600;
  color: var(--title);
  margin-bottom: 2rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-item {
  border: 1px solid var(--fog);
  border-radius: var(--radius-card);
}

.accordion-item button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  text-align: left;
  background: none;
  border: 0;
  cursor: pointer;
  font-weight: 500;
}

.accordion-icon {
  transition: transform 0.2s ease;
  color: var(--gray-500);
  flex-shrink: 0;
}

.accordion-content {
  transition: max-height 0.3s ease-out;
  max-height: 0;
  overflow: hidden;
}

.accordion-content p {
  padding: 0 1rem 1rem;
  font-size: 0.875rem;
  color: var(--gray-500);
}

.accordion-item.active .accordion-content {
  max-height: 300px;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

/* CTA */
.cta {
  padding: 6rem 0;
  background: var(--ink);
  color: #fff;
  text-align: center;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.cta h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
}

.cta > .cta-inner > p,
.cta-lead {
  color: var(--gray-400);
  max-width: 42rem;
  font-size: 1.125rem;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  width: 100%;
  max-width: 28rem;
}

.cta-note {
  font-size: 0.75rem;
  color: var(--gray-500);
}

@media (min-width: 640px) {
  .cta-actions {
    flex-direction: row;
    max-width: none;
    width: auto;
  }
}

/* Access form */
.access {
  padding: 5rem 0;
}

.access-card {
  max-width: 36rem;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--fog);
  border-radius: var(--radius-lgcard);
  box-shadow: var(--shadow-soft);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.access-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--title);
}

.access-card > p {
  font-size: 0.875rem;
  color: var(--gray-500);
}

.form-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.field input,
.field select {
  width: 100%;
  border: 1px solid var(--fog);
  border-radius: var(--radius-input);
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  background: #fff;
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--brand);
}

.success {
  margin-top: 0.5rem;
  border: 1px solid var(--fog);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  text-align: center;
  background: rgba(240, 253, 244, 0.5);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

.success-ico {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background: var(--green-100);
  color: var(--green-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.success p {
  font-size: 0.875rem;
  color: var(--gray-500);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--gray-100);
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--gray-400);
}

.footer-col h4 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col a {
  font-size: 0.875rem;
  color: var(--gray-500);
}

.footer-col a:hover {
  color: #000;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-100);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: var(--gray-400);
}

.footer-social {
  display: flex;
  gap: 1rem;
  color: var(--gray-400);
}

.footer-social a:hover {
  color: #000;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: row;
  }
}

/* Icons (inline SVG helpers) */
.ico-svg {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -0.125em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
