/* SkySynth website: a poster in three inks. Coral and black are the logo's colours, white is the paper.
   - the picture is the engine's own tube, so nothing on the page is decoration
   - coral belongs to the two places that ask for something: the voice you can play, and Pro
   - whatever is chosen or playing is printed the other way round (white on black)
   - no grey text, no shadows; only pictures of the app are rounded (they are windows), everything else is square
   Unbounded = the logo's face, for the big lines. Barlow Semi Condensed = the app's face, for the rest. */
@font-face { font-family: Barlow; src: url(/fonts/BarlowSemiCondensed-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Barlow; src: url(/fonts/BarlowSemiCondensed-SemiBold.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: Unbounded; src: url(/fonts/Unbounded-SemiBold.woff2) format("woff2"); font-weight: 600; font-display: swap; }

:root { --ink: #111; --coral: #ff6a3d; --edge: clamp(18px, 4vw, 64px); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 60px; }
body { margin: 0; background: #fff; color: var(--ink); font: 400 20px/1.5 Barlow, "Segoe UI", sans-serif; }
h1, h2, p, dl, dd, ul { margin: 0; }
h1, h2 { font-weight: 600; text-wrap: balance; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 2px; cursor: pointer; }
/* the line keeps its thickness: a thick one is cut up by the p, y and g above it */
p a:hover, dd a:hover, li a:hover, .post a:hover { background: var(--ink); color: #fff; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; border-radius: 0; }
button:disabled { cursor: not-allowed; opacity: .45; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
.hero :focus-visible, .pro :focus-visible { outline-color: var(--ink); }
mark { background: #ffe14d; color: #111; padding: 0 4px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 9; background: #fff; color: #111; padding: 8px 14px; }
/* things that are looked at or pressed are not selectable; text people may copy is */
a, button, .wordmark, h1, h2, h3, th, dt, label, svg, img, .tubenote, .wavenote, .caption, .numbers table, .editions ul, footer p { -webkit-user-select: none; user-select: none; }
a[href^="mailto:"] { -webkit-user-select: text; user-select: text; }
img { -webkit-user-drag: none; }
.small { font-size: 18px; overflow-wrap: anywhere; }

.wordmark { font: 600 20px/1 Unbounded, sans-serif; color: #f4efe6; text-decoration: none; }
.wordmark span { color: var(--coral); }
.button { display: inline-flex; align-items: center; min-height: 64px; padding: 0 30px; background: var(--ink); color: #fff; font-weight: 600; font-size: 24px; text-decoration: none; }
.button:hover { background: #fff; color: var(--ink); }
.button.second { background: none; color: var(--ink); box-shadow: inset 0 0 0 3px var(--ink); }
.button.second:hover { background: #fff; }
.button:active { transform: translateY(2px); }

/* ---- top bar */
.top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; min-height: 60px; padding: 0 var(--edge); background: var(--ink); color: #fff; }
.top nav { display: flex; margin-left: auto; gap: 0 30px; }
.top nav a { display: inline-flex; align-items: center; min-height: 60px; text-decoration: none; }
.top nav a:hover { color: var(--coral); }

/* ---- the poster */
.hero { background: var(--coral); padding-top: clamp(24px, 2.8vw, 48px); overflow: hidden; }
h1 { font: 600 clamp(40px, 13.9vw, 330px)/.8 Unbounded, sans-serif; letter-spacing: -.045em; margin-left: -.05em; padding: .05em var(--edge) 0; white-space: nowrap; }
.intro { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px 50px; padding: clamp(22px, 2.6vw, 44px) var(--edge) 0; }
.intro > p:first-child { font-size: clamp(24px, 2.2vw, 38px); line-height: 1.2; font-weight: 600; max-width: 24em; }
.get { display: flex; flex-wrap: wrap; gap: 12px; }
.tube { display: block; width: 100%; height: clamp(170px, 17vw, 320px); margin-top: 18px; fill: var(--ink); }
.tubenote { padding: 8px var(--edge) 0; }
.sing { display: flex; align-items: center; gap: 22px; padding: 26px var(--edge) 0; }
.play { flex: none; width: 84px; height: 84px; display: grid; place-items: center; background: var(--ink); color: #fff; }
.play:hover:enabled { background: #fff; color: var(--ink); }
.play .i-stop, .playing .play .i-play { display: none; }
.playing .play .i-stop { display: block; }
.line { display: flex; flex-wrap: wrap; align-items: center; min-height: 1.5em; font-size: clamp(25px, 3.1vw, 46px); line-height: 1.1; font-weight: 600; }
.line button { min-height: 48px; padding: 2px .14em 4px; }
.line button:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px; }
.line .sung { background: var(--ink); color: #fff; }
.line.message { font-size: 24px; }
.pick { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 40px; margin-top: 24px; padding: 0 var(--edge); border-top: 3px solid var(--ink); }
.voices, .langs { display: flex; flex-wrap: wrap; }
.voices { margin-left: -14px; min-height: 60px; }
.pick button { min-height: 60px; padding: 0 14px; font-size: 21px; }
.pick button:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.pick button[aria-pressed=true] { background: var(--ink); color: #fff; text-decoration: none; }

/* ---- a voice is numbers */
.numbers { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: 40px clamp(32px, 6vw, 110px); padding: clamp(64px, 9vw, 150px) var(--edge); align-items: end; }
.numbers h2 { font: 600 clamp(32px, 4vw, 62px)/1.04 Unbounded, sans-serif; letter-spacing: -.03em; margin-bottom: 30px; }
.say p + p { margin-top: 16px; }
.scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
.caption { padding-bottom: 14px; }
.numbers table { min-width: 640px; font-variant-numeric: tabular-nums; }
.numbers thead th { font-weight: 400; font-size: 18px; text-align: right; padding: 6px 10px; border-bottom: 3px solid; }
.numbers thead th:first-child { text-align: left; }
.numbers tbody th { text-align: left; font-weight: 600; }
.numbers tbody button { width: 100%; min-height: 46px; padding: 0 10px; text-align: left; font-weight: 600; white-space: nowrap; }
.numbers tbody button:hover:enabled { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.numbers td { text-align: right; padding: 0 10px; }
.numbers tbody tr { border-bottom: 1px solid var(--ink); }
.numbers tr.on { background: var(--ink); color: #fff; }
.numbers tbody button:focus-visible { outline-offset: -5px; }

/* ---- the program */
.shot { border-radius: clamp(8px, 1.1vw, 16px); }
.editor { background: var(--ink); color: #fff; padding: clamp(28px, 4vw, 64px) var(--edge) clamp(56px, 7vw, 110px); }
.editor > .shot { display: block; width: 100%; height: auto; box-shadow: 0 0 0 1px #34373c; }
.missing { display: grid; place-items: center; aspect-ratio: 16 / 8; padding: 24px; text-align: center; border: 2px dashed #fff; }
.editor h2 { font: 600 clamp(32px, 4vw, 62px)/1.04 Unbounded, sans-serif; letter-spacing: -.03em; padding: clamp(40px, 5vw, 80px) 0 26px; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(28px, 4vw, 72px); }
.features > div { padding: 18px 0 30px; border-top: 3px solid #fff; }
.features h3 { margin: 0 0 4px; font-size: 25px; line-height: 1.25; font-weight: 600; }

/* ---- two things up close */
.close { display: grid; grid-template-columns: minmax(0, 10fr) minmax(0, 3fr); gap: 40px clamp(32px, 4vw, 64px); padding: 0 var(--edge); align-items: start; margin-top: clamp(56px, 7vw, 110px); }
.close .shot { display: block; width: 100%; height: auto; }
.close h2 { font-size: 34px; line-height: 1.15; margin: 22px 0 4px; }
.close p { max-width: 36em; }

/* ---- growl: the sound itself */
.growl { padding: clamp(64px, 7vw, 110px) 0 clamp(56px, 6vw, 90px); }
.growltext { display: flex; flex-wrap: wrap; gap: 14px 60px; align-items: baseline; padding: 0 var(--edge) 34px; }
.growl h2 { font-size: 40px; line-height: 1.1; }
.growl p { max-width: 34em; }
.waves button { display: block; position: relative; width: 100%; border-top: 3px solid var(--ink); text-align: left; }
.waves button:last-child { border-bottom: 3px solid var(--ink); }
.waves span { display: block; padding: 10px var(--edge) 0; font-weight: 600; font-size: 22px; }
.waves svg { display: block; width: 100%; height: clamp(110px, 12vw, 190px); margin-bottom: 8px; fill: none; stroke: var(--ink); stroke-width: 4; }
.waves polyline { vector-effect: non-scaling-stroke; }
.waves button:hover span { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.waves button:focus-visible { outline-offset: -6px; }
.waves [aria-pressed=true] { background: var(--ink); color: #fff; }
.waves [aria-pressed=true] svg { stroke: #fff; }
.growl .wavenote { padding: 14px var(--edge) 0; max-width: none; }

/* ---- Pro and Free: Pro is the product, so it comes first and gets the room */
.editions { display: grid; grid-template-columns: 3fr 2fr; }
.editions > div { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding: clamp(48px, 6vw, 96px) var(--edge); }
.editions h2 { font: 600 clamp(44px, 7vw, 110px)/1 Unbounded, sans-serif; letter-spacing: -.03em; }
.editions h2 span { display: block; margin-top: 12px; font: 400 22px/1.3 Barlow, sans-serif; letter-spacing: 0; }
.editions .button { margin-top: 12px; }
.editions .small { max-width: 40em; }
.free { background: var(--ink); color: #fff; }
.free .button { background: #fff; color: var(--ink); }
.free .button:hover { background: var(--coral); }
.free p a:hover { background: #fff; color: var(--ink); }
.pro { background: var(--coral); }
.pro ul { list-style: none; padding: 0; width: 100%; }
.pro li { padding: 9px 0; font-size: 24px; line-height: 1.25; border-top: 1px solid var(--ink); }
.pro li:last-child { border-bottom: 1px solid var(--ink); }

/* ---- questions, specifications */
.questions { padding: clamp(64px, 8vw, 120px) var(--edge); }
.questions h2 { font-size: 40px; line-height: 1.1; margin-bottom: 28px; }
.qa { columns: 2; column-gap: clamp(32px, 6vw, 110px); }
.qa div { break-inside: avoid; padding-bottom: 28px; }
.qa dt { font-weight: 600; font-size: 22px; }
.questions .spechead { margin-top: 56px; }
.specs th { text-align: left; font-weight: 600; width: 24%; min-width: 130px; vertical-align: top; }
.specs th, .specs td { padding: 11px 16px 11px 0; border-top: 1px solid var(--ink); }
.specs tr:last-child > * { border-bottom: 1px solid var(--ink); }

footer { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 40px; padding: 40px var(--edge); background: var(--ink); color: #fff; font-size: 18px; }
footer nav { display: flex; flex-wrap: wrap; gap: 0 26px; margin-left: auto; }
footer p a:hover, footer nav a:hover { background: none; color: var(--coral); }
footer a { display: inline-flex; align-items: center; min-height: 44px; }

/* ---- text pages and news */
.text, .newspage { max-width: 860px; padding: 72px var(--edge) 110px; min-height: 60vh; }
.newspage { max-width: none; }
.text h1, .newspage h1 { font-size: clamp(36px, 5vw, 72px); line-height: 1; margin-bottom: 26px; }
.text h2 { font-size: 26px; margin: 40px 0 8px; line-height: 1.2; }
.text p + p { margin-top: 12px; }
.text ul { padding-left: 22px; margin: 8px 0; }
.post { display: grid; grid-template-columns: 170px minmax(0, 42em); gap: 8px 32px; padding: 30px 0; border-top: 3px solid var(--ink); }
.post h2 { font-size: 30px; line-height: 1.15; margin-bottom: 10px; }
.post img { display: block; width: 100%; height: auto; margin-bottom: 18px; border: 3px solid var(--ink); }
.post p + p { margin-top: 10px; }

@media (max-width: 1150px) { .numbers { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 900px) {
  html { scroll-padding-top: 78px; }
  .top { flex-wrap: wrap; padding-top: 12px; }
  .top nav { width: 100%; margin: 0; justify-content: space-between; gap: 0 8px; }
  .top nav a { min-height: 46px; font-size: 18px; white-space: nowrap; }
  .intro { flex-direction: column; align-items: flex-start; }
  .intro > div { flex: none; }
  .numbers, .editions, .close, .features { grid-template-columns: minmax(0, 1fr); }
  .missing { aspect-ratio: 16 / 10; }
  .close > div:last-child .shot { max-width: 420px; }
}
@media (max-width: 600px) {
  body { font-size: 19px; }
  .sing { align-items: flex-start; gap: 14px; }
  .play { width: 64px; height: 64px; }
  .pick button { min-height: 46px; padding: 0 10px; font-size: 19px; }
  .voices { margin-left: -10px; padding: 6px 0; }
  .langs { width: 100vw; margin: 0 calc(-1 * var(--edge)); border-top: 1px solid var(--ink); }
  .langs button { flex: 1; min-height: 52px; }
  .qa { columns: 1; }
  .growl h2, .questions h2 { font-size: 33px; }
  .post { grid-template-columns: minmax(0, 1fr); }
  .button { font-size: 22px; padding: 0 24px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .button:active { transform: none; } }
