:root {
  --navy: #071c3c;
  --navy-2: #0d2b59;
  --primary: #1268e8;
  --primary-dark: #0a4db5;
  --cyan: #43b8ff;
  --text: #172033;
  --muted: #687386;
  --line: #e3e8f0;
  --soft: #f5f8fc;
  --white: #ffffff;
  --green: #14804a;
  --orange: #d96b13;
  --radius: 22px;
  --shadow: 0 24px 70px rgba(14, 41, 82, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Inter", Arial, sans-serif; color: var(--text); background: var(--white); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(1180px, calc(100% - 36px)); margin: 0 auto; }

.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.92); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(227,232,240,.9); }
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(145deg, var(--primary), var(--cyan)); color: white; font-size: 21px; font-weight: 800; box-shadow: 0 10px 25px rgba(18,104,232,.28); }
.brand-copy strong, .brand-copy small { display: block; line-height: 1.05; }
.brand-copy strong { font-size: 15px; }
.brand-copy small { margin-top: 5px; color: var(--muted); font-size: 12px; letter-spacing: .8px; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 600; }
.main-nav a:not(.btn) { color: #38445a; }
.main-nav a.active, .main-nav a:hover { color: var(--primary); }
.menu-button { display: none; border: 0; background: transparent; padding: 8px; }
.menu-button span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--navy); }

