/* ===== Gearlab — 2026 ===== */

/* Inter (variable, self-hosted) — SIL Open Font License */
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/fonts/inter-latin.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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink:        #0f1535;
  --navy:       #1c2448;
  --navy-deep:  #0b1030;
  --text:       #475069;
  --grey:       #667085;
  --bg:         #ffffff;
  --soft:       #f4f6fb;
  --border:     #e5e9f2;
  --border-strong: #d2d9e7;
  --mint:       #7ec2b2;
  --mint-bright:#9de7d7;
  --mint-soft:  #e4f4ef;
  --mint-deep:  #17705d;
  --ff:         #0273ff;
  --sr:         #fb3b39;
  --ev:         #00aa80;
  --radius-sm:  12px;
  --radius:     20px;
  --radius-lg:  28px;
  --shadow:     0 28px 64px -28px rgba(15, 21, 53, .28);
  --shadow-sm:  0 8px 24px -12px rgba(15, 21, 53, .16);
  --maxw:       1180px;
  --ease:       cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--ink); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; text-wrap: balance; }
p { text-wrap: pretty; }

:focus-visible { outline: 2px solid var(--ff); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; z-index: 100; }
.skip:focus { left: 16px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; line-height: 1.2; white-space: nowrap;
  transition: transform .28s var(--ease), box-shadow .28s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn svg { width: 16px; height: 16px; flex: none; transition: transform .28s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-dark { background: var(--ink); color: #fff; box-shadow: 0 10px 22px -10px rgba(15, 21, 53, .6); }
.btn-dark:hover { background: var(--navy); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-mint { background: var(--mint-bright); color: var(--ink); }
.btn-mint:hover { background: #b4efe2; }
.btn-sm { padding: 10px 18px; font-size: 14px; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(229, 233, 242, .8);
}
.header-inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.logo {
  display: block; width: 124px; aspect-ratio: 474 / 76; background: var(--ink);
  -webkit-mask: url("/img/gearlab-wordmark.png") center / contain no-repeat;
          mask: url("/img/gearlab-wordmark.png") center / contain no-repeat;
}
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--navy); transition: background-color .2s ease; }
.nav a:hover { background: var(--soft); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; border: 1px solid var(--border); border-radius: 999px; padding: 3px; font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.lang a, .lang span { padding: 4px 9px; border-radius: 999px; color: var(--grey); }
.lang span { background: var(--soft); color: var(--ink); }
.lang a:hover { color: var(--ink); }

/* ===== Eyebrow / section heads ===== */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .01em; color: var(--navy);
  background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 6px 14px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px var(--mint-soft); }
.section { padding: 104px 0; }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); margin-top: 18px; }
.section-head p { font-size: 18px; margin-top: 18px; max-width: 620px; }

/* ===== Hero ===== */
.hero { padding: 12px 0 0; }
.hero-panel {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  padding: 76px 40px 0; text-align: center;
  background:
    radial-gradient(ellipse 60% 55% at 12% 0%, rgba(157, 231, 215, .42) 0%, transparent 70%),
    radial-gradient(ellipse 55% 50% at 92% 6%, rgba(2, 115, 255, .13) 0%, transparent 70%),
    linear-gradient(180deg, #f1f4fc 0%, #f6f7fc 100%);
}
.hero h1 { font-size: clamp(35px, 7.2vw, 88px); letter-spacing: -.045em; line-height: 1; margin-top: 26px; }
.hero h1 .mark { position: relative; white-space: nowrap; z-index: 0; }
.hero h1 .mark::after {
  content: ""; position: absolute; left: -.06em; right: -.06em; bottom: .04em; height: .34em;
  background: var(--mint-bright); border-radius: .08em; z-index: -1; transform: rotate(-.6deg);
}
.hero .lead { font-size: clamp(17px, 1.6vw, 20px); max-width: 660px; margin: 26px auto 0; color: var(--text); }
.hero .lead strong { color: var(--ink); font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 34px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-top: 30px; font-size: 14px; font-weight: 500; color: var(--navy); }
.chips li { display: inline-flex; align-items: center; gap: 8px; }
.chips li::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none; background: var(--ink)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='%239de7d7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.2 9.4l2.5 2.4 5.1-5.4'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Stage: the product wall */
.stage {
  margin: 60px auto 0; max-width: 1060px; text-align: left;
  border-radius: 24px 24px 0 0; padding: 18px 18px 0;
  background:
    radial-gradient(ellipse 70% 80% at 80% 0%, rgba(2, 115, 255, .35) 0%, transparent 60%),
    radial-gradient(ellipse 60% 70% at 0% 100%, rgba(126, 194, 178, .28) 0%, transparent 60%),
    var(--navy-deep);
  display: grid; grid-template-columns: 1.62fr 1fr; grid-template-rows: auto auto; gap: 18px;
}
.tile { position: relative; display: block; border-radius: 16px; overflow: hidden; transition: transform .4s var(--ease); }
.tile:hover { transform: translateY(-4px); }
.tile-label {
  display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, .72);
}
.tile-label img { height: 15px; width: auto; }
.tile-ff { grid-row: 1 / span 2; padding: 20px 20px 0; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-bottom: 0; border-radius: 16px 16px 0 0; }
.tile-ff .tile-label img { height: 17px; }
.browser { margin-top: 18px; border-radius: 10px 10px 0 0; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5); }
.browser-bar { display: flex; gap: 6px; padding: 10px 12px; background: #eef1f7; }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #cfd6e4; }
.browser img { width: 100%; }
.tile-sr { background: #f7f7fa; padding: 18px 18px 0; }
.tile-sr .tile-label { color: var(--grey); }
.tile-sr .tile-label img { height: 22px; }
.tile-sr .shot { margin-top: 14px; border-radius: 10px 10px 0 0; overflow: hidden; border: 1px solid #ececf2; border-bottom: 0; height: 168px; }
.tile-sr .shot img { width: 100%; }
.tile-ev { background: linear-gradient(160deg, #0b6b52 0%, #00aa80 100%); padding: 18px 18px 0; display: grid; grid-template-columns: 1fr 46%; gap: 8px; border-radius: 16px 16px 0 0; min-height: 220px; }
.tile-ev .tile-label { color: rgba(255, 255, 255, .85); align-self: start; flex-direction: column; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.4; }
.tile-ev .tile-label img { height: 26px; }
.tile-ev .phone { align-self: end; max-height: 230px; overflow: hidden; }
.tile-ev .phone img { width: 100%; }

/* ===== Trust strip ===== */
.trust { padding: 44px 0 8px; }
.trust-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 44px; }
.trust p { font-size: 14px; color: var(--grey); }
.trust ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 40px; }
.trust li { font-size: 19px; font-weight: 700; letter-spacing: -.03em; color: #8a93a8; }

/* ===== Products ===== */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product {
  display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #fff;
  transition: transform .4s var(--ease), box-shadow .4s ease, border-color .2s ease;
}
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.product-top { height: 132px; display: grid; place-items: center; padding: 0 28px; }
.product-top img { height: 30px; width: auto; }
.p-ff .product-top { background: #e8f1ff; }
.p-sr .product-top { background: #fff0ef; }
.p-sr .product-top img { height: 44px; }
.p-ev .product-top { background: #e1f5ee; }
.p-ev .product-top img { height: 84px; }
.product-body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .01em; }
.p-ff .kicker { color: #015fd6; } .p-sr .kicker { color: #c9211f; } .p-ev .kicker { color: #067a5d; }
.product h3 { font-size: 22px; margin-top: 8px; }
.product p { margin-top: 12px; font-size: 15.5px; }
.facts { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--border); display: grid; gap: 8px; font-size: 14.5px; color: var(--navy); }
.facts li { display: flex; gap: 10px; align-items: baseline; }
.facts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; flex: none; transform: translateY(-2px); background: currentColor; opacity: .35; }
.more { margin-top: auto; padding-top: 22px; font-size: 15px; font-weight: 600; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; }
.more svg { width: 15px; height: 15px; transition: transform .28s var(--ease); }
.product:hover .more svg { transform: translate(2px, -2px); }

.lab { margin-top: 20px; border: 1px dashed var(--border-strong); border-radius: var(--radius); padding: 20px 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; font-size: 15px; }
.lab strong { color: var(--ink); font-weight: 600; }
.lab ul { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.lab a { color: var(--navy); border-bottom: 1px solid var(--border-strong); transition: border-color .2s ease; }
.lab a:hover { border-color: var(--ink); }
.lab span { color: var(--grey); }

/* ===== Client work (ledger) ===== */
.section-soft { background: var(--soft); }
.ledger { border-top: 1px solid var(--border-strong); }
.case { display: grid; grid-template-columns: 240px 1fr 220px; gap: 32px; padding: 36px 0; border-bottom: 1px solid var(--border-strong); align-items: start; }
.case-client { font-size: 26px; font-weight: 600; letter-spacing: -.035em; color: var(--ink); line-height: 1.15; }
.case-client small { display: block; margin-top: 8px; font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--grey); }
.case h3 { font-size: 20px; letter-spacing: -.02em; }
.case p { margin-top: 10px; max-width: 560px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.tags li { font-size: 12.5px; font-weight: 500; color: var(--navy); background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 4px 11px; }

/* ===== Approach ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { border-radius: var(--radius); padding: 30px 28px 32px; background: var(--soft); }
.step:nth-child(2) { background: var(--mint-soft); }
.step:nth-child(3) { background: var(--ink); color: rgba(255, 255, 255, .74); }
.step:nth-child(3) h3, .step:nth-child(3) .num { color: #fff; }
.num { font-size: 56px; font-weight: 600; letter-spacing: -.05em; line-height: 1; color: var(--ink); }
.step:nth-child(3) .num { color: var(--mint-bright); }
.step h3 { font-size: 20px; margin-top: 44px; letter-spacing: -.02em; }
.step p { margin-top: 10px; font-size: 15.5px; }

/* ===== About (dark) ===== */
.about-wrap { padding: 0 12px; }
.about {
  border-radius: var(--radius-lg); color: rgba(255, 255, 255, .72); padding: 88px 0;
  background:
    radial-gradient(ellipse 50% 60% at 100% 0%, rgba(2, 115, 255, .28) 0%, transparent 65%),
    radial-gradient(ellipse 45% 55% at 0% 100%, rgba(126, 194, 178, .22) 0%, transparent 65%),
    var(--navy-deep);
}
.about-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; }
.about .eyebrow { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .14); color: #fff; }
.about .eyebrow::before { box-shadow: 0 0 0 3px rgba(126, 194, 178, .25); }
.about h2 { color: #fff; font-size: clamp(34px, 4.6vw, 54px); margin-top: 18px; }
.about-text p { margin-top: 20px; font-size: 17.5px; max-width: 460px; }
.about-text p strong { color: #fff; font-weight: 600; }
.assure { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.assure li { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; padding: 22px; font-size: 14.5px; line-height: 1.55; }
.assure svg { width: 22px; height: 22px; color: var(--mint-bright); }
.assure strong { display: block; color: #fff; font-size: 16px; font-weight: 600; letter-spacing: -.01em; margin: 14px 0 6px; }

/* ===== Contact ===== */
.contact { text-align: center; padding: 112px 0 104px; }
.contact h2 { font-size: clamp(36px, 5.6vw, 68px); letter-spacing: -.04em; }
.contact p { font-size: 18px; margin: 22px auto 0; max-width: 540px; }
.contact .mail { display: inline-block; margin-top: 22px; font-size: 15px; color: var(--grey); }
.contact .mail a { color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--border-strong); }
.contact .mail a:hover { border-color: var(--ink); }

/* ===== Footer ===== */
.site-footer { border-top: 1px solid var(--border); padding: 44px 0 40px; font-size: 14px; color: var(--grey); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px 48px; }
.footer-brand .logo { width: 108px; }
.footer-brand p { margin-top: 14px; max-width: 280px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 28px 64px; }
.footer-cols h4 { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.footer-cols li { margin-top: 7px; }
.footer-cols a:hover, .footer-bottom a:hover { color: var(--ink); }
.footer-bottom { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 13px; }

/* ===== Plain pages (privacy, 404) ===== */
.page { padding: 72px 0 96px; }
.page .container { max-width: 760px; }
.page h1 { font-size: clamp(34px, 5vw, 52px); margin-top: 18px; }
.page h2 { font-size: 22px; letter-spacing: -.02em; margin-top: 44px; }
.page p, .page ul { margin-top: 14px; }
.page ul { list-style: disc; padding-left: 20px; }
.page li { margin-top: 6px; }
.page a { color: var(--ink); font-weight: 500; border-bottom: 1px solid var(--border-strong); }
.page .updated { font-size: 14px; color: var(--grey); }

/* ===== Responsive ===== */
@media (max-width: 1000px) {
  .section { padding: 80px 0; }
  .products { grid-template-columns: 1fr; }
  .product { flex-direction: row; }
  .product-top { height: auto; width: 240px; flex: none; }
  .case { grid-template-columns: 200px 1fr; }
  .case .tags { grid-column: 2; justify-content: flex-start; }
  .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .about-text p { max-width: 620px; }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .header-actions { margin-left: auto; }
  .stage { grid-template-columns: 1fr; }
  .tile-ff { grid-row: auto; }
  .steps { grid-template-columns: 1fr; }
  .step h3 { margin-top: 24px; }
}
@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 36px; }
  .hero { padding-top: 8px; }
  .hero .container { padding: 0 8px; }
  .hero-panel { padding: 52px 14px 0; border-radius: 22px; }
  .hero-panel > .lead, .hero-panel > .chips { padding: 0 6px; }
  .chips { gap: 8px 16px; font-size: 13.5px; }
  .stage { margin-top: 44px; padding: 10px 10px 0; gap: 10px; border-radius: 18px 18px 0 0; }
  .tile-ff { padding: 14px 14px 0; }
  .logo { width: 104px; }
  .header-inner { gap: 12px; height: 60px; }
  .btn-sm { padding: 9px 14px; font-size: 13.5px; }
  .product { flex-direction: column; }
  .product-top { width: auto; height: 110px; }
  .lab { padding: 18px 20px; }
  .case { grid-template-columns: 1fr; gap: 14px; padding: 28px 0; }
  .case .tags { grid-column: auto; }
  .about-wrap { padding: 0 8px; }
  .about { padding: 60px 0; border-radius: 22px; }
  .assure { grid-template-columns: 1fr; }
  .contact { padding: 80px 0 72px; }
  .trust li { font-size: 17px; }
  .trust ul { gap: 8px 26px; }
}
@media (max-width: 400px) {
  .header-actions .btn { display: none; }
}
