/* Sdezaina — base styles */

:root {
  --bg-deep: #06080c;
  --bg: #0c0f14;
  --bg-elevated: #12171f;
  --fg: #eceff6;
  --fg-muted: #aab6cc;
  --accent: #2dd4bf;
  --accent-2: #38bdf8;
  --accent-dim: rgba(45, 212, 191, 0.15);
  --border: rgba(255, 255, 255, 0.08);
  --glass: rgba(18, 23, 32, 0.55);
  --radius: 18px;
  --radius-sm: 12px;
  /* Serif for long reading (“de pal”), sans for titles & UI */
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --font-display: var(--font-sans);
  --font-body: var(--font-serif);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --header-h: 72px;
  --max: 1120px;
  --narrow: 740px;
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1.02rem, 2.8vw, 1.125rem);
  line-height: 1.74;
  color: var(--fg);
  font-optical-sizing: auto;
  background-color: var(--bg-deep);
  background-image:
    radial-gradient(ellipse 900px 500px at 80% -10%, rgba(56, 189, 248, 0.12), transparent 55%),
    radial-gradient(ellipse 700px 450px at 0% 100%, rgba(45, 212, 191, 0.1), transparent 50%),
    linear-gradient(180deg, var(--bg-deep), var(--bg) 40%, #0a0c10);
  min-height: 100vh;
}

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

a {
  color: var(--accent-2);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 1000;
  padding: 12px 18px;
  background: var(--accent);
  color: #042f2e;
  font-family: var(--font-sans);
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: min(100% - clamp(20px, 5vw, 40px), var(--max));
  margin-inline: auto;
}

.container.narrow {
  width: min(100% - clamp(20px, 5vw, 40px), var(--narrow));
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(6, 8, 12, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(100% - clamp(18px, 4vw, 32px), var(--max));
  margin-inline: auto;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--fg);
  text-decoration: none;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.brand:hover {
  color: var(--fg);
}

.brand-mark {
  display: flex;
  filter: drop-shadow(0 0 12px rgba(45, 212, 191, 0.35));
}

.brand-svg {
  display: block;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--glass);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  background: var(--fg);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

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

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  color: var(--fg-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  font-family: var(--font-sans);
}

.nav-list a:hover {
  color: var(--fg);
}

.nav-cta {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(45, 212, 191, 0.45);
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.12), rgba(56, 189, 248, 0.08));
  color: var(--fg) !important;
}

.nav-cta:hover {
  border-color: var(--accent);
  color: var(--accent) !important;
}

.lang-switch {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
}

.lang-btn {
  font: inherit;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 8px 12px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--fg-muted);
  cursor: pointer;
}

.lang-btn:hover {
  color: var(--fg);
}

.lang-btn.is-active {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #042f2e;
}

@media (max-width: 959px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 20px;
    background: rgba(6, 8, 12, 0.96);
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.28s ease, opacity 0.28s ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding-bottom: 16px;
  }

  .nav-list a {
    display: block;
    padding: 12px 0;
    font-size: 1.1rem;
  }

  .lang-switch {
    align-self: flex-start;
  }
}

/* Sections */
.section {
  padding: clamp(48px, 9vw, 120px) 0;
  position: relative;
}

.section-alt {
  background: rgba(255, 255, 255, 0.02);
}

.diagonal-bg {
  position: relative;
  overflow: hidden;
}

.diagonal-bg::before {
  content: "";
  position: absolute;
  inset: -20% -10%;
  background: linear-gradient(
    155deg,
    transparent 40%,
    rgba(56, 189, 248, 0.04) 45%,
    transparent 55%
  );
  pointer-events: none;
}

