/* listnstudio.com, the public site. Black, heavy display type, real screenshots in rounded frames, one teal accent.
   Few borders: things are separated by spacing and shading. The admin has its own stylesheet (admin.css). */
@font-face {
    font-family: "Poppins Tight";
    src: url("../fonts/Poppins-tight.woff2") format("woff2-variations"), url("../fonts/Poppins-tight.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Poppins";
    src: url("../fonts/Poppins.woff2") format("woff2-variations"), url("../fonts/Poppins.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --black: #000;
    --s1: #121212;     /* panels on black */
    --s2: #1a1a1a00;     /* inputs, rows */
    --s3: #242424;     /* raised, plain buttons */
    --s4: #2e2e2e;     /* hover */
    --text: #f5f5f5;
    --text-2: #a9a9a9;
    --text-3: #6f6f6f;
    --teal: #00f5d8;
    --teal-hi: #6bffec;
    --ink: #00241f;    /* dark text on teal */
    --ink-2: #003a32;
    --ok-bg: #062a25;
    --err-bg: #2c1414;
    --err-text: #ffc2c2;
    --danger: #ff6b6b;
    --warn: #ffb547;
    --wrap: 1280px;
    --gutter: 32px;
    --r-lg: 24px;
    --r-md: 16px;
    --r-sm: 10px;
    --display: "Poppins Tight", "Poppins", system-ui, -apple-system, "Segoe UI", Poppins, sans-serif;
    --body: "Poppins", system-ui, -apple-system, "Segoe UI", Poppins, sans-serif;
    color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
    margin: 0;
    background: var(--black);
    color: var(--text);
    font-family: var(--body);
    font-size: 17px;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
main { flex: 1 0 auto; padding-top: 88px; }
img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0 0 16px; font-family: var(--display); font-weight: 700; line-height: 1.02; letter-spacing: -0.035em; color: var(--text); text-wrap: balance; }
h1 { font-size: clamp(46px, 7.2vw, 96px); font-weight: 760; letter-spacing: -0.048em; line-height: 0.94; text-transform: capitalize; }
h2 { font-size: clamp(34px, 4.6vw, 64px); letter-spacing: -0.042em; line-height: 0.98; }
h3 { font-size: 22px; letter-spacing: -0.02em; line-height: 1.15; }
p { margin: 0 0 14px; }
b, strong { font-weight: 600; }
code, .mono { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 0.9em; }
hr { border: 0; height: 1px; background: var(--s3); margin: 28px 0; }
::selection { background: var(--teal); color: var(--ink); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--text-2); }
.faint { color: var(--text-3); }
.small { font-size: 14px; }
.tiny { font-size: 12.5px; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--teal); color: var(--ink); padding: 10px 16px; border-radius: var(--r-sm); font-weight: 700; }
.skip:focus { top: 12px; }

/* A short line above a heading that says what the section is about (sentence case, teal) */
.kicker { font-family: var(--display); font-size: 17px; font-weight: 600; letter-spacing: -0.01em; color: var(--teal); margin: 0 0 18px; }
.lead { font-size: 20px; line-height: 1.5; color: var(--text-2); max-width: 620px; }
.label { display: inline-block; font-size: 15px; font-weight: 600; color: var(--text-2); margin-bottom: 10px; }
.label.accent { color: var(--teal); }

/* Header: a floating rounded bar over the page */
.top { position: sticky; top: 0; z-index: 30; height: 0; padding: 0 var(--gutter); }
.top .bar {
    max-width: var(--wrap); margin: 14px auto 0; height: 62px;
    display: flex; align-items: center; gap: 22px; padding: 0 10px 0 22px;
    background: rgba(22, 22, 22, 0.78);
    -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
    border-radius: var(--r-md);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand img { height: 40px; width: auto; }
.brand span { font-family: var(--display); font-size: 19px; font-weight: 600; letter-spacing: -0.02em; color: var(--text); }
.nav { display: flex; align-items: center; gap: 2px; flex: 1; justify-content: center; }
.nav a { color: var(--text-2); padding: 8px 14px; font-size: 15px; font-weight: 500; border-radius: var(--r-sm); }
.nav a:hover { color: var(--text); text-decoration: none; background: rgba(255, 255, 255, 0.06); }
.nav a.on { color: var(--text); background: rgba(255, 255, 255, 0.09); }
.nav-right { display: flex; align-items: center; gap: 6px; }
.nav-right form { margin: 0; }
.menu { display: none; margin-left: auto; position: relative; }
.menu summary { list-style: none; cursor: poPoppins; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: var(--r-sm); background: var(--s3); font-size: 15px; font-weight: 600; }
.menu summary::-webkit-details-marker { display: none; }
.menu .burger { display: grid; gap: 5px; width: 16px; }
.menu .burger i { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.15s ease; }
.menu[open] summary { background: var(--teal); color: var(--ink); }
.menu[open] .burger i:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu[open] .burger i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.menu .menu-panel {
    position: absolute; right: -10px; top: calc(100% + 18px); width: min(320px, calc(100vw - 32px));
    background: #181818;
    border-radius: var(--r-md); padding: 10px; display: flex; flex-direction: column; gap: 2px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}
.menu .menu-panel a, .menu .menu-panel button:not(.btn) { color: var(--text); padding: 13px 14px; text-align: left; background: none; border: 0; font: inherit; font-size: 17px; cursor: poPoppins; border-radius: var(--r-sm); width: 100%; }
.menu .menu-panel a:hover, .menu .menu-panel button:not(.btn):hover { background: var(--s3); text-decoration: none; }
.menu .menu-panel form { margin: 0; }
.menu .menu-panel a.btn { margin-top: 8px; background: var(--teal); color: var(--ink); justify-content: center; text-align: center; font-weight: 650; }
.menu .menu-panel a.btn:hover { background: var(--teal-hi); }

/* Buttons: rounded, bold. Teal for the main action, grey for the rest. */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 24px; min-height: 48px;
    background: var(--s3); color: var(--text);
    border: 0; border-radius: var(--r-sm);
    font: inherit; font-size: 16px; font-weight: 650; line-height: 1.2; letter-spacing: -0.005em;
    cursor: poPoppins; text-decoration: none; white-space: nowrap;
    transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--s4); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--teal); color: var(--ink); }
