/* Brackets homepage mockup — shared styles
   Variant A = light glass (default), Variant B = [data-theme="dark"] */

@font-face { font-family: "Figtree"; font-weight: 400; font-display: swap;
  src: url(fonts/figtree-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Figtree"; font-weight: 400; font-display: swap;
  src: url(fonts/figtree-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-024F, U+1E00-1EFF; }
@font-face { font-family: "Figtree"; font-weight: 500; font-display: swap;
  src: url(fonts/figtree-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Figtree"; font-weight: 500; font-display: swap;
  src: url(fonts/figtree-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+0100-024F, U+1E00-1EFF; }

:root {
  /* brand, sampled from the logo */
  --cyan: #2bbfe6;
  --blue: #3d7ccb;
  --purple: #7a4aa6;
  --pink: #d06ab2;
  --brand-gradient: linear-gradient(90deg, var(--cyan), var(--blue) 35%, var(--purple) 70%, var(--pink));

  /* theme tokens — light */
  --bg: #f5f6fb;
  --ink: 16 19 48;                 /* rgb triplet, used with alpha */
  --text-1: rgb(var(--ink) / 1);
  --text-2: rgb(var(--ink) / .68);
  --text-3: rgb(var(--ink) / .45);
  --line: rgb(var(--ink) / .08);
  --glass: rgb(255 255 255 / .62);
  --glass-strong: rgb(255 255 255 / .8);
  --glass-border: rgb(255 255 255 / .9);
  --shadow: 0 1px 0 rgb(255 255 255 / .6) inset, 0 20px 50px -20px rgb(40 40 90 / .18);
  --blob-opacity: .55;
  --btn-bg: #10132f;
  --btn-text: #fff;
  --logo-filter: none;

  --radius-l: 28px;
  --radius-m: 20px;
  --radius-s: 12px;
  --blur: blur(22px) saturate(160%);
  --maxw: 1200px;
}

[data-theme="dark"] {
  --bg: #0a0c1d;
  --ink: 240 242 255;
  --line: rgb(255 255 255 / .08);
  --glass: rgb(255 255 255 / .05);
  --glass-strong: rgb(255 255 255 / .08);
  --glass-border: rgb(255 255 255 / .1);
  --shadow: 0 1px 0 rgb(255 255 255 / .06) inset, 0 30px 60px -30px rgb(0 0 0 / .6);
  --blob-opacity: .38;
  --btn-bg: #fff;
  --btn-text: #0a0c1d;
}

* { box-sizing: border-box; margin: 0; }
html { background: var(--bg); }
body {
  font-family: "Figtree", "Aptos", system-ui, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-1);
  background: var(--bg);
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* soft brand-colour blobs behind the glass */
.blobs { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.blobs span { position: absolute; border-radius: 50%; filter: blur(90px); opacity: var(--blob-opacity); }
.blobs .b1 { width: 620px; height: 620px; background: var(--cyan);   top: -160px; left: -140px; }
.blobs .b2 { width: 560px; height: 560px; background: var(--purple); top: 80px;  right: -120px; }
.blobs .b3 { width: 460px; height: 460px; background: var(--pink);   top: 1250px; left: 55%; }
.blobs .b4 { width: 520px; height: 520px; background: var(--blue);   top: 1500px; left: -180px; }

.wrap { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding-top: 16px; padding-inline: 32px; }

.glass {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
}

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 16px; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 10px 10px 22px;
  border-radius: 999px;
}
.nav img { height: 38px; display: block; }
.nav ul { display: flex; gap: 6px; list-style: none; padding: 0; }
.nav a { color: var(--text-2); text-decoration: none; font-size: 15px; padding: 9px 16px; border-radius: 999px; }
.nav a.active { color: var(--text-1); background: var(--glass-strong); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: inherit; font-size: 15px; font-weight: 500; text-decoration: none;
  padding: 13px 22px; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-text);
}
.btn.ghost { background: var(--glass-strong); color: var(--text-1); border: 1px solid var(--glass-border); }
.btn svg { width: 16px; height: 16px; }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--text-2);
  padding: 7px 14px 7px 10px; border-radius: 999px;
}
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-gradient); }
h1 { font-weight: 400; font-size: 68px; line-height: 1.04; letter-spacing: -.025em; }
h1 .dim { color: var(--text-3); }
h2 { font-weight: 400; font-size: 44px; line-height: 1.1; letter-spacing: -.02em; }
h3 { font-weight: 500; font-size: 20px; letter-spacing: -.01em; }
.lead { font-size: 20px; color: var(--text-2); max-width: 540px; }
.muted { color: var(--text-2); }
.faint { color: var(--text-3); }
.grad-text { background: var(--brand-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding: 110px 0 120px; }
.hero h1 { margin: 26px 0 26px; }
.hero .actions { display: flex; gap: 12px; margin-top: 38px; }

.flow { border-radius: var(--radius-l); padding: 30px; }
.flow-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 22px; }
.flow-head span:first-child { font-size: 15px; color: var(--text-2); }
.flow-head .mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 20px; }
.step { display: grid; grid-template-columns: 44px 1fr auto; gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.step:first-of-type { border-top: 0; }
.step .ic { width: 44px; height: 44px; border-radius: var(--radius-s); display: grid; place-items: center; background: var(--glass-strong); border: 1px solid var(--glass-border); }
.step .ic svg { width: 21px; height: 21px; }
.step b { font-weight: 500; display: block; font-size: 16px; }
.step small { font-size: 14px; color: var(--text-3); }
.step .bar { width: 96px; height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; }
.step .bar i { display: block; height: 100%; border-radius: 99px; background: var(--brand-gradient); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip { font-size: 13px; color: var(--text-2); padding: 6px 12px; border-radius: 999px; background: var(--glass-strong); border: 1px solid var(--glass-border); }

/* ---------- section head ---------- */
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 40px; }
.sec-head p { max-width: 460px; color: var(--text-2); }
.label { font-size: 14px; color: var(--text-3); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.label code { font-family: ui-monospace, Menlo, monospace; font-size: 13px; }

/* ---------- services ---------- */
.services { padding-bottom: 120px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { border-radius: var(--radius-l); padding: 30px; min-height: 250px; display: flex; flex-direction: column; }
.card .ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 44px; background: var(--glass-strong); border: 1px solid var(--glass-border); }
.card .ic svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 15.5px; color: var(--text-2); }
.card .more { margin-top: auto; padding-top: 22px; font-size: 14px; color: var(--text-3); display: flex; align-items: center; gap: 6px; }
.card.cta { background: var(--btn-bg); color: var(--btn-text); border-color: transparent; justify-content: space-between; }
.card.cta p { color: currentColor; opacity: .65; }
.card.cta .arrow { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-gradient); color: #fff; }

/* icon strokes pick up the brand gradient via SVG defs */
.icon { fill: none; stroke: url(#g); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- career + contact ---------- */
.duo { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; padding-bottom: 110px; }
.panel { border-radius: var(--radius-l); padding: 44px; }
.panel h2 { font-size: 38px; margin: 6px 0 16px; }
.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 30px 0 34px; }
.benefit { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: var(--radius-m); background: var(--glass-strong); border: 1px solid var(--glass-border); font-size: 15px; }
.benefit svg { width: 20px; height: 20px; flex: none; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 34px; }
.contact-list li { display: flex; justify-content: space-between; gap: 20px; padding: 15px 0; border-top: 1px solid var(--line); font-size: 16px; }
.contact-list li span:first-child { color: var(--text-3); }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 40px 0 50px; }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 30px; font-size: 14px; color: var(--text-3); }
.foot img { height: 34px; display: block; }
.foot nav { display: flex; gap: 24px; }
.foot nav a { color: var(--text-2); text-decoration: none; }

