/*
  OneDesktop marketing site.

  Palette taken from the design direction's PAGES, not from its token file. That matters:
  assets/styles.css ships a light set (#f2f2f3 ground, #1d1f20 ink), but every page
  overrides it inline with a dark one, and the README says so -- "all layout and colour are
  inline styles on the elements". Reading the tokens and not the markup produces a light
  site that looks nothing like the screenshots.

  The real set, lifted from index.html's own wrapper:

      --color-bg      #010f23
      --color-text    #e8eef7
      --color-accent  #3d8fd1
      --color-divider rgba(255,255,255,.12)

  Which is the application's palette exactly -- #010f23 is the sign-in page's ground. The
  site and the product are the same surface, and arriving at one from the other should feel
  like walking through a door rather than between two companies.
*/

:root {
  --bg: #010f23;
  --ink: #e8eef7;
  --muted: #9fb0c7;
  --accent: #3d8fd1;
  --bright: #79c0f1;
  --amber: #e0a04a;
  --divider: rgba(255, 255, 255, .12);

  /* Glass, the same material the desktop's windows and dock are made of. */
  --glass: rgba(13, 24, 40, .72);
  --glass-soft: rgba(1, 15, 35, .6);

  --font-heading: "Barlow Condensed", system-ui, sans-serif;
  --font-nav: "Barlow Semi Condensed", system-ui, sans-serif;
  --font-body: "Barlow", system-ui, sans-serif;

  --radius-sm: 3px;
  --radius-md: 7px;
  --radius-lg: 12px;

  --shell: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.0;
  margin: 0;
  text-wrap: balance;
}

a { color: inherit; }

.shell { max-width: var(--shell); margin: 0 auto; padding: 0 28px; }

/* ---- ambient ground ------------------------------------------------------
   Two slow pools behind the page, the same device the sign-in panel uses, so the
   dark is a lit room rather than a flat fill. */
