/* Sylph — light & airy (v1.1 redesign). The family's only light site:
   pale sky, soft shadows, thin type, and a breathing orb. No dark panels, no borders. */

:root {
  --bg: #f4f8fc;
  --card: #ffffff;
  --ink: #22303f;
  --ink-soft: #5a6b7d;
  --ink-faint: #8b9aab;
  --accent: #4a7fb5;
  --accent-deep: #3d6da0;
  --aqua: #bfe4e8;
  --lavender: #d9d3f0;
  --grad: linear-gradient(120deg, #6f9fd0, #9b8fd6);
  --shadow: 0 10px 34px rgba(70, 100, 140, .10);
  --shadow-soft: 0 6px 22px rgba(70, 100, 140, .08);
  --radius: 20px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.7 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 960px; margin: 0 auto; padding: 0 24px; }
a { color: var(--accent-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-weight: 300; letter-spacing: .4px; }

/* ---------- header ---------- */
header.site { display: flex; align-items: center; justify-content: space-between; padding: 26px 0 10px; }
.wordmark { display: flex; align-items: center; gap: 12px; font-weight: 500; letter-spacing: 7px; font-size: 18px; color: var(--ink); }
.wordmark a { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.logo-s { width: 34px; height: 34px; }
.logo-s .spiral { transform-origin: 32px 32px; transition: transform .8s ease; }
.wordmark:hover .outer { transform: rotate(40deg); }
.wordmark:hover .inner { transform: rotate(-50deg); }
nav a { color: var(--ink-soft); margin-left: 22px; font-size: 14px; }
nav a:hover { color: var(--ink); text-decoration: none; }

/* ---------- hero ---------- */
.hero { padding: 44px 0 26px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 36px; align-items: center; }
.hero h1 { font-size: clamp(34px, 6vw, 50px); line-height: 1.15; font-weight: 275; }
.hero p.sub { margin-top: 18px; color: var(--ink-soft); font-size: 17px; max-width: 46ch; }
.trustline { margin-top: 22px; color: var(--ink-faint); font-size: 14px; letter-spacing: .4px; }
.btn-row { margin-top: 28px; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.quiet-link { font-size: 15px; }

/* the breathing orb — pure CSS, ~11s cycle (roughly the Coherent 5.5 / 5.5 rhythm) */
.orb-stage { position: relative; display: flex; justify-content: center; align-items: center; min-height: 320px; }
.orb-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: min(400px, 82vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(169, 198, 226, .5) 0%, rgba(217, 211, 240, .3) 55%, rgba(217, 211, 240, 0) 72%);
  animation: halo 11s ease-in-out infinite;
}
.orb {
  position: relative;
  width: min(280px, 56vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, #ffffff 0%, #dcebf8 42%, #aecbe6 78%, rgba(174, 203, 230, 0) 100%);
  animation: breathe 11s ease-in-out infinite;
}
@keyframes breathe { 0%, 100% { transform: scale(.86); } 50% { transform: scale(1.05); } }
@keyframes halo { 0%, 100% { transform: scale(.9); opacity: .55; } 50% { transform: scale(1.14); opacity: 1; } }

/* ---------- calm band (privacy statement) ---------- */
.calm-band {
  margin: 52px 0 8px;
  padding: 40px 0;
  background: linear-gradient(120deg, rgba(191, 228, 232, .45), rgba(217, 211, 240, .45));
}
.calm-band p { max-width: 70ch; }
.calm-band .fine { margin-top: 10px; font-size: 14px; color: var(--ink-soft); }

/* ---------- sections ---------- */
section { padding: 44px 0 8px; }
section h2 { font-size: clamp(24px, 3.6vw, 32px); margin-bottom: 8px; }
p.lead { color: var(--ink-soft); }

.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; margin-top: 26px; }
.feature { background: var(--card); border-radius: var(--radius); padding: 22px 20px; box-shadow: var(--shadow-soft); }
.feature h3 { font-size: 16px; font-weight: 500; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.feature p { font-size: 14px; color: var(--ink-soft); }
.free { font-size: 10.5px; letter-spacing: 1px; font-weight: 600; color: #2b7a72; background: #dff2f0; padding: 2px 8px; border-radius: 999px; }

.checklist { list-style: none; margin-top: 24px; display: grid; gap: 16px; max-width: 62ch; }
.checklist li { position: relative; padding-left: 36px; font-size: 15.5px; color: var(--ink-soft); }
.checklist li::before {
  content: "✓";
  position: absolute; left: 0; top: 2px;
  width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, var(--aqua), var(--lavender));
  color: var(--ink); font-size: 12px;
  display: flex; align-items: center; justify-content: center;
}
.checklist strong { color: var(--ink); font-weight: 500; }

/* ---------- pro ---------- */
.pro-card {
  margin-top: 26px;
  background: linear-gradient(160deg, #ffffff, #f2effc);
  border-radius: 24px;
  padding: 36px 34px;
  box-shadow: var(--shadow);
  max-width: 560px;
}
.price { font-size: 34px; font-weight: 300; }
.price small { font-size: 14px; color: var(--ink-soft); font-weight: 400; margin-left: 6px; }
.pro-card ul { list-style: none; margin: 18px 0 6px; display: grid; gap: 10px; }
.pro-card li { position: relative; padding-left: 26px; font-size: 15px; }
.pro-card li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); }
.fine { font-size: 13.5px; color: var(--ink-faint); margin-top: 14px; }

/* ---------- download ---------- */
.download-box {
  margin-top: 26px;
  background: var(--card);
  border-radius: 24px;
  padding: 38px 34px;
  box-shadow: var(--shadow);
  text-align: center;
}
.btn {
  display: inline-block;
  background: var(--grad);
  color: #fff;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(110, 140, 200, .35);
  transition: transform .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(110, 140, 200, .45); text-decoration: none; }
.btn.ghost { background: transparent; color: var(--ink-soft); box-shadow: none; border: 1px solid #d5e2ee; }
.btn.ghost:hover { transform: none; color: var(--ink); }
.download-box .btn { margin: 4px 6px; }
.dlcount { margin-top: 14px; font-size: 13px; color: var(--ink-faint); min-height: 18px; }
.dlcount:not(:empty)::before { content: "↓ "; }
.note { font-size: 13px; color: var(--ink-faint); margin: 16px auto 0; max-width: 60ch; }

/* ---------- footer ---------- */
footer.site {
  margin-top: 64px;
  border-top: 1px solid #e3ecf4;
  padding: 26px 0 40px;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: 14px; color: var(--ink-faint);
}
footer.site a { color: var(--ink-soft); margin-right: 18px; }

/* hover-reveal view counter (fixed, quiet) */
.viewcount {
  position: fixed; right: 14px; bottom: 12px;
  font-size: 12px; color: var(--ink-faint);
  padding: 6px 10px;
  opacity: 0; transition: opacity .25s ease;
}
.viewcount:hover { opacity: 1; }

/* ---------- subpages ---------- */
article.page { max-width: 680px; margin: 30px auto 0; }
article.page h1 { font-size: 34px; margin-bottom: 4px; }
.updated { color: var(--ink-faint); font-size: 14px; margin-bottom: 26px; }
article.page h2 { font-size: 19px; font-weight: 500; margin: 28px 0 8px; }
article.page p, article.page li { color: var(--ink-soft); font-size: 15.5px; }
article.page ul { padding-left: 22px; margin: 10px 0; }
article.page li { margin: 6px 0; }
article.page strong { color: var(--ink); font-weight: 600; }
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-soft); padding: 20px 22px; margin: 18px 0; }
.log-entry { position: relative; overflow: hidden; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-soft); padding: 22px 24px 22px 28px; margin: 18px 0; }
.log-entry::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--aqua), var(--lavender)); }
.log-entry h2 { margin-top: 0; }
.date { color: var(--ink-faint); font-size: 13px; margin-bottom: 8px; }

/* ---------- small screens / accessibility ---------- */
@media (max-width: 720px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero p.sub { margin-inline: auto; }
  .btn-row { justify-content: center; }
  .trustline { font-size: 13px; }
  .orb-stage { min-height: 250px; }
  nav a { margin-left: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orb, .orb-stage::before { animation: none; }
  .logo-s .spiral { transition: none; }
  .btn { transition: none; }
}
