/* ================================================================
   01. FOUNDATION
   Design notes, colour/size variables, base elements, sidebar,
   buttons, pills and panels.

   Files load in number order (01 → 12). Later files override
   earlier ones, so keep the order when moving rules around.
   ================================================================ */

/* VOICE: calm, confident product feel — like a well-made app dashboard, not a brochure.
   IDEA: the studio as a "project dashboard": the hero is a live launch tracker counting 14 days.
   PICTURE: soft off-white panels on ink-blue, dot-matrix numerals, tick rulers, a dotted timeline, one butter glow.
   COLOUR and TYPE: ink #0f1724 frame, panels #f1efe8 / #fbfaf6, butter #f5d547 for buttons, pills and Kontakt. Schibsted Grotesk, Plex Mono labels, Doto numerals.
   LAYOUT: bento grids of rounded cards; every section is one big panel; yellow contact band at the end. */
:root {
  color-scheme: light;
  --bg: #e6e5e0;
  --ink: #0f1724;
  --ink2: #18233a;
  --line: #d9d6cc;
  --panel: #f1efe8;
  --card: #fdfcf9;
  --soft: #e7e4da;
  --txt: #0f1724;
  --mut: #6b7182;
  --paper: #f1efe8;
  --pm: #a7b0c2;
  --y: #f5d547;
  --r: 32px;
  --rc: 24px;
  --sh: 0 1px 0 rgba(255,255,255,.9) inset,0 18px 40px -24px rgba(15,23,36,.35);
}

* {
  box-sizing: border-box;
  min-width: 0;
}

html {
  scroll-padding-top: 20px;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--txt);
  font: 16px/1.55 "Zalando Sans",system-ui,sans-serif;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.shell {
  display: grid;
  grid-template-columns: 228px minmax(0,1fr);
  gap: 16px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 16px;
}

main {
  min-width: 0;
}

main>.panel:first-child,
main>section:first-child {
  margin-top: 0;
}

/* sidebar */
.side {
  position: sticky;
  top: 16px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 12px 12px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r);
  box-shadow: 0 30px 60px -30px rgba(15,23,36,.55);
}

.side .nav .pill {
  background: rgba(255,255,255,.08);
  color: #a7b0c2;
  box-shadow: none;
}

.side .nav a.act .pill {
  background: var(--soft);
  color: var(--mut);
}

.logo {
  font-weight: 700;
  letter-spacing: -.03em;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.side .logo {
  padding: 0 8px;
  font-size: 18px;
}

.side-tabs {
  display: flex;
  gap: 10px;
  padding: 0 8px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: 1;
}

.side-tabs span:last-child {
  color: #4f5b76;
}

.nav {
  display: grid;
  gap: 2px;
}

.nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 38px;
  padding: 0 10px;
  border-radius: 12px;
  text-decoration: none;
  color: #a7b0c2;
  font-size: 14px;
  transition: background .2s,box-shadow .2s,color .2s;
}

.nav a .lab {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav a svg {
  width: 17px;
  height: 17px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .75;
}

.nav a.act svg {
  stroke: var(--blue);
  opacity: 1;
}

.side .nav .pill {
  padding: 2px 8px;
  font-size: 11px;
}

.nav a .lab i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3a4662;
  transition: background .2s;
}

.nav a:hover {
  background: rgba(255,255,255,.06);
  color: var(--paper);
}

.nav a.act {
  background: #fff;
  color: var(--txt);
  box-shadow: var(--sh);
}

.nav a.act .lab i {
  background: var(--y);
  box-shadow: 0 0 0 3px rgba(245,213,71,.3);
}

.promo {
  margin-top: auto;
  background: var(--card);
  color: var(--txt);
  border-radius: var(--rc);
  padding: 18px;
  box-shadow: var(--sh);
  display: grid;
  gap: 10px;
}

.promo h3 {
  font-size: 16px;
}

.promo {
  padding: 14px!important;
  gap: 8px!important;
}

.promo .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.promo .btn {
  min-height: 38px;
  padding: 0 14px;
  font-size: 14px;
}

h1,
h2,
h3,
.logo,
.side-tabs,
.price {
  font-family: "Zalando Sans Expanded","Zalando Sans",system-ui,sans-serif;
}

h1,
h2,
h3 {
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(30px,3.7vw,52px);
}

h2 {
  font-size: clamp(26px,3vw,40px);
}

h3 {
  font-size: 22px;
  letter-spacing: -.025em;
  line-height: 1.15;
}

p {
  margin: 0;
}

.mono {
  font-family: "IBM Plex Mono",ui-monospace,monospace;
  font-size: 12.5px;
}

.dot {
  font-family: "Doto","IBM Plex Mono",monospace;
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: .9;
}

.mut {
  color: var(--mut);
}

/* buttons + pills */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 0;
  font: 600 15.5px/1 "Zalando Sans",sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s,box-shadow .2s;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-y {
  background: var(--y);
  color: var(--ink);
  box-shadow: 0 10px 24px -12px rgba(245,213,71,.9);
}

.btn-w {
  background: #fff;
  color: var(--ink);
  box-shadow: var(--sh);
}

.btn-ink {
  background: var(--ink);
  color: var(--paper);
}

.btn:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--y);
  outline-offset: 3px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 4px 11px;
  font: 500 12px/1.3 "IBM Plex Mono",monospace;
  white-space: nowrap;
}

.pill.y {
  background: var(--y);
  color: var(--ink);
}

.pill.w {
  background: #fff;
  color: var(--mut);
  box-shadow: var(--sh);
}

.pill.g {
  background: var(--soft);
  color: var(--mut);
}

/* panels */
.panel {
  background: var(--panel);
  color: var(--txt);
  border-radius: var(--r);
  padding: clamp(20px,3vw,40px);
  margin-top: 14px;
}

.card {
  background: var(--card);
  border-radius: var(--rc);
  padding: 22px;
  box-shadow: var(--sh);
  position: relative;
  overflow: hidden;
}

.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px 24px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.sec-head p {
  max-width: 30em;
  margin-top: 10px;
}
