/* Ourspoon website. Colours from the app (src/features/app/colors.ts, D150): paper and herb green.
   System fonts only, so the page loads nothing from anyone else. */
:root {
  --paper: #f4eee3;
  --card: #fffcf6;
  --ink: #1e1a15;
  --muted: #6a6359;
  --line: #dcd2c1;
  --accent: #2e6b3f;
  --accent-soft: #e3eee5;
  --serif: ui-serif, "New York", "Iowan Old Style", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, system-ui, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #15120e;
    --card: #221e19;
    --ink: #f6f1e9;
    --muted: #b5ac9f;
    --line: #3b342c;
    --accent: #7dc294;
    --accent-soft: #1d3324;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding: 0 1.25rem;
}
.wrap {
  max-width: 44rem;
  margin: 0 auto;
}
a {
  color: var(--accent);
  text-underline-offset: 0.18em;
}

/* Top bar */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.brand img {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
}
.lang {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Start page */
.hero {
  min-height: calc(100svh - 11rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 0 4rem;
}
.hero .icon {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 1.25rem;
  box-shadow: 0 10px 30px rgba(46, 107, 63, 0.22);
  margin-bottom: 2rem;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 9vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.hero .claim {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 4vw, 1.65rem);
  color: var(--muted);
  margin-top: 0.5rem;
}
.hero .lead {
  font-size: 1.2rem;
  margin-top: 2rem;
  max-width: 34rem;
}
.hero p + p {
  margin-top: 1rem;
  max-width: 34rem;
}
.soon {
  display: inline-block;
  margin-top: 2.25rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
}
.contact {
  margin-top: 2rem;
  color: var(--muted);
}

/* Text pages */
.page {
  padding: 1rem 0 4rem;
}
.page h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 6vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin-bottom: 0.5rem;
}
.page .stand {
  color: var(--muted);
  font-size: 0.95rem;
}
.page h2 {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
  margin: 2.5rem 0 0.75rem;
}
.page h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 1.75rem 0 0.5rem;
}
.page p,
.page ul,
.page ol {
  margin: 0.8rem 0;
}
.page ul,
.page ol {
  padding-left: 1.3rem;
}
.page li {
  margin: 0.35rem 0;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
}
.card > :first-child {
  margin-top: 0;
}
.card > :last-child {
  margin-bottom: 0;
}
.address {
  font-style: normal;
}
.table-wrap {
  overflow-x: auto;
  margin: 1rem 0;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
th,
td {
  text-align: left;
  vertical-align: top;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
}
th {
  background: var(--card);
  font-weight: 600;
}

/* Footer */
footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2.5rem;
  font-size: 0.9rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}
footer a {
  color: var(--muted);
}
footer a[aria-current="page"] {
  color: var(--ink);
  text-decoration: none;
}

@media print {
  h1,
  h2,
  h3 {
    break-after: avoid;
  }
  tr,
  li {
    break-inside: avoid;
  }
}