.btn-accent:hover { background: var(--teal-hi); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--text-2); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.07); color: var(--text); }
.btn-ink { background: var(--ink); color: var(--teal); }
.btn-ink:hover { background: #000; color: var(--teal-hi); }
.btn-ink-ghost { background: rgba(0, 36, 31, 0.12); color: var(--ink); }
.btn-ink-ghost:hover { background: rgba(0, 36, 31, 0.22); color: var(--ink); }
.btn-danger { background: #3a1d1d; color: var(--err-text); }
.btn-danger:hover { background: #4a2222; }
.btn-sm { padding: 8px 14px; min-height: 38px; font-size: 14.5px; }
.btn-lg { padding: 16px 28px; min-height: 56px; font-size: 17px; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.center-btns { justify-content: center; margin-top: 36px; }
.inline { display: inline; margin: 0; }

/* Flash */
.flashes { padding-top: 8px; position: relative; z-index: 2; }
.flash { padding: 15px 20px; margin-bottom: 10px; background: var(--ok-bg); color: #c6fff7; border-radius: var(--r-sm); }
.flash.err { background: var(--err-bg); color: var(--err-text); }
.flash ul { margin: 6px 0 0; padding-left: 18px; }

/* Wave line art. The tile repeats across, so the drifting version scrolls without a seam. */
.waves { position: absolute; left: 0; right: 0; top: 0; height: 100%; overflow: hidden; poPoppins-events: none; z-index: 0; }
.waves i { position: absolute; top: 0; bottom: 0; left: 0; width: 200%; background-repeat: repeat-x; background-size: 50% 100%; background-position: 0 50%; }
.waves-teal i { background-image: url("../img/waves-teal.svg"); }
.waves-soft i { background-image: url("../img/waves-soft.svg"); }
.waves-ink i { background-image: url("../img/waves-ink.svg"); }
.waves.drift i { animation: drift 90s linear infinite; }
@keyframes drift { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: 112px 0; position: relative; }
.section.tight { padding: 40px 0 72px; }
.section.shade { background: var(--s1); }
.section-head { max-width: 860px; margin-bottom: 52px; }
.section-head p { color: var(--text-2); font-size: 20px; margin-top: 6px; }
.row-head { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.row-head h2 { margin: 0; }

/* Screenshot frames */
.frame { margin: 0; position: relative; background: #1c1c1c; padding: 6px; border-radius: 18px; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.95), 0 18px 40px -20px rgba(0, 0, 0, 0.7); }
.frame img { width: 100%; height: auto; border-radius: 13px; }
.frame.glow { box-shadow: 0 0 0 1px rgba(0, 245, 216, 0.08), 0 30px 120px -20px rgba(0, 245, 216, 0.22), 0 40px 90px -30px rgba(0, 0, 0, 0.95); }

/* Home hero: a huge headline on the left, the DAW on the right */
.hero { position: relative; padding: 72px 0 96px; overflow: hidden; }
.hero .waves { top: 18%; height: 70%; opacity: 0.9; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(52px, 7.4vw, 104px); margin-bottom: 28px; }
.hero h1 span { display: block; white-space: nowrap; }
.hero .lead { margin-bottom: 34px; }
.hero-note { margin-top: 22px; color: var(--text-2); font-size: 15.5px; }
.hero-note b { color: var(--text); }
.hero-ver { display: block; color: var(--text-3); margin-top: 2px; }
.hero-media { position: relative; perspective: 2000px; }
.hero-shot { width: 118%; max-width: none; transform: rotateY(-11deg) rotateX(3deg) translateZ(0); transform-origin: left center; box-shadow: 0 0 0 1px rgba(0, 245, 216, 0.1), 0 50px 140px -30px rgba(0, 245, 216, 0.28), 0 60px 120px -40px rgba(0, 0, 0, 1); }
.hero-float { position: absolute; width: 34%; left: -9%; bottom: -12%; transform: rotate(-2deg); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85), 0 0 60px -10px rgba(0, 245, 216, 0.25); }

/* Page heroes (every other page) */
.page-hero { position: relative; padding: 56px 0 140px; overflow: hidden; }
.page-hero .waves { opacity: 0.8; top: auto; bottom: -24px; height: 150px; }
.page-hero.tall .waves { height: 220px; bottom: 0; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { max-width: 15ch; }
.page-hero.center { text-align: center; }
.page-hero.center h1, .page-hero.center .lead { margin-left: auto; margin-right: auto; }
.page-hero.center .lead { max-width: 640px; }
.page-hero.compact { padding-bottom: 120px; }
.page-hero.compact h1 { font-size: clamp(42px, 6vw, 80px); }
.page-hero.tall { padding: 110px 0 160px; }
.page-hero-split { padding: 56px 0 88px; }
.page-hero-split .waves { top: 18%; bottom: auto; height: 70%; }
.page-hero-split h1 { font-size: clamp(48px, 6.6vw, 92px); max-width: 9ch; margin-bottom: 26px; }
.page-hero-split .hero-text .lead { margin-bottom: 30px; }
.note-chip { display: inline-block; margin-top: 10px; background: var(--s2); color: var(--text-2); padding: 10px 16px; border-radius: 10px; font-size: 15px; }

/* Works-with strip: wordmarks set in the display face */
.formats { padding: 30px 0 64px; }
.formats-end { padding: 64px 0 24px; }
.formats-lead { text-align: center; color: var(--text-3); font-size: 15px; margin-bottom: 22px; }
.formats-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 34px; }
.formats-list li { font-family: var(--display); font-size: 23px; font-weight: 700; letter-spacing: -0.035em; color: #8b8b8b; white-space: nowrap; }
.formats-list li:nth-child(5n+1) { font-weight: 800; }
.formats-list li:nth-child(3n+2) { font-weight: 600; letter-spacing: -0.02em; }

/* The teal block: how it works, in four steps */
.teal-block { position: relative; background: var(--teal); color: var(--ink); padding: 120px 0 128px; overflow: hidden; }
.teal-block .waves { top: 0; height: 58%; }
.teal-block .wrap { position: relative; z-index: 1; }
.teal-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 48px; align-items: end; margin-bottom: 64px; }
.teal-head h2 { color: var(--ink); font-size: clamp(42px, 6.4vw, 92px); margin: 0; max-width: 11ch; }
.teal-head p { font-size: 21px; line-height: 1.45; margin: 0 0 8px; color: var(--ink-2); max-width: 420px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.step { background: var(--ink); color: #d7fffa; border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; min-height: 520px; box-shadow: 0 30px 60px -30px rgba(0, 36, 31, 0.8); }
.step-top { padding: 28px 26px 22px; }
.step-n { display: block; font-family: var(--display); font-size: 64px; font-weight: 300; letter-spacing: -0.05em; line-height: 1; color: var(--teal); margin-bottom: 18px; }
.step h3 { color: #fff; font-size: 30px; margin-bottom: 10px; }
.step p { margin: 0; font-size: 15.5px; line-height: 1.5; color: #9fdcd3; }
.step-shot { margin-top: auto; padding: 0 0 0 26px; height: 230px; overflow: hidden; }
.step-shot img { width: auto; max-width: none; height: 165%; min-width: 120%; object-fit: cover; object-position: left top; border-radius: 12px 0 0 0; box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.4); }

/* Feature sections: big screenshot and text, alternating sides */
.feature { position: relative; padding: 112px 0; }
.feature + .feature { padding-top: 24px; }
.feature-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 72px; align-items: center; }
.feature.flip .feature-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
.feature.flip .feature-text { order: 2; }
.feature-text h2 { max-width: 11ch; margin-bottom: 22px; }
.feature-lead { font-size: 19px; line-height: 1.55; color: var(--text-2); max-width: 520px; }
.feature-media { position: relative; }
.feature.has-extra .feature-media { padding-bottom: 72px; }
.feature.has-extra .feature-media > .frame:first-child { width: 88%; }
.feature.flip.has-extra .feature-media > .frame:first-child { margin-left: auto; }
.feature-media .extra { position: absolute; width: 56%; right: 0; bottom: 0; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.04); }
.feature.flip .feature-media .extra { right: auto; left: 0; }
#live .feature-media .extra { width: 30%; bottom: -20px; }

/* Ticks: a list with a small teal mark, no boxes */
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 4px; }
.ticks li { position: relative; padding: 6px 0 6px 30px; color: var(--text); font-size: 16.5px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 14px; height: 8px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }
.ticks.two { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li { padding: 6px 0 6px 30px; position: relative; color: var(--text-2); }
.feature-list li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 14px; height: 8px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }

/* Tiles: strong solid colours on black */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tiles-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tile { position: relative; border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; color: var(--text); background: var(--s1); min-height: 280px; transition: transform 0.2s ease; }
a.tile:hover { text-decoration: none; transform: translateY(-3px); }
.tile-text { padding: 30px 30px 26px; }
.tile h3 { font-size: 28px; margin-bottom: 10px; }
.tile p { margin: 0; color: var(--text-2); font-size: 16px; line-height: 1.5; }
.tile-ico { width: 44px; height: 44px; display: grid; place-items: center; background: var(--s3); border-radius: 12px; color: var(--teal); margin-bottom: 22px; }
.tile-ico svg { width: 22px; height: 22px; }
.tile-shot { margin-top: auto; padding: 0 0 0 30px; height: 240px; overflow: hidden; }
.tile-shot.tall { height: 300px; }
.tile-shot img { width: auto; max-width: none; height: 100%; min-width: 100%; object-fit: cover; object-position: left top; border-radius: 12px 0 0 0; box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5); }
.tile-teal { background: var(--teal); color: var(--ink); }
.tile-teal h3 { color: var(--ink); }
.tile-teal p { color: var(--ink-2); }
.tile-teal .tile-shot img { box-shadow: -20px -20px 60px -20px rgba(0, 36, 31, 0.45); }
.tile .tile-big { margin: auto 0 0; padding: 0 30px 28px; display: flex; flex-wrap: wrap; gap: 0 18px; font-family: var(--display); font-size: clamp(40px, 4.4vw, 60px); font-weight: 760; letter-spacing: -0.05em; line-height: 1; color: #2c2c2c; }
.tile-big span:first-child { color: var(--teal); }
.tile-wide { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: end; }
.tile-wide .tile-text { align-self: start; padding-top: 40px; }
.tile-wide h3 { font-size: 38px; }
.tile-wide .tile-shot { height: 340px; padding: 40px 0 0 0; }
.tile-dark { background: #0c2b27; }
.tile-dark p { color: #9fcfc8; }
.tile-grey { background: var(--s1); }
.tiles-section .center-btns { margin-top: 44px; }

/* The glowing panel with big numbers */
.glow-panel {
    position: relative; border-radius: var(--r-lg); overflow: hidden; padding: 72px 64px;
    background:
        radial-gradient(120% 140% at 15% 0%, rgba(0, 245, 216, 0.30) 0%, rgba(0, 245, 216, 0.08) 38%, rgba(0, 0, 0, 0) 66%),
        radial-gradient(90% 120% at 100% 100%, rgba(0, 120, 106, 0.45) 0%, rgba(0, 0, 0, 0) 60%),
        #050807;
    box-shadow: 0 0 120px -40px rgba(0, 245, 216, 0.45);
}
.glow-panel h2 { max-width: 14ch; margin-bottom: 52px; }
.glow-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 32px; }
.glow-stats b { display: block; font-family: var(--display); font-size: clamp(64px, 7vw, 104px); font-weight: 750; letter-spacing: -0.06em; line-height: 0.9; color: var(--teal); margin-bottom: 14px; }
.glow-stats span { display: block; font-size: 17px; color: #cfe9e5; max-width: 16ch; }
.glow-split { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; padding: 64px; }
.glow-split h2 { margin-bottom: 14px; }
.glow-split p { color: #cfe9e5; font-size: 19px; margin: 0; max-width: 520px; }

/* Plans: two bold cards, the license in teal */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { background: var(--s1); border-radius: var(--r-lg); padding: 48px; display: flex; flex-direction: column; }
.plan-main { background: var(--teal); color: var(--ink); box-shadow: 0 40px 120px -40px rgba(0, 245, 216, 0.5); }
.plan-name { font-family: var(--display); font-size: 24px; font-weight: 700; letter-spacing: -0.025em; margin: 0 0 18px; }
.price { font-family: var(--display); font-size: clamp(72px, 8vw, 112px); font-weight: 760; line-height: 0.9; letter-spacing: -0.06em; margin: 0 0 18px; }
.price small { font-family: var(--body); font-size: 19px; font-weight: 500; letter-spacing: 0; margin-left: 10px; color: var(--text-2); }
.plan-main .price small { color: var(--ink-2); }
.plan-desc { font-size: 18px; color: var(--text-2); max-width: 460px; }
.plan-main .plan-desc { color: var(--ink-2); }
.plan .ticks { margin: 10px 0 34px; flex: 1; align-content: start; }
.plan-main .ticks li { color: var(--ink); }
.plan-main .ticks li::before { border-color: var(--ink); }
.plan .btns { margin-top: auto; }
.plan-foot { margin: 16px 0 0; font-size: 15px; color: var(--ink-2); }
.plan-stats { display: flex; gap: 36px; margin: 8px 0 18px; }
.plan-stats b { display: block; font-family: var(--display); font-size: 40px; font-weight: 700; letter-spacing: -0.04em; line-height: 1.05; }
.plan-stats span { font-size: 14px; color: var(--text-3); }
.plan-item { display: flex; flex-direction: column; flex: 1; }
.plan-item + .plan-item { margin-top: 40px; padding-top: 40px; box-shadow: 0 -1px 0 var(--s3); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 72px; }
.facts h3 { font-size: 22px; margin-bottom: 8px; }
.facts p { color: var(--text-2); margin: 0; }

/* Features page: jump links, smaller tiles, the lists */
.jump { position: relative; z-index: 2; margin-bottom: 8px; }
.jump .wrap { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.jump a { background: var(--s2); color: var(--text-2); padding: 9px 16px; border-radius: 10px; font-size: 19px; font-weight: 500; }
.jump a:hover { background: var(--s3); color: var(--text); text-decoration: none; }
.detail-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.detail h3 { font-size: 24px; margin-bottom: 4px; }
.detail .ticks { margin-top: 12px; }
.detail .ticks li { color: var(--text-2); font-size: 15.5px; }

/* Downloads */
.dl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.dl-card { background: var(--s1); border-radius: var(--r-lg); padding: 44px; display: flex; flex-direction: column; gap: 6px; }
.dl-card.windows { background: radial-gradient(120% 120% at 0% 0%, rgba(0, 245, 216, 0.14), rgba(0, 0, 0, 0) 55%), var(--s1); }
.dl-card.mac { background: radial-gradient(120% 120% at 100% 0%, rgba(0, 245, 216, 0.14), rgba(0, 0, 0, 0) 55%), var(--s1); }
.dl-os { font-family: var(--display); font-size: clamp(44px, 5vw, 68px); font-weight: 750; letter-spacing: -0.05em; line-height: 1; margin: 0 0 8px; }
.dl-req { color: var(--text-2); font-size: 17px; margin: 0; }
.dl-meta { color: var(--text-3); font-size: 15px; margin: 4px 0 22px; }
.dl-card .notes { margin-top: 26px; }
.notes { color: var(--text-2); }
.notes h1, .notes h2, .notes h3 { font-size: 18px; color: var(--text); margin: 0 0 8px; letter-spacing: -0.01em; }
.notes ul { padding-left: 20px; margin: 6px 0; }
.notes li { margin: 3px 0; }
.wide-shot { max-width: 1100px; margin: 0 auto; }
.subhead { margin: 64px 0 18px; font-size: 32px; }

/* Posts */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.post-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.post-card { background: var(--s1); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; color: var(--text); transition: transform 0.2s ease, background-color 0.2s ease; }
.post-card:hover { background: #171717; text-decoration: none; transform: translateY(-3px); }
.post-card .cover { aspect-ratio: 16 / 9; background: #071a17; overflow: hidden; position: relative; }
.post-card .cover > img:not(.cover-logo) { width: 100%; height: 100%; object-fit: cover; }
.post-card .cover.none { display: grid; place-items: center; }
.post-card .cover .waves { opacity: 0.9; }
.post-card .cover .waves i { background-size: 50% 140%; }
.post-card:nth-child(3n+2) .cover .waves i { background-position: -260px 50%; background-image: url("../img/waves-soft.svg"); }
.post-card:nth-child(3n) .cover .waves i { background-position: -520px 50%; }
.post-card .cover-logo { position: relative; z-index: 1; width: 84px; height: auto; opacity: 0.9; }
.post-card .body { padding: 26px 28px 30px; }
.post-card h3 { font-size: 24px; margin: 10px 0 10px; }
.post-card .body p { color: var(--text-2); margin: 0; font-size: 16px; }
.post-grid.lead-first { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.post-grid.lead-first .post-card:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
.post-grid.lead-first .post-card:first-child .cover { aspect-ratio: auto; min-height: 340px; }
.post-grid.lead-first .post-card:first-child .body { padding: 44px; align-self: center; }
.post-grid.lead-first .post-card:first-child h3 { font-size: clamp(30px, 3.4vw, 44px); }
.date { font-size: 14px; color: var(--text-3); }
.post-hero { padding-bottom: 110px; }
.post-hero h1 { font-size: clamp(40px, 5.4vw, 72px); max-width: none; margin: 14px 0 18px; }
.back { font-weight: 600; font-size: 16px; }
.back::before { content: "\2190\00a0"; }
.article { max-width: 780px; margin: 0 auto; }
.post-cover { margin: 0 0 40px; }
.article-panel { background: var(--s1); border-radius: var(--r-lg); padding: 52px 56px; }
.prose { font-size: 18px; line-height: 1.75; color: #d9d9d9; }
.prose h2 { font-size: 32px; margin-top: 44px; }
.prose h3 { font-size: 24px; margin-top: 32px; }
.prose > :first-child { margin-top: 0; }
.prose img { margin: 24px 0; border-radius: var(--r-md); }
.prose blockquote { margin: 24px 0; padding: 18px 24px; background: var(--s1); color: var(--text-2); border-radius: var(--r-md); }
.prose pre { background: var(--s1); padding: 18px; overflow-x: auto; border-radius: var(--r-md); }
.prose ul, .prose ol { padding-left: 24px; }
.prose li { margin: 4px 0; }
.text-page { white-space: pre-line; }

/* Forms: centred on the page. Wide forms use the room (up to 1280px). */
.form-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; }
.form-wide { max-width: 1180px; }
.form-panel { background: var(--s1); padding: 40px; border-radius: var(--r-lg); }
.form-split { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.form-split > .aside { background: radial-gradient(120% 100% at 100% 0%, rgba(0, 245, 216, 0.14), rgba(0, 0, 0, 0) 60%), #0b0f0e; padding: 40px; border-radius: var(--r-lg); color: var(--text-2); }
.form-split > .aside h2 { font-size: 30px; }
.form-split > .aside h2, .form-split > .aside h3 { color: var(--text); }
.aside-mail { margin-top: 26px; color: var(--text-3); }
.aside-mail a { font-size: 19px; font-weight: 600; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 22px; }
.fields .full { grid-column: 1 / -1; }
.fields.one { grid-template-columns: 1fr; }
.fields.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field > span, .field-label { font-size: 15px; font-weight: 600; color: var(--text); }
.field em { font-style: normal; font-size: 14px; color: var(--text-3); }
.field em.error, .error { color: var(--danger); font-size: 14px; font-style: normal; }
input[type=text], input[type=email], input[type=password], input[type=url], input[type=number], input[type=search], input[type=date], input[type=datetime-local], select, textarea {
    width: 100%; background: var(--s2); color: var(--text);
    border: 0; border-radius: var(--r-sm); padding: 15px 16px; font: inherit; font-size: 17px; line-height: 1.35;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    -webkit-appearance: none; appearance: none;
    transition: box-shadow 0.15s ease, background-color 0.15s ease;
}
input:hover, textarea:hover, select:hover { background: #1f1f1f; }
textarea { min-height: 160px; resize: vertical; }
input::placeholder, textarea::placeholder { color: var(--text-3); }
input:focus, select:focus, textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--teal); }
input[aria-invalid=true], textarea[aria-invalid=true] { box-shadow: inset 0 0 0 2px var(--danger); }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: poPoppins; color: var(--text-2); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--teal); flex: none; }
.check em { display: block; color: var(--text-3); font-style: normal; font-size: 14px; }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 30px; }
.form-note { color: var(--text-3); font-size: 14px; margin-top: 14px; }
.honey { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Sign in, create an account and the other short forms: a centred column */
.auth { position: relative; padding: 48px var(--gutter) 40px; overflow: hidden; }
.auth .waves { top: 34%; height: 46%; opacity: 0.75; }
.auth-box { position: relative; z-index: 1; width: 100%; max-width: 640px; margin: 0 auto; }
.auth-box.wide { max-width: 800px; }
.auth-head { text-align: center; margin-bottom: 36px; }
.auth-head h1 { font-size: clamp(42px, 5.6vw, 72px); margin-left: auto; margin-right: auto; }
.auth-head .lead { margin: 0 auto; font-size: 18.5px; }
.auth .form-panel { padding: 44px; background: rgba(18, 18, 18, 0.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.9); }
.auth-aside { margin-top: 16px; background: var(--s1); border-radius: var(--r-lg); padding: 30px 44px; display: flex; gap: 20px 32px; align-items: center; justify-content: space-between; flex-wrap: wrap; color: var(--text-2); }
.auth-aside > div { flex: 1 1 320px; }
.auth-aside h2 { font-size: 24px; margin-bottom: 8px; letter-spacing: -0.025em; }
.auth-aside p { margin: 0; }
.auth-aside .ticks { margin-top: 10px; }
.auth-aside .ticks li { color: var(--text-2); font-size: 16px; }
.auth-aside .ticks + p { margin-top: 14px; }
.big-icon { width: 76px; height: 76px; border-radius: 20px; background: var(--s2); display: grid; place-items: center; margin: 0 auto 26px; box-shadow: 0 0 60px -10px rgba(0, 245, 216, 0.4); }
.big-icon img { width: 44px; height: 44px; }

/* The live session link page */
.live-dot::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #ff4d6a; margin-right: 10px; vertical-align: 1px; box-shadow: 0 0 0 0 rgba(255, 77, 106, 0.6); animation: pulse 2s ease-out infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255, 77, 106, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 77, 106, 0); } }
.meter { display: flex; gap: 5px; align-items: center; justify-content: center; height: 72px; margin: 0 0 28px; }
.meter i { width: 6px; height: var(--h); border-radius: 3px; background: var(--teal); display: block; transform-origin: center; animation: level 1.4s ease-in-out infinite alternate; animation-delay: calc(var(--d) * -0.2s); }
@keyframes level { from { transform: scaleY(0.35); opacity: 0.6; } to { transform: scaleY(1); opacity: 1; } }

/* Error pages */
.error-code { font-family: var(--display); font-size: clamp(120px, 22vw, 280px); font-weight: 800; letter-spacing: -0.07em; line-height: 0.8; margin: 0 0 24px; color: transparent; background: linear-gradient(180deg, var(--teal) 0%, rgba(0, 245, 216, 0.15) 100%); -webkit-background-clip: text; background-clip: text; }

/* Key and value lists, license keys */
.kv { display: grid; grid-template-columns: minmax(140px, 220px) 1fr; gap: 0; }
.kv > div { padding: 12px 0; }
.kv > div:nth-child(odd) { color: var(--text-3); font-size: 14px; padding-top: 14px; }
.key { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 17px; letter-spacing: 0.06em; background: var(--s2); padding: 11px 15px; display: inline-block; user-select: all; word-break: break-all; border-radius: var(--r-sm); }
.done-key { display: flex; gap: 10px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 18px; }
.done-key .key { font-size: 20px; background: rgba(0, 245, 216, 0.1); color: var(--teal); }

/* Lists of rows (account, earlier downloads): shading between rows, no lines */
.rows { display: flex; flex-direction: column; gap: 6px; }
.row { background: var(--s2); padding: 18px 20px; border-radius: 14px; display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.row .main { min-width: 0; flex: 1 1 280px; }
.row .main b { font-weight: 600; }
.row .main .sub { color: var(--text-3); font-size: 14.5px; }
.row .side { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.row .btn:not(.btn-accent):not(.btn-danger) { background: var(--s3); }
.row .btn:not(.btn-accent):not(.btn-danger):hover { background: var(--s4); }
.row .key { background: var(--s3); }
.empty { background: var(--s2); padding: 22px 24px; color: var(--text-2); border-radius: 14px; }
.pill { display: inline-block; font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 10px; background: var(--s3); color: var(--text-2); vertical-align: middle; }
.pill.ok { background: var(--ok-bg); color: var(--teal); }
.pill.warn { background: #33280f; color: var(--warn); }
.pill.bad { background: var(--err-bg); color: var(--err-text); }

/* Account page */
.account-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px; align-items: start; padding-bottom: 40px; }
.side-nav { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 4px; }
.side-nav a { color: var(--text-2); padding: 12px 16px; border-radius: var(--r-sm); font-weight: 500; }
.side-nav a:hover { color: var(--text); background: var(--s1); text-decoration: none; }
.block { background: var(--s1); padding: 40px; margin-bottom: 16px; border-radius: var(--r-lg); scroll-margin-top: 100px; }
.block > h2 { font-size: 34px; margin-bottom: 8px; }
.block > .lead { font-size: 17px; margin-bottom: 26px; }
.block .fields input { background: var(--s2); }

/* Pagination */
.pager { display: flex; gap: 6px; margin-top: 28px; flex-wrap: wrap; justify-content: center; }
.pager a, .pager span { padding: 10px 18px; background: var(--s1); color: var(--text-2); border-radius: var(--r-sm); }
.pager a:hover { background: var(--s3); color: var(--text); text-decoration: none; }
.pager .on { background: var(--s2); color: var(--text); }
.pager .off { color: var(--text-3); }

/* Footer */
.foot { background: var(--black); margin-top: 24px; padding: 0 0 40px; color: var(--text-3); font-size: 15px; }
.foot-big { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding: 72px 0 64px; }
.foot-line { font-family: var(--display); font-size: clamp(36px, 5vw, 68px); font-weight: 720; letter-spacing: -0.045em; line-height: 0.98; color: var(--text); max-width: 13ch; margin: 0; }
.foot-cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; padding: 40px 0 28px; }
.foot-brand p { margin-top: 14px; max-width: 30ch; }
.foot-head { color: var(--text); font-weight: 600; margin-bottom: 10px; font-size: 15px; }
.foot a { color: var(--text-2); display: block; padding: 4px 0; }
.foot a:hover { color: var(--text); }
.foot a.brand { display: inline-flex; padding: 0; }
.foot .brand img { height: 20px; }
.foot .btns a { display: inline-flex; padding: 16px 28px; }
.foot .btns a.btn-accent { color: var(--ink); }
.foot .btns a.btn:not(.btn-accent) { color: var(--text); }
.foot-copy { margin: 0; color: var(--text-3); font-size: 14px; }

/* Narrower screens */
@media (max-width: 1180px) {
    .nav a { padding: 8px 10px; }
    .top .bar { gap: 14px; }
    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .step { min-height: 460px; }
    .tiles-4, .detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
    :root { --gutter: 24px; }
    .nav, .nav-right { display: none; }
    .menu { display: block; }
    .top .bar { padding: 0 8px 0 18px; }
    .hero-grid, .feature-grid, .teal-head, .form-split, .plans, .dl-grid, .glow-split { grid-template-columns: minmax(0, 1fr); }
    .hero { padding: 48px 0 72px; }
    .hero h1 { max-width: 9ch; }
    .hero-media { margin-top: 12px; }
    .hero-shot { width: 100%; transform: none; }
    .hero-float { width: 30%; left: auto; right: -2%; bottom: -14%; }
    .page-hero-split .hero-media { margin-top: 12px; }
    .feature { padding: 88px 0; }
    .feature + .feature { padding-top: 24px; }
    .feature-grid { gap: 40px; }
    .feature.flip .feature-text { order: 0; }
    .feature.flip .feature-grid { grid-template-columns: minmax(0, 1fr); }
    .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tile-wide { grid-column: 1 / -1; }
    .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .account-grid { grid-template-columns: minmax(0, 1fr); }
    .side-nav { position: static; flex-direction: row; flex-wrap: wrap; }
    .side-nav a { background: var(--s1); }
    .foot-cols { grid-template-columns: 1fr 1fr; }
    .facts { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 48px; }
    .glow-panel, .glow-split { padding: 52px 40px; }
}
@media (max-width: 640px) {
    :root { --gutter: 16px; }
    body { font-size: 16.5px; }
    main { padding-top: 80px; }
    .top { padding: 0 10px; }
    .top .bar { margin-top: 10px; height: 58px; }
    h1 { letter-spacing: -0.045em; }
    h2 { font-size: clamp(32px, 9vw, 44px); }
    .lead { font-size: 18px; }
    .hero { padding: 28px 0 64px; }
    .hero h1 { font-size: clamp(50px, 14.5vw, 64px); }
    .hero-float { display: none; }
    .hero .waves { opacity: 0.45; top: 30%; }
    .page-hero .waves, .auth .waves { opacity: 0.5; }
    .page-hero { padding: 32px 0 104px; }
    .page-hero .waves { height: 100px; bottom: -10px; }
    .page-hero.compact, .post-hero { padding-bottom: 96px; }
    .page-hero.tall { padding: 64px 0 96px; }
    .page-hero-split h1 { font-size: clamp(46px, 13vw, 60px); }
    .section { padding: 72px 0; }
    .section-head { margin-bottom: 32px; }
    .section-head p { font-size: 18px; }
    .formats { padding: 12px 0 48px; }
    .formats-list { gap: 10px 26px; }
    .formats-list li { font-size: 20px; }
    .teal-block { padding: 72px 0 80px; }
    .teal-head { gap: 16px; margin-bottom: 36px; }
    .teal-head p { font-size: 18px; }
    .steps { grid-template-columns: minmax(0, 1fr); }
    .step { min-height: 0; }
    .step-shot { height: 190px; }
    .step-n { font-size: 52px; }
    .feature { padding: 64px 0; }
    .feature-lead { font-size: 17.5px; }
    .feature.has-extra .feature-media { padding-bottom: 48px; }
    .feature.has-extra .feature-media > .frame:first-child { width: 94%; }
    .frame { padding: 4px; border-radius: 13px; }
    .frame img { border-radius: 10px; }
    .tiles, .tiles-4, .detail-grid, .post-grid { grid-template-columns: minmax(0, 1fr); }
    .post-grid.lead-first, .post-grid.two { grid-template-columns: minmax(0, 1fr); }
    .page-hero-split .waves { top: 50%; height: 45%; opacity: 0.5; }
    .tile-wide { display: flex; }
    .tile-wide .tile-text { padding-top: 30px; }
    .tile-wide h3 { font-size: 30px; }
    .tile-wide .tile-shot { height: 220px; padding: 0 0 0 30px; }
    .tile-text { padding: 26px 24px 22px; }
    .tile-shot { padding-left: 24px; height: 200px; }
    .tile { min-height: 0; }
    .glow-panel, .glow-split { padding: 40px 24px; }
    .glow-panel h2 { margin-bottom: 32px; }
    .glow-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
    .glow-stats b { font-size: 60px; }
    .glow-stats span { font-size: 15.5px; }
    .plan { padding: 32px 24px; }
    .price { font-size: 76px; }
    .price small { display: block; margin: 10px 0 0; }
    .plan-stats b { font-size: 34px; }
    .dl-card { padding: 30px 24px; }
    .post-grid.lead-first .post-card:first-child { display: flex; }
    .post-grid.lead-first .post-card:first-child .cover { min-height: 0; aspect-ratio: 16 / 9; }
    .post-grid.lead-first .post-card:first-child .body { padding: 26px 24px 30px; }
    .post-card .body { padding: 22px 22px 26px; }
    .article-panel { padding: 30px 22px; }
    .prose { font-size: 17px; }
    .fields, .fields.three { grid-template-columns: minmax(0, 1fr); }
    .form-panel, .form-split > .aside, .block { padding: 28px 20px; }
    .auth { padding: 24px var(--gutter) 24px; }
    .auth .form-panel { padding: 28px 20px; }
    .auth-aside { padding: 24px 20px; }
    .auth-head { margin-bottom: 26px; }
    .auth-head h1 { font-size: clamp(38px, 11vw, 48px); }
    .ticks.two { grid-template-columns: minmax(0, 1fr); }
    .btns .btn { flex: 1 1 auto; }
    .form-actions .btn { flex: 1 1 auto; }
    .block > h2 { font-size: 28px; }
    .side-nav a { flex: 1 1 auto; text-align: center; padding: 10px 12px; font-size: 15px; }
    .foot { margin-top: 16px; }
    .foot-big { padding: 52px 0 44px; }
    .foot-cols { grid-template-columns: 1fr 1fr; }
    .foot-brand { grid-column: 1 / -1; }
    .brand span { font-size: 18px; }
    .kv { grid-template-columns: 1fr; }
    .key { font-size: 15px; }
    .error-code { font-size: 132px; }
}

/* Less motion when asked */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .meter i { transform: none; opacity: 1; }
}
