:root {
  --navy: #073c5b;
  --navy-dark: #052c45;
  --ink: #062f4d;
  --cyan: #21b8cf;
  --cyan-light: #c8f2f6;
  --paper: #f4f8fa;
  --white: #ffffff;
  --muted: #5d7586;
  --line: #d6e3e9;
  --orange: #ef8b39;
  --amber: #efa815;
  --slate: #718699;
  --green: #39ad62;
  --purple: #8d61da;
  --shadow: 0 24px 70px rgba(5, 44, 69, .15);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 10px 16px; background: white; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: absolute; z-index: 20; width: 100%; top: 0; left: 0; }
.nav-wrap { height: 92px; display: flex; align-items: center; justify-content: space-between; }
.brand img { width: 215px; height: auto; }
nav { display: flex; gap: 34px; align-items: center; font-size: .92rem; font-weight: 700; }
nav > a:not(.button) { text-decoration: none; color: var(--ink); }
nav > a:not(.button):hover { color: #087f9e; }
.menu-button { display: none; border: 0; background: transparent; padding: 8px; }
.menu-button > span:not(.sr-only) { display: block; width: 25px; height: 2px; margin: 5px; background: var(--ink); }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 15px 22px; border-radius: 9px; background: var(--navy); color: white; text-decoration: none; font-weight: 800; box-shadow: 0 10px 26px rgba(7, 60, 91, .18); transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); background: #0a5278; }
.button-small { padding: 10px 17px; font-size: .86rem; }
.button-light { background: var(--white); color: var(--navy); }
.button-light:hover { background: var(--cyan-light); }
.text-link { font-weight: 800; text-decoration: none; border-bottom: 1px solid #a8c6d2; padding-bottom: 3px; }
.eyebrow { margin: 0 0 18px; color: #0785a1; font-size: .77rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }

.hero { position: relative; overflow: hidden; padding: 165px 0 105px; background: linear-gradient(135deg, #f6fafb 5%, #eaf4f7 100%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 80px; background: linear-gradient(to top, rgba(255,255,255,.72), transparent); }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(1px); opacity: .5; }
.hero-orb-one { width: 430px; height: 430px; right: -120px; top: -90px; background: radial-gradient(circle, rgba(33,184,207,.25), transparent 68%); }
.hero-orb-two { width: 280px; height: 280px; left: -120px; bottom: -100px; background: radial-gradient(circle, rgba(7,60,91,.13), transparent 70%); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: .92fr 1.08fr; gap: 70px; align-items: center; }
.hero-grid > * { min-width: 0; }
.hero h1 { margin: 0; max-width: 650px; font-size: clamp(3rem, 5.2vw, 5.15rem); line-height: .99; letter-spacing: -.055em; }
.hero h1 span { color: #0793ad; }
.hero-lead { max-width: 600px; margin: 28px 0; color: #48697a; font-size: 1.1rem; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 34px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; font-size: .8rem; font-weight: 700; color: #4a6878; }
.hero-points i { display: inline-grid; width: 19px; height: 19px; margin-right: 5px; place-items: center; border-radius: 50%; background: #d1f2f3; color: #05869a; font-style: normal; }

.app-preview { width: 100%; min-width: 0; overflow: hidden; border: 1px solid rgba(7,60,91,.12); border-radius: 18px; background: var(--white); box-shadow: var(--shadow); transform: rotate(.2deg); }
.preview-topbar { display: grid; grid-template-columns: 1fr 2fr 1fr; align-items: center; min-height: 55px; padding: 0 20px; border-bottom: 1px solid var(--line); font-size: .69rem; font-weight: 800; }
.preview-topbar > span:nth-child(2) { text-align: center; }
.preview-dots { display: flex; gap: 6px; }
.preview-dots span { width: 8px; height: 8px; border-radius: 50%; background: #dbe7eb; }
.preview-status { justify-self: end; padding: 4px 8px; border-radius: 10px; background: #dff4ee; color: #278365; font-size: .58rem; letter-spacing: .08em; }
.preview-body { display: grid; grid-template-columns: 1.25fr .75fr; min-height: 410px; padding: 22px; background: #f1f6f8; gap: 15px; }
.preview-schedule, .system-card { border-radius: 12px; background: white; padding: 19px; box-shadow: 0 8px 20px rgba(7,60,91,.06); }
.preview-label, .system-card small { margin: 0; color: #0d9bb6; font-size: .56rem; font-weight: 900; letter-spacing: .13em; }
.preview-schedule h2 { margin: 2px 0 16px; font-size: .95rem; }
.service-row { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; min-height: 90px; border-top: 1px solid #e0e9ed; gap: 11px; }
.date-block { display: flex; flex-direction: column; border-left: 3px solid var(--cyan); padding-left: 8px; line-height: 1; }
.date-block strong { font-size: 1rem; }
.date-block span { margin-top: 5px; color: var(--muted); font-size: .55rem; font-weight: 800; }
.service-row p { margin: 5px 0 0; color: var(--muted); font-size: .63rem; }
.service-row > b { color: #07788e; padding: 5px 8px; border-radius: 12px; background: #dcf4f6; font-size: .55rem; text-transform: uppercase; }
.stage { display: inline-flex; align-items: center; justify-content: center; min-width: 25px; padding: 3px 7px; border: 1px solid currentColor; border-radius: 12px; font-size: .55rem; font-weight: 900; line-height: 1.2; }
.stage + .stage { margin-left: 3px; }
.stage-1 { background: #fff1cc; color: #9b6900; }.stage-2 { background: #e8eef2; color: #4e687c; }.stage-3 { background: #ffeadb; color: #ad5418; }.stage-5 { background: #ddf5f6; color: #078a9c; }.stage-6 { background: #e5f5e8; color: #258141; }
.system-card { display: flex; flex-direction: column; background: var(--navy); color: white; overflow: hidden; }
.system-title { display: flex; gap: 11px; align-items: center; }
.system-title > span { display: flex; flex-direction: column; align-items: center; min-width: 54px; padding: 7px; border: 1px solid rgba(255,255,255,.25); border-radius: 9px; font-size: .45rem; }
.system-title > span strong { font-size: 1.4rem; line-height: 1; }
.system-title div { display: flex; flex-direction: column; }
.system-title b { margin-top: 2px; font-size: .72rem; }
.system-card img { width: 100%; height: 290px; margin-top: auto; object-fit: contain; filter: drop-shadow(0 8px 14px rgba(0,0,0,.18)); }

.trust-strip { position: relative; z-index: 4; border-bottom: 1px solid var(--line); background: white; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding: 27px 0; }
.trust-grid div { display: flex; flex-direction: column; padding-left: 30px; border-left: 1px solid var(--line); }
.trust-grid div:first-child { padding-left: 0; border: 0; }
.trust-grid strong { font-size: .94rem; }.trust-grid span { color: var(--muted); font-size: .76rem; }

.section { padding: 105px 0; }
.section-heading { max-width: 760px; margin-bottom: 54px; }
.section-heading h2, .quick-intro h2, .cta-card h2 { margin: 0; font-size: clamp(2.1rem, 3.5vw, 3.35rem); line-height: 1.12; letter-spacing: -.04em; }
.section-heading > p:last-child { max-width: 680px; color: var(--muted); font-size: 1.02rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { position: relative; overflow: hidden; min-height: 305px; padding: 32px; border: 1px solid var(--line); border-radius: 15px; background: #fbfdfe; }
.feature-card h3 { margin: 24px 0 10px; font-size: 1.3rem; }.feature-card p { margin: 0; color: var(--muted); }
.feature-icon { display: flex; align-items: flex-end; gap: 4px; width: 48px; height: 48px; padding: 10px; border-radius: 12px; background: #daf3f5; color: #087e97; font-size: 1.3rem; font-weight: 900; }
.feature-icon span { width: 7px; border-radius: 2px; background: #119db5; }.feature-icon span:nth-child(1) { height: 15px; }.feature-icon span:nth-child(2) { height: 27px; }.feature-icon span:nth-child(3) { height: 21px; }
.history-icon, .export-icon { align-items: center; justify-content: center; }
.color-rail { position: absolute; inset: auto 0 0; display: grid; grid-template-columns: repeat(7, 1fr); height: 6px; }
.color-rail i:nth-child(1) { background: var(--amber); }.color-rail i:nth-child(2) { background: var(--slate); }.color-rail i:nth-child(3) { background: var(--orange); }.color-rail i:nth-child(4) { background: #3294c9; }.color-rail i:nth-child(5) { background: var(--cyan); }.color-rail i:nth-child(6) { background: var(--green); }.color-rail i:nth-child(7) { background: var(--purple); }

.quick-start { background: var(--navy); color: white; }
.quick-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 90px; align-items: start; }
.eyebrow-light { color: #6ee7f1; }
.quick-intro > p:not(.eyebrow) { max-width: 430px; color: #bed2dc; }
.quick-intro .button { margin-top: 20px; }
.steps { counter-reset: none; margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 58px 1fr; gap: 20px; padding: 25px 0; border-top: 1px solid rgba(255,255,255,.17); }
.steps li:first-child { padding-top: 0; border-top: 0; }
.steps li > span { display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid rgba(110,231,241,.5); border-radius: 50%; color: #6ee7f1; font-size: .72rem; font-weight: 900; }
.steps h3 { margin: 0 0 4px; font-size: 1.1rem; }.steps p { margin: 0; color: #bed2dc; font-size: .92rem; }

.final-cta { background: #eef6f8; }
.cta-card { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 56px 65px; border-radius: 19px; background: white; box-shadow: 0 18px 50px rgba(7,60,91,.1); }
.cta-card h2 { max-width: 740px; font-size: clamp(2rem, 3vw, 3rem); }
footer { padding: 35px 0; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; color: var(--muted); font-size: .75rem; }
.footer-grid img { width: 170px; }.footer-grid p:nth-child(2) { text-align: center; }.footer-grid p:last-child { text-align: right; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 720px; }
  .app-preview { max-width: 720px; }
  .quick-grid { gap: 50px; }
}

@media (max-width: 760px) {
  .shell { width: min(100% - 28px, 640px); }
  .nav-wrap { height: 75px; }
  .brand img { width: 175px; }
  .menu-button { display: block; }
  nav { display: none; position: absolute; top: 68px; left: 14px; right: 14px; flex-direction: column; align-items: stretch; gap: 0; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: white; box-shadow: var(--shadow); }
  nav.open { display: flex; }
  nav a { padding: 12px; }
  .hero { padding: 125px 0 70px; }
  .hero-grid { gap: 44px; }
  .hero h1 { font-size: clamp(2.8rem, 14vw, 4rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .preview-body { grid-template-columns: 1fr; }
  .preview-topbar { grid-template-columns: 54px 1fr 65px; padding: 0 12px; }
  .preview-schedule { min-width: 0; padding: 15px; }
  .service-row { grid-template-columns: 38px minmax(0, 1fr) auto; }
  .system-card { display: none; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 20px 0; }
  .trust-grid div:nth-child(3) { padding-left: 0; border: 0; }
  .section { padding: 75px 0; }
  .feature-grid, .quick-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 260px; }
  .cta-card { align-items: flex-start; flex-direction: column; padding: 40px 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 10px; }
  .footer-grid p, .footer-grid p:nth-child(2), .footer-grid p:last-child { margin: 0; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
