:root {
  --ink: #101820;
  --ink-2: #17232c;
  --paper: #f1f2ef;
  --white: #ffffff;
  --muted: #69747c;
  --line: #c9ceca;
  --accent: #e16b2d;
  --accent-dark: #b74716;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; line-height: 1.55; }
a { color: inherit; }

.site-header {
  min-height: 76px; padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  display: flex; align-items: center; gap: 40px; border-bottom: 1px solid var(--line); background: rgba(241,242,239,.96);
  position: sticky; top: 0; z-index: 20;
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: .12em; text-decoration: none; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; background: var(--accent); color: var(--white); font-weight: 900; letter-spacing: -.1em; }
nav { display: flex; gap: 28px; margin-left: auto; }
nav a, .footer-links a { text-decoration: none; font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
nav a:hover, .footer-links a:hover { color: var(--accent-dark); }
.header-cta { padding: 12px 18px; background: var(--ink); color: var(--white); text-decoration: none; font-weight: 700; font-size: .9rem; }

main, footer { overflow: hidden; }
.hero { min-height: 670px; display: grid; grid-template-columns: 1.45fr .75fr; gap: 70px; align-items: center; max-width: var(--max); margin: 0 auto; padding: 100px 24px 84px; position: relative; }
.hero::before { content: ""; position: absolute; width: 440px; height: 440px; border: 1px solid var(--line); transform: rotate(45deg); right: -280px; top: 45px; }
.eyebrow { margin: 0 0 18px; color: var(--accent-dark); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; line-height: 1.05; }
h1 { margin-bottom: 28px; font-size: clamp(3.4rem, 7.5vw, 6.7rem); letter-spacing: -.065em; }
h1 span { color: var(--accent-dark); }
.lead { max-width: 720px; margin: 0 0 36px; color: #43505a; font-size: 1.22rem; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px; text-decoration: none; font-weight: 800; }
.button-primary { background: var(--accent); color: var(--white); }
.button-primary:hover { background: var(--accent-dark); }
.button-ghost { border: 1px solid var(--ink); }
.button-ghost:hover { background: var(--ink); color: var(--white); }
.hero-panel { position: relative; padding: 28px; background: var(--ink); color: var(--white); box-shadow: 18px 18px 0 var(--accent); }
.panel-code { color: #9ba5ac; font: 700 .73rem/1 monospace; letter-spacing: .18em; }
.panel-line { height: 1px; background: #35414a; margin: 24px 0 8px; }
.hero-panel dl { margin: 0; }
.hero-panel dl div { padding: 20px 0; border-bottom: 1px solid #35414a; }
.hero-panel dl div:last-child { border-bottom: 0; }
.hero-panel dt { color: #aab2b8; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.hero-panel dd { margin: 5px 0 0; font-weight: 700; }

.statement { padding: 72px max(24px, calc((100vw - var(--max)) / 2)); background: var(--accent); color: var(--ink); }
.statement p { margin: 0 0 8px; font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.statement h2 { max-width: 970px; margin-bottom: 0; font-size: clamp(2rem, 4.5vw, 4.3rem); letter-spacing: -.04em; }

.section { max-width: var(--max); margin: 0 auto; padding: 112px 24px; }
.section-heading { display: grid; grid-template-columns: .5fr 1.3fr .8fr; gap: 38px; align-items: end; margin-bottom: 54px; }
.section-heading h2 { margin-bottom: 0; font-size: clamp(2.2rem, 4vw, 4rem); letter-spacing: -.045em; }
.section-heading > p:last-child { margin: 0; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { grid-column: span 2; min-height: 310px; padding: 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.4); }
.service-card-wide { grid-column: span 3; }
.service-card span { color: var(--accent-dark); font: 700 .75rem/1 monospace; }
.service-card h3 { margin: 65px 0 18px; font-size: 1.45rem; }
.service-card p { margin: 0; color: var(--muted); }

.process { padding: 108px max(24px, calc((100vw - var(--max)) / 2)); background: var(--ink); color: var(--white); }
.section-heading-light { grid-template-columns: .5fr 2.1fr; }
.section-heading-light .eyebrow { color: #f18a51; }
.process-list { list-style: none; margin: 60px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #39444c; }
.process-list li { min-height: 270px; padding: 28px 24px; border-right: 1px solid #39444c; }
.process-list li:last-child { border-right: 0; }
.process-list > li > span { color: #f18a51; font: 700 .78rem/1 monospace; }
.process-list h3 { margin: 66px 0 15px; font-size: 1.3rem; }
.process-list p { margin: 0; color: #aeb6bb; font-size: .94rem; }

.safety-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.safety-grid p { margin: 0; min-height: 190px; padding: 30px; background: var(--paper); }
.coverage { display: grid; grid-template-columns: 1.5fr .7fr; gap: 80px; padding: 96px max(24px, calc((100vw - var(--max)) / 2)); background: #daddd9; align-items: end; }
.coverage h2 { margin: 0; font-size: clamp(2.6rem, 5.4vw, 5.2rem); letter-spacing: -.055em; }
.coverage > p { margin: 0; color: #4f5b63; }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding: 104px max(24px, calc((100vw - var(--max)) / 2)); background: var(--accent); align-items: end; }
.contact h2 { margin-bottom: 20px; font-size: clamp(2.4rem, 4.6vw, 4.3rem); letter-spacing: -.05em; }
.contact p:last-child { max-width: 620px; margin-bottom: 0; }
.contact .eyebrow { color: var(--ink); }
.mail-link { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); font-size: clamp(1.1rem, 2vw, 1.65rem); font-weight: 800; text-decoration: none; }
.mail-link:hover { color: var(--white); border-color: var(--white); }

footer { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 28px; padding: 36px max(24px, calc((100vw - var(--max)) / 2)); background: var(--ink-2); color: var(--white); }
footer p { margin: 0; color: #aeb6bb; font-size: .84rem; }
.footer-links { display: flex; gap: 22px; }
.footer-brand { font-size: .88rem; }
.legal-page { min-height: 100vh; background: var(--paper); }
.legal-main { max-width: 850px; margin: 0 auto; padding: 90px 24px 120px; }
.legal-main h1 { font-size: clamp(3rem, 7vw, 5.5rem); }
.legal-main h2 { margin: 45px 0 12px; font-size: 1.5rem; }
.legal-main p, .legal-main li { color: #44515a; }
.notice { margin: 34px 0; padding: 22px; border: 2px solid var(--accent-dark); background: #fff4ec; }
.back-link { display: inline-block; margin-bottom: 45px; font-weight: 800; text-decoration: none; }

@media (max-width: 900px) {
  nav { display: none; }
  .header-cta { margin-left: auto; }
  .hero { grid-template-columns: 1fr; min-height: auto; gap: 55px; padding-top: 72px; }
  .hero-panel { max-width: 560px; }
  .section-heading, .section-heading-light { grid-template-columns: 1fr; gap: 12px; }
  .service-card, .service-card-wide { grid-column: span 3; }
  .process-list { grid-template-columns: repeat(2, 1fr); }
  .process-list li:nth-child(2) { border-right: 0; }
  .process-list li { border-bottom: 1px solid #39444c; }
  .safety-grid { grid-template-columns: 1fr; }
  .safety-grid p { min-height: auto; }
  .coverage, .contact { grid-template-columns: 1fr; gap: 40px; }
  footer { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .site-header { min-height: 66px; padding: 0 16px; }
  .brand { font-size: .78rem; }
  .brand-mark { width: 30px; height: 30px; }
  .header-cta { padding: 10px 12px; font-size: .76rem; }
  .hero { padding: 62px 18px 70px; }
  h1 { font-size: clamp(3rem, 15vw, 4.4rem); }
  .lead { font-size: 1.06rem; }
  .button { width: 100%; }
  .statement, .section, .process, .coverage, .contact { padding-left: 18px; padding-right: 18px; }
  .section { padding-top: 82px; padding-bottom: 82px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card, .service-card-wide { grid-column: auto; min-height: 260px; }
  .process-list { grid-template-columns: 1fr; }
  .process-list li { border-right: 0; min-height: 230px; }
  .mail-link { overflow-wrap: anywhere; }
}
