/* Kuratiq site. Layout: one narrow reading column; the landing page opens with
   a live-looking post card that shows the product's one trick (a post turning
   into saveable recommendation chips). Fonts are self-hosted: no third-party
   requests, so visiting the site sends nothing to anyone but our host. */

@font-face { font-family: "Roboto"; font-weight: 400; font-display: swap; src: url("fonts/Roboto-400.ttf") format("truetype"); }
@font-face { font-family: "Roboto"; font-weight: 500; font-display: swap; src: url("fonts/Roboto-500.ttf") format("truetype"); }
@font-face { font-family: "Roboto"; font-weight: 700; font-display: swap; src: url("fonts/Roboto-700.ttf") format("truetype"); }
@font-face { font-family: "Roboto"; font-weight: 800; font-display: swap; src: url("fonts/Roboto-800.ttf") format("truetype"); }

:root {
  --paper: #f7f5f0;      /* the app's own background */
  --card: #ffffff;
  --ink: #16211f;
  --muted: #55625f;
  --line: #dfe3dd;
  --teal: #0f766e;       /* brand */
  --teal-soft: #d6ece8;
  --coral: #e2553a;      /* brand coral, darkened for text contrast */
  --food: #e76f51; --food-bg: #fdeee9;
  --place: #2a9d8f; --place-bg: #e3f3f1;
  --film: #6d597a; --film-bg: #eeeaf1;
  --mark: #fff0b3;
  --font: "Roboto", "Helvetica Neue", Arial, system-ui, sans-serif;
  --measure: 68ch;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0e1514; --card: #172120; --ink: #e5edeb; --muted: #9db0ac; --line: #2a3735;
    --teal: #5fd0c3; --teal-soft: #173a36; --coral: #ff8a70;
    --food-bg: #3a2420; --place-bg: #15302c; --film-bg: #2a2430; --mark: #5a4b12;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0e1514; --card: #172120; --ink: #e5edeb; --muted: #9db0ac; --line: #2a3735;
  --teal: #5fd0c3; --teal-soft: #173a36; --coral: #ff8a70;
  --food-bg: #3a2420; --place-bg: #15302c; --film-bg: #2a2430; --mark: #5a4b12;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--font);
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
a { color: var(--teal); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; border-radius: 4px; }
mark { background: var(--mark); color: inherit; padding: 0 3px; border-radius: 3px; }
h1, h2, h3 { line-height: 1.15; text-wrap: balance; margin: 0; }
h1 { font-weight: 800; letter-spacing: -0.03em; }
h2 { font-weight: 800; letter-spacing: -0.02em; font-size: 1.6rem; }
h3 { font-weight: 700; font-size: 1.1rem; }
p { margin: 0; }

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

/* Header */
.top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding-block: 18px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.03em; }
.brand img { width: 34px; height: 34px; }
.langs { display: flex; gap: 2px; flex-wrap: wrap; }
.langs button {
  font: 500 0.8rem/1 var(--font); letter-spacing: 0.06em; text-transform: uppercase;
  background: none; border: 0; color: var(--muted); padding: 8px 9px; border-radius: 8px; cursor: pointer;
}
.langs button[aria-pressed="true"] { background: var(--teal-soft); color: var(--teal); }

/* Hero */
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; padding-block: 40px 56px; }
.hero > * { min-width: 0; }
.hero h1 { font-size: clamp(2.3rem, 6vw, 3.9rem); }
.hero h1 em { font-style: normal; color: var(--coral); }
.lede { margin-top: 18px; font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.soon { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); background: var(--card);
  border-radius: 999px; padding: 9px 16px; font-weight: 500; font-size: 0.95rem;
}
.soon small { color: var(--muted); font-size: 0.9rem; }

/* The post card, drawn like the app's own */
.post { margin: 0; background: var(--card); border-radius: 22px; padding: 20px; box-shadow: 0 18px 50px -24px rgba(15, 60, 55, 0.35); max-width: 420px; justify-self: end; width: 100%; }
.who { display: flex; gap: 12px; align-items: center; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--food); color: #fff; display: grid; place-items: center; font-weight: 700; flex: none; }
.who b { display: block; }
.who span { color: var(--muted); font-size: 0.85rem; }
.post p { margin-top: 12px; font-size: 0.98rem; }
.found { margin-top: 14px; color: var(--coral); font-weight: 700; font-size: 0.88rem; display: flex; gap: 6px; align-items: center; }
.chips { margin-top: 10px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; border-radius: 14px; padding: 9px 14px; font-weight: 700; font-size: 0.95rem; }
.chip i { font-style: normal; font-weight: 500; font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.85; }
.chip.food { background: var(--food-bg); } .chip.food i { color: var(--food); }
.chip.place { background: var(--place-bg); } .chip.place i { color: var(--place); }
.chip.film { background: var(--film-bg); } .chip.film i { color: var(--film); }
@media (prefers-reduced-motion: no-preference) {
  .chip { animation: rise 0.5s ease-out both; }
  .chip:nth-child(2) { animation-delay: 0.12s; } .chip:nth-child(3) { animation-delay: 0.24s; }
  @keyframes rise { from { transform: translateY(6px); } to { transform: none; } }
}

/* Sections */
section { padding-block: 44px; border-top: 1px solid var(--line); }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 26px; }
.features > div { min-width: 0; }
.features h3 { margin-bottom: 6px; }
.features p, .split p { color: var(--muted); }
.kicker { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.split > div { min-width: 0; }
.facts { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.facts li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.facts li::before { content: "✓"; color: var(--teal); font-weight: 800; }

/* Footer */
footer { border-top: 1px solid var(--line); padding-block: 28px 40px; color: var(--muted); font-size: 0.92rem; display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* Legal pages */
.doc { max-width: var(--measure); margin: 0 auto; padding-block: 12px 48px; }
.doc h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
.doc .meta { color: var(--muted); margin-top: 10px; font-size: 0.95rem; }
.doc h2 { font-size: 1.3rem; margin-top: 38px; }
.doc h3 { margin-top: 22px; }
.doc p, .doc ul, .doc ol, .doc table { margin-top: 12px; }
.doc ul, .doc ol { padding-left: 1.3em; display: grid; gap: 6px; }
.doc .summary { background: var(--card); border-radius: 18px; padding: 18px 20px; margin-top: 24px; }
.doc .summary ul { margin-top: 8px; }
.table { overflow-x: auto; margin-top: 12px; }
.doc table { border-collapse: collapse; width: 100%; font-size: 0.95rem; margin-top: 0; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
.doc th { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.doc .other { margin-top: 6px; font-size: 0.95rem; }
.steps { counter-reset: s; list-style: none; padding: 0 !important; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: start; }
.steps li::before { content: counter(s); width: 28px; height: 28px; border-radius: 50%; background: var(--teal-soft); color: var(--teal); font-weight: 800; display: grid; place-items: center; font-size: 0.9rem; }
code { font-size: 0.9em; background: var(--teal-soft); padding: 1px 5px; border-radius: 5px; }

@media (max-width: 760px) {
  .hero, .split { grid-template-columns: 1fr; gap: 32px; }
  .post { justify-self: start; }
  .features { grid-template-columns: 1fr; gap: 20px; }
}
