/* Garagecockpit – the sales website. Dark like the app, its amber as accent. System fonts only:
   no request to a font service, nothing to declare in the privacy policy. */
:root {
  --bg: #111214;
  --surface: #1a1b1f;
  --surface-raised: #222429;
  --line: #2e3035;
  --text: #f1f2f4;
  --muted: #a3a7b0;
  --amber: #f0b429;
  --on-amber: #1a1300;
  --radius: 12px;
  --gutter: 16px;
  --width: 1120px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* width and height in the HTML only reserve the space: the height follows the width */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--amber);
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

.wrap {
  max-width: var(--width);
  margin: 0 auto;
  padding: 0 max(var(--gutter), 4vw);
}

/* header */
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgb(17 18 20 / 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
}
.brand img {
  width: 36px;
  height: 36px;
}
.word {
  font-weight: 800;
  font-stretch: semi-condensed;
  font-size: 1.35rem;
  letter-spacing: 0.01em;
  line-height: 1;
}
.word b {
  color: var(--amber);
  font-weight: inherit;
}
.top nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.top nav a:not(.button) {
  color: var(--muted);
  text-decoration: none;
}
.top nav a:not(.button):hover {
  color: var(--text);
}
@media (max-width: 760px) {
  .top nav a:not(.button) {
    display: none;
  }
}

/* buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  background: var(--amber);
  color: var(--on-amber);
  border: 2px solid var(--amber);
}
.button:hover {
  filter: brightness(1.08);
}
.button.secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.button.secondary:hover {
  border-color: var(--muted);
}

/* sections */
section {
  padding: 72px 0;
}
/* a jump to #server etc. ends below the sticky header */
section[id] {
  scroll-margin-top: 64px;
}
section + section {
  border-top: 1px solid var(--line);
}
h1,
h2,
h3 {
  line-height: 1.15;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  margin: 0 0 20px;
}
h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  margin: 0 0 12px;
}
h3 {
  font-size: 1.15rem;
  margin: 0 0 6px;
}
.lead {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 62ch;
  margin: 0 0 32px;
}
.intro {
  color: var(--muted);
  max-width: 65ch;
  margin: 0 0 40px;
}

/* hero */
.hero {
  padding-top: 64px;
}
.hero h1 b {
  color: var(--amber);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}
.shot {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgb(0 0 0 / 0.45);
  overflow: hidden;
}
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}
.facts li::before {
  content: "✓ ";
  color: var(--amber);
  font-weight: 700;
}

/* features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 16px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.feature p {
  margin: 0;
  color: var(--muted);
}

/* screenshots */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 24px;
}
.gallery figure {
  margin: 0;
}
.gallery figcaption {
  color: var(--muted);
  margin-top: 10px;
}

/* steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 16px;
  counter-reset: step;
  padding: 0;
  list-style: none;
}
.steps li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--on-amber);
  font-weight: 800;
  margin-bottom: 12px;
}
.steps p {
  margin: 0;
  color: var(--muted);
}

/* requirements table */
.table {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}
th,
td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
tr:last-child td {
  border-bottom: 0;
}
thead th {
  background: var(--surface-raised);
}
tbody th {
  font-weight: 600;
  white-space: nowrap;
}
.note {
  color: var(--muted);
  margin: 16px 0 0;
}

/* prices */
.prices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.price {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.price strong {
  display: block;
  font-size: 1.5rem;
  margin: 4px 0 8px;
  color: var(--amber);
}
.price p {
  margin: 0;
  color: var(--muted);
}

/* questions */
details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
}
details p {
  color: var(--muted);
  margin: 10px 0 0;
  max-width: 70ch;
}

/* contact */
.contact {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 5vw, 48px);
}
.contact p {
  max-width: 60ch;
}

/* footer */
footer {
  border-top: 1px solid var(--line);
  padding: 32px 0;
  color: var(--muted);
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
}
footer a {
  color: var(--muted);
}

/* legal pages */
.legal {
  max-width: 760px;
}
.legal h2 {
  font-size: 1.4rem;
  margin-top: 40px;
}
.legal p,
.legal li {
  color: var(--muted);
}
