/* atomixapp.com — the Atomix marketing page.
 *
 * Drawn from the "Site · köşeli" artboards in the Atomix design canvas: flat,
 * small radii, one blue, no gradients and no shadows. Dark only for now; the
 * light artboard exists and is not built yet, so there is deliberately no
 * prefers-color-scheme block to half-answer it.
 *
 * No JavaScript. The page is served with script-src 'none'.
 */

/* Montserrat, self-hosted on purpose. The design asks for it, and _headers
 * says of its CSP: "every addition here is a permission that outlives the
 * reason it was added." Serving the file ourselves keeps style-src and
 * font-src at 'self' and drops a third party from the critical path.
 *
 * One variable file covers both weights the design uses (600 and 700), which
 * is how Google serves it; SIL Open Font License 1.1.
 */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url('/fonts/montserrat-latin-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Ground, darkest to lightest. The page alternates #0f1115 and #14161b
     between sections; #1a1d23 is a card on either of them. */
  --ground: #0f1115;
  --ground-alt: #14161b;
  --card: #1a1d23;
  --card-soft: #191c22;
  --line: #262a32;
  --line-soft: #1f232b;

  /* Type. Four steps, and nothing between them. */
  --ink: #e6e9ef;
  --ink-strong: #ffffff;
  --ink-soft: #c9ced8;
  --ink-mute: #9aa1ad;
  --ink-faint: #6b7280;

  /* One blue, carrying the brand and every call to action. */
  --blue: #066dff;
  --blue-press: #0a5fe6;
  --blue-deep: #1b2e4c;
  --blue-light: #8dbdff;
  --blue-pale: #d6e5ff;

  --good: #4fd39a;

  --display: 'Montserrat', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --body: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --page: 1200px;
  --gutter: 24px;
  --radius: 6px;
  --radius-s: 4px;
  --radius-xs: 2px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background-color: var(--ground);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue-light); }

:focus-visible {
  outline: 2px solid var(--blue-light);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 10;
  padding: 10px 14px;
  background: var(--blue);
  color: #fff;
  border-radius: var(--radius-s);
}

/* ── Shell ────────────────────────────────────────────────────────────── */

.wrap {
  width: min(var(--page), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.band { padding: 96px 0; }
.band--alt { background-color: var(--ground-alt); }

/* ── Top bar ──────────────────────────────────────────────────────────── */

.bar {
  height: 72px;
  background-color: var(--ground);
  border-bottom: 1px solid var(--line);
}
.bar__inner {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.bar__logo { flex: none; }
.bar__nav {
  display: flex;
  gap: 30px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
}
.bar__spacer { flex: 1 1 auto; }
.bar__signin {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

/* ── Buttons ──────────────────────────────────────────────────────────── */

.btn {
  height: 38px;
  padding: 0 16px;
  border-radius: var(--radius-s);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn--lg { height: 48px; padding: 0 22px; font-size: 15px; }
.btn--primary {
  background-color: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.btn--primary:hover { background-color: var(--blue-press); border-color: var(--blue-press); color: #fff; }
.btn--quiet {
  background-color: var(--card);
  border-color: var(--line);
  color: var(--ink);
}
.btn--quiet:hover { border-color: var(--ink-faint); color: var(--ink); }

/* A button for something that does not exist yet. It reads as a control and
   does nothing, rather than as a link that 404s. */
.btn--pending {
  background-color: var(--card);
  border-color: var(--line);
  color: var(--ink-mute);
  cursor: default;
}

/* ── Section headings ─────────────────────────────────────────────────── */

.eyebrow {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-light);
}

.head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
  margin-bottom: 36px;
}
.head__left { display: flex; flex-direction: column; gap: 16px; }
.head h2 {
  font-family: var(--display);
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink);
  max-width: 640px;
}
.head__lede {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 420px;
}

/* ── Hero ─────────────────────────────────────────────────────────────── */

.hero {
  padding: 80px 0 0;
  overflow: hidden;
}
.hero__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}
.flag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 32px;
  padding: 0 12px 0 4px;
  border-radius: var(--radius-s);
  background-color: var(--blue-deep);
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-light);
}
.flag__tag {
  height: 24px;
  padding: 0 8px;
  border-radius: var(--radius-xs);
  background-color: var(--blue);
  color: #fff;
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.hero h1 {
  font-family: var(--display);
  font-size: 76px;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--ink);
}
.hero h1 span { color: var(--blue); }
.hero__lede {
  font-size: 21px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 640px;
}
.hero__acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
.hero__note { font-size: 14px; color: var(--ink-mute); }

/* ── A product screen, shown as a scaled frame ────────────────────────── */
/*
 * Each mockup is drawn at the size the app really is (1440x900) and scaled to
 * whatever width the frame has. --shot-w is the drawn width, --shot-h the
 * drawn height, --shot-cut how much of that height the frame shows.
 */
.shot {
  --shot-w: 1440;
  --shot-h: 900;
  --shot-cut: 900;
  position: relative;
  width: 100%;
  aspect-ratio: var(--shot-w) / var(--shot-cut);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--ground);
}
.shot--cropped { border-bottom: 0; border-radius: var(--radius) var(--radius) 0 0; }
.shot__inner {
  position: absolute;
  inset: 0;
  width: calc(var(--shot-w) * 1px);
  height: calc(var(--shot-h) * 1px);
  transform: scale(calc(1 / var(--shot-w) * 100));
  transform-origin: 0 0;
}
/* The scale above is a ratio of the frame's own width, which CSS cannot read
   directly; a container query gives it to us. */
