:root {
  color-scheme: light;
  --navy: #091a2b;
  --navy-deep: #071522;
  --ink: #142e3e;
  --muted: #415968;
  --teal: #66d8de;
  --teal-ink: #00636b;
  --paper: #f8f8f3;
  --border: #ccdbdc;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Avenir Next', Avenir, system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .24em; }
:focus-visible { outline: 3px solid #218c9a; outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; line-height: 1.09; text-wrap: balance; }
h1 { font-size: clamp(2.85rem, 6.1vw, 5.8rem); }
h2 { font-size: clamp(2.15rem, 4vw, 3.7rem); }
h3 { line-height: 1.3; }
p { text-wrap: pretty; }
.wrap, .header-inner { width: min(1240px, calc(100% - 112px)); margin-inline: auto; }
.skip-link { position: absolute; inset: 12px auto auto 12px; padding: .6rem 1rem; background: white; z-index: 4; transform: translateY(calc(-100% - 14px)); }
.skip-link:focus { transform: none; }
.site-header { background: var(--navy-deep); color: #f2f6f8; border-bottom: 1px solid #26394a; }
.header-inner { display: flex; align-items: center; justify-content: space-between; column-gap: 2rem; min-height: 91px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; padding: .3rem 0; }
.brand img { width: 67px; }
.site-header nav, .site-footer nav { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem clamp(1rem, 3vw, 2.6rem); }
.site-header nav a, .site-footer nav a { padding-block: .4rem; text-decoration: none; font-size: .92rem; font-weight: 600; }
.site-header nav a:hover, .site-footer nav a:hover { text-decoration: underline; }
.site-header nav [aria-current] { color: var(--teal); text-decoration: underline; text-underline-offset: .55em; text-decoration-thickness: 1px; }
.header-link { text-decoration: none; border: 1px solid #537482; color: #e7fbff; padding: .63rem .95rem; border-radius: 5px; white-space: nowrap; font-size: .87rem; font-weight: 650; }
.header-link:hover { background: #1b3445; }
.home-hero, .invoice-hero { background: var(--navy); color: #f6f7f3; }
.home-hero { position: relative; isolation: isolate; overflow: hidden; }
.hero-photo { position: absolute; inset: 0 0 0 28%; z-index: -1; background: linear-gradient(90deg, var(--navy), #091a2bf2 13%, #091a2ba6 30%, #091a2b08 68%, #071522a6 100%), linear-gradient(0deg, #071522b8, #07152200 65%), url('cheval-ecurie.webp') center 44% / cover; }
.home-hero-content { min-height: min(690px, 76vw); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-block: clamp(5.4rem, 9vw, 8.4rem) clamp(3rem, 7vw, 6.4rem); }
.eyebrow, .section-label { display: flex; align-items: center; gap: .7rem; margin-bottom: 1.05rem; color: var(--teal-ink); text-transform: uppercase; letter-spacing: .14em; font-size: .83rem; font-weight: 750; }
.eyebrow { color: var(--teal); }
.eyebrow::before, .section-label::before { content: ''; width: 24px; height: 1px; background: currentColor; flex: 0 0 auto; }
.home-hero h1 em { color: var(--teal); font-weight: 400; }
.home-hero-content > p:not(.eyebrow), .hero-intro { margin-top: 1.35rem; max-width: 33rem; font-size: clamp(1.05rem, 1.75vw, 1.28rem); color: #d7e5ed; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.9rem; }
.button { display: inline-flex; justify-content: center; align-items: center; width: fit-content; min-height: 47px; border: 1px solid transparent; border-radius: 5px; padding: .72rem 1.1rem; text-decoration: none; text-align: center; font-weight: 700; line-height: 1.3; }
.button.primary { background: var(--teal); color: #09262d; }
.button.primary:hover { background: #99eaf0; }
.button.secondary { border-color: #8ba7b5; color: #f8fbfd; background: #10263865; }
.button.secondary:hover { background: #284b61; }
.button.outline { border-color: #47747a; color: #174b52; }
.button.outline:hover { background: #d3e8e7; }
.button.dark { color: #f4ffff; background: #112b3c; }
.button.dark:hover { background: #20485d; }
.hero-proof { margin-top: 2.5rem; border-top: 1px solid #91aab45c; padding-top: 1rem; color: #d1e0e8; font-size: .93rem; }
.hero-proof strong { color: white; }
.feature-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.24fr); align-items: center; gap: clamp(2rem, 6vw, 5.8rem); padding-block: clamp(3.8rem, 7.3vw, 7rem); }
.feature-copy > p:not(.section-label), .billing-callout p:not(.section-label) { margin-top: 1.25rem; font-size: 1.08rem; color: var(--muted); }
.feature-list { display: grid; gap: .9rem; margin: 1.6rem 0 0; }
.feature-list div { border-top: 1px solid var(--border); padding-top: .85rem; }
.feature-list dt { font-weight: 750; line-height: 1.35; }
.feature-list dd { margin: .3rem 0 0; color: var(--muted); }
.screen-stage { position: relative; overflow: hidden; padding: 8%; border: 1px solid #cddfe0; border-radius: 12px; background: radial-gradient(ellipse at 75% 25%, #f1fbf8, #e3efee 68%, #d4e5e6); }
.planning-figure .screen-stage { padding: 15% 7%; min-height: clamp(236px, 33vw, 441px); display: flex; align-items: center; }
.desktop-screen, .mobile-screen, .owner-screen { border: 1px solid #748f9c; border-radius: 7px; box-shadow: 0 15px 35px #15374b2c; }
.desktop-screen { width: 86%; }
.mobile-screen { position: absolute; width: 26%; bottom: 8%; right: 8%; border: #163549 4px solid; border-radius: 12px; }
.software-figure figcaption { padding: .62rem .15rem 0; font-size: .88rem; color: var(--muted); }
.owner-section { background: #edf3ef; border-block: 1px solid #d9e5e3; }
.owner-section .feature-section { grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr); }
.owner-figure .screen-stage { background: radial-gradient(ellipse at 75% 25%, #e4f4ef, #cfe7e3 85%); }
.feature-copy .button { margin-top: 1.45rem; }
.billing-callout { margin-block: clamp(3.8rem, 7vw, 6rem); background: #def0ef; border: 1px solid #bfdcdb; border-radius: 12px; padding: clamp(1.5rem, 4.3vw, 4.25rem); display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.billing-callout h2 { font-size: clamp(2rem, 3.4vw, 3rem); }
.billing-callout p:not(.section-label) { max-width: 51ch; margin-top: .8rem; }
.billing-callout .button { flex: 0 0 auto; }
.site-footer { background: var(--navy-deep); color: #deecf0; padding-block: 1.9rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.4rem; }
.site-footer nav { gap: .1rem 1.5rem; }
.photo-credit { font-size: .79rem; color: #b0c6d0; }

.invoice-hero { background: radial-gradient(ellipse at 89% 20%, #163b4e, var(--navy) 63%); }
.invoice-hero-inner { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(290px, .8fr); align-items: center; gap: clamp(2rem, 6vw, 5.2rem); padding-block: clamp(3.6rem, 7vw, 7.2rem); }
.invoice-hero h1 { font-size: clamp(2.6rem, 4.8vw, 4.55rem); }
.trust-line { margin-top: 1.4rem; color: #c4eced; display: flex; flex-wrap: wrap; gap: .2rem 1.1rem; font-size: .9rem; }
.flow-card { border-radius: 11px; background: #153449; border: 1px solid #456577; padding: clamp(1.4rem, 3vw, 2.2rem); }
.flow-kicker { font-size: .84rem; color: var(--teal); font-weight: 700; }
.flow-card h2 { font-size: clamp(1.7rem, 2.8vw, 2.45rem); margin-top: .65rem; }
.flow { margin-block: 1.35rem; }
.flow-step { display: flex; gap: .85rem; align-items: center; }
.flow-step strong, .flow-step small { display: block; }
.flow-step small { color: #d1e4ed; font-size: .88rem; line-height: 1.4; }
.flow-icon { display: grid; flex: 0 0 auto; place-items: center; height: 39px; width: 39px; border-radius: 6px; background: #254d60; color: #e2f4f4; font-size: 1.22rem; }
.flow-icon.accent { background: var(--teal); color: #102b3a; }
.flow-line { width: 1px; height: 16px; background: #5e8893; margin: 3px 0 3px 19px; }
.flow-note { border-top: 1px solid #517283; padding-top: 1rem; color: #d3e4ea; font-size: .91rem; }
.proof-strip { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; border-bottom: 1px solid var(--border); padding: 1.35rem 0; color: #22505a; font-weight: 650; font-size: .95rem; }
.proof-strip div { padding: .35rem .85rem; }
.proof-strip div + div { border-left: 1px solid var(--border); }
.editorial { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(1.5rem, 4vw, 3.6rem); padding-block: clamp(3.4rem, 6.8vw, 6rem); }
.chapter h2 { font-size: clamp(1.65rem, 2.85vw, 2.6rem); }
.chapter p:not(.section-label), .chapter ul { margin-top: .95rem; color: var(--muted); }
.text-link { display: inline-block; color: var(--teal-ink); font-weight: 700; margin-top: .75rem; }
.quote-card { display: flex; align-items: baseline; gap: .6rem; margin-top: 1rem; background: #e3f0ee; border-left: 3px solid #4b9f9d; padding: .85rem; }
.quote-card span { color: #287075; }
.chapter .quote-card p { margin-top: 0; }
.check-list { padding: 0; list-style: none; }
.check-list li { display: flex; gap: .45rem; }
.check-list span { color: var(--teal-ink); }
.steps-section { border-top: 1px solid var(--border); padding-block: clamp(3.2rem, 6vw, 5.5rem); }
.section-heading p:not(.section-label) { margin-top: .75rem; color: var(--muted); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.6rem; }
.steps-grid article { padding: 1.25rem; background: #eaf2ef; border: 1px solid #cfdfdd; border-radius: 8px; }
.steps-grid article span { display: grid; place-items: center; background: #d0e8e5; color: #14575d; width: 2rem; height: 2rem; border-radius: 50%; font-weight: 700; margin-bottom: .75rem; }
.steps-grid p { color: var(--muted); margin-top: .5rem; }
.cta-section { display: flex; justify-content: space-between; align-items: center; gap: 1rem 2rem; margin-bottom: clamp(3.6rem, 7vw, 6.2rem); padding: clamp(1.5rem, 4.3vw, 4rem); background: #153648; color: #f8fbf8; border-radius: 10px; }
.cta-section .section-label { color: var(--teal); }
.cta-section p:not(.section-label) { margin-top: .8rem; max-width: 61ch; color: #d6e6ea; }
.light-button { background: var(--teal); color: #102a38; flex-shrink: 0; }
.light-button:hover { background: #92e8ed; }

@media (max-width: 1020px) {
  .wrap, .header-inner { width: calc(100% - 72px); }
  .footer-inner { flex-wrap: wrap; }
  .hero-photo { left: 23%; }
}
@media (max-width: 800px) {
  .wrap, .header-inner { width: calc(100% - 40px); }
  .header-inner { min-height: auto; padding-block: .65rem; gap: .35rem .75rem; display: grid; grid-template-columns: 1fr auto; }
  .site-header nav { grid-row: 2; grid-column: 1 / -1; justify-content: space-between; gap: .22rem .75rem; }
  .brand img { width: 54px; }
  .header-link { grid-column: 2; grid-row: 1; }
  .billing-callout, .cta-section { align-items: flex-start; flex-direction: column; }
  .editorial { grid-template-columns: 1fr; }
  .chapter + .chapter { padding-top: 1.7rem; border-top: 1px solid var(--border); }
}
@media (max-width: 650px) {
  .hero-photo { inset: 0; background: linear-gradient(0deg, var(--navy) 7%, #091a2bf0 36%, #091a2b51 70%, #091a2b16), url('cheval-ecurie.webp') 58% top / auto 78% no-repeat; }
  .home-hero-content { min-height: 0; padding-top: clamp(10rem, 45vw, 15rem); padding-bottom: 2.7rem; }
  .home-hero h1 br { display: none; }
  .hero-proof { margin-top: 1.7rem; }
  .feature-section, .owner-section .feature-section, .invoice-hero-inner { grid-template-columns: minmax(0,1fr); }
  .owner-figure { grid-row: 2; }
  .proof-strip { grid-template-columns: 1fr; text-align: left; }
  .proof-strip div + div { border-left: 0; }
  .steps-grid { grid-template-columns: 1fr; }
}
@media (max-width: 365px) {
  .wrap, .header-inner { width: calc(100% - 32px); }
  .site-header nav a { font-size: .85rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}
