/* Skynr Labs: shared styles for every page */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap");

:root {
  --bg: #0d0c15;
  --bg-2: #15131f;
  --line: #24213a;
  --text: #e9e8f2;
  --muted: #a9a6bd;
  --dim: #8e8ba6;
  --white: #ffffff;
  --teal: #18c6cc;
  --violet: #8b5cf6;
  --pink: #ec4899;
  --master: linear-gradient(90deg, #8b5cf6, #ec4899);
  --wrap: 1240px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #c4b5fd; text-decoration: none; }
a:hover { color: var(--white); }
h1, h2, h3 { font-family: "Space Grotesk", Inter, sans-serif; color: var(--white); letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; color: #000; padding: 8px 12px; border-radius: 8px; z-index: 10; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(13, 12, 21, 0.88); backdrop-filter: blur(10px); border-bottom: 1px solid #1a1828; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 16px; padding-bottom: 16px; }
.logo { display: flex; align-items: baseline; gap: 8px; color: var(--white); }
.logo b { font-family: "Space Grotesk", sans-serif; font-size: 25px; letter-spacing: -0.5px; }
.logo span { font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: 12px; letter-spacing: 4px; color: var(--teal); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 26px; font-size: 15px; font-weight: 500; }
.nav a { color: #d6d4e6; }
.nav a[aria-current="page"] { color: var(--white); }
.nav .pill { background: var(--white); color: var(--bg); padding: 10px 18px; border-radius: 999px; font-weight: 600; }

/* buttons */
.btns { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; border-radius: 12px; font-weight: 600; font-size: 16px; border: 1px solid transparent; }
.btn-master { background: var(--master); color: #fff; }
.btn-midi { background: var(--teal); color: #08262a; }
.btn-midi:hover { color: #08262a; filter: brightness(1.08); }
.btn-master:hover { color: #fff; filter: brightness(1.08); }
.btn-ghost { border-color: #4b4570; color: #fff; }
.btn-ghost.teal { border-color: #3a8d93; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.06); }

/* sections */
section { padding: 72px 0; }
.eyebrow { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--teal); }
.lead { font-size: 20px; color: #b9b7cc; margin: 0; }
.h2 { font-size: clamp(32px, 4vw, 44px); margin-bottom: 28px; }
.muted { color: var(--muted); }
.small { font-size: 14px; color: var(--dim); }

/* hero */
.hero { padding: 64px 0 40px; }
.hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hero-text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: clamp(40px, 5.4vw, 64px); line-height: 1.04; }
.hero-art { flex: 1 1 520px; min-width: 0; position: relative; padding-bottom: 64px; }
.hero-art img { border-radius: 14px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55); }
.hero-art .a { width: 88%; border: 1px solid #2a2740; }
.hero-art .b { width: 68%; position: absolute; right: 0; bottom: 0; border: 1px solid #1d3a3d; }

/* cards */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card { background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.card h3 { font-size: 18px; margin-bottom: 6px; font-family: Inter, sans-serif; letter-spacing: 0; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* product blocks */
.product { border-radius: 24px; padding: 40px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; margin-bottom: 36px; }
.product.master { background: linear-gradient(160deg, #1f1533, #14121e 60%); border: 1px solid #33285a; }
.product.midi { background: linear-gradient(160deg, #0f2427, #121618 60%); border: 1px solid #1f4448; }
.product-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.product-shot { flex: 1 1 480px; min-width: 0; border-radius: 14px; }
.app-title { display: flex; align-items: center; gap: 16px; }
.app-title img { width: 64px; height: 64px; }
.app-title h2, .app-title h3 { font-size: 32px; }
.app-title p { margin: 2px 0 0; font-size: 14px; color: var(--dim); }
.tagline { margin: 0; font-size: 22px; line-height: 1.4; color: #fff; font-weight: 600; }
.ticks { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; color: #c9c6db; }

/* feature rows on app pages */
.feature { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding: 40px 0; border-top: 1px solid #1c1a2b; }
.feature:nth-child(even) { flex-direction: row-reverse; }
.feature > div { flex: 1 1 380px; min-width: 0; }
.feature > img { flex: 1 1 520px; min-width: 0; border-radius: 14px; border: 1px solid var(--line); }
.feature h3 { font-size: 28px; margin-bottom: 12px; }
.feature p { color: #c2bfd4; margin: 0 0 12px; }

/* price box */
.buy { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 20px; padding: 32px; }
.price { font-family: "Space Grotesk", sans-serif; font-size: 40px; font-weight: 700; color: #fff; }

/* blog */
.posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.post-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; color: var(--text); }
.post-card:hover { border-color: #3a3560; color: var(--text); }
.post-card img { aspect-ratio: 16 / 9; object-fit: cover; }
.post-card div { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.tag { font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.tag.master { color: var(--pink); } .tag.midi { color: var(--teal); }
.post-card strong { font-size: 19px; line-height: 1.35; color: #fff; }
.post-card span.ex { font-size: 15px; color: var(--muted); }
.article { max-width: 760px; margin: 0 auto; padding: 56px 32px 80px; }
.article h1 { font-size: clamp(32px, 4.4vw, 46px); margin: 12px 0 18px; }
.article .cover { border-radius: 16px; border: 1px solid var(--line); margin: 28px 0 8px; }
.article h2 { font-size: 30px; margin: 40px 0 12px; }
.article h3 { font-size: 22px; margin: 32px 0 10px; }
.article p, .article li { color: #d0cee0; font-size: 17px; }
.article li { margin-bottom: 6px; }
.article table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 15px; display: block; overflow-x: auto; }
.article th, .article td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.article th { background: var(--bg-2); color: #fff; }
.article code { background: #1b1928; padding: 2px 6px; border-radius: 6px; font-size: 15px; }

/* faq */
details { background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; margin-bottom: 12px; }
summary { cursor: pointer; font-weight: 600; color: #fff; font-size: 17px; }
details p, details li { color: #c9c6db; }

/* footer */
.site-footer { border-top: 1px solid #211f31; background: #0a0911; padding: 48px 0; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.foot-cols { display: flex; flex-wrap: wrap; gap: 48px; font-size: 15px; }
.foot-cols div { display: flex; flex-direction: column; gap: 8px; }
.foot-cols b { color: #fff; }
.foot-cols a { color: var(--muted); }
.copy { width: 100%; font-size: 13px; color: #6f6c86; margin: 16px 0 0; }

@media (max-width: 640px) {
  .site-header { position: static; }
  .wrap { padding: 0 20px; }
  section { padding: 52px 0; }
  .product { padding: 24px; }
  .nav { gap: 6px 18px; }
}

/* contact form */
.contact-form { display: grid; gap: 20px; }
.contact-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .contact-form .row2 { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; font-weight: 600; color: #fff; font-size: 15px; }
.field[hidden] { display: none; }
.field .opt, .field .req { font-weight: 400; color: var(--dim); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-weight: 400; color: var(--text); background: var(--bg-2);
  border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px;
}
.field textarea { resize: vertical; min-height: 160px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.25); }
.choice { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.choice legend { font-weight: 600; color: #fff; font-size: 15px; margin-bottom: 10px; padding: 0; }
.choice label { display: inline-flex; align-items: center; gap: 8px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; cursor: pointer; color: #d6d4e6; }
.choice label:has(input:checked) { border-color: var(--violet); color: #fff; background: rgba(139, 92, 246, 0.14); }
.choice input { accent-color: var(--violet); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form button[disabled] { opacity: 0.6; cursor: wait; }
.form-error { background: rgba(236, 72, 153, 0.12); border: 1px solid rgba(236, 72, 153, 0.5); color: #fbcfe8; border-radius: 12px; padding: 14px 18px; margin-bottom: 20px; }
.form-done { background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.form-done h2 { font-size: 26px; margin-bottom: 8px; }
.form-done p { margin: 0; color: #c9c6db; }

/* bundle */
.bundle { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; margin-top: 32px; padding: 28px 32px; border-radius: 20px; border: 1px solid #3a3360; background: linear-gradient(90deg, rgba(139, 92, 246, 0.14), rgba(24, 198, 204, 0.12)); }
.bundle h3 { font-size: 26px; margin-bottom: 6px; }
.bundle p { margin: 0; color: #c9c6db; max-width: 640px; }
.buy a.small { color: #c4b5fd; }
