/* Rinimini Studio website. Plain CSS, no external requests: system fonts, inline SVG logo. */
:root {
  --ground: #fff7f2;
  --surface: #ffffff;
  --ink: #2a2340;
  --muted: #5b5470;
  --line: #f1dcd2;
  --accent: #b93a4a;
  --accent-ink: #ffffff;
  --radius: 22px;
  --max: 760px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ground: #1e1a2e;
    --surface: #2a2540;
    --ink: #fff4ee;
    --muted: #c9c2db;
    --line: #3d3658;
    --accent: #ff9aa2;
    --accent-ink: #1e1a2e;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font:
    17px/1.6 system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    sans-serif;
}

a {
  color: var(--accent);
  text-underline-offset: 3px;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 16px;
  top: 16px;
  background: var(--surface);
  padding: 8px 12px;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

header.site {
  padding: 20px 0;
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

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

.brand svg {
  width: 40px;
  height: 40px;
}

nav ul {
  display: flex;
  gap: 4px 18px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav a {
  display: inline-block;
  padding: 10px 2px;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

nav a[aria-current='page'] {
  color: var(--accent);
  text-decoration: underline;
}

main {
  padding: 24px 0 48px;
}

h1 {
  font-size: clamp(32px, 6vw, 46px);
  line-height: 1.15;
  margin: 8px 0 16px;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 24px;
  margin: 36px 0 8px;
}

h3 {
  font-size: 19px;
  margin: 24px 0 6px;
}

.lead {
  font-size: 20px;
  color: var(--muted);
}

.card {
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin: 20px 0;
}

.button {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  text-decoration: none;
  padding: 12px 20px;
  min-height: 48px;
  border-radius: 16px;
}

.muted {
  color: var(--muted);
}

.draft {
  border-left: 0;
  background: var(--surface);
  border: 2px dashed var(--accent);
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 15px;
}

ul.points {
  padding-left: 20px;
}

footer.site {
  border-top: 2px solid var(--line);
  padding: 24px 0 40px;
  font-size: 15px;
  color: var(--muted);
}

footer.site ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
}

footer.site a {
  display: inline-block;
  padding: 8px 0;
  min-height: 44px;
}
