@font-face { font-family: "Outfit"; src: url("fonts/outfit-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("fonts/outfit-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("fonts/open-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("fonts/open-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Familjen Grotesk"; src: url("fonts/familjen-grotesk-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/instrument-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

/* Intellania brand, as on intellania.com: tinted black, white type, green as a fill only, the gradient on the
   call to action, the eyebrow chip and the big numbers. Outfit for display, Open Sans for body. */
:root {
  color-scheme: dark;
  --bg: #070f0e;
  --card: #16171a;
  --card-2: #202126;
  --ink: #ffffff;
  --muted: rgba(255, 255, 255, .62);
  --muted-2: rgba(255, 255, 255, .5);
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .16);
  --green: #74ec5e;
  --teal: #2ec8c9;
  --gradient: linear-gradient(120deg, #2ec8c9 0%, #74ec5e 100%);
  --display: "Cy Grotesk Key", "Outfit", system-ui, sans-serif;
  --body: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --radius: 16px;
  --radius-sm: 10px;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink); font: 400 16px/1.65 var(--body); position: relative; overflow-x: hidden; }
h1, h2 { font-family: var(--display); font-weight: 700; letter-spacing: -.02em; line-height: 1.08; margin: 0; }
p, ul, ol { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

/* The contour behind the hero, the brand's quiet texture */
.contour { position: absolute; top: 0; left: 0; width: 100%; height: 520px; z-index: 0; pointer-events: none; opacity: .7;
  -webkit-mask-image: linear-gradient(180deg, #000 20%, transparent 100%); mask-image: linear-gradient(180deg, #000 20%, transparent 100%); }
.contour path { stroke: rgba(46, 200, 201, .11); stroke-width: 1; }
.contour path:nth-child(even) { stroke: rgba(116, 236, 94, .09); }

.start-head, .start-main, .start-foot { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.start-head { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; padding-top: 26px; }
.brandmark { display: inline-flex; align-items: center; text-decoration: none; }
.brandmark img { height: 26px; width: auto; display: block; }
.start-note { display: inline-flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 600; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(116, 236, 94, .5); }

/* Hero: the brand's headline shape, with the gradient on the kicker and the numbers only */
.start-main { padding-top: 72px; padding-bottom: 64px; }
.hero { max-width: 760px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 11px; border-radius: 100px; background: var(--gradient); color: #04211f; font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow svg { width: 13px; height: 13px; fill: #04211f; }
.hero h1 { margin-top: 22px; font-size: clamp(38px, 5.6vw, 68px); max-width: 15ch; }
.kicker { margin-top: 14px; font-family: var(--display); font-weight: 700; font-size: clamp(17px, 2vw, 22px); letter-spacing: -.01em; line-height: 1.3;
  color: transparent; background: var(--gradient); -webkit-background-clip: text; background-clip: text; max-width: 30ch; }
.lede { margin-top: 18px; max-width: 58ch; font-size: 17px; color: var(--muted); }
.hstats { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 30px; padding: 0; list-style: none; }
.hstats li { display: flex; flex-direction: column; gap: 2px; }
.hstats b { font-family: var(--display); font-weight: 700; font-size: 34px; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums;
  color: transparent; background: var(--gradient); -webkit-background-clip: text; background-clip: text; }
.hstats span { font-size: 13px; color: var(--muted-2); }

/* The shelf: five companies, each in its own identity, each with its own year as a shape */
.shelf { margin-top: 72px; }
.shelf-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 10px 24px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.shelf h2 { font-size: clamp(24px, 2.8vw, 32px); }
.shelf-key { display: flex; gap: 18px; font-size: 12.5px; color: var(--muted-2); }
.shelf-key span { display: inline-flex; align-items: center; gap: 7px; }
.shelf-key i { width: 10px; height: 10px; border-radius: 2px; display: block; }
.key-trade { background: rgba(255, 255, 255, .72); }
.key-gap { background: var(--green); }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 16px; margin-top: 22px; }
.card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 22px 22px 20px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line);
  color: inherit; text-decoration: none; overflow: hidden; transition: transform .28s var(--ease-out), border-color .28s var(--ease-out), box-shadow .28s var(--ease-out); }
.card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: var(--c, var(--teal)); opacity: 0; transition: opacity .28s var(--ease-out); }
a.card:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
a.card:hover::before { opacity: 1; }
a.card:active { transform: translateY(-1px) scale(.995); }
.card.is-waiting { opacity: .55; }
.card-top { display: flex; flex-direction: column; gap: 4px; }
.lockup { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); line-height: 1.2; }
.lockup svg { width: 30px; height: 30px; flex: none; }
.card-kind { font-family: var(--display); font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); }
.shape { display: block; width: 100%; height: 92px; margin-top: 4px; }
.shape-base { stroke: var(--line-strong); stroke-width: 1; vector-effect: non-scaling-stroke; }
.bar-trade { fill: rgba(255, 255, 255, .72); }
.bar-gap { fill: var(--green); }
.hours { display: flex; justify-content: space-between; margin-top: -8px; font: 500 10.5px var(--mono); letter-spacing: .04em; color: var(--muted-2); }
.card-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.card-group { font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.card-group span { color: var(--muted-2); font-size: 12.5px; }
.btn { display: inline-flex; align-items: center; gap: 8px; flex: none; min-height: 40px; padding: 0 18px; border-radius: 100px; background: var(--gradient); color: #04211f; font-family: var(--display); font-weight: 700; font-size: 14px; white-space: nowrap; transition: transform .16s var(--ease-out); }
.btn svg { width: 15px; height: 15px; transition: transform .2s var(--ease-out); }
a.card:hover .btn svg { transform: translateX(3px); }
.waiting { font-family: var(--display); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); white-space: nowrap; }
.shelf-note { margin-top: 18px; max-width: 80ch; font-size: 13.5px; color: var(--muted-2); }

/* Footer: the loop, the small print */
.start-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 32px; padding-top: 22px; padding-bottom: 36px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted-2); }
.start-foot a { color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.start-foot a:hover { color: var(--ink); }
.loop { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 0; list-style: none; font-family: var(--display); font-weight: 600; font-size: 13px; color: var(--muted); }
.loop li { display: inline-flex; align-items: center; gap: 7px; }
.loop span { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-strong); font-size: 10px; color: var(--muted-2); font-variant-numeric: tabular-nums; }
.loop li:first-child span { background: var(--gradient); color: #04211f; border-color: transparent; }

@media (prefers-reduced-motion: no-preference) {
  .live { animation: pulse 2s ease-out infinite; }
  @keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(116, 236, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(116, 236, 94, 0); } }
  .hero > * { animation: rise .6s var(--ease-out) backwards; }
  .hero > :nth-child(2) { animation-delay: .06s; } .hero > :nth-child(3) { animation-delay: .12s; } .hero > :nth-child(4) { animation-delay: .18s; } .hero > :nth-child(5) { animation-delay: .24s; }
  .card { animation: rise .6s var(--ease-out) backwards; animation-delay: calc(.28s + var(--i, 0) * .07s); }
  .bar-gap { animation: marker-in .5s ease-out .7s backwards; }
  @keyframes rise { from { opacity: 0; transform: translateY(10px); } }
  @keyframes marker-in { from { opacity: 0; } }
}
@media (max-width: 720px) {
  .start-head, .start-main, .start-foot { padding-left: 18px; padding-right: 18px; }
  .start-main { padding-top: 44px; }
  .cards { grid-template-columns: 1fr; }
  .card-foot { flex-direction: column; align-items: flex-start; }
  .btn { min-height: 38px; font-size: 13px; }
}