.btn { min-height: 50px; padding: 0 23px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; border-radius: 13px; border: 1px solid transparent; font-weight: 700; cursor: pointer; transition: .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: white; background: var(--primary); box-shadow: 0 14px 30px rgba(18,104,232,.25); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary { background: white; border-color: var(--line); }
.btn-nav { min-height: 42px; padding: 0 18px; background: var(--primary); color: white; }
.btn-white { background: white; color: var(--navy); }

.hero { position: relative; overflow: hidden; color: white; padding: 92px 0 88px; background: radial-gradient(circle at 78% 28%, rgba(50,140,255,.23), transparent 28%), linear-gradient(135deg, #06152f 0%, #092554 58%, #0b3772 100%); }
.hero::after { content: ""; position: absolute; width: 520px; height: 520px; border: 1px solid rgba(255,255,255,.07); border-radius: 50%; right: -210px; top: -250px; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 70px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--primary); font-size: 12px; font-weight: 800; letter-spacing: 1.55px; }
.eyebrow span { width: 26px; height: 2px; background: currentColor; }
.eyebrow.light { color: #74c7ff; }
.hero h1 { max-width: 660px; margin: 19px 0 22px; font-size: clamp(43px, 5.2vw, 67px); line-height: 1.06; letter-spacing: -3px; }
.hero p { max-width: 650px; margin: 0; color: #c4d2e7; font-size: 17px; }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.trust-row { margin-top: 27px; display: flex; flex-wrap: wrap; gap: 10px 22px; color: #d9e6f7; font-size: 12px; font-weight: 600; }

.device-stage { position: relative; min-height: 510px; }
.glow { position: absolute; inset: 80px 40px 20px; background: rgba(44,131,255,.23); filter: blur(55px); border-radius: 50%; }
.dashboard-card { position: relative; z-index: 2; margin-top: 12px; padding: 23px; color: var(--text); background: rgba(255,255,255,.98); border: 1px solid rgba(255,255,255,.45); border-radius: 25px; box-shadow: 0 35px 90px rgba(0,0,0,.3); transform: rotate(1.4deg); }
.dash-head { display: flex; justify-content: space-between; align-items: center; }
.dash-head small { color: var(--muted); font-size: 10px; }
.dash-head h3 { margin: 3px 0 0; font-size: 19px; }
.avatar { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 50%; background: #e9f2ff; color: var(--primary); font-weight: 800; }
.metric-grid { margin-top: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.metric-grid article { display: flex; align-items: center; gap: 10px; padding: 13px; border: 1px solid var(--line); border-radius: 14px; }
.metric-grid small, .metric-grid strong { display: block; }
.metric-grid small { color: var(--muted); font-size: 9px; }
.metric-grid strong { font-size: 18px; }
.metric-icon { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 9px; font-weight: 800; }
.metric-icon.blue { background: #eaf2ff; color: var(--primary); }
.metric-icon.green { background: #e9f8ef; color: var(--green); }
.metric-icon.orange { background: #fff2e6; color: var(--orange); }
.mini-task { margin-top: 17px; padding: 15px; border: 1px solid var(--line); border-radius: 16px; }
.mini-title { display: flex; justify-content: space-between; font-size: 11px; }
.mini-title span { color: var(--primary); }
.task-row { display: grid; grid-template-columns: 31px 1fr auto; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.task-row:last-child { border-bottom: 0; }
.task-row strong, .task-row small { display: block; }
.task-row strong { font-size: 11px; }
.task-row small { color: var(--muted); font-size: 9px; }
.check { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; background: #edf3ff; color: var(--primary); font-weight: 800; font-size: 11px; }
.check.done { background: #e8f8ee; color: var(--green); }
.tag { padding: 5px 8px; border-radius: 99px; font-size: 8px; font-weight: 700; }
.tag.local { color: var(--green); background: #eaf8ef; }
.tag.outstation { color: var(--orange); background: #fff2e6; }
.ai-box { margin-top: 13px; display: flex; gap: 11px; padding: 13px; background: #edf4ff; border-radius: 14px; }
.ai-symbol { color: var(--primary); font-size: 20px; }
.ai-box strong { display: block; font-size: 11px; }
.ai-box p { margin: 2px 0 0; color: var(--muted); font-size: 9px; }
.phone-card { position: absolute; z-index: 3; right: -26px; bottom: 0; width: 160px; min-height: 275px; padding: 21px 16px; color: var(--text); background: white; border: 7px solid #101825; border-radius: 28px; box-shadow: 0 25px 55px rgba(0,0,0,.35); transform: rotate(-4deg); }
.phone-top { width: 55px; height: 6px; margin: -14px auto 18px; border-radius: 99px; background: #101825; }
.phone-card small { color: var(--muted); font-size: 8px; }
.phone-card h4 { margin: 2px 0 16px; }
.phone-stat { padding: 12px; border-radius: 13px; background: #f3f7fd; }
.phone-stat span, .phone-stat strong { display: block; }
.phone-stat span { color: var(--muted); font-size: 8px; }
.phone-stat strong { margin-top: 2px; font-size: 16px; }
.phone-button { margin-top: 12px; padding: 10px; text-align: center; color: white; background: var(--primary); border-radius: 10px; font-size: 9px; font-weight: 700; }

.quick-strip { border-bottom: 1px solid var(--line); background: white; }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.quick-grid > div { display: flex; align-items: center; gap: 14px; padding: 25px 22px; border-right: 1px solid var(--line); }
.quick-grid > div:last-child { border-right: 0; }
.quick-grid > div > span { color: var(--primary); font-weight: 800; font-size: 12px; }
.quick-grid p, .quick-grid strong, .quick-grid small { display: block; margin: 0; }
.quick-grid strong { font-size: 13px; }
.quick-grid small { color: var(--muted); font-size: 10px; }

.section { padding: 94px 0; }
.section-heading { max-width: 730px; margin-bottom: 43px; }
.section-heading.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-heading.centered .eyebrow { justify-content: center; }
.section-heading h2, .workflow-copy h2, .outstation-copy h2, .login-card h2 { margin: 13px 0; font-size: clamp(31px, 4vw, 47px); line-height: 1.14; letter-spacing: -1.8px; }
.section-heading p, .workflow-copy p, .outstation-copy p, .login-card p { color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { min-height: 240px; padding: 27px; border: 1px solid var(--line); border-radius: var(--radius); background: white; transition: .2s ease; }
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 18px 45px rgba(21,45,83,.09); }
.feature-card.featured { color: white; background: linear-gradient(145deg, var(--primary), #174eaa); border-color: transparent; }
.feature-card.featured p { color: #dbe8fb; }
.feature-icon { width: 49px; height: 49px; display: grid; place-items: center; border-radius: 14px; color: var(--primary); background: #edf4ff; font-size: 21px; font-weight: 800; }
.featured .feature-icon { color: white; background: rgba(255,255,255,.16); }
.feature-card h3 { margin: 22px 0 9px; font-size: 18px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; }

.section-dark { color: white; background: var(--navy); }
.workflow-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: 90px; align-items: start; }
.workflow-copy { position: sticky; top: 120px; }
.workflow-copy p { color: #b8c7dc; }
.steps { display: grid; gap: 14px; }
.steps article { display: grid; grid-template-columns: 58px 1fr; gap: 19px; padding: 23px; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; background: rgba(255,255,255,.045); }
.steps article > span { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; color: #8ed1ff; background: rgba(71,166,255,.13); font-weight: 800; }
.steps h3 { margin: 0 0 5px; font-size: 17px; }
.steps p { margin: 0; color: #b8c7dc; font-size: 13px; }

.outstation-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 78px; }
.allowance-preview { padding: 24px; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); background: white; }
.preview-header { display: flex; align-items: center; justify-content: space-between; padding-bottom: 15px; border-bottom: 1px solid var(--line); font-weight: 800; }
.preview-header button { padding: 7px 12px; border: 0; border-radius: 9px; color: white; background: var(--primary); font-size: 10px; font-weight: 700; }
.staff-line { display: flex; align-items: center; gap: 11px; margin: 17px 0; }
.profile-dot { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--navy); font-weight: 800; }
.staff-line strong, .staff-line small { display: block; }
.staff-line strong { font-size: 13px; }
.staff-line small { color: var(--muted); font-size: 10px; }
table { width: 100%; border-collapse: collapse; font-size: 11px; }
th, td { padding: 11px 8px; text-align: left; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .6px; }
.allowance-total { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; padding: 16px; border-radius: 13px; background: #eef5ff; }
.allowance-total span { color: var(--muted); font-size: 11px; }
.allowance-total strong { color: var(--primary); font-size: 20px; }
.outstation-copy ul { list-style: none; padding: 0; margin: 25px 0 0; }
.outstation-copy li { position: relative; padding: 9px 0 9px 29px; color: #39475c; }
.outstation-copy li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }

.login-section { padding: 0 0 94px; }
.login-card { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 45px; border-radius: 28px; color: white; background: linear-gradient(135deg, var(--navy), #0c3978); }
.login-card > div { max-width: 720px; }
.login-card p { color: #c7d5e8; }
.site-footer { padding: 29px 0; border-top: 1px solid var(--line); }
.footer-wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-wrap p { color: var(--muted); font-size: 11px; }
.footer-brand .brand-mark { width: 37px; height: 37px; border-radius: 11px; }

@media (max-width: 940px) {
  .menu-button { display: block; }
  .main-nav { display: none; position: absolute; top: 76px; left: 18px; right: 18px; flex-direction: column; align-items: stretch; gap: 4px; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 11px 12px; }
  .hero-grid, .workflow-layout, .outstation-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 45px; }
  .device-stage { max-width: 650px; width: 100%; margin: 0 auto; }
  .workflow-layout, .outstation-grid { gap: 45px; }
  .workflow-copy { position: static; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-grid > div:nth-child(2) { border-right: 0; }
  .quick-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 620px) {
  .container { width: min(100% - 22px, 1180px); }
  .brand-copy strong { font-size: 13px; }
  .hero { padding: 54px 0 62px; }
  .hero h1 { font-size: 42px; letter-spacing: -2px; }
  .hero p { font-size: 15px; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  .device-stage { min-height: auto; }
  .dashboard-card { padding: 15px; transform: none; }
  .phone-card { display: none; }
  .metric-grid { grid-template-columns: 1fr; }
  .quick-grid, .feature-grid { grid-template-columns: 1fr; }
  .quick-grid > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .section { padding: 68px 0; }
  .section-heading h2, .workflow-copy h2, .outstation-copy h2, .login-card h2 { letter-spacing: -1.2px; }
  .feature-card { min-height: 0; }
  .steps article { grid-template-columns: 49px 1fr; padding: 18px; }
  .steps article > span { width: 42px; height: 42px; }
  .allowance-preview { padding: 16px; overflow-x: auto; }
  .login-card { flex-direction: column; align-items: flex-start; padding: 30px 23px; }
  .footer-wrap { flex-direction: column; align-items: flex-start; }
}
