/* VirtReal — minimal static styles. No external resources. */

:root {
  --cream: #f2f0e8;
  --green: #2f5d50;
  --green-deep: #24473e;
  --ink: #22302b;
  --muted: #55645d;
  --card: #faf9f4;
  --line: #d9d5c7;
  --badge: #e4e0d1;
  --focus: #1a4fd6;
  --radius: 14px;
  --max: 920px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  font-size: 1.0625rem;
}

/* Dark scheme: keep calm, keep contrast */
@media (prefers-color-scheme: dark) {
  :root {
    --cream: #161d1b;
    --card: #1e2724;
    --ink: #ece9dc;
    --muted: #b9bfb2;
    --line: #33413b;
    --badge: #24332e;
    --green: #a9ccba;
    --green-deep: #c6ddcf;
    --focus: #9db9ff;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

a { color: var(--green-deep); text-underline-offset: 0.2em; }
@media (prefers-color-scheme: dark) {
  a { color: var(--green); }
}
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--cream);
  padding: 0.6rem 1rem;
  z-index: 10;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

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

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.brand {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-decoration: none;
}
.site-nav ul {
  list-style: none;
  display: flex;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
}
.site-nav a {
  text-decoration: none;
  color: var(--ink);
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { border-color: var(--green); }
.site-nav a[aria-current="page"] {
  border-color: var(--green);
  font-weight: 600;
}

/* Main rhythm */
main { display: block; }
section, article.hero { padding: 3rem 0; }
.hero { padding-top: 4rem; }
.eyebrow {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: var(--badge);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.25rem 0.8rem;
  margin-bottom: 1rem;
}
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 1rem; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-top: 0; }
.lead { font-size: clamp(1.1rem, 2.4vw, 1.35rem); max-width: 38em; }
.muted { color: var(--muted); }
.sub { max-width: 40em; color: var(--muted); }

.divider { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* App card */
.app-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  max-width: 34rem;
}
.app-card h3 { margin-bottom: 0.25rem; font-size: 1.35rem; }
.app-card .tagline { font-weight: 600; margin: 0 0 0.75rem; }
.app-card p { margin: 0 0 1.25rem; }

/* Buttons / links */
.btn {
  display: inline-block;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 0.7rem 1.3rem;
  border-radius: 10px;
  border: 1px solid var(--green);
}
@media (prefers-color-scheme: dark) {
  .btn { color: #12201b; }
}
.btn:hover { background: var(--green-deep); border-color: var(--green-deep); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--green); background: transparent; }

/* Neutral "soon" label — not a fake download button */
.soon {
  display: inline-block;
  border: 1px dashed var(--muted);
  border-radius: 10px;
  padding: 0.7rem 1.2rem;
  color: var(--muted);
  background: transparent;
  font-weight: 600;
  cursor: not-allowed;
}

/* Steps */
.steps {
  list-style: none;
  counter-reset: step;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
}
.steps li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
}
.steps .n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.8rem;
}
@media (prefers-color-scheme: dark) {
  .steps .n { color: #12201b; background: var(--green); }
}
.steps h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.steps p { margin: 0; color: var(--muted); }
.decisions { margin: 0.6rem 0 0; padding-left: 1.1rem; color: var(--ink); }

/* Principles */
.principles {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.checks {
  list-style: none;
  margin: 1rem 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.checks li {
  border: 1px solid var(--line);
  background: var(--cream);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-weight: 600;
  font-size: 0.95rem;
}

/* Bullets */
.ticks { margin: 1rem 0 0; padding-left: 1.2rem; }
.ticks li { margin-bottom: 0.4rem; }

/* Philosophy */
.philo {
  border-left: 4px solid var(--green);
  padding-left: 1.25rem;
  max-width: 42em;
}
.philo .word { font-weight: 700; font-size: 1.1rem; }

/* Screenshots */
.shots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}
.shot {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.shot .frame {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.25rem;
  color: var(--muted);
  border-bottom: 1px dashed var(--line);
  min-height: 240px;
}
.shot figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.92rem;
  color: var(--muted);
}
.shot img { width: 100%; height: auto; display: block; }

/* Legal / prose */
.prose { max-width: 44em; }
.prose h2 { margin-top: 2.2rem; }
.prose ul { padding-left: 1.25rem; }
.prose li { margin-bottom: 0.5rem; }
.meta-line { color: var(--muted); font-size: 0.95rem; }

/* FAQ */
details {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  padding: 1rem 1.2rem;
  margin-bottom: 0.75rem;
}
summary { cursor: pointer; font-weight: 650; }
details p { margin: 0.6rem 0 0; color: var(--muted); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 2rem;
  padding: 2rem 0 2.5rem;
  font-size: 0.95rem;
  color: var(--muted);
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  align-items: baseline;
  justify-content: space-between;
}
.site-footer nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  margin: 0;
  padding: 0;
}

/* Responsive */
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
  .shots { grid-template-columns: repeat(2, 1fr); }
  section, article.hero { padding: 2.25rem 0; }
  .hero { padding-top: 2.75rem; }
}
@media (max-width: 520px) {
  body { font-size: 1rem; }
  .site-header .wrap { flex-direction: column; align-items: flex-start; }
  .shots { grid-template-columns: 1fr; }
  .shot { min-height: 0; }
  .shot .frame { min-height: 180px; }
}