body::before, body::after {
  content: ''; position: fixed; border-radius: 50%; filter: blur(110px);
  opacity: .45; pointer-events: none; z-index: 0;
}
body::before { width: 60vw; height: 60vw; left: -18vw; top: -22vw; background: radial-gradient(circle, #1d4b7a, transparent 70%); }
body::after  { width: 46vw; height: 46vw; right: -14vw; bottom: -18vw; background: radial-gradient(circle, #123f6b, transparent 70%); }
.nav, header, section, footer { position: relative; z-index: 1; }

/* ---- the mark ------------------------------------------------------------ */
.mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.mark-tiles { display: grid; grid-template-columns: repeat(2, 9px); gap: 3px; }
.mark-tiles i { width: 9px; height: 9px; background: var(--accent); border-radius: var(--radius-sm); display: block; }
.mark-tiles i:nth-child(4) { background: var(--amber); }
.mark-word { font-family: var(--font-heading); font-weight: 600; font-size: 21px; letter-spacing: .01em; color: var(--ink); }

/* ---- navigation ---------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(1, 15, 35, .78);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--divider);
}
.nav-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.nav-links { display: flex; gap: 24px; margin-left: auto; align-items: center; font-family: var(--font-nav); }
/* :not(.btn) matters. ".nav-links a" out-specifies ".btn-primary" (0,1,1 against
   0,1,0), so without it the nav's button renders muted blue-grey on blue -- which
   looks almost right in a screenshot and fails contrast outright. */
.nav-links a:not(.btn) { text-decoration: none; font-size: 16px; color: var(--muted); }
.nav-links a:not(.btn):hover { color: var(--ink); }

/* ---- buttons -------------------------------------------------------------
   Primary is the accent blue with the ground as its text colour, exactly as the
   direction's "Book a demo" does it. */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 22px; border-radius: var(--radius-md);
  font-family: var(--font-heading); font-size: 18px; font-weight: 600; letter-spacing: .01em;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
}
.btn-primary { background: var(--accent); color: #010f23; }
.btn-primary:hover { background: var(--bright); box-shadow: 0 8px 22px rgba(61,143,209,.34); }
.btn-ghost { border-color: var(--divider); color: var(--ink); }
.btn-ghost:hover { border-color: var(--bright); color: var(--bright); }
.btn-lg { padding: 15px 32px; font-size: 19px; }

/* ---- sections ------------------------------------------------------------ */
section { padding: 96px 0; border-bottom: 1px solid var(--divider); }
.kicker {
  font-family: var(--font-nav); font-size: 13px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
  margin: 0 0 18px;
}
.lede { font-size: 19px; color: var(--muted); max-width: 62ch; margin: 20px 0 0; }

/* ---- hero ---------------------------------------------------------------- */
.hero { padding: 92px 0 84px; text-align: center; }
.hero h1 { font-size: clamp(50px, 8.4vw, 124px); line-height: .92; letter-spacing: -.025em; max-width: 17ch; margin: 0 auto 24px; }
.hero .lede { margin: 0 auto; text-align: center; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* ---- the desktop mock ---------------------------------------------------- */
.mock {
  margin: 56px auto 0; max-width: 940px;
  background: var(--glass); border-radius: var(--radius-lg);
  border: 1px solid var(--divider); padding: 14px;
  backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .45);
}
.mock-bar { display: flex; align-items: center; gap: 14px; padding: 0 6px 12px; border-bottom: 1px solid var(--divider); }
.mock-tabs { display: flex; gap: 16px; font-size: 13px; color: var(--muted); font-family: var(--font-nav); }
.mock-tabs b { color: var(--ink); font-weight: 600; }
.mock-right { margin-left: auto; display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); }
.mock-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 14px; padding: 22px 6px 10px; }
.mock-icon { text-align: center; font-size: 12.5px; color: #c3d6e9; }
.mock-icon span { display: block; height: 46px; border-radius: 10px; background: rgba(61,143,209,.28); border: 1px solid var(--divider); margin-bottom: 7px; }
.mock-cap { margin: 14px 0 0; font-size: 12.5px; color: var(--muted); text-align: center; }

/* ---- feature list -------------------------------------------------------- */
.built { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 0 40px; margin: 34px 0 0; padding: 0; list-style: none; }
.built li { display: flex; gap: 14px; padding: 15px 0; border-top: 1px solid var(--divider); font-size: 16px; color: #cfdcea; }
.built b { font-family: var(--font-heading); font-size: 16px; color: var(--bright); min-width: 26px; }

/* ---- pricing ------------------------------------------------------------- */
.price-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 54px; align-items: start; margin-top: 38px; }
.price-card {
  background: var(--glass-soft); border: 1px solid var(--divider);
  border-radius: var(--radius-lg); padding: 32px; backdrop-filter: blur(10px);
}
.price-fig { font-family: var(--font-heading); font-size: 74px; line-height: 1; color: var(--ink); }
.price-unit { font-size: 15px; color: var(--muted); margin-top: 6px; }
.price-note { font-size: 13.5px; color: var(--muted); margin-top: 14px; }
.incl { list-style: none; margin: 0; padding: 0; }
.incl li { padding: 11px 0; border-top: 1px solid var(--divider); font-size: 16px; color: #cfdcea; }
.incl li:first-child { border-top: 0; }

/* ---- roadmap ------------------------------------------------------------- */
.next { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-top: 32px; }
.next div { border: 1px solid var(--divider); border-radius: var(--radius-lg); padding: 18px 20px; background: var(--glass-soft); }
.next b { display: block; font-family: var(--font-heading); font-size: 20px; font-weight: 600; color: var(--ink); }
/* Amber marks what is NOT built. In the application it marks the administration console
   and anything that reaches into somebody else's account -- in both places it means
   "look twice at this one". */
.tag { display: inline-block; margin-top: 8px; font-family: var(--font-nav); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); }

/* ---- closing call to action ---------------------------------------------- */
.close { text-align: center; }
.close h2 { font-size: clamp(34px, 4.6vw, 60px); margin: 0 auto 18px; max-width: 18ch; }

/* ---- footer -------------------------------------------------------------- */
footer { padding: 44px 0 64px; }
.foot-in { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; font-size: 14.5px; color: var(--muted); font-family: var(--font-nav); }
.foot-links { margin-left: auto; display: flex; gap: 20px; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { color: var(--bright); }

@media (max-width: 860px) {
  .price-wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .nav-links a.hide-sm { display: none; }
  section { padding: 68px 0; }
}
