:root {
  --bg: #fbfbf9;
  --bg-card: #ffffff;
  --bg-muted: #f2f1eb;
  --bg-dark: #161719;
  --text: #18191c;
  --text-muted: #5e626e;
  --text-inverse: #f4efe6;
  --accent: #c45a1c;
  --accent-hover: #a54611;
  --accent-subtle: #fbeee6;
  --border: #e4e2d8;
  --border-dark: #2c2e35;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --container: 1160px;
  --shadow: 0 4px 20px rgba(24, 25, 28, 0.05);
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Georgia", "Cambria", "Times New Roman", serif;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg);
  color: var(--text);
}

body {
  font-family: var(--font-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--accent);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 9999;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 1rem;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

img, svg {
  display: block;
  max-width: 100%;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 251, 249, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}
.logo span {
  color: var(--accent);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}
.nav-link:hover, .nav-link.active {
  color: var(--text);
}
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
}
.btn-secondary {
  background: var(--bg-card);
  color: var(--text);
  border-color: var(--border);
}
.btn-secondary:hover {
  background: var(--bg-muted);
}
.btn-dark {
  background: var(--bg-dark);
  color: var(--text-inverse);
}
.btn-dark:hover {
  background: #25282f;
}

/* Hero */
.hero {
  padding: 4.5rem 0 3.5rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: var(--accent-subtle);
  color: var(--accent);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.3rem, 4vw, 3.6rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  font-weight: normal;
}
.hero-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.visual-card {
  background: var(--bg-dark);
  color: var(--text-inverse);
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-dark);
}
.visual-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--border-dark);
  padding-bottom: 1rem;
}
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #ff6b4a;
}
.live-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff6b4a;
}
.waveform {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 70px;
  margin: 1.5rem 0;
}
.wave-bar {
  flex: 1;
  background: var(--border-dark);
  border-radius: 4px;
  transition: height 0.3s;
}
.wave-bar.active {
  background: var(--accent);
}
.tech-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}
.spec-box {
  background: rgba(255, 255, 255, 0.04);
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.spec-box span {
  display: block;
  font-size: 0.75rem;
  color: #9a9ea8;
  text-transform: uppercase;
}
.spec-box strong {
  font-size: 0.95rem;
  color: #fff;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}
.section-muted {
  background: var(--bg-muted);
}
.section-header {
  max-width: 680px;
  margin-bottom: 3rem;
}
.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  font-weight: normal;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}
.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Services Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--accent-subtle);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.2rem;
  font-weight: bold;
}
.card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}
.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.step-item {
  background: var(--bg-card);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  position: relative;
}
.step-num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.75rem;
}
.step-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.step-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Pricing Card */
.pricing-banner {
  background: var(--bg-dark);
  color: var(--text-inverse);
  padding: 3rem;
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2.5rem;
  align-items: center;
}
.pricing-content h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: normal;
}
.pricing-content p {
  color: #a4a8b5;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}
.pricing-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.pricing-list li {
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.pricing-list li::before {
  content: "✓";
  color: var(--accent);
  font-weight: bold;
}
.pricing-box {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}
.price-tag {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  margin-bottom: 0.25rem;
}
.price-tag span {
  font-size: 1.25rem;
  font-weight: 400;
  color: #a4a8b5;
}
.price-sub {
  color: #a4a8b5;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 820px;
}
details.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  transition: border-color 0.2s;
}
details.faq-item[open] {
  border-color: var(--accent);
}
summary.faq-quest {
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
summary.faq-quest::-webkit-details-marker {
  display: none;
}
summary.faq-quest::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--accent);
  transition: transform 0.2s;
}
details[open] summary.faq-quest::after {
  content: "−";
}
.faq-ans {
  margin-top: 0.85rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Legal & Plain Pages */
.page-header {
  padding: 4rem 0 2rem;
  border-bottom: 1px solid var(--border);
}
.page-header h1 {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: normal;
  margin-bottom: 0.75rem;
}
.prose {
  max-width: 800px;
  padding: 3rem 0;
}
.prose h2 {
  font-size: 1.5rem;
  margin: 2rem 0 0.75rem;
}
.prose p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.prose ul {
  margin: 1rem 0 1.5rem 1.5rem;
  color: var(--text-muted);
}
.prose li {
  margin-bottom: 0.5rem;
}

/* Footer */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-inverse);
  padding: 4.5rem 0 2.5rem;
  border-top: 1px solid var(--border-dark);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}
.footer-brand h4 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}
.footer-brand p {
  color: #9a9ea8;
  font-size: 0.95rem;
  max-width: 320px;
}
.footer-col h5 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
  margin-bottom: 1rem;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-links a {
  color: #9a9ea8;
  font-size: 0.9rem;
}
.footer-links a:hover {
  color: #fff;
}
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #6d717d;
  font-size: 0.85rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  left: 1.5rem;
  max-width: 520px;
  margin-left: auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  z-index: 1000;
  display: none;
}
.cookie-banner p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.cookie-actions {
  display: flex;
  gap: 0.75rem;
}
.cookie-actions button {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 860px) {
  .hero-grid, .pricing-banner, .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .pricing-list {
    grid-template-columns: 1fr;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
  }
  .main-nav.is-open {
    display: flex;
  }
  .nav-toggle {
    display: block;
  }
}