:root {
  --navy: #0a2148;
  --navy-deep: #061a3b;
  --navy-muted: #304463;
  --ivory: #fbfaf7;
  --paper: #ffffff;
  --mist: #edf4fb;
  --sand: #f8ecd8;
  --amber: #d89221;
  --line: #dfe5ec;
  --shadow: 0 16px 40px rgba(10, 33, 72, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--navy);
  background: var(--ivory);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  width: min(1440px, 100%);
  height: 88px;
  margin: 0 auto;
  padding: 0 clamp(28px, 4vw, 64px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: rgba(251, 250, 247, 0.94);
  border-bottom: 1px solid rgba(10, 33, 72, 0.06);
  backdrop-filter: blur(14px);
}
.wordmark {
  width: max-content;
  color: var(--navy-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.045em;
  text-decoration: none;
}
.nav-links { display: flex; align-items: center; gap: 38px; }
.nav-links a,
.login-link {
  position: relative;
  color: #1d3153;
  font-size: 14px;
  font-weight: 560;
  text-decoration: none;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 1px;
  background: var(--navy);
  transition: right 180ms ease;
}
.nav-links a:hover::after,
.nav-links a:focus-visible::after { right: 0; }
.nav-actions { justify-self: end; display: flex; align-items: center; gap: 14px; }
.menu-toggle,
.mobile-navigation { display: none; }
.login-link {
  padding: 13px 22px;
  border: 1px solid rgba(10, 33, 72, 0.08);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.82);
}
.nav-primary,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 650;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}
.nav-primary {
  min-width: 166px;
  gap: 26px;
  padding: 14px 20px;
  color: #fff;
  background: var(--navy-deep);
  border-radius: 9px;
  font-size: 14px;
}
.nav-primary:hover,
.nav-primary:focus-visible,
.button-primary:hover,
.button-primary:focus-visible { transform: translateY(-2px); background: #0f315f; }

.hero {
  width: min(1440px, 100%);
  min-height: 602px;
  margin: 0 auto;
  padding-left: clamp(28px, 4vw, 64px);
  display: grid;
  grid-template-columns: minmax(500px, 46%) minmax(0, 54%);
  align-items: stretch;
  overflow: hidden;
  background: var(--ivory);
}
.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: 50px clamp(30px, 4vw, 70px) 58px 0;
}
.eyebrow {
  display: inline-flex;
  padding: 9px 15px;
  color: #17355e;
  background: var(--mist);
  border-radius: 7px;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.22em;
}
.hero h1 {
  max-width: 690px;
  margin: 24px 0 20px;
  color: var(--navy-deep);
  font-size: clamp(53px, 4.75vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.05em;
  font-weight: 760;
}
.hero-copy > p {
  max-width: 640px;
  margin: 0;
  color: var(--navy-muted);
  font-size: 17px;
  line-height: 1.52;
}
.hero-actions { display: flex; gap: 14px; margin-top: 29px; }
.button {
  min-height: 54px;
  min-width: 190px;
  padding: 0 22px;
  border-radius: 8px;
  font-size: 15px;
}
.button-primary { justify-content: space-between; gap: 28px; color: #fff; background: var(--navy-deep); box-shadow: 0 12px 25px rgba(6, 26, 59, 0.13); }
.button-secondary { gap: 13px; color: var(--navy-deep); background: rgba(255, 255, 255, 0.9); border: 1px solid var(--navy-deep); }
.button-secondary:hover,
.button-secondary:focus-visible { transform: translateY(-2px); background: #fff; box-shadow: 0 10px 24px rgba(10, 33, 72, 0.08); }
.play {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  padding-left: 2px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 9px;
}
.hero-visual { position: relative; min-width: 0; overflow: hidden; }
.hero-visual::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0 auto 0 0;
  width: 23%;
  background: linear-gradient(90deg, var(--ivory) 0%, rgba(251, 250, 247, 0.82) 30%, transparent 100%);
  pointer-events: none;
}
.hero-visual img { width: 100%; height: 100%; min-height: 602px; object-fit: cover; object-position: 62% center; }
.editorial-note {
  position: absolute;
  z-index: 2;
  left: 8%;
  top: 13%;
  color: var(--navy-deep);
  transform: rotate(-7deg);
  font-family: "Bradley Hand", "Segoe Print", "Comic Sans MS", cursive;
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.editorial-note::after {
  content: "";
  display: block;
  width: 120px;
  height: 16px;
  margin: 2px 0 0 40px;
  border-top: 3px solid var(--amber);
  border-radius: 50%;
  transform: rotate(-3deg);
}

.capability-strip {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 18px clamp(28px, 4vw, 64px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 54px);
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid rgba(10, 33, 72, 0.06);
  border-bottom: 1px solid rgba(10, 33, 72, 0.08);
}
.capability { min-height: 88px; display: flex; align-items: center; gap: 18px; }
.capability-icon {
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  color: #7a4e1c;
  background: var(--sand);
  border-radius: 50%;
}
.capability-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.capability strong { color: #243b60; font-size: 16px; line-height: 1.45; font-weight: 560; }

.industries {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 52px clamp(28px, 4vw, 64px) 70px;
  background: #fff;
}
.industries-heading {
  margin-bottom: 28px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 50px;
}
.industries-heading > div > span { color: #6c7d95; font-size: 10px; font-weight: 750; letter-spacing: 0.18em; }
.industries-heading h2 { margin: 9px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(30px, 3.3vw, 44px); line-height: 1.05; letter-spacing: -0.035em; }
.industries-heading > p { max-width: 570px; margin: 0; color: #5b6c84; font-size: 14px; line-height: 1.6; }
.industry-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.industry-card {
  min-width: 0;
  overflow: hidden;
  display: block;
  color: inherit;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 9px;
  text-decoration: none;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.industry-card:hover,
.industry-card:focus-visible { transform: translateY(-4px); border-color: #c5d1df; box-shadow: var(--shadow); outline: none; }
.industry-card img { width: 100%; height: clamp(180px, 15vw, 220px); object-fit: cover; transition: transform 350ms ease; }
.industry-card:hover img { transform: scale(1.015); }
.industry-body { min-height: 126px; padding: 20px 20px 18px; display: flex; justify-content: space-between; align-items: end; gap: 18px; }
.industry-body > span { display: grid; gap: 8px; }
.industry-body strong { color: var(--navy-deep); font-size: 17px; font-weight: 720; }
.industry-body small { max-width: 225px; color: #64748b; font-size: 13px; line-height: 1.45; }
.industry-body b { padding-bottom: 3px; color: var(--navy-deep); font-size: 24px; font-weight: 400; transition: transform 180ms ease; }
.industry-card:hover .industry-body b { transform: translateX(4px); }

section[id] { scroll-margin-top: 92px; }
.section-shell {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 94px clamp(28px, 5vw, 76px);
  background: #fff;
}
.section-tint { background: #f3f7fb; }
.section-intro { max-width: 780px; margin-bottom: 42px; }
.section-kicker {
  display: block;
  margin-bottom: 13px;
  color: #58708f;
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.21em;
}
.section-intro h2,
.final-cta h2 {
  margin: 0;
  color: var(--navy-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(35px, 4vw, 55px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.section-intro p {
  max-width: 750px;
  margin: 18px 0 0;
  color: #53667f;
  font-size: 16px;
  line-height: 1.65;
}
.solution-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.solution-card { position: relative; min-height: 306px; padding: 30px; border: 1px solid rgba(10, 33, 72, .09); border-radius: 10px; box-shadow: 0 8px 22px rgba(10, 33, 72, .025); }
.solution-card::before { content: ""; position: absolute; top: 25px; left: 30px; width: 54px; height: 2px; border-radius: 999px; }
.solution-card:nth-child(1) { background: #fffdf8; }
.solution-card:nth-child(1)::before { background: #b28a50; }
.solution-card:nth-child(2) { background: #f9fbfc; }
.solution-card:nth-child(2)::before { background: #829caf; }
.solution-card:nth-child(3) { background: #f8fafc; }
.solution-card:nth-child(3)::before { background: #71879f; }
.solution-card:nth-child(4) { background: #fcfaf6; }
.solution-card:nth-child(4)::before { background: #a28d6d; }
.solution-number { min-width: 32px; margin-top: 12px; padding: 5px 8px 4px; display: inline-flex; justify-content: center; color: #8e6024; background: rgba(216, 146, 33, .08); border: 1px solid rgba(158, 106, 35, .14); border-radius: 5px; font-family: Georgia, serif; font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.solution-card h3 { margin: 26px 0 13px; color: var(--navy-deep); font-family: Georgia, serif; font-size: 24px; line-height: 1.18; }
.solution-card p { margin: 0; color: #5b6c84; font-size: 14px; line-height: 1.6; }
.solution-card ul { margin: 20px 0 0; padding: 0; list-style: none; }
.solution-card li { position: relative; margin-top: 9px; padding-left: 15px; color: #2c4162; font-size: 13px; line-height: 1.4; }
.solution-card li::before { content: ""; position: absolute; left: 0; top: .58em; width: 5px; height: 5px; border-radius: 50%; background: var(--amber); }

.workflow-list { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); list-style: none; border-top: 1px solid #cfdbe7; }
.workflow-list li { position: relative; min-height: 245px; padding: 26px 19px 22px 0; border-bottom: 1px solid #cfdbe7; }
.workflow-list li:not(:last-child)::after { content: "→"; position: absolute; right: 7px; top: 29px; color: #9aacbf; }
.workflow-list b { color: #3970a7; font-size: 12px; letter-spacing: .12em; }
.workflow-list h3 { margin: 45px 0 10px; color: var(--navy-deep); font-size: 16px; line-height: 1.25; }
.workflow-list p { margin: 0; color: #5d6f87; font-size: 13px; line-height: 1.55; }
.workflow-action { margin-top: 34px; display: flex; align-items: center; gap: 28px; }
.text-link { color: var(--navy-deep); font-size: 14px; font-weight: 700; text-underline-offset: 4px; }

.workspace-bridge { display: grid; grid-template-columns: minmax(0, 1fr) 235px minmax(0, 1fr); align-items: stretch; border: 1px solid var(--line); }
.workspace-panel { padding: 36px; background: #fff; }
.workspace-panel > span, .case-core > span { color: #67809e; font-size: 10px; font-weight: 760; letter-spacing: .16em; }
.workspace-panel h3 { margin: 15px 0 25px; color: var(--navy-deep); font-family: Georgia, serif; font-size: 27px; line-height: 1.15; }
.workspace-panel ul { margin: 0; padding: 0; list-style: none; }
.workspace-panel li { padding: 11px 0; color: #405573; border-top: 1px solid #edf0f4; font-size: 14px; }
.operator-panel { background: var(--navy-deep); }
.operator-panel > span { color: #9cb7d6; }
.operator-panel h3, .operator-panel li { color: #fff; }
.operator-panel li { border-color: rgba(255,255,255,.12); }
.case-core { padding: 32px 26px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 15px; color: var(--navy-deep); background: var(--sand); text-align: center; }
.case-core strong { font-size: 13px; }
.case-core i { color: #a96d1d; font-style: normal; transform: rotate(90deg); }
.privacy-note { margin: 18px 0 0; color: #5c6e84; font-size: 13px; line-height: 1.55; }
.privacy-note strong { color: var(--navy-deep); }

.why-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 80px; align-items: start; }
.why-layout .section-intro { margin: 0; position: sticky; top: 120px; }
.difference-list { border-top: 1px solid #cfdbe7; }
.difference-list article { padding: 25px 0; border-bottom: 1px solid #cfdbe7; }
.difference-list strong { color: var(--navy-deep); font-family: Georgia, serif; font-size: 21px; }
.difference-list p { margin: 8px 0 0; color: #5d6f87; font-size: 14px; line-height: 1.55; }

.final-cta { width: min(1440px, 100%); margin: 0 auto; padding: 92px clamp(28px, 7vw, 110px); color: #fff; background: var(--navy-deep); }
.final-cta > div { max-width: 900px; }
.final-cta > div > span { color: #9cb7d6; font-size: 10px; font-weight: 760; letter-spacing: .2em; }
.final-cta h2 { margin-top: 18px; color: #fff; }
.button-light { justify-content: space-between; color: var(--navy-deep); background: #fff; }
.button-outline-light { color: #fff; border: 1px solid rgba(255,255,255,.62); }
.button-light:hover, .button-light:focus-visible, .button-outline-light:hover, .button-outline-light:focus-visible { transform: translateY(-2px); }

.site-footer { width: min(1440px, 100%); margin: 0 auto; padding: 32px clamp(28px, 5vw, 76px); display: grid; grid-template-columns: auto 1fr auto; gap: 35px; align-items: center; background: #fff; border-top: 1px solid var(--line); }
.site-footer p { margin: 0; color: #6b7c92; font-size: 13px; }
.site-footer > div { display: flex; gap: 20px; }
.site-footer > div a { color: #405573; font-size: 12px; text-decoration: none; }
.site-footer > div a:hover, .site-footer > div a:focus-visible { text-decoration: underline; text-underline-offset: 4px; }

.motion-rise { animation: rise-in 420ms ease both; }
.motion-fade { animation: fade-in 520ms 80ms ease both; }
.reveal { opacity: 1; transform: none; transition: opacity 360ms ease, transform 360ms ease; }
.motion-enabled .reveal { opacity: 1; transform: none; }
.motion-enabled .reveal.is-visible { opacity: 1; transform: none; }
.capability:nth-child(2), .industry-card:nth-child(2) { transition-delay: 45ms; }
.capability:nth-child(3), .industry-card:nth-child(3) { transition-delay: 90ms; }
.capability:nth-child(4), .industry-card:nth-child(4) { transition-delay: 135ms; }
@keyframes rise-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

@media (hover: hover) and (pointer: fine) and (min-width: 1181px) {
  .solution-card { transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease; }
  .solution-card:hover { transform: translateY(-3px); border-color: #c5d1df; box-shadow: 0 10px 24px rgba(10, 33, 72, .06); }
}

@media (max-width: 1180px) {
  .site-header { grid-template-columns: auto 1fr auto; }
  .nav-links { justify-content: center; gap: 24px; }
  .nav-links a { font-size: 13px; }
  .hero { grid-template-columns: minmax(460px, 47%) minmax(0, 53%); }
  .hero h1 { font-size: clamp(48px, 5vw, 61px); }
  .editorial-note { left: 4%; }
  .capability { gap: 12px; }
  .capability-icon { flex-basis: 52px; width: 52px; height: 52px; }
  .capability strong { font-size: 14px; }
  .industry-grid { gap: 15px; }
  .industry-body { padding: 17px; }
  .workflow-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .workflow-list li:nth-child(4)::after { display: none; }
  .workspace-bridge { grid-template-columns: 1fr 190px 1fr; }
  .site-footer { grid-template-columns: auto 1fr; }
  .site-footer > div { grid-column: 1 / -1; }
  .solution-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 940px) {
  .site-header { height: 76px; }
  .nav-links { display: none; }
  .menu-toggle { width: 42px; height: 42px; padding: 10px; display: grid; align-content: center; gap: 5px; color: var(--navy-deep); background: #fff; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
  .menu-toggle span { height: 2px; display: block; background: currentColor; transition: transform 180ms ease, opacity 180ms ease; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .mobile-navigation { position: absolute; inset: 76px 20px auto; padding: 10px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
  .mobile-navigation[hidden] { display: none; }
  .mobile-navigation a { padding: 14px; color: var(--navy-deep); font-size: 14px; font-weight: 650; text-decoration: none; border-radius: 6px; }
  .mobile-navigation a:hover, .mobile-navigation a:focus-visible { background: var(--mist); }
  .hero { min-height: auto; padding: 0; grid-template-columns: 1fr; }
  .hero-copy { padding: 70px 40px 55px; }
  .hero h1 { font-size: clamp(48px, 8vw, 67px); }
  .hero-visual { height: 460px; }
  .hero-visual::before { inset: 0 0 auto; width: 100%; height: 18%; background: linear-gradient(180deg, var(--ivory), transparent); }
  .hero-visual img { min-height: 0; }
  .editorial-note { left: 8%; top: 11%; }
  .capability-strip { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .industries-heading { align-items: start; flex-direction: column; gap: 18px; }
  .workflow-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workflow-list li:nth-child(4)::after { display: block; }
  .workflow-list li:nth-child(even)::after { display: none; }
  .workspace-bridge { grid-template-columns: 1fr; }
  .case-core { min-height: 205px; }
  .why-layout { grid-template-columns: 1fr; gap: 48px; }
  .why-layout .section-intro { position: static; }
}

@media (max-width: 620px) {
  .site-header { height: 68px; padding: 0 18px; }
  .wordmark { font-size: 26px; }
  .login-link { padding: 10px 13px; border: 0; background: transparent; }
  .nav-primary { min-width: 0; padding: 11px 14px; }
  .nav-primary span { display: none; }
  .login-link { display: none; }
  .mobile-navigation { inset: 68px 12px auto; grid-template-columns: 1fr; max-height: calc(100vh - 82px); overflow-y: auto; }
  .hero-copy { padding: 55px 20px 42px; }
  .eyebrow { padding: 8px 10px; font-size: 9px; letter-spacing: 0.16em; }
  .hero h1 { margin-top: 20px; font-size: clamp(41px, 12vw, 53px); line-height: 1.01; }
  .hero-copy > p { font-size: 15px; line-height: 1.55; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .hero-visual { height: 330px; }
  .hero-visual img { object-position: 67% center; }
  .editorial-note { top: 9%; font-size: 19px; }
  .capability-strip { padding: 18px 20px; gap: 8px 16px; }
  .capability { min-height: 78px; gap: 10px; }
  .capability-icon { flex-basis: 44px; width: 44px; height: 44px; }
  .capability-icon svg { width: 24px; height: 24px; }
  .capability strong { font-size: 12px; }
  .industries { padding: 46px 20px 55px; }
  .industry-grid { grid-template-columns: 1fr; }
  .industry-card img { height: 230px; }
  .industry-body { min-height: 105px; }
  .section-shell { padding: 70px 20px; }
  .section-intro { margin-bottom: 30px; }
  .section-intro h2, .final-cta h2 { font-size: 36px; }
  .solution-grid { grid-template-columns: 1fr; }
  .solution-card { min-height: 0; padding: 25px; }
  .workflow-list { grid-template-columns: 1fr; }
  .workflow-list li { min-height: 0; padding: 24px 0; }
  .workflow-list li::after { display: none !important; }
  .workflow-list h3 { margin-top: 22px; }
  .workflow-action { align-items: stretch; flex-direction: column; }
  .workspace-panel { padding: 28px 24px; }
  .case-core { padding: 30px 20px; }
  .final-cta { padding: 70px 20px; }
  .site-footer { padding: 30px 20px; grid-template-columns: 1fr; }
  .site-footer > div { grid-column: auto; flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