.shot-frame { container-type: inline-size; }
@container (min-width: 1px) {
  .shot__inner { transform: scale(calc(100cqw / (var(--shot-w) * 1px))); }
}
.hero__shot { margin-top: 56px; }

/* ── Cards ────────────────────────────────────────────────────────────── */

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--card);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-s);
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-light);
}
.card__title { font-size: 18px; font-weight: 700; color: var(--ink); }
.card__body { font-size: 15px; line-height: 1.6; color: var(--ink-mute); }

.card--soon .card__title { color: var(--ink-soft); }

.tag-soon {
  align-self: flex-start;
  height: 20px;
  padding: 0 7px;
  border-radius: var(--radius-xs);
  background-color: var(--blue-deep);
  color: var(--blue-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
}

/* ── A feature told in prose plus a list ──────────────────────────────── */

.feature {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.feature--flip > .feature__copy { order: 2; }
.feature__copy { display: flex; flex-direction: column; gap: 16px; }
.feature h2 {
  font-family: var(--display);
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink);
}
.feature__lede { font-size: 17px; line-height: 1.65; color: var(--ink-soft); }

.ticks { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.ticks li {
  display: flex;
  gap: 10px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.ticks svg { flex: none; margin-top: 3px; color: var(--blue); }

/* ── Pricing ──────────────────────────────────────────────────────────── */

/* The Ion mark sits in the eyebrow at the size it was drawn. */
.eyebrow--mark { display: flex; align-items: center; gap: 14px; }
.eyebrow--mark svg { flex: none; }

/* Two panels lifted from the design, drawn at a fixed width there and fluid
   here. Their insides are the design's own markup, so they keep its spacing;
   only the box around them is ours. */
.ion-panel,
.seats-panel { width: 100%; }
.ion-panel > div,
.seats-panel > div { width: 100%; }

.price-split {
  display: grid;
  grid-template-columns: minmax(0, 620px) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.price-split__panel { min-width: 0; }
.price-notes { margin: 0; }
.note {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.note__icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-s);
  background-color: var(--blue-deep);
  color: var(--blue-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.note__title { display: block; font-size: 16px; font-weight: 700; color: var(--ink); }
.note__body { display: block; margin-top: 4px; font-size: 14.5px; line-height: 1.55; color: var(--ink-mute); }

.price-foot {
  margin-top: 20px;
  font-size: 15px;
  color: var(--ink-mute);
}

/* ── Newsletter ───────────────────────────────────────────────────────── */


/* ── Footer ───────────────────────────────────────────────────────────── */

.foot {
  background-color: var(--ground-alt);
  border-top: 1px solid var(--line-soft);
  padding: 64px 0 0;
}
.foot__top {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 48px;
}
.foot__blurb { font-size: 15px; line-height: 1.6; color: var(--ink-mute); max-width: 280px; margin: 20px 0 20px; }
.foot__social { display: flex; gap: 8px; }
.foot__social a,
.foot__social span {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-s);
  border: 1px solid var(--line-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #f2f4f7;
}
.foot__col { display: flex; flex-direction: column; gap: 14px; }
.foot__col h2 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.foot__col li { font-size: 15px; color: #f2f4f7; }
.foot__col ul { display: flex; flex-direction: column; gap: 14px; }
/* An item with no page behind it yet: the same line, not a link, dimmed. */
.foot__col .later { color: var(--ink-faint); }

.foot__bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 14px;
  color: var(--ink-mute);
}

/* ── Narrower than the drawing ────────────────────────────────────────── */

@media (max-width: 1040px) {
  .price-split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .feature--flip > .feature__copy { order: 0; }
  .foot__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .band { padding: 72px 0; }
  /* The section links live in the page itself at this width; the bar keeps
     only the logo and the two things a visitor came to press. The 40px gap
     goes with the links, or it alone pushes the last button off the screen. */
  .bar__nav { display: none; }
  .bar__inner { gap: 16px; }
  .head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .head h2 { font-size: 34px; }
  .feature h2 { font-size: 34px; }
  .hero h1 { font-size: 52px; letter-spacing: -0.035em; }
  .hero__lede { font-size: 18px; }
}

@media (max-width: 620px) {
  .bar__logo svg { width: 96px; height: auto; }
  .grid,
  .grid--2 { grid-template-columns: minmax(0, 1fr); }
  .foot__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { padding-top: 56px; }
  .hero h1 { font-size: 40px; }
  .hero__acts .btn { width: 100%; }
  .band { padding: 56px 0; }
  .head h2,
  .feature h2 { font-size: 28px; }
  .card { padding: 22px; }
  /* The two panels lifted from the design are drawn at desktop widths and
     their insides do not reflow. Let each scroll inside its own box rather
     than widening the page — the same thing the wide tables elsewhere do. */
  .ion-panel,
  .seats-panel { overflow-x: auto; }
  .ion-panel > div,
  .seats-panel > div { min-width: 560px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ── The atoms, as a rail ──────────────────────────────────────────────── */
/*
 * Three sections used to be the same grid of six cards. The atoms are now a
 * left rail with the screen beside it, the upcoming ones a divided list, and
 * security keeps the cards - so no two neighbouring sections repeat.
 *
 * The rail is radio inputs and :checked sibling rules, not script. This page
 * is served under script-src 'none', and the keyboard gets arrow-key movement
 * between the tabs for free because they are real radios.
 */

.tabs { position: relative; }

/* Off-screen but still focusable: display:none would take the inputs out of
   the accessibility tree and the rail would stop answering the keyboard. */
.tabs__in {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.tabs__body {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.rail {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.rail__btn {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-s);
  cursor: pointer;
}
.rail__btn:hover { background-color: var(--card-soft); }
.rail__ico { display: flex; color: var(--ink-faint); }
.rail__name { display: block; font-size: 16.5px; font-weight: 700; color: var(--ink-soft); }
.rail__desc { display: block; margin-top: 5px; font-size: 14px; line-height: 1.5; color: var(--ink-faint); }

.stage { min-width: 0; }
.pane { display: none; }

/* The design draws each screen 1440x900 and then crops it with --shot-cut, so
   it can peek over a section edge. Inside a tab the screen is the content, and
   a crop reads as a half-loaded image - so the panes state the whole height. */
.shot--whole { --shot-cut: 900; }

/* An atom with no screen yet. Built as a fixed 1440x900 composition inside the
   same frame the real screens use, so the existing transform scales it and the
   stage never changes height between tabs. A looser box would overflow its own
   frame the moment the column narrowed. */
.shot--soon { border-style: dashed; background-color: var(--ground); }
.soonpanel {
  width: 1440px;
  height: 900px;
  box-sizing: border-box;
  padding: 96px 112px;
  display: grid;
  grid-template-columns: minmax(0, 430px) minmax(0, 1fr);
  gap: 88px;
  align-items: center;
}
.soonpanel__text { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.soonpanel__eyebrow { margin: 0; font-size: 20px; font-weight: 700; color: var(--blue-light); }
.soonpanel__name {
  margin: 0;
  font-family: var(--display);
  font-size: 76px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}
.soonpanel__body { margin: 0; font-size: 26px; line-height: 1.5; color: var(--ink-mute); }
.soonpanel__pill { height: 34px; padding: 0 14px; font-size: 17px; letter-spacing: 0.06em; }
.soonpanel__art { display: flex; justify-content: center; min-width: 0; }

/* The schematic. Three steps of grey so it reads as a sketch of a layout
   rather than a blurred screenshot: headings brightest, text lines mid,
   picture areas darkest and outlined. One blue mark per drawing. */
.sk { width: 100%; height: auto; max-width: 700px; }
.sk-frame { fill: var(--card-soft); stroke: var(--line); stroke-width: 2; }
.sk-block { fill: var(--line-soft); stroke: var(--line); stroke-width: 1.5; }
.sk-line { fill: var(--line); }
.sk-pane { fill: var(--ground); }
.sk-field { fill: var(--card); stroke: var(--line); stroke-width: 2; }
.sk-accent { fill: var(--blue-deep); stroke: var(--blue); stroke-width: 2; }
.sk-dot { fill: var(--blue); }

/* ── Coming soon: a divided list, not six more cards ──────────────────── */

.soon { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.soon__row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
}
.soon__ico { display: flex; color: var(--ink-mute); }
.soon__main { min-width: 0; }
.soon__name { display: block; font-size: 17px; font-weight: 700; color: var(--ink); }
.soon__body { display: block; margin-top: 4px; font-size: 14.5px; line-height: 1.55; color: var(--ink-mute); }

/* ── Narrow ───────────────────────────────────────────────────────────── */

@media (max-width: 980px) {
  .tabs__body { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .rail { flex-direction: row; gap: 8px; overflow-x: auto; padding-bottom: 6px; }
  .rail__btn { min-width: 200px; border-color: var(--line); }
  .rail__desc { display: none; }
}

@media (max-width: 620px) {
  .soon__row { grid-template-columns: auto minmax(0, 1fr); row-gap: 12px; padding: 18px 4px; }
  .soon__tag { grid-column: 2; }
}

/* ── An atom that is not in the workspace yet ─────────────────────────── */

.rail__head { display: flex; align-items: center; gap: 8px; }
.rail__name { min-width: 0; }

/* ── Selected tab. One block per atom; nothing else can express this
   in CSS, and it is generated rather than hand-kept in sync. ──── */

#t-messages:checked ~ .tabs__body .rail__btn[for="t-messages"] {
  background-color: var(--card);
  border-color: var(--line);
  box-shadow: inset 2px 0 0 var(--blue);
}
#t-messages:checked ~ .tabs__body .rail__btn[for="t-messages"] .rail__ico { color: var(--blue); }
#t-messages:checked ~ .tabs__body .rail__btn[for="t-messages"] .rail__name { color: var(--ink-strong); }
#t-messages:checked ~ .tabs__body .rail__btn[for="t-messages"] .rail__desc { color: var(--ink-mute); }
#t-messages:checked ~ .tabs__body #p-messages { display: block; }
#t-messages:focus-visible ~ .tabs__body .rail__btn[for="t-messages"] { outline: 2px solid var(--blue); outline-offset: 2px; }

#t-board:checked ~ .tabs__body .rail__btn[for="t-board"] {
  background-color: var(--card);
  border-color: var(--line);
  box-shadow: inset 2px 0 0 var(--blue);
}
#t-board:checked ~ .tabs__body .rail__btn[for="t-board"] .rail__ico { color: var(--blue); }
#t-board:checked ~ .tabs__body .rail__btn[for="t-board"] .rail__name { color: var(--ink-strong); }
#t-board:checked ~ .tabs__body .rail__btn[for="t-board"] .rail__desc { color: var(--ink-mute); }
#t-board:checked ~ .tabs__body #p-board { display: block; }
#t-board:focus-visible ~ .tabs__body .rail__btn[for="t-board"] { outline: 2px solid var(--blue); outline-offset: 2px; }

#t-ion:checked ~ .tabs__body .rail__btn[for="t-ion"] {
  background-color: var(--card);
  border-color: var(--line);
  box-shadow: inset 2px 0 0 var(--blue);
}
#t-ion:checked ~ .tabs__body .rail__btn[for="t-ion"] .rail__ico { color: var(--blue); }
#t-ion:checked ~ .tabs__body .rail__btn[for="t-ion"] .rail__name { color: var(--ink-strong); }
#t-ion:checked ~ .tabs__body .rail__btn[for="t-ion"] .rail__desc { color: var(--ink-mute); }
#t-ion:checked ~ .tabs__body #p-ion { display: block; }
#t-ion:focus-visible ~ .tabs__body .rail__btn[for="t-ion"] { outline: 2px solid var(--blue); outline-offset: 2px; }

/* A drawing where a screenshot would go. The website builder is not built, so
   there is nothing to photograph; a diagram of the layout says what it will be
   without pretending to be a picture of working software. Same dashed frame as
   the Ion panel in the rail, so the two read as the same kind of promise. */
/* Only above the width where .feature is still two columns - it collapses to
   one at 1040px, and an unguarded rule here sat after that media query and
   undid it, so the copy wrapped a word per line with the drawing on top. */
@media (min-width: 1041px) {
  .feature--sketch { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); }
}
.sketch {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background-color: var(--ground);
  padding: 28px;
  min-width: 0;
}
.sk--wide { max-width: none; }
.eyebrow--soon { display: flex; align-items: center; gap: 10px; }
