/* ── Krets – getkrets.com ───────────────────────────────────────────────────
   Palette:
     Cream        #F6EAD8   backgrounds
     Off-white    #FFF8EC   cards / sections
     Olive        #7D8152   secondary text
     Terracotta   #B85F3E   accent, links, interactive
     Deep Navy    #172A4A   primary text
   ──────────────────────────────────────────────────────────────────────────── */

:root {
  --cream:       #F6EAD8;
  --off-white:   #FFF8EC;
  --olive:       #7D8152;
  --terracotta:  #B85F3E;
  --navy:        #172A4A;
  --border:      rgba(23, 42, 74, 0.10);
  --radius:      10px;
}

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  background: var(--cream);
  color: var(--navy);
  line-height: 1.65;
  min-height: 100vh;
}

a {
  color: var(--terracotta);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ── Home ──────────────────────────────────────────────────────────────────── */

.home {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem 1.5rem;
  gap: 0;
}

.home-mark {
  width: 52px;
  height: 52px;
  background: var(--terracotta);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.home-mark-letter {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.home-wordmark {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.home-tagline {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin-bottom: 0.85rem;
}

.home-description {
  font-size: 0.9375rem;
  color: var(--olive);
  max-width: 320px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.home-links {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}

.home-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--terracotta);
  opacity: 0.85;
  transition: opacity 0.15s;
}

.home-links a:hover {
  opacity: 1;
  text-decoration: none;
}

.home-divider {
  color: var(--olive);
  opacity: 0.35;
  font-size: 0.875rem;
}

/* ── Shared place page (/place/:id) + beta page ──────────────────────────────── */

.place {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem 1.5rem;
  max-width: 400px;
  margin: 0 auto;
}

/* Brand lockup above the card */
.place-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.place-brand-mark {
  width: 30px;
  height: 30px;
  background: var(--terracotta);
  border-radius: 9px;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.place-brand-name {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--navy);
}

/* The place card */
.place-card {
  width: 100%;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(23, 42, 74, 0.08);
  margin-bottom: 1.5rem;
}

.place-cover {
  width: 100%;
  aspect-ratio: 3 / 2;
  background: var(--cream);
  overflow: hidden;
}

.place-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.place-mark-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.25rem 0 0.25rem;
}

.place-mark {
  width: 56px;
  height: 56px;
  background: var(--terracotta);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.place-mark span {
  color: #fff;
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.place-card-body {
  padding: 1.4rem 1.5rem 1.6rem;
}

.place-eyebrow {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.5rem;
}

.place-name {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin-bottom: 0.3rem;
  line-height: 1.2;
}

.place-meta {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--olive);
  line-height: 1.5;
}

.place-tagline {
  font-size: 0.9375rem;
  color: var(--navy);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.place-cta {
  display: inline-block;
  background: var(--terracotta);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.8rem 1.7rem;
  border-radius: var(--radius);
}

.place-cta:hover {
  text-decoration: none;
  opacity: 0.92;
}

.place-beta-note {
  font-size: 0.8125rem;
  color: var(--olive);
  margin-top: 0.85rem;
}

.place-home {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--olive);
  opacity: 0.85;
  margin-top: 2rem;
}

.place-home:hover {
  color: var(--terracotta);
  text-decoration: none;
}

.footer-center {
  justify-content: center;
}

/* ── Support layout ────────────────────────────────────────────────────────── */

.support {
  max-width: 640px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.support-back {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--terracotta);
  margin-bottom: 2rem;
}

.support-back:hover { text-decoration: none; opacity: 0.8; }

.support-back::before {
  content: '←';
  font-size: 0.9rem;
}

.support-header {
  margin-bottom: 2.5rem;
}

.support-wordmark {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.support-title {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.support-intro {
  font-size: 0.9375rem;
  color: var(--olive);
  line-height: 1.65;
}

/* ── Sections ──────────────────────────────────────────────────────────────── */

.section {
  margin-bottom: 2.25rem;
}

.section-title {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 0.75rem;
}

.card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.card-row {
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
  color: var(--navy);
  line-height: 1.55;
}

.card-row:last-child { border-bottom: none; }

.card-row strong {
  display: block;
  font-weight: 600;
  margin-bottom: 0.2rem;
  font-size: 0.9375rem;
}

.card-row .steps {
  margin-top: 0.3rem;
  color: var(--olive);
  font-size: 0.875rem;
}

.card-row a {
  color: var(--terracotta);
  font-weight: 500;
}

/* ── FAQ (details/summary) ─────────────────────────────────────────────────── */

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child { border-bottom: none; }

.faq-item summary {
  padding: 0.9rem 1.1rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  user-select: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.1rem;
  color: var(--terracotta);
  flex-shrink: 0;
  line-height: 1;
  font-weight: 400;
}

.faq-item[open] summary::after { content: '−'; }

.faq-body {
  padding: 0 1.1rem 0.9rem;
  font-size: 0.9rem;
  color: var(--olive);
  line-height: 1.65;
}

.faq-body a { color: var(--terracotta); }

/* ── Terms list ────────────────────────────────────────────────────────────── */

.terms-list {
  margin-top: 0.5rem;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.terms-list li {
  font-size: 0.9375rem;
  color: var(--navy);
  line-height: 1.55;
}

/* ── Contact block ─────────────────────────────────────────────────────────── */

.contact-email {
  font-weight: 600;
  font-size: 0.9375rem;
}

/* ── Footer ────────────────────────────────────────────────────────────────── */

.footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--olive);
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer a {
  color: var(--olive);
  font-weight: 500;
}

.footer a:hover { color: var(--terracotta); text-decoration: none; }

/* ── Responsive ────────────────────────────────────────────────────────────── */

@media (max-width: 480px) {
  .home-wordmark   { font-size: 2rem; }
  .support-title   { font-size: 1.5rem; }
  .support         { padding: 1.75rem 1.1rem 3rem; }
}
