/* agentwork.id landing (direction A, "Calm product"): the dashboard's palette, Geist, the sign-in page's aurora and
   glass cards. Colours are tokens so the dark scheme only redefines them. */
@font-face { font-family: 'Geist'; src: url('/fonts/geist-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('/fonts/geist-mono-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #f6f6f3; --surface: #ffffff; --surface-soft: #f6f6f3; --glass: rgba(255,255,255,.72);
  --ink: #0e1014; --text: #1c1f25; --text-2: #353942; --muted: #4d525b; --muted-2: #5c616a;
  --line: rgba(17,19,24,.08); --line-strong: rgba(17,19,24,.14); --line-soft: rgba(17,19,24,.06);
  --accent: #5b5bf0; --accent-text: #4343c9; --accent-soft: rgba(91,91,240,.1); --accent-ring: rgba(91,91,240,.18);
  --btn-dark: #111317; --btn-dark-text: #ffffff; --header: rgba(246,246,243,.82);
  --aurora-1: rgba(255,168,196,.38); --aurora-2: rgba(146,178,255,.42); --aurora-3: rgba(255,222,158,.32);
  --portrait-bg: linear-gradient(160deg, rgba(91,91,240,.14), rgba(17,19,24,.04));
  --shadow-card: 0 1px 2px rgba(17,19,24,.04), 0 4px 12px -6px rgba(17,19,24,.1);
  --shadow-float: 0 2px 4px rgba(17,19,24,.04), 0 28px 64px -22px rgba(17,19,24,.3);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0c0f; --surface: #14161b; --surface-soft: #101216; --glass: rgba(20,22,27,.72);
    --ink: #f5f6f8; --text: #e6e8ec; --text-2: #c9ccd3; --muted: #a3a8b2; --muted-2: #9a9fa9;
    --line: rgba(255,255,255,.09); --line-strong: rgba(255,255,255,.16); --line-soft: rgba(255,255,255,.07);
    --accent: #8080ff; --accent-text: #a3a3ff; --accent-soft: rgba(128,128,255,.14); --accent-ring: rgba(128,128,255,.25);
    --btn-dark: #f2f3f5; --btn-dark-text: #0b0c0f; --header: rgba(11,12,15,.82);
    --aurora-1: rgba(236,72,153,.16); --aurora-2: rgba(99,102,241,.24); --aurora-3: rgba(14,165,233,.12);
    --portrait-bg: linear-gradient(160deg, rgba(128,128,255,.2), rgba(255,255,255,.03));
    --shadow-card: 0 1px 2px rgba(0,0,0,.3); --shadow-float: 0 28px 64px -22px rgba(0,0,0,.7);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: var(--accent-text); }
h1, h2, h3 { color: var(--ink); font-weight: 650; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: 80px; }
.skip { position: absolute; left: 16px; top: -48px; z-index: 10; padding: 10px 16px; border-radius: 999px; background: var(--btn-dark);
  color: var(--btn-dark-text); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; border-bottom: 1px solid var(--line); background: var(--header);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); }
.nav { max-width: 1200px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; gap: 16px 28px; }
.brand { display: flex; align-items: center; gap: 9px; color: var(--ink); font-weight: 650; font-size: 17px; letter-spacing: -.02em;
  text-decoration: none; min-height: 44px; }
.logo { width: 26px; height: 26px; flex: 0 0 auto; color: var(--ink); fill: currentColor; }
.logo .lead { fill: var(--accent); }
.nav-links { display: flex; gap: 4px 22px; flex: 1 1 auto; font-size: 14px; }
.nav-links a, .nav-signin { color: var(--text-2); text-decoration: none; padding: 12px 0; }
.nav-links a:hover, .nav-signin:hover, .footer-links a:hover { color: var(--ink); }
.nav-signin { font-size: 14px; padding: 12px 4px; }
.lang-switch { display: flex; padding: 3px; border-radius: 999px; background: var(--line-soft); font-size: 12px; font-weight: 600; }
.lang-switch a { min-width: 40px; min-height: 32px; padding: 8px 12px; border-radius: 999px; color: var(--muted); text-align: center;
  text-decoration: none; line-height: 16px; }