.section-title {
  font-family: var(--font-sans);
  font-size: clamp(1.6rem, 4.2vw, 2.55rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
  line-height: 1.14;
}

.section-intro {
  margin: 0 0 clamp(28px, 5vw, 40px);
  color: var(--fg-muted);
  font-size: clamp(1rem, 2.4vw, 1.125rem);
  max-width: min(62ch, 100%);
}

.section-cta {
  margin-top: 40px;
  text-align: center;
}

.lead {
  font-size: clamp(1.05rem, 2.8vw, 1.22rem);
  color: var(--fg-muted);
  line-height: 1.76;
}

.strong-line {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.25rem;
  margin-top: 28px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Hero */
.hero {
  padding-top: clamp(48px, 8vw, 88px);
  padding-bottom: clamp(72px, 12vw, 120px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: start;
}

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

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 16px;
}

.hero-title {
  font-family: var(--font-sans);
  font-size: clamp(1.95rem, 5.8vw, 3.35rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.028em;
  margin: 0 0 20px;
}

.hero-sub {
  margin: 0 0 20px;
  color: var(--fg-muted);
  font-size: clamp(1.06rem, 2.9vw, 1.22rem);
  max-width: min(54ch, 100%);
  line-height: 1.74;
}

.hero-quote {
  margin: 0 0 28px;
  font-style: italic;
  font-weight: 500;
  color: var(--fg);
  border-left: 3px solid var(--accent);
  padding-left: 16px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.hero-badge {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  color: var(--fg-muted);
  margin: 0;
  line-height: 1.55;
}

.hero-panel {
  padding: clamp(20px, 4vw, 28px);
  border-radius: var(--radius);
}

.panel-label {
  font-family: var(--font-sans);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin: 0 0 16px;
}

.panel-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--fg-muted);
}

.panel-list li {
  margin-bottom: 12px;
}

.panel-list li:last-child {
  margin-bottom: 0;
}

/* Glass */
.glass {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px clamp(18px, 4vw, 24px);
  font-family: var(--font-sans);
  font-size: clamp(0.9rem, 2.5vw, 0.975rem);
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #14b8a6);
  color: #022c22;
  box-shadow: 0 12px 40px rgba(45, 212, 191, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 16px 48px rgba(45, 212, 191, 0.35);
  color: #022c22;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border);
  color: var(--fg);
}

.btn-ghost:hover {
  border-color: rgba(45, 212, 191, 0.5);
  color: var(--accent);
}

.btn-sm {
  padding: 10px 16px;
  font-size: 0.9rem;
}

/* SaaS vs SaS — editorial pairs (no horizontal scroll) */
.compare-section-lead {
  max-width: min(54ch, 100%);
}

.compare-board {
  padding: clamp(18px, 3.5vw, 26px);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.compare-rows {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.compare-pair {
  margin: 0;
  padding: 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(8, 10, 15, 0.55);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.compare-side {
  padding: clamp(16px, 3.8vw, 22px);
  min-width: 0;
}

.compare-side-saas {
  background: rgba(255, 255, 255, 0.02);
  border-left: 3px solid rgba(148, 163, 184, 0.4);
}

.compare-side-sas {
  background: linear-gradient(
    165deg,
    rgba(45, 212, 191, 0.07),
    rgba(56, 189, 248, 0.04)
  );
  border-left: 3px solid var(--accent);
}

.compare-mini {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--fg-muted);
}

.compare-side-sas .compare-mini {
  color: var(--accent);
}

.compare-text {
  margin: 0;
  font-size: clamp(0.985rem, 2.8vw, 1.065rem);
  line-height: 1.72;
}

.compare-bridge {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px;
  border-top: 1px dashed var(--border);
  border-bottom: 1px dashed var(--border);
  background: rgba(0, 0, 0, 0.15);
}

.compare-bridge-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 12px rgba(45, 212, 191, 0.35);
}

@media (min-width: 680px) {
  .compare-pair {
    grid-template-columns: minmax(0, 1fr) minmax(28px, 40px) minmax(0, 1fr);
    align-items: stretch;
    border-radius: var(--radius);
    gap: 0;
    border: 1px solid var(--border);
  }

  .compare-side-saas {
    border-left: none;
    border-inline-start: 3px solid rgba(148, 163, 184, 0.4);
  }

  .compare-bridge {
    flex-direction: column;
    border: none;
    border-inline: 1px dashed rgba(255, 255, 255, 0.1);
    background: repeating-linear-gradient(
      180deg,
      transparent,
      transparent 6px,
      rgba(255, 255, 255, 0.04) 6px,
      rgba(255, 255, 255, 0.04) 7px
    );
    padding: 12px 0;
    min-height: 100%;
  }

  .compare-bridge-dot {
    width: 11px;
    height: 11px;
    flex-shrink: 0;
  }
}

/* Timeline */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

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

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

@media (min-width: 1140px) {
  .timeline {
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
  }
}

.timeline-item {
  padding: clamp(18px, 3.6vw, 22px);
}

.timeline-phase {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 8px;
}

.timeline-item h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 8px;
}

.timeline-item p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--fg-muted);
}

/* Cards grid */
.cards-grid {
  display: grid;
  gap: 20px;
}

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

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

.card {
  padding: 26px;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 12px;
}

.card p {
  margin: 0;
  color: var(--fg-muted);
  font-size: 0.98rem;
}

.card-wide {
  grid-column: 1 / -1;
}

@media (min-width: 1000px) {
  .card-wide {
    grid-column: span 3;
  }
}

/* Packs */
.packs-grid {
  display: grid;
  gap: 20px;
}

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

.pack {
  padding: 26px;
}

.pack-featured {
  border-color: rgba(45, 212, 191, 0.35);
  box-shadow: 0 0 0 1px rgba(45, 212, 191, 0.12), var(--shadow);
}

.pack h3 {
  font-family: var(--font-display);
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.pack-price {
  margin: 0 0 16px;
  font-weight: 700;
  color: var(--accent);
}

.pack-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--fg-muted);
  font-size: 0.95rem;
}

.pack-list li {
  margin-bottom: 8px;
}

