:root {
  color-scheme: light;
  --canvas: #f8f8ef;
  --paper: #fffefa;
  --soft: #eef0e5;
  --line: #dedfd3;
  --ink: #182c23;
  --muted: #536356;
  --green: #254937;
  --green-hover: #183a2a;
  --leaf: #4f6e4b;
  --moss: #e2ecd8;
  --gold: #e1b86b;
  --warm: #f3ebdb;
  --warn: #8c4426;
  --danger: #9c3631;
  --radius: 18px;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Segoe UI', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--canvas); font: 1rem/1.55 var(--sans); }
button, input, select, textarea { font: inherit; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.047em; line-height: 1.045; }
h3 { font-weight: 650; line-height: 1.28; }
em { font-weight: 400; color: var(--leaf); }
ul { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid #718f5b; outline-offset: 3px; }
.shell { width: min(1200px, calc(100% - 104px)); margin-inline: auto; }
.muted { color: var(--muted); }
.skip-link { position: fixed; z-index: 10; left: 12px; top: 12px; transform: translateY(-150%); padding: .6rem .85rem; background: white; }
.skip-link:focus { transform: translateY(0); }

.site-header { border-bottom: 1px solid var(--line); }
.head-inner, .foot-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 74px; }
.head-inner nav { display: flex; align-items: center; gap: 27px; }
.brand { display: inline-flex; gap: 0; align-items: center; color: var(--ink); text-decoration: none; font-family: var(--serif); font-size: 1.62rem; font-weight: bold; letter-spacing: -.07em; white-space: nowrap; }
.brand > span:last-child { color: #4a684a; }
.brand-mark { position: relative; width: 33px; height: 33px; margin-right: 9px; border-radius: 50%; background: var(--green); }
.brand-mark::before, .brand-mark::after { content: ''; position: absolute; width: 9px; height: 13px; background: #dce8bf; border-radius: 12px 0; }
.brand-mark::before { left: 10px; top: 12px; transform: rotate(-65deg); }
.brand-mark::after { left: 16px; top: 7px; transform: rotate(17deg); }
.nav-link { font-size: .94rem; font-weight: 600; text-decoration: none; }
.nav-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.button { cursor: pointer; display: inline-flex; justify-content: center; align-items: center; gap: .5rem; min-height: 46px; padding: .64rem 1rem; border: 1px solid transparent; border-radius: 9px; font-size: .94rem; line-height: 1.2; text-align: center; font-weight: 650; text-decoration: none; transition: background .15s ease, border-color .15s ease; }
.button:disabled { opacity: .62; cursor: wait; }
.button.primary { color: #fffefa; background: var(--green); border-color: var(--green); }
.button.primary:hover { background: var(--green-hover); border-color: var(--green-hover); }
.button.outline { color: var(--green); background: transparent; border-color: #b9c4b5; }
.button.outline:hover { background: var(--soft); border-color: var(--leaf); }
.button.small { padding: .56rem .83rem; min-height: 39px; font-size: .875rem; }
.button.text-button { padding-inline: 0; min-height: 36px; background: none; color: var(--green); text-align: start; justify-content: flex-start; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #a5b29d; }
.button.text-button:hover { text-decoration-color: currentColor; }
.icon-button { min-height: 38px; padding: 0 .65rem; border-color: var(--line); background: var(--paper); color: var(--ink); font-size: 1.4rem; }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(44px, 6vw, 90px); align-items: center; padding-block: 54px 64px; }
.hero-copy { padding-block: 15px; }
.eyebrow { display: flex; align-items: center; gap: .55rem; color: var(--green); font-size: .82rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow > span[aria-hidden] { display: inline-block; width: 16px; height: 3px; border-radius: 3px; background: #a16c27; flex: 0 0 auto; }
.hero h1, .login-intro h1 { font-size: clamp(3.3rem, 6.4vw, 6rem); line-height: .99; margin: 19px 0 19px; letter-spacing: -.072em; }
.hero-lede, .login-intro > p:last-child { font-size: clamp(1rem, 1.5vw, 1.2rem); max-width: 430px; color: var(--muted); }
.hero-visual { position: relative; min-width: 0; isolation: isolate; overflow: hidden; border-radius: 23px; background: #b8c0a0; }
.hero-visual img { width: 100%; height: clamp(370px, 39vw, 520px); object-fit: cover; object-position: center 51%; }
.hero-note { display: flex; align-items: center; gap: 12px; background: var(--paper); padding: 13px 16px; border-radius: 13px; max-width: calc(100% - 38px); position: absolute; inset: auto auto 19px 19px; box-shadow: 0 10px 35px #10271f29; }
.hero-note strong, .hero-note span:not(.hero-note-icon) { display: block; }
.hero-note strong { font-size: .875rem; }
.hero-note span:not(.hero-note-icon) { font-size: .82rem; color: var(--muted); }
.hero-note-icon { display: grid; place-items: center; flex: 0 0 33px; height: 33px; background: var(--moss); border-radius: 9px; }
.hero-note-icon i { width: 13px; height: 7px; margin-top: -3px; border: solid var(--green); border-width: 0 0 2px 2px; transform: rotate(-45deg); }

.scan-form { margin-top: 29px; }
.scan-form > label, .input-group > label { display: block; margin-bottom: 6px; font-size: .9rem; font-weight: 650; }
.scan-input { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px; padding: 6px; border: 1px solid #bdc8ba; border-radius: 12px; background: var(--paper); }
.scan-input:focus-within { border-color: var(--leaf); }
.scan-input input { min-width: 0; padding-inline: .78rem; border: 0; background: transparent; line-height: 1.25; border-radius: 6px; }
.scan-input .button { min-height: 45px; white-space: nowrap; }
.field-hint { margin-top: 6px; color: var(--muted); font-size: .88rem; }
.feedback { margin-top: 11px; padding: .65rem .8rem; border-left: 3px solid var(--leaf); background: var(--soft); border-radius: 5px; font-size: .94rem; overflow-wrap: anywhere; }
.feedback[data-tone="error"] { color: var(--danger); border-color: var(--danger); background: #fbede7; }

.services { background: var(--soft); border-block: 1px solid var(--line); padding-block: 52px 60px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
.section-heading .eyebrow { margin-bottom: 7px; }
.section-heading h2, .report h2 { font-size: clamp(2.1rem, 3.5vw, 3.15rem); }
.section-heading p:not(.eyebrow) { margin-top: .5rem; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.service-card { display: flex; align-items: flex-start; flex-direction: column; min-width: 0; padding: 21px; border: 1px solid var(--line); background: var(--paper); border-radius: 15px; }
.service-card h3 { margin: 11px 0 6px; font-family: var(--serif); font-size: 1.38rem; font-weight: 400; letter-spacing: -.032em; }
.service-card > p { color: var(--muted); }
.service-card .button { margin-top: auto; padding-top: .94rem; }
.service-icon { display: grid; place-items: center; width: 38px; height: 38px; color: var(--green); background: var(--moss); border-radius: 9px; font-weight: 650; font-size: 1.18rem; }
.icon-envelope { position: relative; }
.icon-envelope::before { content: ''; width: 17px; height: 12px; border: 1.65px solid currentColor; border-radius: 2px; }
.icon-envelope::after { position: absolute; content: ''; width: 8px; height: 8px; top: 12px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.icon-spark { background: #f2e7ce; color: #735026; }
.icon-care { background: #e3eada; }
.icon-move { background: #e3e9e4; }
.site-footer { padding-block: 10px; }
.site-footer .brand { font-size: 1.35rem; }
.site-footer .brand-mark { transform: scale(.86); transform-origin: left; margin-right: 4px; }

.report-shell { scroll-margin-top: 20px; margin-bottom: 42px; }
.report { padding: clamp(18px, 3.2vw, 37px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
#report-meta { overflow-wrap: anywhere; }
.report-note { color: var(--muted); background: var(--soft); padding: .7rem .85rem; border-radius: 8px; }
.report-list, .history-list, .request-list { margin-top: 10px; }
.report-row, .history-row, .request-row { border-bottom: 1px solid var(--line); padding: .8rem 0; display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 14px; }
.report-row:last-child, .history-row:last-child, .request-row:last-child { border-bottom: 0; }
.report-row p, .history-row p { font-size: .92rem; margin-top: 3px; color: var(--muted); }
.pill { align-self: start; display: inline-block; padding: .22rem .55rem; border-radius: 20px; background: #eeeee6; color: #4a584e; font-size: .82rem; font-weight: 650; white-space: nowrap; }
.pill[data-tone="pass"] { background: #e3eddb; color: #305540; }
.pill[data-tone="review"] { background: #f4e9d4; color: #73501f; }
.pill[data-tone="fix"] { background: #f8e7dc; color: #863c24; }

dialog { max-width: min(470px, calc(100% - 28px)); width: 100%; max-height: calc(100% - 36px); padding: 0; border: 1px solid var(--line); border-radius: 19px; color: var(--ink); background: var(--paper); box-shadow: 0 20px 60px #152e2460; }
dialog::backdrop { background: #12261ac0; }
.dialog-body { padding: clamp(17px, 4vw, 29px); }
.dialog-heading, .activity-heading, .monitor-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dialog-heading h2, .panel h2 { font-size: 1.9rem; }
.dialog-body > p { margin-block: 11px; }
.stack-form { display: grid; gap: 15px; margin-top: 15px; }
.stack-form > .button { justify-self: start; }
.input-group { min-width: 0; }
.input-group label > .muted { font-weight: 400; }
.input-group input, .input-group textarea, .input-group select { width: 100%; padding: .6rem .68rem; border: 1px solid #bdc8ba; border-radius: 8px; background: #fffefa; color: var(--ink); }
.input-group textarea { resize: vertical; }
.input-group select { appearance: none; padding-right: 2rem; background-image: linear-gradient(45deg, transparent 50%, var(--green) 50%), linear-gradient(135deg, var(--green) 50%, transparent 50%); background-repeat: no-repeat; background-size: 5px 5px; background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%; }
.permission { display: flex; align-items: flex-start; gap: 7px; font-size: .91rem; }
.permission input { width: 16px; height: 16px; margin-top: .22rem; flex: 0 0 auto; accent-color: var(--green); }

#loading { padding-block: 30px; }
.dashboard { min-height: 100vh; background: #f3f4eb; }
.dashboard .site-header { background: var(--canvas); }
.login-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 8vw, 118px); min-height: calc(100vh - 78px); align-items: center; padding: 54px 4% 64px; }
.login-panel { margin: 0; padding: clamp(22px, 4vw, 36px); }
.login-panel h2 { font-size: 2.5rem; }
.login-panel .button { width: 100%; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.workspace { padding-block: 40px 64px; }
.workspace-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 15px; }
.workspace-heading h1 { font-size: clamp(2.65rem, 5.3vw, 4.6rem); margin: .5rem 0 .58rem; letter-spacing: -.064em; }
.workspace-nav { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; border-bottom: 1px solid var(--line); }
.tab { color: var(--muted); border-bottom: 2px solid transparent; background: none; border-radius: 0; }
.tab[aria-pressed="true"] { color: var(--green); border-bottom-color: var(--green); }
.summary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 20px 0; }
.summary { display: grid; gap: 1px; padding: 16px 20px; }
.summary strong { font-family: var(--serif); font-size: 2.6rem; font-weight: 400; line-height: 1.1; }
.summary .caption { font-size: .9rem; font-weight: 650; }
.summary .muted { font-size: .84rem; }
.workspace-grid { display: grid; grid-template-columns: minmax(200px, 280px) minmax(0, 1fr); gap: 15px; align-items: start; }
.monitor-sidebar { padding: 16px 13px; }
.monitor-sidebar h2 { padding-inline: 6px; font-size: 1.53rem; }
.monitor-list { margin-top: 12px; }
.monitor-list li + li { margin-top: 4px; }
.monitor-list button { display: block; width: 100%; padding: 10px 9px; text-align: left; color: var(--ink); background: none; border: 1px solid transparent; border-radius: 9px; cursor: pointer; }
.monitor-list button:hover, .monitor-list [aria-current="true"] { background: var(--soft); border-color: var(--line); }
.monitor-list button span { display: block; font-size: .87rem; color: var(--muted); }
.monitor-list strong, .monitor-list span { overflow-wrap: anywhere; }
.empty { padding: 27px; }
.empty .service-icon { margin-bottom: 14px; }
.empty p { margin-block: 9px 14px; max-width: 490px; }
.monitor-detail, .request-panel { padding: clamp(16px, 2.7vw, 27px); }
.request-panel { margin-top: 20px; }
.monitor-identity { min-width: 0; overflow-wrap: anywhere; }
.subtle-link { color: var(--leaf); text-decoration: underline; text-underline-offset: 3px; font-size: .91rem; overflow-wrap: anywhere; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-block: 15px; }
.check-card { display: flex; flex-direction: column; align-items: flex-start; padding: 13px; background: var(--soft); border-radius: 10px; }
.delivery-card { background: var(--warm); }
.check-card h3 { font-size: .96rem; }
.check-value { font: 1.65rem/1.13 var(--serif); margin-block: .4rem .2rem; letter-spacing: -.03em; }
.check-card .muted { margin-bottom: .68rem; font-size: .875rem; }
.check-card .button { margin-top: auto; }
.setup { font-size: .94rem; padding: 10px 0; border-block: 1px solid var(--line); }
.setup summary { cursor: pointer; font-weight: 650; color: var(--green); }
.setup p { margin: .45rem 0 .65rem; color: var(--muted); }
.setup pre { overflow-x: auto; padding: 10px; background: var(--soft); border-radius: 8px; font-size: .82rem; }
.activity { margin-top: 14px; }
.activity-heading h3 { font-size: 1.04rem; }
.activity-heading > .button { flex: 0 0 auto; }
.history-row time, .request-row time { display: block; font-size: .83rem; color: var(--muted); }
.request-row { grid-template-columns: minmax(0, 1fr) auto; overflow-wrap: anywhere; }
.request-row p { margin-top: 5px; white-space: pre-wrap; }
.request-actions { display: grid; justify-items: end; gap: 6px; }
.copy-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 8px; background: var(--soft); border-radius: 8px; }
.copy-row code { font-size: .875rem; overflow-wrap: anywhere; }
.empty-line { color: var(--muted); padding: 6px; font-size: .94rem; }

@media (max-width: 1040px) {
  .shell { width: min(1200px, calc(100% - 64px)); }
  .hero { gap: 36px; }
  .service-card { padding: 16px; }
}
@media (max-width: 850px) {
  .hero { gap: 28px; }
  .hero-visual img { height: 400px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workspace-grid { grid-template-columns: minmax(155px, 205px) minmax(0, 1fr); }
}
@media (max-width: 670px) {
  .shell { width: calc(100% - 32px); }
  .head-inner { min-height: 63px; }
  .head-inner nav { gap: 10px; }
  .hero { grid-template-columns: 1fr; gap: 15px; padding-block: 30px; }
  .hero-copy { padding-block: 0 5px; }
  .hero h1, .login-intro h1 { font-size: clamp(3.25rem, 11vw, 4.8rem); }
  .hero-visual img { height: min(80vw, 355px); object-position: center 50%; }
  .hero-note { inset: auto auto 12px 12px; max-width: calc(100% - 24px); padding: 9px 10px; }
  .services { padding-block: 35px; }
  .section-heading, .workspace-heading { align-items: flex-start; flex-direction: column; }
  .login-layout { grid-template-columns: 1fr; padding: 37px 0; gap: 22px; min-height: 0; }
  .workspace { padding-block: 25px 40px; }
  .workspace-grid { grid-template-columns: 1fr; }
  .summary-grid { gap: 6px; }
  .summary { padding: 8px; }
  .summary strong { font-size: 1.9rem; }
  .summary .caption, .summary .muted { font-size: .82rem; }
}
@media (max-width: 380px) {
  .shell { width: calc(100% - 24px); }
  .marketing .head-inner .nav-link { display: none; }
  .scan-input .button { padding-inline: .65rem; }
  .service-grid { grid-template-columns: 1fr; }
  .check-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
