/* D-DIN (Datto Inc., SIL OFL 1.1, fonts/OFL.txt): WOFF2 made from the unmodified OTFs, no subsetting.
   D-DIN has no Medium: former Medium (500) spots use Regular (400). */
@font-face { font-family: "D-DIN Condensed"; src: url(fonts/D-DINCondensed.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "D-DIN Condensed"; src: url(fonts/D-DINCondensed-Bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "D-DIN"; src: url(fonts/D-DIN.woff2) format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --bg: #151517;
  --card: #0B0B0C;
  --line: #2A2A2D;
  --text: #EDEDEA;
  --muted: #A3A3A0;
  /* One selected / active style everywhere: 45°, orange bottom-left → pink → purple top-right, drawn as a 1.5px stroke. */
  --grad: linear-gradient(45deg, #FF8527 20%, #FF005C 48%, #391070 80%);
  --stroke: 1.5px;
  --fill: #151517; /* inside of gradient-stroked buttons and tags */
  --gutter: 24px;
  --head: "D-DIN Condensed", system-ui, sans-serif;
  --body: "D-DIN", system-ui, sans-serif;
  --label: "D-DIN Condensed", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; }
h1, h2 { font-family: var(--head); font-weight: 700; margin: 0; }
p { margin: 0; }
:focus-visible { outline: none; }
/* Focus ring = the gradient stroke, as a ring around the element. */
a:focus-visible, button:focus-visible { position: relative; }
a:focus-visible::after, button:focus-visible::after {
  content: ""; position: absolute; inset: -4px; border-radius: 6px; pointer-events: none;
  padding: var(--stroke); background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.label {
  font: 400 14px/1.4 var(--label);
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
}

/* Logo: always black on white; on this dark page it sits on a plain white field, no frame (2026-10-31). */
.badge { display: inline-block; background: #fff; }
.badge-lg {
  flex: none; align-self: flex-start;
  height: 280px; /* width follows the card's own portrait ratio */
  border-width: 6px; border-radius: 10px;
}
.badge-lg img { height: 100%; width: auto; }
.badge-sm img { height: 89.5px; } /* the logo's own ratio: 65 × 89.5 */

.topbar {
  display: flex; align-items: center; justify-content: flex-end;
  min-height: 111px;
  /* full-bleed #0A0A0A bar without a wrapper: border-image outset paints past the .wrap edges, no layout or scroll effect */
  border-image: linear-gradient(#0A0A0A, #0A0A0A) fill 0 / / 0 100vmax;
}
.topbar nav { display: flex; gap: 34px; }
.topbar nav a { text-decoration: none; color: var(--muted); font: 400 20px/1.2 var(--label); letter-spacing: .04em; }
.topbar nav a:hover { color: var(--text); }

.hero {
  display: flex; gap: 48px;
  padding-top: 120px; padding-bottom: 120px;
}
.hero-text { display: flex; flex-direction: column; min-width: 0; }
.hero h1 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: 0;
  margin-top: -.181em; /* cap top = badge top (D-DIN Condensed: ascent .831, descent .169, cap .69; line-height 1.08) */
}
.anyway { margin-top: 20px; font-size: 20px; }
.formats { margin-top: auto; padding-top: 24px; line-height: 1; }

section[id] { scroll-margin-top: 24px; }
#plugins { padding-bottom: 120px; }
.grid {
  margin-top: 24px;
  display: grid; gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
  display: flex; flex-direction: column;
}
.card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 24px; }
.icon { width: 72px; height: 72px; border-radius: 16px; }
.card h2 { font-size: 28px; letter-spacing: .02em; }
.sub { color: var(--muted); }
.desc { margin-top: 16px; margin-bottom: 28px; color: var(--muted); }

.tag {
  font: 400 13px/1 var(--label);
  letter-spacing: .1em;
  padding: 7px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.tag-open, .btn { position: relative; color: #fff; background: var(--fill); }
/* Gradient stroke: a ring drawn inside the element's own box, so sizes stay exactly as before. */
.tag-open::before, .btn::before, .slider::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  padding: var(--stroke); background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.tag-soon { border: 1px solid var(--line); color: var(--muted); }

.btn, .passive {
  margin-top: auto;
  display: block;
  padding: 14px 18px;
  border-radius: 8px;
  text-align: center;
  font: 400 15px/1.2 var(--body);
}
.btn { cursor: pointer; text-decoration: none; }
.btn:hover { --fill: #1E1E21; }
.passive { border: 1px dashed var(--line); color: var(--muted); }

.beta {
  display: grid; gap: 48px;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  padding-top: 120px; padding-bottom: 120px;
}
.beta-title {
  margin-top: 20px;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: 0;
}
.beta-title span { color: var(--muted); }
.beta-text { margin-top: 24px; max-width: 520px; color: var(--muted); font-size: 18px; }

/* Holds the former sign-up card's height (234px) so the section keeps its size. */
.beta-mail { min-height: 234px; display: flex; align-items: center; }
.beta-mail .beta-text { margin-top: 0; }

.footer {
  display: flex; flex-wrap: wrap; gap: 20px;
  align-items: center; justify-content: space-between;
  padding-top: 32px; padding-bottom: 48px;
  color: var(--muted); font-size: 14px;
}
.foot-left, .foot-right { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.foot-right a { text-decoration: none; }
.foot-right a:hover { color: var(--text); }

@media (max-width: 900px) {
  .grid, .beta { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  :root { --gutter: 16px; }
  .topbar nav { gap: 18px; }
  .topbar { min-height: 97px; }
  .hero { flex-direction: column; gap: 32px; padding-top: 72px; padding-bottom: 80px; }
  .hero h1 { margin-top: 0; }
  #plugins { padding-bottom: 80px; }
  .beta { padding-top: 80px; padding-bottom: 80px; }
  .beta-mail { align-items: flex-start; }
}
