:root {
  --bg: #f5f1e8;
  --bg-alt: #fff9ef;
  --text: #1a1712;
  --muted: #5f5341;
  --brand: #e66a2d;
  --brand-dark: #b84f1f;
  --accent: #0f6f77;
  --card: #ffffff;
  --border: #e8ddca;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 8%, #fff1cf 0%, transparent 35%),
    radial-gradient(circle at 92% 14%, #ffe4d6 0%, transparent 33%),
    radial-gradient(circle at 20% 95%, #e0f4f6 0%, transparent 30%),
    var(--bg);
  line-height: 1.65;
}

.container {
  width: min(1080px, 92vw);
  margin: 0 auto;
}

header {
  padding: 72px 0 36px;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.site-logo {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  flex-shrink: 0;
}

.site-logo-title {
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.badge {
  display: inline-block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: #dcf1f3;
  border: 1px solid #b4dde1;
  border-radius: 999px;
  padding: 6px 12px;
}

h1 {
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.1;
  margin: 14px 0;
  letter-spacing: -0.02em;
}

.subhead {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.06rem;
}

.quick-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.quick-nav a {
  display: inline-block;
  text-decoration: none;
  color: var(--accent);
  background: #e8f5f6;
  border: 1px solid #b9dce0;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.9rem;
  font-weight: 600;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, var(--brand), #f09340);
  box-shadow: 0 10px 22px rgba(230, 106, 45, 0.27);
}

.btn-secondary {
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border);
}

.btn:hover {
  transform: translateY(-2px);
}

section {
  padding: 22px 0;
}

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

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 4px 14px rgba(26, 23, 18, 0.05);
}

.card h3 {
  margin-top: 2px;
  margin-bottom: 8px;
  font-family: "Outfit", "Segoe UI", sans-serif;
}

.preview-card {
  overflow: hidden;
}

.app-preview {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-top: 10px;
  background: #f8f5ee;
}

.klist {
  columns: 1;
  margin: 10px 0 0;
  padding-left: 20px;
}

.klist li {
  margin-bottom: 8px;
}

.faq-item {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 10px;
}

.faq-item h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
}

.notice {
  border-left: 4px solid var(--accent);
  padding: 10px 12px;
  background: #eaf7f8;
  border-radius: 8px;
}

footer {
  padding: 30px 0 48px;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.footer-links a,
.cookie-copy a {
  color: var(--accent);
  font-weight: 600;
}

.cookie-preferences-btn {
  margin-top: 14px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

.cookie-preferences-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  padding: 0 0 18px;
}

.cookie-banner-inner {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  background: rgba(26, 23, 18, 0.96);
  color: #fff9ef;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 18px 40px rgba(26, 23, 18, 0.24);
}

.cookie-title {
  margin: 0 0 4px;
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
}

.cookie-copy {
  margin: 0;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.btn-consent {
  color: #ffffff;
  background: var(--accent);
  border: 1px solid var(--accent);
  box-shadow: none;
  cursor: pointer;
}

.btn-consent:hover {
  background: #14858e;
}

.legal-shell {
  padding: 48px 0 72px;
}

.legal-page-header {
  margin-bottom: 18px;
}

.legal-page-header h1 {
  margin-bottom: 8px;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.legal-nav a {
  display: inline-block;
  text-decoration: none;
  color: var(--accent);
  background: #e8f5f6;
  border: 1px solid #b9dce0;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.92rem;
  font-weight: 600;
}

.legal-section {
  margin-top: 16px;
}

.legal-section h2 {
  margin-bottom: 8px;
}

.small {
  font-size: 0.9rem;
  color: var(--muted);
}

@media (max-width: 720px) {
  header {
    padding-top: 56px;
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .quick-nav {
    gap: 8px;
  }

  .btn {
    text-align: center;
  }

  .cookie-banner {
    padding-bottom: 12px;
  }

  .cookie-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-actions {
    width: 100%;
  }

  .btn-consent {
    flex: 1 1 160px;
  }

  .cookie-preferences-btn {
    width: 100%;
    text-align: center;
  }
}
