:root {
  --teal-dark: #0e4a56;
  --teal: #17798a;
  --cyan-light: #6fd4cd;
  --green: #3c6e2e;
  --brown: #3e2a1a;
  --accent-purple: #9b6bd1;
  --accent-lime: #cfe37a;
  --bg: #fbfaf6;
  --bg-alt: #f1f6f3;
  --text: #22302f;
  --text-soft: #51625f;
  --radius: 14px;
  --max-width: 960px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

h1, h2, .brand-name {
  font-family: 'Fredoka', system-ui, sans-serif;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(251, 250, 246, 0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(14, 74, 86, 0.1);
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo {
  height: 40px;
  width: auto;
  display: block;
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
}

.brand-name .odd { color: var(--brown); }
.brand-name .pear { color: var(--green); }

.site-nav {
  display: flex;
  gap: 24px;
}

.site-nav a {
  color: var(--teal-dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.site-nav a:hover { color: var(--teal); }

/* Hero */
.hero {
  background: radial-gradient(circle at 20% 20%, rgba(111, 212, 205, 0.25), transparent 55%),
              radial-gradient(circle at 80% 0%, rgba(155, 107, 209, 0.15), transparent 50%);
  padding: 72px 0 56px;
}

.hero-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo {
  width: 130px;
  height: auto;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 2.3rem;
  line-height: 1.25;
  margin: 0 0 16px;
  color: var(--teal-dark);
  max-width: 640px;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-soft);
  max-width: 560px;
  margin: 0 0 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

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

.btn-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 6px 16px rgba(23, 121, 138, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--teal-dark);
  border: 2px solid var(--teal-dark);
}

.btn-outline {
  background: #fff;
  color: var(--teal-dark);
  border: 2px solid var(--cyan-light);
}

/* Sections */
.section {
  padding: 64px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section h2 {
  font-size: 1.7rem;
  color: var(--teal-dark);
  margin-top: 0;
}

.section p {
  color: var(--text-soft);
  max-width: 640px;
}

.twyne-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.store-badges {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.contact-inner {
  text-align: left;
}

.contact-email {
  display: inline-block;
  margin-top: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
}

.contact-email:hover { color: var(--teal-dark); }

/* Legal pages */
.legal {
  max-width: 720px;
}

.legal h1 {
  color: var(--teal-dark);
  font-size: 1.8rem;
  margin-bottom: 4px;
}

.legal-meta {
  color: var(--text-soft);
  font-size: 0.9rem;
  margin-top: 0;
}

.legal h2 {
  color: var(--teal-dark);
  font-size: 1.2rem;
  margin-top: 36px;
}

.legal h3 {
  color: var(--text);
  font-size: 1.02rem;
  margin-top: 24px;
  margin-bottom: 6px;
}

.legal p, .legal li {
  color: var(--text-soft);
  max-width: none;
}

.legal ul {
  padding-left: 20px;
}

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

.draft-notice {
  background: #fff6e0;
  border: 1px solid #e8c96a;
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 0.9rem;
  color: #5a4623;
  margin-bottom: 32px;
}

.todo {
  background: #ffe8e0;
  color: #8a3b25;
  font-weight: 600;
  padding: 1px 4px;
  border-radius: 4px;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(14, 74, 86, 0.1);
  padding: 24px 0;
  background: var(--bg-alt);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-soft);
}

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

.footer-nav a {
  color: var(--text-soft);
  text-decoration: none;
}

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

@media (max-width: 640px) {
  .header-inner { flex-direction: column; gap: 10px; }
  .hero h1 { font-size: 1.8rem; }
}
