/* Kooki palette (mobile/src/components/onboarding/shared/theme.ts). */
:root {
  --cream: #faf7f2;
  --white: #ffffff;
  --orange: #ff5b1e;
  --orange-deep: #e04a12;
  --orange-soft: #fff0eb;
  --ink: #1a1a1a;
  --body: #3d3833;
  --muted: #6b655e;
  --line: #ece6df;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--body);
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

header {
  padding: 28px 20px 8px;
}

header .inner,
main,
footer {
  max-width: 720px;
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.2px;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.lang {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 6px 14px;
}

.eyebrow {
  display: inline-block;
  color: var(--orange);
  background: var(--orange-soft);
  font-weight: 600;
  font-size: 13px;
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 14px;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.25;
}

h1 {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 10px;
}

header p {
  margin: 0;
  color: var(--muted);
}

main {
  padding: 28px 20px 56px;
}

h2 {
  font-size: 21px;
  font-weight: 700;
  margin: 44px 0 12px;
}

h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px;
}

p {
  margin: 0 0 14px;
}

a {
  color: var(--orange-deep);
  font-weight: 600;
}

strong {
  color: var(--ink);
}

ul {
  padding-left: 20px;
  margin: 0 0 14px;
}

li {
  margin-bottom: 6px;
}

li::marker {
  color: var(--orange);
}

.highlight {
  background: var(--orange-soft);
  border-radius: 18px;
  padding: 18px 20px;
  margin: 8px 0 24px;
  color: var(--ink);
}

.highlight p:last-child {
  margin-bottom: 0;
}

.card {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px 20px;
  margin: 12px 0;
  color: inherit;
  font-weight: 400;
  text-decoration: none;
}

.card p:last-child,
.card ul:last-child {
  margin-bottom: 0;
}

a.card h3 {
  color: var(--ink);
}

a.card h3::after {
  content: ' →';
  color: var(--orange);
}

.table-wrap {
  overflow-x: auto;
  margin: 16px 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  line-height: 1.5;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}

tr:last-child td {
  border-bottom: 0;
}

th {
  color: var(--ink);
  font-weight: 700;
  background: #fdfbf8;
}

footer {
  padding: 0 20px 48px;
  color: var(--muted);
  font-size: 14px;
}

footer a {
  color: var(--muted);
}
