/* osyn.app website. Colours, type and the wordmark come from the Osyn app's own header kit
   (osyn-engines strata/design/header-kit/tokens.css) so the site looks like the instruments. */
:root {
  --bg: #15130f;
  --raised: #211e19;
  --sunken: #0e0d0a;
  --line: #3a352d;
  --line-soft: #2a2620;
  --text: #ede6d8;
  --muted: #a49c8c;
  --on-accent: #1a1712;
  --focus: #ffd27a;
  --poly: #e8a33a;
  --mono: #3fb8af;
  --tine: #d9643a;
  --ivory: #e6d9b8;
  --accent: var(--poly);
  --radius: 12px;
  --font: "Inter", "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}
[data-product="poly"] { --accent: var(--poly); }
[data-product="mono"] { --accent: var(--mono); }
[data-product="tine"] { --accent: var(--tine); }
[data-product="ivory"] { --accent: var(--ivory); }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.55 var(--font); }
img { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Header: the same wordmark as the plugin header (OSYN | PRODUCT) */
.top { position: sticky; top: 0; z-index: 10; background: rgba(33, 30, 25, 0.94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 56px; gap: 16px; }
.mark { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 17px; letter-spacing: 0.14em;
  color: var(--text); text-decoration: none; text-transform: uppercase; white-space: nowrap; }
.mark i { width: 1px; height: 18px; background: var(--line); }
.mark b { color: var(--accent); font-weight: 700; }
.top nav { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.top nav a { color: var(--muted); text-decoration: none; }
.top nav a:hover, .top nav a[aria-current="page"] { color: var(--text); }
.top nav a.store { color: var(--on-accent); background: var(--poly); padding: 7px 14px; border-radius: 8px; font-weight: 600; }
.top nav a.store:hover { color: var(--on-accent); filter: brightness(1.08); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 8px;
  width: 40px; height: 36px; font-size: 18px; cursor: pointer; }

/* Type */
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(34px, 6vw, 58px); font-weight: 700; }
h2 { font-size: clamp(26px, 3.6vw, 36px); font-weight: 700; }
h3 { font-size: 20px; font-weight: 600; }
.caps { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 640px; }
.muted { color: var(--muted); }

/* Home hero */
.hero { padding: 88px 0 56px; }
.hero .big { font-size: clamp(54px, 12vw, 128px); font-weight: 700; letter-spacing: 0.18em; line-height: 1; margin: 14px 0 22px; }
.hero .big span { color: var(--poly); }
.hero .lead { margin: 0 0 28px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px;
  border-radius: 10px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid var(--line);
  color: var(--text); background: var(--raised); }
.btn:hover { border-color: #57504420; filter: brightness(1.1); }
.btn.go { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

section { padding: 56px 0; }
section + section { border-top: 1px solid var(--line-soft); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }

/* Product cards */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card { background: var(--raised); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  text-decoration: none; color: var(--text); display: flex; flex-direction: column; transition: border-color .15s, transform .15s; }
a.card:hover { border-color: var(--accent); transform: translateY(-2px); }
.card .shot { aspect-ratio: 1860 / 990; background: var(--sunken); border-bottom: 1px solid var(--line); }
.card .shot img { width: 100%; height: 100%; object-fit: cover; }
.card .body { padding: 18px 20px 20px; display: grid; gap: 6px; }
.card .name { font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; font-size: 15px; }
.card .name b { color: var(--accent); }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.tag { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 10px; border-radius: 99px;
  border: 1px solid var(--line); color: var(--muted); }
.tag.soon { border-color: var(--accent); color: var(--accent); }

.later { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.later .card { padding: 22px; gap: 8px; }
.later .card .name { color: var(--text); }

/* Feature rows */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fact { background: var(--raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.fact h3 { margin-bottom: 6px; font-size: 18px; }
.fact p { margin: 0; color: var(--muted); font-size: 16px; }

/* Product page */
.p-hero { padding: 56px 0 28px; }
.p-hero .mark { font-size: clamp(26px, 5vw, 44px); gap: 18px; margin-bottom: 16px; }
.p-hero .mark i { height: clamp(26px, 4vw, 40px); }
.p-hero .lead { margin: 0 0 24px; }
.p-shot { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--sunken); }
.list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px; }
.list li { padding-left: 20px; position: relative; color: var(--text); }
.list li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.modes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.modes span { background: var(--sunken); border: 1px solid var(--line); border-radius: 6px; padding: 5px 10px; font-size: 14px; }
.buy { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; background: var(--raised);
  border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius); padding: 22px 24px; }
.buy p { margin: 4px 0 0; color: var(--muted); }

/* Text pages (contact, privacy, terms) */
.doc { max-width: 760px; padding: 56px 20px 72px; margin: 0 auto; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); margin-bottom: 10px; }
.doc h2 { font-size: 22px; margin: 34px 0 10px; }
.doc p, .doc li { color: #d9d2c4; }
.doc ul { padding-left: 22px; }
.draft { background: #3a301a; color: #f3dca0; border: 1px solid #5c4a22; border-radius: 10px; padding: 12px 14px; font-size: 15px; margin: 18px 0 8px; }
.contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 26px; }
.contact-cards .fact a { font-weight: 600; font-size: 18px; }

/* Footer */
footer { border-top: 1px solid var(--line); background: var(--sunken); margin-top: 24px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; padding: 28px 20px 36px; font-size: 15px; color: var(--muted); }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }

/* Phones */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .menu-btn { display: inline-block; }
  .top nav { display: none; position: absolute; top: 56px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--raised); border-bottom: 1px solid var(--line); padding: 8px 20px 16px; }
  .top nav.open { display: flex; }
  .top nav a { padding: 12px 0; border-bottom: 1px solid var(--line-soft); font-size: 17px; }
  .top nav a.store { margin-top: 12px; text-align: center; border-bottom: none; }
  .hero { padding: 56px 0 40px; }
  .grid, .later, .facts, .contact-cards, .list { grid-template-columns: 1fr; }
  section { padding: 40px 0; }
}