.lang-switch a[aria-current] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(17,19,24,.08); }
.lang-switch-plain { background: transparent; padding: 0; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface);
  display: grid; place-items: center; color: var(--ink); cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; right: 0; top: 52px; min-width: 210px; padding: 8px; border-radius: 16px; background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow-float); display: flex; flex-direction: column; }
.menu-panel a { padding: 12px 14px; border-radius: 10px; color: var(--text); text-decoration: none; font-size: 15px; }
.menu-panel a:hover { background: var(--surface-soft); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 600; text-decoration: none;
  padding: 15px 26px; border-radius: 999px; transition: transform .2s cubic-bezier(.22,1,.36,1), box-shadow .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-dark { color: var(--btn-dark-text); background: var(--btn-dark); box-shadow: 0 14px 34px -16px rgba(17,19,24,.45); }
.btn-light { color: var(--ink); background: var(--glass); border: 1px solid var(--line-strong); padding: 14px 24px; }
.btn-small { font-size: 14px; padding: 12px 18px; box-shadow: none; }

/* Hero */
.hero { position: relative; overflow: hidden;
  background: radial-gradient(520px 380px at 18% 20%, var(--aurora-1), transparent 70%), radial-gradient(600px 420px at 84% 8%, var(--aurora-2), transparent 70%),
    radial-gradient(560px 380px at 60% 100%, var(--aurora-3), transparent 70%); }
.hero-inner { max-width: 1200px; margin: 0 auto; padding: 112px 24px 104px; display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 28px; animation: rise .6s cubic-bezier(.22,1,.36,1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
.leaders { display: flex; }
.leaders img { width: 76px; height: 76px; margin-right: -12px; border-radius: 30%; object-fit: cover; object-position: 50% 18%;
  background: var(--portrait-bg); border: 3px solid var(--bg); box-shadow: 0 8px 20px -10px rgba(0,0,0,.35); }
.leaders img:last-child { margin-right: 0; }
.pill { margin: 0; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--glass);
  border: 1px solid var(--line); font-size: 13px; font-weight: 500; color: var(--text-2); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-ring); }
h1 { margin: 0; max-width: 880px; font-size: 68px; line-height: 1.04; letter-spacing: -.035em; text-wrap: balance; }
.hero-lead { margin: 0; max-width: 640px; font-size: 20px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 4px; }
.hero-signin { display: none; font-size: 14px; color: var(--muted); padding: 12px; }

/* Sections */
.section { max-width: 1200px; margin: 0 auto; padding: 104px 24px 96px; }
.eyebrow { margin: 0 0 12px; font-family: 'Geist Mono', ui-monospace, monospace; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-text); }
h2 { margin: 0 0 16px; max-width: 760px; font-size: 44px; line-height: 1.1; letter-spacing: -.03em; text-wrap: balance; }
.section-lead { margin: 0 0 48px; max-width: 640px; font-size: 18px; line-height: 1.6; color: var(--muted); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.steps li { padding: 28px 24px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; gap: 12px; }
.step-num { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--accent); color: #fff;
  font-weight: 650; font-size: 15px; }
.steps h3, .features h3 { margin: 0; font-size: 20px; letter-spacing: -.02em; }
.steps p, .features p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }

/* Team */
.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band .section { padding: 104px 24px; }
.depts { display: flex; flex-direction: column; gap: 14px; }
.dept { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; padding: 22px 24px; border-radius: 22px; background: var(--surface-soft);
  border: 1px solid var(--line-soft); }
