/* WorkBay — light, quiet, product-first. */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  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;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  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+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  --bg: #f8f9f6;
  --surface: #ffffff;
  --ink: #1a211b;
  --muted: #6b736c;
  --faint: #98a099;
  --line: #e4e8e0;
  --line-strong: #d5dbd1;
  --green: #2f5c41;
  --tint: #eef3ec;
  --wrap: 1120px;
  --gutter: 32px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; color-scheme: light; }
body { margin: 0; overflow-x: hidden; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.75; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
h1, h2, h3, p, ul, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
::selection { background: #cfe4d3; color: #14251a; }
.scroll-progress { position: fixed; top: 0; right: 0; left: 0; z-index: 70; height: 2px; pointer-events: none; }
.scroll-progress span { display: block; width: 100%; height: 100%; background: var(--green); opacity: .55; transform: scaleX(0); transform-origin: left; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: min(100%, calc(var(--wrap) + var(--gutter) * 2)); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 9px 15px; border-radius: 999px; background: var(--ink); color: #fff; transform: translateY(-200%); }
.skip:focus { transform: none; }
:where(a, button):focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }

/* Buttons & links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border: 1px solid transparent; border-radius: 10px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 500; line-height: 1; white-space: nowrap; transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease; }
.btn:hover { background: var(--green); transform: translateY(-1px); box-shadow: 0 8px 20px -10px rgba(28, 54, 35, .5); }
.btn .icon { width: 16px; height: 16px; }
.icon--win { width: 15px; height: 15px; }
.btn__arrow { margin-left: 2px; transition: transform .22s ease; }
.btn:hover .btn__arrow { transform: translateX(3px); }
.btn--sm { height: 34px; padding: 0 14px; border-radius: 9px; font-size: 13px; }
.btn--ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn--ghost:hover { background: var(--surface); border-color: #b9cbb8; color: var(--green); box-shadow: none; }
.link-quiet { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: 13px; transition: color .2s ease; }
.link-quiet:hover { color: var(--green); }
.link-quiet .icon { width: 12px; height: 12px; opacity: .65; }

/* Header */
.header { position: fixed; inset: 0 0 auto; z-index: 60; border-bottom: 1px solid transparent; background: rgba(248, 249, 246, .78); backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%); transition: border-color .2s ease, background-color .2s ease; }
.header.is-scrolled { border-bottom-color: var(--line); background: rgba(250, 251, 248, .92); }
.header__inner { display: flex; align-items: center; gap: 34px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 9px; }
.brand img { flex: none; border-radius: 8px; }
.brand > span { font-size: 16px; font-weight: 600; letter-spacing: -.02em; }
.brand--sm > span { font-size: 14px; }
.brand--sm img { border-radius: 6px; }
.nav { display: flex; align-items: center; gap: 26px; color: var(--muted); font-size: 13.5px; }
.nav a { position: relative; padding-block: 3px; transition: color .18s ease; }
.nav a::after { content: ''; position: absolute; right: 0; bottom: 0; left: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .26s cubic-bezier(.2, .7, .2, 1); }
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header__actions { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.menu-btn { display: none; width: 34px; height: 34px; align-items: center; justify-content: center; border: 0; background: transparent; cursor: pointer; }
.menu-btn__close { display: none; }
.menu-btn[aria-expanded='true'] .menu-btn__open { display: none; }
.menu-btn[aria-expanded='true'] .menu-btn__close { display: block; }
.menu-scrim { position: fixed; inset: 64px 0 0; z-index: 55; background: rgba(24, 32, 26, .12); backdrop-filter: blur(2px); }
body.menu-open { overflow: hidden; }
@media (min-width: 821px) { .menu-scrim { display: none; } }

/* Hero */
.hero { position: relative; padding: 124px 0 68px; overflow: hidden; background: linear-gradient(180deg, #f1f6ee 0%, #f5f8f2 38%, var(--bg) 78%); }
.hero__glow { position: absolute; top: -80px; left: 50%; width: 760px; height: 360px; border-radius: 50%; background: radial-gradient(closest-side, rgba(198, 226, 195, .38), rgba(214, 233, 210, .1) 62%, rgba(240, 245, 237, 0) 92%); filter: blur(24px); transform: translateX(-50%); pointer-events: none; animation: glow 18s ease-in-out infinite alternate; }
.hero__inner { position: relative; z-index: 1; max-width: 720px; margin-inline: auto; text-align: center; }
.hero__icon { width: 88px; height: 88px; margin: 0 auto; padding: 12px; object-fit: contain; border: 1px solid rgba(224, 231, 219, .9); border-radius: 22px; background: #fff; box-shadow: 0 12px 26px -18px rgba(24, 46, 30, .55); }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px 6px 11px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .72); color: var(--muted); font-size: 12.5px; line-height: 1.4; }
.badge i { width: 5px; height: 5px; border-radius: 50%; background: #5b9d6b; box-shadow: 0 0 0 3px rgba(91, 157, 107, .14); }
.hero h1 { margin-top: 24px; font-size: clamp(32px, 4.2vw, 54px); font-weight: 500; line-height: 1.26; letter-spacing: -.035em; }
.hero h1 .accent { color: var(--green); }
.hero__lede { margin-top: 18px; color: var(--muted); font-size: 15.5px; line-height: 1.85; }
.hero__actions { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 30px; }
.hero__meta { margin-top: 22px; color: var(--faint); font-size: 12.5px; }

/* Sections */
.section { padding: 80px 0; }
.section--tint { background: var(--tint); }
.section__head { max-width: 640px; }
.eyebrow { color: var(--green); font-size: 13px; font-weight: 500; }
.section__head h2 { margin-top: 10px; font-size: clamp(23px, 2.6vw, 33px); font-weight: 500; line-height: 1.42; letter-spacing: -.025em; }
.section__desc { margin-top: 14px; color: var(--muted); font-size: 15px; line-height: 1.85; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 40px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.card { padding: 26px 24px 28px; border-left: 1px solid var(--line); transition: background-color .25s ease; }
.card:first-child { border-left: 0; }
.card:hover { background: #fbfcfa; }
.card__icon { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; background: var(--tint); color: var(--green); }
.card__icon .icon { width: 19px; height: 19px; }
.card h3 { margin-top: 16px; font-size: 15.5px; font-weight: 500; letter-spacing: -.01em; }
.card p { margin-top: 7px; color: var(--muted); font-size: 14px; line-height: 1.78; }

/* Points */
.points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 40px; }
.points article { padding-top: 18px; border-top: 1px solid var(--line-strong); }
.points h3 { font-size: 17px; font-weight: 500; letter-spacing: -.01em; }
.points p { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.85; }

/* Quote */
.quote { padding: 68px 0; }
.quote blockquote { max-width: 620px; margin-inline: auto; padding-top: 22px; text-align: center; }
.quote blockquote::before { content: ''; display: block; width: 30px; height: 1px; margin: 0 auto 22px; background: var(--line-strong); }
.quote p { font-size: clamp(19px, 2.1vw, 26px); font-weight: 400; line-height: 1.6; letter-spacing: -.02em; }

/* Download */
.download { padding: 0 0 76px; }
.download__card { display: flex; align-items: center; gap: 20px; padding: 28px 32px; border: 1px solid #dde8d8; border-radius: 18px; background: #e9f1e6; }
.download__icon { width: 58px; height: 58px; border-radius: 13px; }
.download__text h2 { font-size: clamp(19px, 2vw, 24px); font-weight: 500; letter-spacing: -.02em; }
.download__text p { margin-top: 5px; color: #5c7260; font-size: 13px; }
.download__action { display: flex; align-items: center; gap: 18px; margin-left: auto; }

/* Footer */
.footer { padding: 24px 0 28px; border-top: 1px solid var(--line); }
.footer__inner { display: flex; align-items: center; gap: 28px; }
.footer__nav { display: flex; gap: 22px; margin-left: auto; color: var(--muted); font-size: 13px; }
.footer__nav a:hover { color: var(--green); }
.footer__inner > p { color: var(--faint); font-size: 12.5px; }

/* 404 */
.nf { display: flex; flex-direction: column; justify-content: center; min-height: 100vh; padding-block: 90px; }
.nf .eyebrow { margin-top: 52px; }
.nf h1 { margin-top: 10px; font-size: clamp(26px, 3.4vw, 36px); font-weight: 500; line-height: 1.3; letter-spacing: -.03em; }
.nf__body { max-width: 40em; margin-top: 12px; color: var(--muted); font-size: 15px; line-height: 1.85; }
.nf__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 26px; }

/* Motion */
.js .header { animation: header-enter .7s .04s both; }
.js [data-reveal] { opacity: 0; transform: translateY(10px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--reveal-delay, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@keyframes header-enter {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}
@keyframes glow {
  from { opacity: .72; transform: translateX(-50%) scale(.97); }
  to { opacity: 1; transform: translateX(-50%) scale(1.03); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .header, .hero__glow { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Responsive */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card:nth-child(odd) { border-left: 0; }
  .card:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .points { gap: 28px; }
}
@media (max-width: 820px) {
  :root { --gutter: 24px; }
  .header__inner { height: 60px; gap: 16px; }
  .nav { position: fixed; inset: 60px 0 auto; z-index: 59; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 18px; border-bottom: 1px solid var(--line); background: rgba(250, 251, 248, .98); }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 15px; }
  .nav a:last-child { border-bottom: 0; }
  .nav a::after { display: none; }
  .menu-btn { display: inline-flex; }
  .menu-scrim { inset: 60px 0 0; }
  .hero { padding: 104px 0 68px; }
  .section { padding: 76px 0; }
  .download__card { flex-wrap: wrap; }
  .download__action { margin-left: 0; }
  .download__text { flex: 1 1 240px; }
}
@media (max-width: 720px) {
  .points { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .quote { padding: 64px 0; }
}
@media (max-width: 600px) {
  :root { --gutter: 20px; }
  .hero { padding: 96px 0 58px; }
  .badge { font-size: 12px; padding: 5px 11px 5px 10px; }
  .hero h1 { margin-top: 18px; font-size: clamp(29px, 8.4vw, 38px); line-height: 1.32; }
  .hero__lede { margin-top: 14px; font-size: 14.5px; }
  .br-desktop { display: none; }
  .hero__actions { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 26px; }
  .hero__actions .btn { width: 100%; }
  .hero__meta { margin-top: 18px; font-size: 12px; }
  .section { padding: 62px 0; }
  .section__head h2 { font-size: clamp(21px, 6.4vw, 27px); line-height: 1.5; }
  .section__desc { margin-top: 12px; font-size: 14.5px; }
  .cards { grid-template-columns: minmax(0, 1fr); margin-top: 32px; }
  .card { padding: 22px 20px 24px; border-left: 0; border-top: 1px solid var(--line); }
  .card:first-child { border-top: 0; }
  .points { margin-top: 32px; }
  .points p { font-size: 14px; }
  .quote { padding: 56px 0; }
  .quote p { font-size: 19px; }
  .download { padding-bottom: 64px; }
  .download__card { padding: 22px 20px; gap: 16px; border-radius: 16px; }
  .download__icon { width: 48px; height: 48px; border-radius: 11px; }
  .download__text h2 { font-size: 18px; }
  .download__action { flex-direction: column; align-items: stretch; gap: 12px; }
  .download__action .btn { width: 100%; }
  .footer__inner { flex-wrap: wrap; gap: 14px 20px; }
  .footer__nav { margin-left: 0; width: 100%; gap: 18px; font-size: 12.5px; }
  .footer__inner > p { font-size: 12px; }
}
