:root {
  --c8k-ink: #0f1c1d;
  --c8k-ink-soft: #1d2b2c;
  --c8k-mist: #e7f1ef;
  --c8k-oyster: #f6f3ea;
  --c8k-brass: #c9943b;
  --c8k-teal: #1b6f67;
  --c8k-sea: #0d9a8e;
  --c8k-rust: #c16a3f;
  --c8k-card: #ffffff;
  --c8k-shadow: 0 20px 50px rgba(15, 28, 29, 0.14);
  --c8k-radius: 18px;
}

html,
body {
  height: 100%;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Gill Sans", "Trebuchet MS", "Verdana", sans-serif;
  color: var(--c8k-ink);
  background: radial-gradient(circle at 15% 20%, #f2efe6 0%, #e6f1ef 35%, #dbe6e3 70%, #f4efe3 100%);
  min-height: 100vh;
  overflow-y: auto;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.c8k-page {
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
}

.c8k-shell {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

.c8k-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(246, 243, 234, 0.9);
  border-bottom: 1px solid rgba(15, 28, 29, 0.08);
}

.c8k-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.c8k-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Baskerville", "Garamond", "Palatino", "Times New Roman", serif;
  letter-spacing: 0.5px;
}

.c8k-brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: conic-gradient(from 220deg, var(--c8k-sea), var(--c8k-teal), var(--c8k-brass));
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.7);
}

.c8k-brand-title {
  font-size: 1.1rem;
  font-weight: 600;
}

.c8k-nav {
  display: flex;
  gap: 18px;
  font-size: 0.95rem;
}

.c8k-nav a {
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}

.c8k-nav a:hover,
.c8k-nav a:focus {
  border-bottom-color: var(--c8k-teal);
}

.c8k-hero {
  padding: 80px 0 50px;
  position: relative;
}

.c8k-hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.c8k-hero-title {
  font-family: "Baskerville", "Garamond", "Palatino", "Times New Roman", serif;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1.1;
  margin-bottom: 18px;
}

.c8k-hero-lead {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 26px;
}

.c8k-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.c8k-tag {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(27, 111, 103, 0.12);
  border: 1px solid rgba(27, 111, 103, 0.25);
  font-size: 0.85rem;
}

.c8k-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  border: none;
  background: var(--c8k-teal);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.4px;
  cursor: pointer;
  box-shadow: 0 16px 30px rgba(15, 28, 29, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.c8k-button:hover,
.c8k-button:focus {
  transform: translateY(-2px);
  box-shadow: 0 20px 36px rgba(15, 28, 29, 0.22);
}

.c8k-button-outline {
  background: transparent;
  color: var(--c8k-ink);
  border: 1px solid rgba(15, 28, 29, 0.3);
  box-shadow: none;
}

.c8k-card {
  background: var(--c8k-card);
  border-radius: var(--c8k-radius);
  padding: 26px;
  box-shadow: var(--c8k-shadow);
  border: 1px solid rgba(15, 28, 29, 0.08);
}

.c8k-section {
  padding: 60px 0;
}

.c8k-section-title {
  font-family: "Baskerville", "Garamond", "Palatino", "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 18px;
}

.c8k-section-sub {
  max-width: 640px;
  margin-bottom: 32px;
  line-height: 1.6;
}

.c8k-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}

.c8k-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  align-items: center;
}

.c8k-feature-title {
  font-weight: 600;
  margin-bottom: 8px;
}

.c8k-metric {
  font-size: 2rem;
  font-weight: 700;
}

.c8k-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.c8k-step {
  border-left: 3px solid var(--c8k-brass);
  padding-left: 16px;
}

.c8k-proof {
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--c8k-radius);
  padding: 30px;
}

.c8k-form {
  display: grid;
  gap: 14px;
}

.c8k-form input,
.c8k-form select,
.c8k-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(15, 28, 29, 0.2);
  font-family: inherit;
}

.c8k-form textarea {
  min-height: 120px;
  resize: vertical;
}

.c8k-form-note {
  font-size: 0.9rem;
  background: rgba(27, 111, 103, 0.08);
  padding: 14px;
  border-radius: 12px;
}

.c8k-checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.9rem;
}

.c8k-footer {
  padding: 30px 0 50px;
  border-top: 1px solid rgba(15, 28, 29, 0.1);
  margin-top: 50px;
}

.c8k-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.c8k-muted {
  color: rgba(15, 28, 29, 0.7);
  font-size: 0.95rem;
}

.c8k-badge {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(193, 106, 63, 0.12);
  border: 1px solid rgba(193, 106, 63, 0.28);
  font-size: 0.82rem;
}

.c8k-illustration {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(15, 28, 29, 0.12);
  box-shadow: var(--c8k-shadow);
}

.c8k-announce {
  padding: 18px 22px;
  border-radius: 14px;
  background: rgba(15, 28, 29, 0.05);
  border: 1px dashed rgba(15, 28, 29, 0.2);
  margin: 18px 0;
}

.c8k-cookie-banner {
  position: fixed;
  inset: auto 20px 20px;
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--c8k-shadow);
  border: 1px solid rgba(15, 28, 29, 0.12);
  width: min(440px, 92vw);
  z-index: 40;
  display: none;
}

.c8k-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.c8k-cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 28, 29, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
  padding: 20px;
}

.c8k-cookie-panel {
  background: #fff;
  border-radius: 18px;
  padding: 26px;
  width: min(520px, 96vw);
  box-shadow: var(--c8k-shadow);
}

.c8k-cookie-panel h3 {
  margin-top: 0;
}

.c8k-chat {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 35;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.c8k-chat-toggle {
  border-radius: 999px;
  padding: 12px 18px;
  background: var(--c8k-ink);
  color: #fff;
  border: none;
  cursor: pointer;
}

.c8k-chat-window {
  width: min(320px, 88vw);
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(15, 28, 29, 0.12);
  box-shadow: var(--c8k-shadow);
  display: none;
  flex-direction: column;
}

.c8k-chat-header {
  padding: 12px 16px;
  background: var(--c8k-ink);
  color: #fff;
  border-radius: 16px 16px 0 0;
  font-size: 0.9rem;
}

.c8k-chat-body {
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 220px;
  overflow-y: auto;
}

.c8k-chat-bubble {
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(27, 111, 103, 0.12);
  font-size: 0.85rem;
}

.c8k-chat-user {
  align-self: flex-end;
  background: rgba(193, 106, 63, 0.18);
}

.c8k-chat-agent {
  align-self: flex-start;
  background: rgba(27, 111, 103, 0.12);
}

.c8k-chat-input {
  display: flex;
  gap: 8px;
  padding: 12px 16px 16px;
}

.c8k-chat-input input {
  flex: 1;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(15, 28, 29, 0.2);
}

.c8k-chat-input button {
  padding: 8px 12px;
  border-radius: 10px;
  border: none;
  background: var(--c8k-teal);
  color: #fff;
  cursor: pointer;
}

.c8k-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--c8k-delay, 0s);
}

.c8k-inview {
  opacity: 1;
  transform: translateY(0);
}

.c8k-wave {
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(90deg, rgba(27, 111, 103, 0.25), rgba(193, 106, 63, 0.2));
  filter: blur(40px);
  opacity: 0.6;
}

@media (max-width: 720px) {
  .c8k-nav {
    display: none;
  }

  .c8k-topbar-inner {
    flex-direction: column;
    gap: 12px;
  }

  .c8k-hero {
    padding: 60px 0 40px;
  }

  .c8k-chat {
    right: 12px;
    bottom: 12px;
  }
}