.dept-head { flex: 1 1 220px; min-width: 200px; }
.dept-head h3 { margin: 0 0 4px; font-size: 19px; letter-spacing: -.02em; }
.dept-head p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted-2); }
.members { list-style: none; margin: 0; padding: 0; flex: 999 1 640px; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.members li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line-soft); }
.members img { width: 48px; height: 48px; border-radius: 30%; object-fit: cover; object-position: 50% 18%; background: var(--portrait-bg); flex: 0 0 auto; }
.members div { min-width: 0; }
.member-name { margin: 0; font-size: 15px; font-weight: 600; color: var(--ink); }
.member-role { margin: 2px 0 0; font-size: 13px; line-height: 1.35; color: var(--muted-2); }
.badge { margin-left: 4px; padding: 2px 7px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); font-size: 11px; font-weight: 600; }

/* Features */
.features-title { margin-bottom: 48px; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.features article { padding: 28px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.features h3 { font-size: 19px; }

/* Dashboard preview */
.preview-section { padding-top: 0; padding-bottom: 104px; }
.preview { margin: 0; padding: 14px; border-radius: 28px; background: var(--glass); border: 1px solid var(--line); box-shadow: var(--shadow-float); }
.preview img { width: 100%; height: auto; border-radius: 18px; background: var(--surface-soft); }
.preview figcaption { padding: 14px 6px 2px; font-size: 14px; color: var(--muted-2); text-align: center; }

/* Contact */
.contact-section { padding-top: 0; padding-bottom: 112px; }
.contact { padding: 72px 32px; border-radius: 28px; text-align: center; border: 1px solid var(--line); display: flex; flex-direction: column;
  align-items: center; gap: 16px;
  background: radial-gradient(420px 260px at 20% 0%, var(--aurora-2), transparent 70%), radial-gradient(420px 260px at 85% 100%, var(--aurora-1), transparent 70%), var(--surface); }
.contact h2 { margin: 0; }
.contact p { margin: 0; max-width: 520px; font-size: 18px; line-height: 1.6; color: var(--muted); }
.contact .soon { margin-top: 8px; padding: 10px 18px; border-radius: 999px; background: var(--accent-soft); border: 1px solid var(--accent-ring);
  color: var(--accent-text); font-size: 15px; font-weight: 600; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 20px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px; font-size: 14px; color: var(--muted-2); }
.footer-brand { display: flex; align-items: center; gap: 8px; color: var(--text-2); font-weight: 600; }
.footer-brand .logo { width: 20px; height: 20px; }
.footer-links { display: flex; align-items: center; gap: 20px; }
.footer-links > a { color: var(--muted); text-decoration: none; padding: 12px 0; }

/* 404 */
.not-found { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px;
  text-align: center; }
.not-found .logo { width: 40px; height: 40px; }
.not-found p { margin: 0; color: var(--muted); }

/* Narrow screens: the section links move into the menu */
@media (max-width: 960px) {
  .nav-links, .nav-signin { display: none; }
  .brand { flex: 1 1 auto; }
  .menu { display: block; }
}
@media (max-width: 640px) {
  .nav { padding: 10px 16px; gap: 10px; }
  .nav-cta { display: none; }
  .hero-inner { padding: 56px 16px 56px; gap: 20px; }
  .leaders img { width: 56px; height: 56px; margin-right: -10px; }
  h1 { font-size: 40px; line-height: 1.06; }
  .hero-lead { font-size: 17px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-signin { display: block; }
  .pill-more { display: none; } /* the badge keeps to one line */
  .section, .band .section { padding: 64px 16px; }
  .preview-section, .contact-section { padding-top: 0; padding-bottom: 64px; }
  h2 { font-size: 30px; line-height: 1.12; }
  .section-lead { font-size: 16px; margin-bottom: 28px; }
  .features-title { margin-bottom: 28px; }
  .dept { padding: 18px 16px; }
  .members { grid-template-columns: 1fr; flex-basis: 100%; }
  .features { grid-template-columns: 1fr; }
  .contact { padding: 48px 20px; }
  .footer-inner { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-inner { animation: none; }
  .btn { transition: none; }
}