/* Model */
.model-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 880px) {
  .model-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }
}

.model-table-wrap {
  padding: 8px;
  overflow-x: auto;
}

.model-table {
  width: 100%;
  border-collapse: collapse;
}

.model-table th,
.model-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.model-table tbody tr:last-child td {
  border-bottom: none;
}

.model-aside {
  padding: 26px;
}

.model-aside h3 {
  font-family: var(--font-display);
  margin: 0 0 8px;
}

.model-aside p {
  margin: 0 0 12px;
  color: var(--fg-muted);
  font-size: 0.95rem;
}

/* Demo */
.section-demo {
  padding-bottom: clamp(80px, 14vw, 140px);
}

.demo-shell {
  max-width: 560px;
  margin-inline: auto;
  padding: 0;
  overflow: hidden;
}

.demo-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
}

.demo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #475569;
}

.demo-dot:first-child {
  background: #f87171;
}
.demo-dot:nth-child(2) {
  background: #fbbf24;
}
.demo-dot:nth-child(3) {
  background: #4ade80;
}

.demo-title {
  margin-left: auto;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.demo-log {
  min-height: 280px;
  max-height: 420px;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.demo-bubble {
  max-width: 95%;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 0.95rem;
  line-height: 1.5;
  animation: fadeIn 0.35s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.demo-bubble--bot {
  align-self: flex-start;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.2);
  color: var(--fg);
}

.demo-bubble--user {
  align-self: flex-end;
  background: rgba(45, 212, 191, 0.12);
  border: 1px solid rgba(45, 212, 191, 0.25);
}

.demo-bubble--result {
  align-self: stretch;
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(45, 212, 191, 0.35);
}

.demo-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 20px 16px;
}

.demo-actions[hidden] {
  display: none !important;
}

.demo-opt {
  font-family: var(--font-sans);
  font-size: clamp(0.88rem, 2.6vw, 0.94rem);
  line-height: 1.45;
  text-align: left;
  padding: 14px 16px;
  min-height: 48px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--fg);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.demo-opt:hover,
.demo-opt:focus-visible {
  border-color: var(--accent);
  outline: none;
  background: var(--accent-dim);
}

.demo-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  padding: 14px 18px 18px;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
}

/* Blog */
.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.blog-chip {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--fg-muted);
  background: rgba(255, 255, 255, 0.03);
}

.blog-empty {
  margin: 0;
  padding: 20px;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--border);
  color: var(--fg-muted);
  font-size: 0.98rem;
}

.blog-hub-cta {
  margin: clamp(18px, 3vw, 28px) 0;
}

.blog-hub-cta .btn {
  width: fit-content;
}

.blog-grid {
  display: grid;
  gap: 18px;
}

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

.blog-card {
  padding: 22px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.blog-card:hover {
  border-color: rgba(45, 212, 191, 0.35);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}

.blog-card h3 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.3;
}

.blog-card h3 a {
  color: var(--fg);
  text-decoration: none;
}

.blog-card h3 a:hover {
  color: var(--accent);
}

.blog-excerpt {
  margin: 0 0 14px;
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.55;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  font-size: 0.82rem;
  color: var(--fg-muted);
}

.blog-meta time {
  font-weight: 600;
  color: var(--accent-2);
}

.blog-meta .blog-cat {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
}

.blog-keywords {
  display: block;
  width: 100%;
  margin-top: 10px;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--fg-muted);
  opacity: 0.9;
}

.blog-keywords strong {
  color: var(--accent);
  font-weight: 600;
}

/* FAQ */
.faq-list {
  margin: 0;
}

.faq-list dt {
  font-family: var(--font-display);
  font-weight: 700;
  margin-top: 24px;
  font-size: 1.05rem;
}

.faq-list dt:first-child {
  margin-top: 0;
}

.faq-list dd {
  margin: 8px 0 0;
  color: var(--fg-muted);
}

/* Contact */
.section-contact {
  padding-bottom: clamp(80px, 14vw, 140px);
}

.contact-form {
  padding: 28px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-family: var(--font-sans);
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.875rem;
}

.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.35);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: clamp(0.93rem, 2.8vw, 1rem);
  line-height: 1.5;
}

.field textarea {
  line-height: 1.6;
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.form-note {
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin: 0 0 18px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  background: #050608;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand .brand-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
}

.footer-brand p {
  margin: 6px 0 0;
  color: var(--fg-muted);
  font-size: 0.9rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
}

.footer-nav a {
  font-family: var(--font-sans);
  color: var(--fg-muted);
  text-decoration: none;
  font-weight: 500;
}

.footer-nav a:hover {
  color: var(--fg);
}

.footer-copy {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--fg-muted);
  font-size: 0.85rem;
}

@media (max-width: 540px) {
  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 20px;
  }
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:last-child {
  transform: translateY(-4px) rotate(-45deg);
}
