:root {
  --ink: #17202a;
  --muted: #65717d;
  --line: #dfe5e8;
  --surface: #ffffff;
  --surface-soft: #f4f7f8;
  --accent: #176f8f;
  --accent-dark: #0e4e68;
  --accent-soft: #e3f1f5;
  --green: #2f7b57;
  --shadow: 0 18px 50px rgba(20, 38, 48, 0.08);
}

* { box-sizing: border-box; }
html { min-height: 100%; background: #eef2f4; }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 5%, rgba(23, 111, 143, 0.09), transparent 30rem),
    linear-gradient(180deg, #f8fafb 0%, #eef2f4 100%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}
a { color: inherit; }
.site-shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(223, 229, 232, 0.9);
  background: rgba(248, 250, 251, 0.9);
  backdrop-filter: blur(16px);
}
.site-header__inner { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 760; letter-spacing: -0.02em; text-decoration: none; }
.brand__mark { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 11px; color: #fff; background: linear-gradient(145deg, var(--accent), var(--accent-dark)); box-shadow: 0 8px 22px rgba(23, 111, 143, 0.24); font-size: 15px; }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a { border-radius: 9px; padding: 9px 13px; color: var(--muted); font-size: 14px; font-weight: 650; text-decoration: none; }
.site-nav a:hover,.site-nav a[aria-current="page"] { color: var(--accent-dark); background: var(--accent-soft); }
.eyebrow { margin: 0 0 13px; color: var(--accent); font-size: 13px; font-weight: 780; letter-spacing: 0.13em; text-transform: uppercase; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 11px; padding: 0 18px; font-size: 15px; font-weight: 720; text-decoration: none; transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease; }
.button:hover { transform: translateY(-1px); }
.button--primary { color: #fff; background: var(--accent-dark); box-shadow: 0 10px 25px rgba(14, 78, 104, 0.2); }
.button--secondary { border-color: var(--line); background: rgba(255, 255, 255, 0.75); }
.home-hero { padding: 72px 0 34px; }
.home-hero h1 { max-width: 920px; margin: 0; font-size: clamp(48px, 7vw, 84px); font-weight: 760; letter-spacing: -0.058em; line-height: .98; }
.home-hero__lead { max-width: 760px; margin: 24px 0 0; color: var(--muted); font-size: clamp(18px, 2.2vw, 23px); }
.home-app-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; padding: 24px 0 82px; }
.home-app-card { display: flex; min-height: 340px; flex-direction: column; border-top: 1px solid var(--line); padding: 24px 0 0; }
.home-app-card__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.home-app-card__body { margin-top: 34px; }
.home-app-card h2 { margin: 0; font-size: 28px; letter-spacing: -0.04em; }
.home-app-card p { margin: 13px 0 0; color: var(--muted); font-size: 16px; }
.home-app-card .button { align-self: flex-start; margin-top: auto; }
.project-icon { display: grid; width: 54px; height: 54px; place-items: center; border-radius: 15px; color: var(--accent-dark); background: var(--accent-soft); font-size: 24px; font-weight: 780; }
.badge { border: 1px solid #d7e5ea; border-radius: 999px; padding: 5px 9px; color: var(--accent-dark); background: #f0f8fa; font-size: 12px; font-weight: 760; }
.page-heading { padding: 70px 0 34px; }
.page-heading h1 { max-width: 820px; margin: 0; font-size: clamp(42px, 5vw, 64px); font-weight: 760; letter-spacing: -0.055em; line-height: .99; }
.page-heading p { max-width: 720px; margin: 19px 0 0; color: var(--muted); font-size: 19px; }
.project-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; padding: 22px 0 90px; }
.project-card { position: relative; display: flex; min-height: 340px; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; padding: 28px; background: rgba(255,255,255,.82); box-shadow: 0 12px 35px rgba(20,38,48,.055); }
.project-card::after { position: absolute; right: -60px; bottom: -80px; width: 240px; height: 240px; border-radius: 999px; background: var(--accent-soft); content: ""; opacity: .75; }
.project-card__top,.project-card__body,.project-card__footer { position: relative; z-index: 1; }
.project-card__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.project-card__body { margin-top: 45px; }
.project-card h2 { margin: 0; font-size: 28px; letter-spacing: -.035em; }
.project-card p { max-width: 540px; margin: 13px 0 0; color: var(--muted); font-size: 16px; }
.project-card__footer { display: flex; margin-top: auto; padding-top: 28px; }
.site-footer { border-top: 1px solid var(--line); padding: 24px 0 36px; color: var(--muted); font-size: 13px; }
.site-footer__inner { display: flex; justify-content: space-between; gap: 20px; }
.login-layout { display: grid; min-height: 100vh; grid-template-columns: minmax(0,1fr) minmax(420px,.72fr); }
.login-copy { display: flex; flex-direction: column; justify-content: space-between; padding: 42px max(42px,7vw); background: radial-gradient(circle at 20% 20%, rgba(255,255,255,.16), transparent 25rem),linear-gradient(145deg,#155e7a,#0d3f55); color: #fff; }
.login-copy .brand { color: #fff; }
.login-copy .brand__mark { color: var(--accent-dark); background: #fff; }
.login-copy h1 { max-width: 720px; margin: 0; font-size: clamp(42px,6vw,72px); letter-spacing: -.055em; line-height: 1; }
.login-copy p { max-width: 620px; margin: 22px 0 0; color: rgba(255,255,255,.76); font-size: 19px; }
.login-copy__footer { color: rgba(255,255,255,.62); font-size: 13px; }
.login-panel { display: grid; place-items: center; padding: 38px; background: #f7f9fa; }
.login-card { width: min(420px,100%); }
.login-card h2 { margin: 0; font-size: 30px; letter-spacing: -.04em; }
.login-card>p { margin: 10px 0 28px; color: var(--muted); }
.form-field { display: flex; flex-direction: column; gap: 7px; margin-top: 17px; }
.form-field label { font-size: 13px; font-weight: 720; }
.form-field input { width: 100%; min-height: 48px; border: 1px solid #cfd8dc; border-radius: 10px; padding: 0 13px; background: #fff; color: var(--ink); font: inherit; }
.form-field input:focus { border-color: var(--accent); outline: 3px solid rgba(23,111,143,.13); }
.login-card .button { width: 100%; margin-top: 24px; }
.form-error,.form-note { border-radius: 10px; padding: 11px 13px; font-size: 13px; }
.form-error { border: 1px solid #efc6c2; color: #96352e; background: #fff2f1; }
.form-note { margin-top: 18px; border: 1px solid var(--line); color: var(--muted); background: #fff; }
.coming-soon { display: grid; min-height: calc(100vh - 73px); place-items: center; padding: 60px 20px; }
.coming-soon__card { width: min(680px,100%); border: 1px solid var(--line); border-radius: 22px; padding: 42px; text-align: center; background: rgba(255,255,255,.86); box-shadow: var(--shadow); }
.coming-soon__card h1 { margin: 18px 0 0; font-size: clamp(36px,5vw,56px); letter-spacing: -.05em; }
.coming-soon__card p { margin: 15px auto 0; color: var(--muted); font-size: 18px; }
.coming-soon__card .button { margin-top: 28px; }
@media(max-width:980px){.home-app-grid{grid-template-columns:1fr}.home-app-card{min-height:auto;padding-bottom:24px}.project-grid,.login-layout{grid-template-columns:1fr}.login-copy{min-height:430px}}
@media(max-width:560px){.site-shell{width:min(100% - 26px,1180px)}.site-header__inner{min-height:64px}.brand__mark{width:34px;height:34px}.home-hero{padding:52px 0 24px}.home-hero h1,.page-heading h1{font-size:43px}.project-card{min-height:320px;padding:23px}.login-copy,.login-panel{padding:30px 24px}.site-footer__inner{flex-direction:column}}