/* EDG, Inc. one-page site. Values from the Claude Design handoff ("EDG One-Pager Final"). */
:root {
    --bg: #faf8f4;
    --ink: #1b1e24;
    --navy: #16294a;
    --navy-2: #1e3a63;
    --text: #3d424b;
    --muted: #5d6470;
    --on-navy: #d4dbe7;
    --card-border: #e6e2da;
    --header-border: #ebe7df;
    --step-rule: #dcd7cd;
    --tick: #c9cfd9;
    --band: #f3f1ec;
    --footer-rule: #2a4170;
    --display: "Space Grotesk", sans-serif;
    --column: 1120px;
}

html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 72px; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--navy-2); }

h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 600; color: var(--navy); }
p { margin: 0; text-wrap: pretty; }

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(250, 248, 244, 0.92);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--header-border);
}
.site-header__inner {
    max-width: var(--column);
    margin: 0 auto;
    padding: 18px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.wordmark { display: flex; align-items: center; gap: 14px; }
.wordmark, .wordmark:hover { color: var(--navy); }
.wordmark__edg { font-family: var(--display); font-size: 24px; font-weight: 700; letter-spacing: -0.01em; line-height: 1; }
.wordmark__rule { width: 1px; height: 22px; background: var(--tick); }
.wordmark__sub { font-size: 16px; font-weight: 500; letter-spacing: 0.01em; line-height: 1; color: var(--text); }

.site-nav { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; font-size: 15px; }
.site-nav a { color: var(--text); }
.site-nav a:hover { color: var(--navy); }

.site-nav .pill,
.button {
    border-radius: 999px;
    background: var(--navy);
    color: #fff;
    font-weight: 500;
}
.site-nav .pill:hover,
.button:hover { background: var(--navy-2); color: #fff; }
.site-nav .pill { display: flex; align-items: center; padding: 9px 16px; }

/* Hero: text sits in the content column, the animation runs to the window edge */
.hero {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    min-height: 600px;
    overflow: hidden;
    padding-left: max(32px, calc((100% - var(--column)) / 2 + 32px));
}
.hero__text {
    position: relative;
    z-index: 1;
    flex: 0 1 540px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    padding: 88px 32px 88px 0;
}
.eyebrow { font-size: 14px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.hero h1 { font-size: clamp(40px, 5vw, 60px); line-height: 1.04; letter-spacing: -0.03em; text-wrap: balance; }
.hero__lead { font-size: 19px; line-height: 1.6; color: var(--text); max-width: 500px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.button { padding: 14px 22px; font-size: 16px; }
.button-link { padding: 14px 6px; font-size: 16px; font-weight: 500; }

.hero__flow { position: relative; flex: 1 1 520px; min-height: 460px; }
.hero__flow canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.stages { position: absolute; left: 0; right: 0; bottom: 36px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stage { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 0 8px; }
.stage__tick { width: 1px; height: 14px; background: var(--tick); }
.stage__label { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text); }

/* Sections */
.section { max-width: var(--column); margin: 0 auto; display: flex; flex-direction: column; gap: 48px; }
.services { padding: 104px 32px 48px; }
.how { padding: 72px 32px 104px; }

.intro { display: flex; flex-direction: column; gap: 16px; max-width: 640px; }
.intro--wide { max-width: 680px; }
.intro h2 { font-size: clamp(32px, 4vw, 44px); line-height: 1.1; letter-spacing: -0.025em; text-wrap: balance; }
.intro p { font-size: 18px; line-height: 1.6; color: var(--text); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.card { background: #fff; border: 1px solid var(--card-border); border-radius: 16px; padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.card h3 { font-size: 26px; letter-spacing: -0.015em; }
.card p { font-size: 16px; line-height: 1.6; color: var(--text); }
.card ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--ink); }
.card li { display: flex; gap: 10px; }
.card li::before { content: "—"; color: var(--navy-2); }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 40px; border-top: 1px solid var(--step-rule); padding-top: 36px; }
.step { display: flex; flex-direction: column; gap: 12px; }
.step__num { font-family: var(--display); font-size: 15px; font-weight: 500; color: var(--muted); }
.step h3 { font-size: 22px; letter-spacing: -0.01em; }
.step p { font-size: 16px; line-height: 1.6; color: var(--text); }

.also { background: var(--band); }
.also__inner { max-width: var(--column); margin: 0 auto; padding: 72px 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 40px; }
.also h2 { font-size: 28px; line-height: 1.15; letter-spacing: -0.02em; }
.also__item { display: flex; flex-direction: column; gap: 10px; }
.also h3 { font-size: 20px; }
.also p { font-size: 16px; line-height: 1.6; color: var(--text); }

/* Text pages (privacy policy) */
.legal { max-width: 720px; margin: 0 auto; padding: 88px 32px 104px; }
.legal h1 { font-size: clamp(36px, 4.5vw, 48px); line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 40px; }
.legal h2 { font-size: 22px; letter-spacing: -0.01em; margin: 40px 0 12px; }
.legal p { font-size: 17px; line-height: 1.7; color: var(--text); }
.legal p + p { margin-top: 16px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }

/* Contact and footer, on navy */
.contact { background: var(--navy); color: #fff; }
.contact__inner { max-width: var(--column); margin: 0 auto; padding: 104px 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px; align-items: end; }
.contact__pitch { display: flex; flex-direction: column; gap: 18px; }
.contact h2 { font-size: clamp(34px, 4.5vw, 52px); line-height: 1.05; letter-spacing: -0.03em; color: #fff; text-wrap: balance; }
.contact__pitch p { font-size: 18px; line-height: 1.6; color: var(--on-navy); max-width: 480px; }
.contact__call { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.contact__kicker { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-navy); }
.contact__phone { font-family: var(--display); font-weight: 600; font-size: clamp(32px, 4vw, 44px); letter-spacing: -0.02em; color: #fff; }
.contact__phone:hover { color: var(--on-navy); }
.contact__where { font-size: 16px; color: var(--on-navy); }

.site-footer { background: var(--navy); border-top: 1px solid var(--footer-rule); }
.site-footer__inner { max-width: var(--column); margin: 0 auto; padding: 28px 32px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--on-navy); }
.site-footer a { color: var(--on-navy); }
.site-footer a:hover { color: #fff; }
