/* software.offradio.gr: the apps' look (site-v3 tokens): Grand Gothic, red, dark panels on the cassette photo. */

@font-face {
  font-family: 'Grand Gothic Book';
  src: url('grand-gothic.otf') format('opentype');
  font-display: swap;
}

:root {
  color-scheme: dark;
  --red: #ff0020;
  --red-hover: #d4001a;
  --ink: #0b0b0b;
  --panel: #161616;
  --page: #222;
  --line: #3a3a3a;
  --muted: #b4b4b4;
  --white: #fff;
  --font: 'Grand Gothic Book', 'Myriad Pro', Helvetica, Arial, sans-serif;
  --premium: linear-gradient(135deg, #a80016 0%, #5c000b 55%, #1a0004 100%);
  --gutter: 16px;
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 19px;
  line-height: 1.45;
  color: var(--white);
  background: linear-gradient(180deg, rgba(0,0,0,.45) 0, rgba(11,11,11,.93) 620px, var(--ink) 900px), url('webtape.jpg') center top / 1600px auto no-repeat, var(--ink);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ol, ul { margin: 0; font-weight: normal; }
a { color: inherit; }
b { font-weight: normal; color: #fff; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .85em;
  background: rgba(255, 0, 32, .14);
  border: 1px solid rgba(255, 0, 32, .4);
  border-radius: 4px;
  padding: 1px 6px;
  color: #ffc2c9;
  word-break: break-all;
}

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---- Top bar ---- */
.top { position: sticky; top: 0; z-index: 5; background: rgba(0, 0, 0, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid #1c1c1c; }
.top-in { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand span { font-size: 15px; letter-spacing: 3px; color: var(--muted); padding-top: 6px; }
.tabs { display: flex; gap: 4px; margin-left: auto; }
.tabs a { text-decoration: none; padding: 8px 14px; font-size: 18px; letter-spacing: .5px; color: #ddd; border-bottom: 2px solid transparent; }
.tabs a:hover { color: #fff; }
.tabs a.on { color: var(--red); border-bottom-color: var(--red); }
.lang { text-decoration: none; font-size: 15px; letter-spacing: 1px; border: 2px solid #444; padding: 4px 10px; color: #ddd; }
.lang:hover { border-color: #fff; color: #fff; }
@media (max-width: 560px) {
  .brand span { display: none; }
  .tabs a { padding: 8px 8px; font-size: 16px; }
}

/* ---- Pieces ---- */
.panel { background: rgba(22, 22, 22, .95); padding: 28px; }
@media (max-width: 560px) { .panel { padding: 22px 18px; } }
.premium { background: var(--premium); }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--red); font-size: 14px; letter-spacing: 4px; margin-bottom: 10px; }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; margin-top: -3px; }
.eyebrow.white { color: #fff; }
h1 { font-size: clamp(42px, 7vw, 76px); line-height: 1; letter-spacing: .5px; }
h1 .dark { color: #2a0006; }
h2 { font-size: 34px; line-height: 1.05; margin-bottom: 16px; }
h3 { font-size: 24px; margin: 26px 0 10px; }
p + p { margin-top: 12px; }
.lead { font-size: 22px; margin-top: 18px; max-width: 34em; }
.note { color: var(--muted); font-size: 17px; margin-top: 14px; }
.small { font-size: 16px; color: #f0d6d9; }
.version { color: #f3dadd; font-size: 16px; margin-top: 4px; }

/* ---- Hero ---- */
.hero { padding: 40px 0 18px; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 48px; }
@media (max-width: 900px) { .hero-in { grid-template-columns: minmax(0, 1fr); padding: 32px 22px; gap: 28px; } }
.downloads { display: flex; flex-direction: column; gap: 12px; }
.download {
  display: flex; align-items: center; gap: 16px; padding: 16px 20px; text-decoration: none;
  background: rgba(0, 0, 0, .45); border: 2px solid rgba(255, 255, 255, .5); transition: background .15s, border-color .15s, color .15s;
}
.download:hover { border-color: #fff; background: rgba(0, 0, 0, .65); }
.download.primary { background: #fff; color: var(--red); border-color: #fff; }
.download.primary:hover { background: #ffe5e8; }
.download .os { display: flex; flex: none; }
.download .what { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.download .what b { font-size: 26px; line-height: 1.05; color: inherit; }
.download .what small { font-size: 15px; opacity: .8; }
.download.primary .what small { color: #555; opacity: 1; }
.download .get { font-size: 18px; letter-spacing: 1px; padding: 8px 14px; border: 2px solid currentColor; flex: none; }
.address { background: rgba(0, 0, 0, .4); padding: 16px 18px; }
.address code { font-size: 18px; display: inline-block; margin-top: 6px; }

/* ---- Sections ---- */
.jump { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 6px; padding-bottom: 24px; }
.jump a { text-decoration: none; font-size: 17px; letter-spacing: .5px; padding: 8px 16px; border: 2px solid #444; color: #ddd; background: rgba(0, 0, 0, .5); }
.jump a:hover { border-color: var(--red); color: #fff; }
.columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin-bottom: 24px; align-items: start; }
.columns > .wide { grid-column: 1 / -1; }
@media (max-width: 900px) { .columns { grid-template-columns: minmax(0, 1fr); } }
main > .wrap:not(.columns):not(.jump) { margin-bottom: 24px; }
section { scroll-margin-top: 84px; }

.steps { counter-reset: step; list-style: none; padding: 0; margin-top: 8px; }
.steps li { counter-increment: step; position: relative; padding: 10px 0 10px 54px; border-top: 1px solid #262626; color: #e2e2e2; }
.steps li:first-child { border-top: 0; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 8px; width: 38px; height: 38px; border-radius: 50%;
  background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; padding-top: 3px;
}
.bullets { padding-left: 20px; color: #e2e2e2; }
.bullets li { margin: 4px 0; }
.bullets li::marker { color: var(--red); }

.table { width: 100%; border-collapse: collapse; font-size: 17px; margin-top: 6px; }
.table th, .table td { text-align: left; vertical-align: top; padding: 12px 12px 12px 0; border-bottom: 1px solid #2a2a2a; }
.table th { color: var(--red); font-size: 15px; letter-spacing: 2px; font-weight: normal; }
.table td { color: #e2e2e2; }
.table td:first-child { width: 38%; color: #fff; }
.older td:first-child { width: auto; }
.older a { color: #ff6b7a; }
@media (max-width: 640px) {
  .table thead { display: none; }
  .table tr { display: block; padding: 10px 0; border-bottom: 1px solid #2a2a2a; }
  .table td { display: block; width: 100% !important; border: 0; padding: 3px 0; }
}

.button { display: inline-block; text-decoration: none; background: var(--red); color: #fff; padding: 12px 22px; font-size: 20px; letter-spacing: 1px; }
.button:hover { background: var(--red-hover); }
.testflight { display: flex; gap: 24px; align-items: center; margin: 18px 0; flex-wrap: wrap; }
.qr { background: #fff; padding: 10px; line-height: 0; }
.qr:empty { display: none; }

.foot { border-top: 1px solid #1c1c1c; margin-top: 40px; padding: 28px 0 40px; color: var(--muted); font-size: 16px; text-align: center; }
.foot p + p { margin-top: 10px; }
.foot a { color: #ddd; }
