:root {
  color-scheme: light;
  font: 16px/1.55 "Segoe UI", system-ui, sans-serif;
  --ink: #1a2b33;
  --ink-deep: #142228;
  --paper: #f6f5ef;
  --white: #fffefa;
  --muted: #556468;
  --line: #d7ddd6;
  --accent: #dcf1bc;
  --green: #2c624b;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-underline-offset: .23em; }
button, input { font: inherit; }
a, button, input, summary { scroll-margin: 20px; }
:is(a, button, input, summary):focus-visible { outline: 3px solid #568656; outline-offset: 4px; }
[hidden] { display: none !important; }
.shell { width: min(100% - 72px, 1296px); margin-inline: auto; }
.site-header { background: #132227; color: #f6f5ed; border-bottom: 1px solid #ffffff24; }
.navigation { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 1.13rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.brand img { object-fit: contain; border-radius: 9px; }
.navigation nav, .site-footer nav { display: flex; align-items: center; gap: clamp(15px,3vw,37px); }
.navigation nav a { color: #e2eae4; text-decoration: none; font-size: .91rem; font-weight: 550; }
.navigation nav a:hover { text-decoration: underline; }
.button {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 19px;
  min-height: 48px; padding: 10px 16px; border: 1px solid transparent; border-radius: 8px;
  text-decoration: none; font-weight: 700; font-size: .92rem; cursor: pointer;
}
.button span { font-size: 1.15rem; line-height: 1; }
.button:disabled { cursor: wait; opacity: .68; }
.button-accent { background: var(--accent); color: #203427; }
.button-accent:hover { background: #edf8d7; }
.button-outline { border-color: #a1b4aa; color: #f4f5ef; }
.button-outline:hover { background: #ffffff14; }
.button-primary { background: #244537; color: white; }
.button-primary:hover:not(:disabled) { background: #335e4a; }
.actions { display: flex; flex-wrap: wrap; gap: 11px; }
.eyebrow { font-size: .79rem; line-height: 1.4; letter-spacing: .08em; font-weight: 720; color: var(--green); }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.047em; text-wrap: balance; }
h1 { font-size: clamp(3.25rem, 6.4vw, 6.1rem); line-height: .99; }
h2 { font-size: clamp(2.15rem, 4.15vw, 3.7rem); line-height: 1.03; }
.hero { overflow: hidden; background: radial-gradient(ellipse at 81% 24%, #314339, transparent 66%), #17262b; color: #f8f7ee; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr);
  gap: clamp(35px,6vw,90px); align-items: center; padding-block: clamp(46px,7vw,94px);
}
.hero-copy .eyebrow, .explore .eyebrow { color: var(--accent); }
.hero-copy h1 { margin: 20px 0 24px; }
.hero-copy p:not(.eyebrow) { max-width: 36ch; color: #e1eae2; font-size: clamp(1rem, 1.65vw, 1.2rem); }
.hero-copy .actions { margin-top: 28px; }
.hero-copy .hero-note { margin-top: 12px; color: #d5e3d9 !important; font-size: .83rem !important; }
.hero-visual { position: relative; min-width: 0; min-height: 490px; padding: 34px 34px 12px 0; display: grid; align-items: end; }
.office-photo { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-visual > .office-photo {
  position: absolute; width: 88%; height: 94%; right: 0; top: 0; border-radius: 15px;
  border: 1px solid #c9d8c94d; background: #2b3c3b; object-position: 58% 50%;
}
.preview-window {
  position: relative; width: 100%; margin: 0; color: #263a3e; background: #fbfcf8;
  border: 1px solid #fff9; border-radius: 13px; overflow: hidden; box-shadow: 0 23px 52px #09131365;
}
.preview-top { display: flex; align-items: center; gap: 12px; padding: 11px 13px; border-bottom: 1px solid #d8e0d9; font-size: .74rem; }
.preview-top > span { display: flex; gap: 4px; }
.preview-top i { width: 5px; height: 5px; border-radius: 50%; background: #819a8e; }
.preview-top > small { margin-left: auto; color: #4f665b; white-space: nowrap; }
.preview-body { display: grid; grid-template-columns: minmax(100px, 26%) minmax(0,1fr); }
.preview-nav { display: grid; align-content: start; gap: 5px; padding: 12px 7px; background: #f1f5ef; border-right: 1px solid #e0e6dc; }
.preview-nav button { border: 0; background: transparent; text-align: left; padding: 8px 4px; border-radius: 4px; font: inherit; font-size: clamp(.5rem,.85vw,.68rem); color: #435a50; white-space: nowrap; cursor: pointer; }
.preview-nav button:hover, .preview-nav [aria-current="true"] { background: #dce9d6; color: #294f39; }
.preview-nav [aria-current="true"] { font-weight: 720; }
.preview-track { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 100%; min-width: 0; overflow: auto hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
.preview-track > * { scroll-snap-align: start; }
.preview-track:focus-visible { outline: 2px solid #507b58; outline-offset: -2px; }
.preview-controls { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 5px 12px; border-top: 1px solid #d8e0d9; color: #435a50; font-size: .69rem; }
.preview-controls button { width: 36px; height: 34px; border: 1px solid #d8e0d9; border-radius: 6px; background: #fff; color: #254638; font: inherit; font-size: 1rem; cursor: pointer; }
.preview-controls button:hover { background: #dce9d6; }
.preview-week { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 4px; text-align: center; font-size: .62rem; }
.preview-week span { padding: 4px 0; border: 1px solid #d8e0d9; border-radius: 4px; }
.preview-week strong { display: block; }
.preview-week .has-event { background: #dce9d6; }
.preview-report { display: grid; gap: 7px; font-size: .68rem; }
.preview-report div { display: grid; grid-template-columns: 76px minmax(0,1fr) 12px; gap: 6px; align-items: center; }
.preview-report meter { width: 100%; }
.preview-content { padding: clamp(10px,2.2vw,21px); min-width: 0; }
.preview-title, .preview-case { display: flex; align-items: center; gap: 9px; min-width: 0; }
.preview-title { justify-content: space-between; margin-bottom: 11px; }
.preview-title div > *, .preview-case div > *, .preview-event div > * { display: block; }
.preview-title div > strong { font-size: clamp(.85rem,1.5vw,1.25rem); line-height: 1.1; }
.preview-title small, .preview-case small, .preview-event small { color: #52665c; font-size: .64rem; }
.preview-title > span { padding: 5px 6px; border-radius: 4px; background: #254638; color: white; font-size: .6rem; white-space: nowrap; }
.preview-cases { display: grid; gap: 6px; }
.preview-case { padding: 6px; border: 1px solid #e0e7dd; border-radius: 5px; line-height: 1.35; }
.preview-case strong, .preview-event strong { font-size: clamp(.68rem,1.15vw,.85rem); }
.file-mark { display: grid; place-items: center; flex: 0 0 24px; height: 24px; border-radius: 4px; background: #e5eddf; color: #2d6045; }
.case-state { margin-left: auto; color: #476048; background: #edf1df; padding: 3px 4px; border-radius: 3px; font-size: .58rem; }
.preview-event { display: flex; align-items: center; gap: 8px; margin-top: 9px; padding: 5px 8px; border-radius: 5px; color: #355340; background: #eaf0e5; }
.capabilities { padding-block: clamp(60px,8vw,104px); }
.section-heading h2 { max-width: 19ch; margin: 10px 0 14px; }
.section-heading p:last-child, .account-area p:last-child { color: var(--muted); }
.feature-group { margin-top: 34px; }
.feature-group > h3 { margin: 0 0 12px; font-size: clamp(1.15rem,2vw,1.45rem); }
.feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.feature-card { border: 1px solid var(--line); border-radius: 12px; background: var(--white); padding: clamp(18px,3vw,31px); }
.feature-card h4 { margin: 0 0 6px; font-size: clamp(1.05rem,1.6vw,1.24rem); }
.feature-card p { color: var(--muted); }
.explore {
  display: flex; justify-content: space-between; align-items: center; gap: 26px; color: white;
  background: linear-gradient(120deg,#18362e,#2e5040); border-radius: 13px; padding: clamp(24px,5vw,59px);
}
.explore h2 { margin: 10px 0; }
.explore p:last-child { color: #e1e9df; max-width: 43ch; }
.explore .button { flex: 0 0 auto; }
.account-area { padding-block: clamp(52px,8vw,96px); display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: center; gap: 32px; }
.account-area h2 { margin: 9px 0 10px; }
.account-area form { border: 1px solid var(--line); border-radius: 12px; padding: 23px; background: var(--white); }
label { display: grid; gap: 6px; font-size: .9rem; font-weight: 650; }
input {
  border: 1px solid #aebdb4; border-radius: 7px; min-height: 46px; width: 100%;
  background: #fbfcf8; padding: 9px 11px; color: var(--ink);
}
input:hover { border-color: #6c8b76; }
.account-area form .button { margin-top: 13px; }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .89rem; }
.site-footer .shell { min-height: 80px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.site-footer .shell > span { color: var(--ink); font-weight: 720; }
.application-shell { padding-block: clamp(24px,4vw,56px); }
.application-grid {
  display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr);
  border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--white);
}
.apply-story { background: var(--ink-deep); color: white; display: flex; flex-direction: column; }
.apply-story > img { height: clamp(160px,22vw,277px); object-position: 50% 46%; }
.apply-story-copy { padding: clamp(24px,4vw,46px); }
.apply-story-copy .eyebrow { color: var(--accent); }
.apply-story-copy h2 { margin: 10px 0 12px; }
.apply-story-copy p:not(.eyebrow) { color: #dce8e1; max-width: 38ch; }
.apply-story-copy .button { margin-top: 20px; }
.application-panel { padding: clamp(22px,5vw,63px); min-width: 0; }
.application-panel h1 { font-size: clamp(2.5rem,4.6vw,4.15rem); margin: 12px 0; }
.application-panel h1 + p { color: var(--muted); max-width: 46ch; }
.application-panel form { margin-top: 23px; scroll-margin-top: 20px; }
.fields { display: grid; gap: 11px; }
.application-panel details { margin-top: 12px; }
.application-panel details label { margin-top: 7px; }
.application-panel summary { cursor: pointer; width: fit-content; color: var(--green); font-size: .87rem; font-weight: 650; }
.application-panel form > .button { width: 100%; margin-top: 14px; }
.form-note { margin-top: 8px; color: var(--muted); font-size: .84rem; }
.feedback { border-radius: 6px; padding: 9px 11px; margin-top: 12px; color: #305047; background: #edf3ec; font-size: .9rem; }
.feedback:empty { display: none; }
.feedback[data-state="error"] { background: #fff0ed; color: #8d3028; }
.feedback[data-state="success"] { background: #e9f5ed; color: #245236; }
@media (max-width: 960px) {
  .shell { width: min(100% - 48px, 1296px); }
  .hero-grid { gap: 28px; }
  .hero-visual { min-height: 350px; padding-right: 16px; }
  .preview-body { grid-template-columns: 86px minmax(0,1fr); }
}
@media (max-width: 750px) {
  .shell { width: min(100% - 32px, 600px); }
  .navigation { min-height: 64px; gap: 9px; }
  .navigation nav { gap: 12px; }
  .navigation nav a { font-size: .83rem; }
  .header-cta { display: none; }
  .hero-grid, .feature-grid, .account-area, .application-grid { grid-template-columns: minmax(0,1fr); }
  .hero-visual { min-height: 330px; }
  .preview-body { grid-template-columns: minmax(95px,26%) minmax(0,1fr); }
  .preview-nav button { font-size: .66rem; }
  .explore { align-items: flex-start; flex-direction: column; }
  .application-panel { grid-row: 1; }
  .apply-story > img { max-height: 200px; }
}
@media (max-width: 390px) {
  .navigation nav a { font-size: .76rem; }
  .navigation nav { gap: 8px; }
  .navigation .brand { font-size: .9rem; gap: 5px; }
  .navigation .brand img { width: 30px; height: 30px; }
  .preview-body { grid-template-columns: minmax(0,1fr); }
  .preview-nav { display: none; }
}
