@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;600&display=swap');

:root {
  --paper: #f5f3ed;
  --ink: #222d31;
  --muted: #626b69;
  --accent: #ba4522;
  --line: #d7d9d0;
  --signal: #c65029;
  --night: #17232b;
  --purple: #665577;
  --hero-heading-size: clamp(48px, 6vw, 72px);
  --section-heading-size: 32px;
  --promise-heading-size: 28px;
  --section-cut: 64px;
  --number-column: 96px;
  --content-gap: 36px;
  --content-inset: calc(var(--number-column) + var(--content-gap));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: #152229 url('assets/starfield.svg') center top / cover fixed no-repeat; color: var(--ink); font: 400 16px/1.7 'DM Sans', sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { touch-action: manipulation; }
button { cursor: pointer; border-radius: 0; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
::selection { background: #f5c5b2; }
.wrap { width: calc(100% - 80px); max-width: 1100px; margin-inline: auto; }
main > section { position: relative; --section-pad: 72px; clip-path: polygon(var(--section-cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--section-cut)); }
main > section:first-child { clip-path: none; }
main > section:not(:first-child) { margin-top: calc(0px - var(--section-cut)); }
main > section:not(:last-child) { padding-bottom: calc(var(--section-pad) + var(--section-cut)); }
main > section::after { content: ''; position: absolute; right: 0; bottom: 0; width: var(--section-cut); height: var(--section-cut); background: var(--next-section, var(--paper)); clip-path: polygon(100% 0, 100% 100%, 0 100%); pointer-events: none; }
main > section:not(:last-child)::after { bottom: calc(var(--section-cut) - 1px); }
main > section:last-child::after { display: none; }
.section-layout { display: grid; grid-template-columns: var(--number-column) minmax(0, 1fr); gap: var(--content-gap); }
.section-body { grid-column: 2; min-width: 0; }
.section-code { color: var(--ink); font-size: var(--section-heading-size); font-weight: 600; line-height: 1.25; letter-spacing: -.8px; font-variant-numeric: tabular-nums slashed-zero; }
.promise .section-code { font-size: var(--promise-heading-size); line-height: 1.35; }
.skip { position: fixed; top: -100px; left: 20px; z-index: 20; background: var(--ink); color: white; padding: 10px 16px; }
.skip:focus { top: 12px; }
.site-header { background: transparent; color: var(--paper); }
.site-footer { position: relative; background: var(--night); }
.footer-launchpad { position: absolute; bottom: 0; left: 8px; width: clamp(130px, calc((100vw - min(1100px, 100vw - 80px)) / 2 + var(--content-inset) - 30px), 320px); height: auto; opacity: .32; pointer-events: none; }
.header { position: relative; min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-left: var(--content-inset); border-bottom: 1px solid #ffffff24; }
.brand { display: flex; align-items: center; font-weight: 600; line-height: 1.5; }
.brand img { display: block; width: 180px; height: auto; transform: translateX(-4.5%); }
.header nav { display: flex; gap: 32px; font-size: 14px; }
.header nav a:hover, .footer a:hover { color: #ffbe93; }
.site-header :focus-visible, .site-footer :focus-visible { outline-color: #ffbe93; }
.menu-toggle { display: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 600; }
h1 { font-size: var(--hero-heading-size); letter-spacing: -2.7px; line-height: 1.08; }
h2 { font-size: var(--section-heading-size); line-height: 1.25; letter-spacing: -.8px; }
h3 { font-size: 18px; line-height: 1.4; }
p { color: var(--muted); }
.hero { --section-pad: 96px; --next-section: var(--paper); isolation: isolate; overflow: hidden; padding-block: var(--section-pad); background: transparent; color: white; }
.hero .wrap, .process .wrap { position: relative; z-index: 1; }
.hero-rocket { position: absolute; z-index: 0; top: 28px; right: clamp(28px, 4vw, 100px); width: clamp(280px, 32vw, 470px); height: auto; opacity: .9; pointer-events: none; }
.contact .section-code { color: white; }
.hero p { max-width: 59ch; margin: 32px 0 30px; color: #e1e7e5; }
.cut-panel { display: inline-block; padding: 26px 34px 30px; background: var(--signal); color: white; clip-path: polygon(22px 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%, 0 22px); }
.hero .button { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.hero .button:hover { background: white; }
.hero :focus-visible, .contact :focus-visible { outline-color: #ffbe93; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 12px 20px; border: 1px solid var(--ink); border-radius: 0; background: var(--ink); color: var(--paper); font-size: 14px; font-weight: 600; line-height: 1.6; transition: background .2s, transform .2s; }
.button:hover { background: #3a474b; transform: translateY(-2px); }
.section { padding-block: var(--section-pad); }
.services, .promise { background: var(--paper); }
.services { --next-section: var(--signal); }
.process { --next-section: var(--paper); overflow: hidden; background: var(--signal); color: white; }
.process-hands { position: absolute; z-index: 0; top: 24px; right: max(24px, calc((100vw - 1280px) / 2)); width: clamp(270px, 30vw, 420px); height: auto; opacity: .45; pointer-events: none; }
.process .section-intro p { max-width: 48ch; }
.process p, .process .section-code, .process .steps li:not(:last-child)::after { color: white; }
.section-intro { margin-bottom: 36px; }
.section-intro p { max-width: 62ch; margin-top: 16px; }
.service-row { display: grid; grid-template-columns: 1fr 1.8fr; gap: 32px; padding: 25px 10px; margin-inline: -10px; transition: background .2s; }
.service-row p { max-width: 62ch; }
.service-row h3 { display: flex; align-items: center; gap: 12px; }
.line-icon { width: 21px; height: 21px; flex: 0 0 21px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: square; stroke-linejoin: miter; }
.service-row .line-icon { color: var(--accent); }
.service-row:hover { background: #f9e8d8; }
.service-row:hover h3 { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.steps { --step-gap: 72px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--step-gap); list-style: none; padding: 0; margin: 0; }
.steps li { position: relative; min-width: 0; }
.step-card { height: 100%; padding: 24px 18px; background: white; color: var(--ink); clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px); }
.process .steps p { color: var(--muted); }
.steps li:not(:last-child)::after { content: ''; position: absolute; left: calc(100% + var(--step-gap) / 2); top: 50%; width: 0; height: 0; border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-left: 10px solid currentColor; transform: translate(-50%, -50%); color: var(--signal); }
.steps h3 { margin-bottom: 10px; }
@media (min-width: 1001px) {
  .steps p { text-align: left; font-size: 15px; }
}
.promise { --section-pad: 64px; --next-section: var(--night); padding-block: var(--section-pad); }
.promise-content { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 40px; }
.promise h2 { font-size: var(--promise-heading-size); line-height: 1.35; }
.note { font-size: 14px; line-height: 1.6; color: var(--muted); }
.promise .note { margin-top: 16px; }
.contact-content { display: grid; grid-template-columns: .85fr 1.15fr; align-items: start; gap: 40px; }
.contact { --next-section: var(--paper); background: var(--night); color: var(--paper); border-top: 0; }
.contact p { color: #bdcbc5; }
.contact h2 + p { margin-top: 18px; }
.email { display: inline-block; margin-block: 24px 12px; text-decoration: underline; text-underline-offset: 5px; }
.email:hover { color: #ffbe93; }
form { min-width: 0; padding: 0; border: 0; background: transparent; color: var(--paper); }
.form-title { margin-bottom: 24px; }
form label { display: block; margin-bottom: 7px; font-size: 14px; }
form input, form select, form textarea { display: block; width: 100%; max-width: 100%; margin-bottom: 20px; padding: 10px 12px; border: 1px solid #7e928c; border-radius: 3px; background: #26363c; color: var(--paper); font-size: 16px; }
form select { color-scheme: dark; }
form textarea { resize: vertical; min-height: 120px; }
form textarea::placeholder { color: #bdcbc5; }
form .button { width: 100%; background: var(--signal); color: white; border-color: var(--signal); }
form .button:hover { background: #ae3e1b; border-color: #ae3e1b; }
form .note { margin-top: 14px; color: #bdcbc5; }
form :focus-visible { outline-color: #ffbe93; }
#mail-fallback { margin-top: 22px; border-top: 1px solid #687a77; padding-top: 18px; font-size: 14px; }
#mail-fallback p { color: #bdcbc5; }
#mail-fallback a { text-decoration: underline; }
#copy-message { background: transparent; border: 1px solid #bdcbc5; padding: 8px 12px; margin-top: 12px; border-radius: 0; color: var(--paper); font-size: 14px; }
#copy-status { margin-top: 12px; }
.footer { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0 24px var(--content-inset); color: #bdcbc5; font-size: 14px; border-top: 1px solid #ffffff24; }
@media (max-width: 1000px) {
  .hero-rocket { right: -45px; top: 60px; opacity: .35; }
  .process-hands { right: -85px; width: 360px; opacity: .18; }
  .steps { grid-template-columns: 1fr; gap: 44px; }
  .steps p { max-width: 60ch; }
  .steps li:not(:last-child)::after { left: 50%; top: auto; bottom: -27px; border: 0; border-top: 10px solid currentColor; border-left: 7px solid transparent; border-right: 7px solid transparent; transform: translateX(-50%); }
}
@media (max-width: 800px) {
  :root { --promise-heading-size: 26px; --section-cut: 48px; --number-column: 70px; --content-gap: 24px; }
  .wrap { width: calc(100% - 48px); }
  .hero { --section-pad: 72px; }
  .section { --section-pad: 56px; }
  .service-row { gap: 24px; grid-template-columns: 1fr 1.4fr; }
  .promise-content, .contact-content { grid-template-columns: 1fr; gap: 32px; }
  .footer-launchpad { left: 0; width: 110px; opacity: .25; }
}
@media (max-width: 560px) {
  :root { --hero-heading-size: clamp(28px, 9.3vw, 44px); --section-heading-size: clamp(22px, 6vw, 28px); --promise-heading-size: 24px; --section-cut: 28px; --number-column: 44px; --content-gap: 16px; }
  .brand img { width: 150px; }
  .header { min-height: 90px; position: relative; gap: 14px; }
  .header nav { display: none; position: absolute; z-index: 10; top: 89px; left: -24px; right: -24px; padding: 16px 24px; background: #152229; }
  .header nav.is-open { display: flex; flex-direction: column; gap: 0; }
  .header nav a { padding-block: 12px; }
  .menu-toggle { display: flex; align-items: center; gap: 12px; padding: 10px 0 10px 10px; border: 0; background: none; color: var(--paper); font-size: 14px; }
  .menu-toggle span { font-size: 18px; }
  h1 { letter-spacing: -1.8px; }
  .hero { --section-pad: 60px; }
  .hero-rocket { width: 230px; right: -75px; top: 24px; opacity: .25; }
  .process-hands { width: 290px; right: -100px; top: 42px; opacity: .16; }
  .hero p { margin-block: 26px 24px; }
  .cut-panel { padding: 18px; }
  .service-row { grid-template-columns: 1fr; gap: 10px; padding-block: 24px; }
  .section { --section-pad: 48px; }
  .steps h3 { margin-bottom: 6px; }
  .promise-content, .contact-content { gap: 28px; }
  .promise { --section-pad: 48px; }
  .contact form { margin-top: 0; padding: 0; }
  .footer { font-size: 13px; }
  .footer-launchpad { width: 76px; opacity: .25; }
}
@media (max-width: 360px) {
  :root { --number-column: 36px; --content-gap: 12px; }
  .brand img { width: 140px; }
  .menu-toggle { font-size: 13px; gap: 8px; padding-left: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .button, .service-row { transition: none; } }