/* fixes after first render */
.nav a.btn { color: var(--btn-text); padding: 12px 22px; }
.nav img { height: 44px; }
[data-theme="dark"] .nav img, [data-theme="dark"] .foot img { filter: brightness(1.35) saturate(1.1); }

/* ---------- service detail ---------- */
.crumb { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-3); padding-top: 34px; }
.crumb a { color: var(--text-2); text-decoration: none; }
.crumb a:hover { color: var(--text-1); }

.dhero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: start; padding: 28px 0 90px; }
.dhero h1 { font-size: 56px; margin: 22px 0 22px; }
.spec { border-radius: var(--radius-l); padding: 10px 26px; }
.spec dl { display: grid; grid-template-columns: 112px 1fr; gap: 0 18px; margin: 0; }
.spec dt { font-size: 14px; color: var(--text-3); padding: 15px 0; border-top: 1px solid var(--line); }
.spec dd { margin: 0; font-size: 15.5px; color: var(--text-2); padding: 15px 0; border-top: 1px solid var(--line); }
.spec dl > dt:first-of-type, .spec dl > dt:first-of-type + dd { border-top: 0; }

.block { padding-bottom: 100px; }
.two { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.item { border-radius: var(--radius-l); padding: 26px; }
.item .n { font-family: ui-monospace, Menlo, monospace; font-size: 13px; color: var(--text-3); display: block; margin-bottom: 12px; }
.item h3 { margin-bottom: 8px; }
.item p { font-size: 15.5px; color: var(--text-2); }

.ticks { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.ticks li { display: grid; grid-template-columns: 20px 1fr; gap: 14px; align-items: center;
            padding: 16px 18px; border-radius: var(--radius-m); font-size: 15.5px;
            background: var(--glass-strong); border: 1px solid var(--glass-border); }
.ticks li svg { width: 20px; height: 20px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.steps > div { border-radius: var(--radius-l); padding: 26px; }
.steps .n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
            background: var(--brand-gradient); color: #fff; font-size: 13px; margin-bottom: 16px; }
.steps b { font-weight: 500; font-size: 17px; display: block; margin-bottom: 7px; }
.steps p { color: var(--text-2); font-size: 15px; }

.cta-bar { border-radius: var(--radius-l); padding: 40px 44px; display: flex; justify-content: space-between;
           align-items: center; gap: 32px; flex-wrap: wrap; margin-bottom: 100px;
           background: var(--btn-bg); color: var(--btn-text); border-color: transparent; }
.cta-bar h2 { font-size: 34px; }
.cta-bar p { opacity: .65; margin-top: 8px; }
.cta-bar .btn { background: var(--brand-gradient); color: #fff; }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding-bottom: 100px; }
.pager a { border-radius: var(--radius-l); padding: 24px 26px; text-decoration: none; color: inherit; }
.pager span { display: block; font-size: 14px; color: var(--text-3); margin-bottom: 6px; }
.pager b { font-weight: 500; font-size: 18px; }
.pager a:last-child { text-align: right; }

@media (max-width: 960px) {
  .dhero { grid-template-columns: 1fr; gap: 36px; padding-bottom: 56px; }
  .dhero h1 { font-size: 40px; }
  .two, .ticks, .pager { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .spec dl { grid-template-columns: 1fr; }
  .spec dd { padding-top: 0; border-top: 0; }
  .pager a:last-child { text-align: left; }
}
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- career detail ---------- */
.jobhead { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: start; padding: 28px 0 86px; }
.jobhead h1 { font-size: 60px; margin: 20px 0 22px; }

/* week rhythm — one soft gradient bar inside glass */
.rytmus { border-radius: var(--radius-l); padding: 28px 30px; }
.rytmus > .mono { font-family: ui-monospace, Menlo, monospace; font-size: 13px; color: var(--text-3); display: block; margin-bottom: 18px; }
.bar { display: flex; height: 18px; border-radius: 99px; overflow: hidden; background: var(--line); }
.bar i { display: block; height: 100%; }
.bar i:nth-child(1) { background: linear-gradient(90deg, var(--cyan), #37a7dd); }
.bar i:nth-child(2) { background: linear-gradient(90deg, #3d8fd0, var(--blue)); }
.bar i:nth-child(3) { background: linear-gradient(90deg, #5f63bb, var(--purple)); }
.bar i:nth-child(4) { background: linear-gradient(90deg, #a052ae, var(--pink)); }
.legend { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.legend li { display: grid; grid-template-columns: 12px 1fr auto; gap: 14px; align-items: center; font-size: 15px; color: var(--text-2); }
.legend i { width: 12px; height: 12px; border-radius: 4px; }
.legend li:nth-child(1) i { background: var(--cyan); }
.legend li:nth-child(2) i { background: var(--blue); }
.legend li:nth-child(3) i { background: var(--purple); }
.legend li:nth-child(4) i { background: var(--pink); }
.legend b { font-weight: 500; font-size: 15px; color: var(--text-1); }

/* must-have vs nice-to-have as facing glass cards */
.tracks { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.track { border-radius: var(--radius-l); padding: 30px; }
.track h3 { margin-bottom: 4px; }
.track > .mono { font-family: ui-monospace, Menlo, monospace; font-size: 13px; color: var(--text-3); display: block; margin-bottom: 20px; }
.track ul { list-style: none; padding: 0; display: grid; gap: 14px; }
.track li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 15.5px; color: var(--text-2); align-items: start; }
.track li::before { width: 18px; height: 18px; border-radius: 50%; margin-top: 2px; display: grid; place-items: center; font-size: 11px; }
.track.must li::before { content: "✓"; background: var(--brand-gradient); color: #fff; }
.track.plus li::before { content: ""; border: 1.5px solid var(--line); }

/* hiring process — glass steps joined by a gradient rail */
.hiring { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.hiring::before { content: ""; position: absolute; left: 30px; right: 30px; top: 44px; height: 2px; background: var(--brand-gradient); opacity: .4; }
.hiring > div { border-radius: var(--radius-l); padding: 26px; position: relative; }
.hiring .n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
             background: var(--brand-gradient); color: #fff; font-size: 13px; margin-bottom: 16px; position: relative; z-index: 1; }
.hiring b { font-weight: 500; font-size: 17px; display: block; margin-bottom: 7px; }
.hiring p { color: var(--text-2); font-size: 15px; }

/* the honest counter-list, inverted */
.nope { border-radius: var(--radius-l); padding: 30px; background: var(--btn-bg); color: var(--btn-text); border-color: transparent; }
.nope > .mono { font-family: ui-monospace, Menlo, monospace; font-size: 13px; opacity: .55; display: block; margin-bottom: 20px; }
.nope ul { list-style: none; padding: 0; display: grid; gap: 14px; }
.nope li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 15.5px; opacity: .72; }
.nope li::before { content: "×"; opacity: .6; }

.roster { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 22px; }
.roster .br { font-size: 26px; color: var(--text-3); }
.roster span { font-size: 13.5px; color: var(--text-2); padding: 7px 14px; border-radius: 999px;
               background: var(--glass-strong); border: 1px solid var(--glass-border); }

@media (max-width: 960px) {
  .jobhead { grid-template-columns: 1fr; gap: 34px; padding-bottom: 54px; }
  .jobhead h1 { font-size: 42px; }
  .tracks { grid-template-columns: 1fr; }
  .hiring { grid-template-columns: 1fr 1fr; }
  .hiring::before { display: none; }
}
@media (max-width: 560px) { .hiring { grid-template-columns: 1fr; } }
