/* Siyam website: the app's Horizon look. Dark, Fern accent, gradients only for light. */
:root {
  --bg: #0f1012;
  --surface: #1b1d20;
  --stroke: rgba(242, 242, 242, 0.08);
  --text: #f2f2f2;
  --secondary: #a8abb0;
  --fern: #7cc49b;
  --on-fern: #0e2a1b;
  --coral: #e6a097;
  --radius: 22px;
  --measure: 40rem;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* The underline sits below the descenders and runs unbroken, rather than skipping around g, p and y. */
a { color: var(--fern); text-underline-offset: 0.36em; text-decoration-thickness: 1px; text-decoration-skip-ink: none; }
a:hover { text-decoration-thickness: 2px; }

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

/* Header and footer */
header.site {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 0;
}
.brand { display: flex; align-items: center; gap: 0.6rem; color: var(--text); text-decoration: none; font-weight: 600; font-size: 1.1rem; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
nav.site a { color: var(--secondary); text-decoration: none; margin-left: 1.25rem; font-size: 0.95rem; }
nav.site a:hover, nav.site a[aria-current="page"] { color: var(--text); }

footer.site {
  margin-top: 4rem; padding: 2rem 0 3rem;
  border-top: 1px solid var(--stroke);
  color: var(--secondary); font-size: 0.9rem;
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; justify-content: space-between;
}
footer.site a { color: var(--secondary); }

/* Home */
.hero { display: grid; gap: 2.5rem; align-items: center; padding: 2rem 0 1rem; }
@media (min-width: 52rem) { .hero { grid-template-columns: 1.05fr 1fr; padding-top: 3.5rem; } }
.hero h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); line-height: 1.05; margin: 0 0 1rem; letter-spacing: -0.02em; }
.hero p.lead { color: var(--secondary); font-size: 1.2rem; margin: 0 0 1.75rem; max-width: 32rem; }
.scene { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--stroke); display: block; }

.cta { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.9rem 1.5rem; border-radius: 999px; font-weight: 600; text-decoration: none; }
.cta.soon { background: var(--surface); color: var(--text); border: 1px solid rgba(124, 196, 155, 0.35); }
.cta .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--fern); }

.label { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--secondary); margin: 3.5rem 0 1rem; }

.features { display: grid; gap: 1.5rem 2rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.feature h3 { margin: 0 0 0.3rem; font-size: 1.05rem; }
.feature p { margin: 0; color: var(--secondary); font-size: 0.98rem; }
.feature .mark { width: 10px; height: 10px; border-radius: 50%; display: inline-block; margin-right: 0.5rem; vertical-align: 0.05em; }

.promise {
  margin-top: 3.5rem; padding: 1.5rem 1.75rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--stroke);
}
.promise h2 { margin: 0 0 0.4rem; font-size: 1.3rem; }
.promise p { margin: 0; color: var(--secondary); }

/* Pages */
main.page { padding: 1.5rem 0 1rem; }
main.page h1 { font-size: clamp(2rem, 5vw, 2.6rem); margin: 0.5rem 0 0.25rem; letter-spacing: -0.01em; }
main.page .meta { color: var(--secondary); margin: 0 0 2rem; }
main.page h2 { font-size: 1.25rem; margin: 2.25rem 0 0.5rem; }
main.page p, main.page li { color: #dcdde0; }
main.page ul { padding-left: 1.2rem; }
main.page li { margin: 0.35rem 0; }

.summary {
  padding: 1.25rem 1.5rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--stroke);
}
.summary p { margin: 0; }

details { border-bottom: 1px solid var(--stroke); padding: 0.9rem 0; }
details summary { cursor: pointer; font-weight: 600; list-style: none; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; float: right; color: var(--secondary); font-weight: 400; }
details[open] summary::after { content: "–"; }
details p { margin: 0.6rem 0 0; }

.contact { margin-top: 2.5rem; }
.contact .cta { background: var(--fern); color: var(--on-fern); }

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

@media (max-width: 30rem) {
  nav.site a { margin-left: 0.9rem; }
}
