/* Kune website: one stylesheet for every page. Colors match the app (src/theme/colors.ts). */
@font-face {
  font-family: 'Source Sans 3';
  src: url('fonts/SourceSans3_400Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Source Sans 3';
  src: url('fonts/SourceSans3_700Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}

:root {
  --plum: #4e1e42;
  --coral: #e97f5d;
  --coral-strong: #a9523f;
  --coral-soft: #f6ccb5;
  --coral-subtle: #fcede6;
  --ground: #faf4f3;
  --surface: #ffffff;
  --text: #1f1a24;
  --muted: #6f666b;
  --line: #efe4e1;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family:
    'Source Sans 3',
    system-ui,
    -apple-system,
    'Segoe UI',
    sans-serif;
  font-size: 18px;
  line-height: 1.55;
}

a {
  color: var(--coral-strong);
}
a:hover {
  color: var(--plum);
}

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 16px;
  padding-bottom: 16px;
}
.site-header nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 17px;
}
.site-header nav a {
  color: var(--muted);
  text-decoration: none;
}
.site-header nav a:hover {
  color: var(--plum);
}

/* The wordmark: "ku" + dot + "ne" */
.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.06em;
  font-weight: 700;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.wordmark .ku {
  color: var(--plum);
}
.wordmark .ne {
  color: var(--coral-strong);
}
.wordmark .dot {
  width: 0.14em;
  height: 0.14em;
  border-radius: 50%;
  background: var(--coral);
  align-self: center;
  margin-top: 0.2em;
}

/* Hero */
.hero {
  padding-top: 72px;
  padding-bottom: 56px;
}
.hero h1 {
  font-size: clamp(40px, 7vw, 68px);
  line-height: 1.05;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}
.hero .lead {
  font-size: 22px;
  color: var(--muted);
  max-width: 640px;
  margin: 0 0 28px;
}
.say-it {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 19px;
  color: var(--muted);
}
.say-it strong {
  color: var(--plum);
}
.badge {
  display: inline-block;
  margin-top: 28px;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--coral-subtle);
  color: var(--coral-strong);
  font-weight: 700;
  font-size: 16px;
}

/* Sections */
section {
  padding: 48px 0;
}
section h2 {
  font-size: 32px;
  line-height: 1.2;
  margin: 0 0 24px;
}
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.steps li,
.card {
  background: var(--surface);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(31, 26, 36, 0.06);
}
.steps .num {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--coral-subtle);
  color: var(--coral-strong);
  font-weight: 700;
  margin-bottom: 12px;
}
.steps h3 {
  margin: 0 0 6px;
  font-size: 20px;
}
.steps p {
  margin: 0;
  color: var(--muted);
}
.story {
  background: var(--plum);
  color: #ffffff;
  border-radius: 28px;
  padding: 40px;
}
.story h2 {
  color: #ffffff;
}
.story p {
  font-size: 20px;
  max-width: 720px;
  margin: 0;
}
.story .accent {
  color: var(--coral-soft);
  font-weight: 700;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.card h3 {
  margin: 0 0 8px;
  font-size: 20px;
}
.card p {
  margin: 0;
  color: var(--muted);
}

/* Long text pages (privacy, disclosure) */
.doc {
  max-width: 760px;
  padding: 56px 0 72px;
}
.doc h1 {
  font-size: 44px;
  line-height: 1.1;
  margin: 0 0 8px;
}
.doc .updated {
  color: var(--muted);
  margin: 0 0 32px;
}
.doc h2 {
  font-size: 26px;
  margin: 40px 0 12px;
}
.doc li {
  margin-bottom: 6px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 32px 0;
  font-size: 16px;
  color: var(--muted);
}
.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.site-footer nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
