/* Klose website: warm cream paper + Hermès orange, like the app. */
:root {
  --bg: #FBF3EA;
  --surface: #FFFAF4;
  --surface-alt: #F6E6D6;
  --border: #EED9C5;
  --ink: #3B2E27;
  --ink-soft: #725F53;
  --muted: #B09C8E;
  --primary: #E8641E;
  --primary-deep: #B94C14;
  --selected: #FCE7D8;
  --script: 'Dancing Script', cursive;
  --heading: 'Cormorant Garamond', Georgia, serif;
  --body: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
}
a { color: var(--primary-deep); text-underline-offset: 3px; }
a:hover { color: var(--primary); }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 20px; }

/* Top bar */
.top {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 18px; padding-bottom: 18px;
}
.logo {
  font-family: var(--script); font-weight: 600; font-size: 34px; line-height: 1;
  color: var(--primary); text-decoration: none;
}
.logo:hover { color: var(--primary-deep); }
.nav { display: flex; gap: 20px; font-weight: 600; font-size: 15px; }
.nav a { color: var(--ink-soft); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--primary-deep); }

/* Home: sunset hero */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  background: #E9A27A url('sunset-sky.jpg') center / cover no-repeat;
  color: #fff;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(59,46,39,.18) 0%, rgba(59,46,39,0) 35%, rgba(59,46,39,.35) 100%);
  pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }
.hero .logo, .hero .nav a { color: #fff; }
.hero .nav a:hover { color: #FFE4D2; }
.hero-body {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 40px 0 80px;
}
.hero-logo {
  font-family: var(--script); font-weight: 600; font-size: clamp(76px, 22vw, 132px); line-height: 1;
  margin: 0; text-shadow: 0 2px 18px rgba(120, 50, 10, .25);
}
.hero-quote {
  font-family: var(--heading); font-style: italic; font-weight: 500;
  font-size: clamp(22px, 5.5vw, 30px); line-height: 1.3; max-width: 520px; margin: 18px 0 32px;
  text-shadow: 0 1px 10px rgba(80, 30, 5, .3);
}
.badge {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  background: rgba(255, 250, 244, .92); color: var(--primary-deep);
  font-weight: 700; font-size: 15px; letter-spacing: .02em;
}

/* Sections */
.section { padding: 64px 0; }
.section + .section { padding-top: 0; }
.kicker {
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--primary); margin: 0 0 8px;
}
h1, h2, h3 { font-family: var(--heading); font-weight: 600; line-height: 1.2; color: var(--ink); }
h1 { font-size: clamp(36px, 8vw, 48px); margin: 8px 0 12px; }
h2 { font-size: clamp(28px, 6vw, 34px); margin: 0 0 20px; }
h3 { font-size: 23px; margin: 0 0 6px; }
.lead { font-size: 19px; color: var(--ink-soft); margin: 0 0 8px; }

.features { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .features { grid-template-columns: 1fr 1fr; } }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 24px;
  padding: 22px 22px 20px;
  box-shadow: 0 6px 16px rgba(138, 106, 92, .08);
}
.card .emoji { font-size: 28px; line-height: 1; margin-bottom: 10px; }
.card p { margin: 0; color: var(--ink-soft); }

.promise {
  background: var(--selected); border-radius: 24px; padding: 26px 24px; text-align: center;
}
.promise p { margin: 0; font-family: var(--heading); font-size: 24px; font-style: italic; line-height: 1.35; }

/* Document pages (privacy, support) */
.doc { padding-top: 24px; padding-bottom: 64px; }
.doc h2 { font-size: 27px; margin: 40px 0 10px; }
.doc h3 { font-size: 21px; margin: 24px 0 4px; font-family: var(--body); font-weight: 700; }
.doc p, .doc li { color: var(--ink); }
.doc ul { padding-left: 22px; }
.doc li { margin: 4px 0; }
.updated { color: var(--muted); font-size: 15px; margin: 0 0 24px; }
.summary {
  background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--primary);
  border-radius: 16px; padding: 16px 18px; margin: 20px 0;
}
.summary p { margin: 0; }
mark.todo { background: #FFE38A; color: var(--ink); padding: 0 3px; border-radius: 4px; }

/* Support */
.contact {
  background: var(--surface); border: 1px solid var(--border); border-radius: 24px;
  padding: 24px; text-align: center; margin: 8px 0 8px;
}
.contact p { margin: 0 0 14px; color: var(--ink-soft); }
.button {
  display: inline-block; background: var(--primary); color: #fff; text-decoration: none;
  font-weight: 700; padding: 13px 24px; border-radius: 999px;
}
.button:hover { background: var(--primary-deep); color: #fff; }
details {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  padding: 0 18px; margin: 10px 0;
}
summary {
  cursor: pointer; list-style: none; padding: 16px 28px 16px 0; position: relative;
  font-weight: 700; font-size: 17px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 24px; font-weight: 400; color: var(--primary);
}
details[open] summary::after { content: '−'; }
details > div { padding: 0 0 16px; color: var(--ink-soft); }
details > div p { margin: 0 0 8px; color: var(--ink-soft); }

/* Footer */
.footer {
  border-top: 1px solid var(--border); padding: 28px 0 40px; color: var(--muted); font-size: 14px;
}
.footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
.footer a { color: var(--ink-soft); text-decoration: none; }
.footer a:hover { color: var(--primary-deep); }
.footer nav { display: flex; gap: 18px; }
