/* Winged Innovations site
   Brand colours are fixed, taken from the artwork: burgundy PMS 4103, green PMS 349. */
/* Archivo, hosted on this site (SIL Open Font License 1.1, see fonts/OFL.txt).
   One variable file per character set covers every weight from 100 to 900.
   Nothing is loaded from Google or any other outside service. */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/archivo-latin.woff2") format("woff2-variations"), url("fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/archivo-latin-ext.woff2") format("woff2-variations"), url("fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --burgundy: #512533;
  --burgundy-deep: #3a1924;
  /* Lighter burgundy for the page itself. The brand burgundy stays in the logo;
     on screen it reads as near-black, so the UI uses this tint of it. */
  --wine: #7a3148;
  --wine-deep: #5f2538;
  --wine-soft: #f6ecef;
  --green: #006d4a;
  --green-deep: #00563a;
  --green-soft: #e3f1eb;
  --ink: #1d1a1c;
  --ink-2: #4a4548;
  --muted: #736d70;
  --line: #e4e1e2;
  --paper: #ffffff;
  --tint: #f6f4f4;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(29, 26, 28, .05), 0 8px 24px rgba(29, 26, 28, .06);
  --wrap: 1160px;
  --head: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.55 var(--body); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, svg { display: block; max-width: 100%; }
a { color: var(--green); }
h1, h2, h3 { font-family: var(--head); line-height: 1.08; letter-spacing: -.025em; margin: 0 0 .45em; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.15rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }
.icon { width: 20px; height: 20px; flex: none; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 4px; }

.eyebrow { font: 600 .8rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--wine); margin-bottom: 14px; }
.lede { font-size: 1.125rem; line-height: 1.55; color: var(--ink-2); max-width: 40em; }
.muted { color: var(--muted); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--green); color: #fff; font: 600 1rem/1 var(--body); padding: 15px 22px; border-radius: 999px; text-decoration: none; border: 2px solid var(--green); cursor: pointer; transition: background .15s, border-color .15s, transform .15s; }
.btn:hover { background: var(--green-deep); border-color: var(--green-deep); }
.btn:hover .icon { transform: translateX(3px); }
.btn .icon { width: 18px; height: 18px; transition: transform .15s; }
.btn-ghost { background: transparent; color: var(--wine); border-color: rgba(122, 49, 72, .35); }
.btn-ghost:hover { background: var(--wine-soft); border-color: var(--wine); }
.btn-light { background: #fff; color: var(--wine); border-color: #fff; }
.btn-light:hover { background: var(--wine-soft); border-color: var(--wine-soft); }
.btn-small { padding: 10px 18px; font-size: .95rem; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand svg { height: 34px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .98rem; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"]:not(.btn) { color: var(--wine); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--ink); cursor: pointer; }
.nav-toggle .icon { width: 26px; height: 26px; }
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 72px; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 20px; box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 16px; justify-content: center; }
  .brand svg { height: 28px; }
}

/* hero */
.hero { position: relative; overflow: hidden; padding: 96px 0 104px; background: radial-gradient(1200px 500px at 85% -10%, var(--green-soft), transparent 60%), radial-gradient(900px 420px at -5% 110%, var(--wine-soft), transparent 60%), linear-gradient(180deg, #fff, var(--tint)); }
.hero-mark { position: absolute; right: -60px; top: 50%; transform: translateY(-46%); width: min(620px, 55vw); opacity: .09; pointer-events: none; }
.hero-mark svg { width: 100%; height: auto; }
.hero-inner { position: relative; }
.hero h1 { max-width: 15em; }
.hero h1 em { font-style: normal; color: var(--wine); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
@media (max-width: 600px) { .hero { padding: 64px 0 72px; } .hero-mark { width: 90vw; right: -30vw; } }

/* sections */
.section { padding: 84px 0; }
.section-tint { background: var(--tint); }
.section-head { max-width: 44em; margin-bottom: 44px; }
.section-head p:not(.eyebrow) { color: var(--ink-2); font-size: 1.05rem; }
@media (max-width: 600px) { .section { padding: 64px 0; } .section-head { margin-bottom: 32px; } }

/* product cards */
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 760px) { .product-grid { grid-template-columns: 1fr; } }
.product-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: border-color .15s, box-shadow .15s, transform .15s; }
.product-card:hover { border-color: rgba(122, 49, 72, .4); box-shadow: var(--shadow); transform: translateY(-2px); }
.product-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.product-card h3 { font-size: 1.45rem; margin-bottom: 6px; }
.product-card h3 a { color: inherit; text-decoration: none; }
.product-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.product-card p { color: var(--ink-2); }
.product-tagline { font-weight: 600; color: var(--wine) !important; }
.link-arrow { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--green); }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .15s; }
.product-card:hover .link-arrow .icon { transform: translateX(3px); }
.product-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--wine-soft); color: var(--wine); flex: none; }
.product-icon .icon { width: 24px; height: 24px; }
.product-icon-lg { width: 64px; height: 64px; border-radius: 16px; }
.product-icon-lg .icon { width: 32px; height: 32px; }

.status { display: inline-block; font: 600 .75rem/1 var(--body); letter-spacing: .06em; text-transform: uppercase; padding: 7px 11px; border-radius: 999px; background: var(--tint); color: var(--ink-2); }
.status-available { background: var(--green-soft); color: var(--green-deep); }
.status-pilot { background: #f4e9ec; color: var(--burgundy); }
.status-dev { background: #f1efe9; color: #6b5b2e; }

/* principles */
.principles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 980px) { .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .principles { grid-template-columns: 1fr; } }
.principle-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--wine); color: #fff; margin-bottom: 18px; }
.principle p { color: var(--ink-2); font-size: .98rem; }

/* split + checklist */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.split p { color: var(--ink-2); }
.split .btn { margin-top: 10px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; background: var(--tint); border-radius: 12px; padding: 18px 20px; color: var(--ink); }
.checklist .icon { color: var(--green); margin-top: 3px; }
.checklist-tight li { background: none; padding: 0; font-size: .97rem; color: var(--ink-2); }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--wine), var(--wine-deep)); color: #fff; padding: 72px 0; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 109, 74, .55), transparent 70%); }
.cta-inner { position: relative; z-index: 1; max-width: var(--wrap); }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .82); font-size: 1.075rem; max-width: 36em; margin-bottom: 28px; }

/* product page */
.product-hero { padding: 64px 0 90px; background: linear-gradient(180deg, var(--tint), #fff); border-bottom: 1px solid var(--line); }
.product-hero-inner { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .product-hero-inner { grid-template-columns: 1fr; gap: 36px; } }
.crumb { display: inline-block; margin-bottom: 28px; font-weight: 500; text-decoration: none; color: var(--muted); }
.crumb::before { content: "← "; }
.crumb:hover { color: var(--green); }
.product-title { display: flex; gap: 20px; align-items: center; margin-bottom: 18px; }
.product-title h1 { margin: 10px 0 0; font-size: clamp(1.95rem, 3.8vw, 2.9rem); }
.product-hero .lede { font-weight: 600; color: var(--wine); }
.product-hero p { color: var(--ink-2); max-width: 38em; }
.buy-slot { margin-top: 30px; min-height: 52px; display: flex; flex-wrap: wrap; gap: 12px; }
.product-aside { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.product-aside h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; color: var(--wine); margin-bottom: 10px; }
.product-aside h2:not(:first-child) { margin-top: 26px; }
.product-aside p { color: var(--ink-2); }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }
.feature { border-top: 3px solid var(--wine); padding-top: 20px; }
.feature p { color: var(--ink-2); font-size: .98rem; }
.small-head { font-size: 1.4rem; margin-bottom: 24px; }
.mini-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 860px) { .mini-grid { grid-template-columns: 1fr; } }
.mini-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.mini-card:hover { border-color: rgba(0, 109, 74, .35); box-shadow: var(--shadow); }
.mini-card strong { display: block; font-family: var(--head); font-size: 1.05rem; margin-bottom: 4px; }
.mini-card span span { color: var(--ink-2); font-size: .93rem; line-height: 1.45; }

/* contact */
.contact { background: linear-gradient(180deg, var(--tint), #fff 60%); }
.split-contact { align-items: start; }
.contact-form { display: grid; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.contact-form label { display: grid; gap: 7px; font-weight: 600; font-size: .95rem; color: var(--ink); }
.optional { font-weight: 400; color: var(--muted); }
.contact-form input, .contact-form select, .contact-form textarea { font: 400 1rem/1.4 var(--body); color: var(--ink); padding: 13px 14px; border: 1px solid #cfcacc; border-radius: 10px; background: #fff; width: 100%; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(0, 109, 74, .18); }
.contact-form [aria-invalid="true"] { border-color: #b3261e; }
.contact-form .btn { justify-self: start; }
.form-status { margin: 0; min-height: 1.5em; font-size: .95rem; color: var(--ink-2); }
.form-status.error { color: #b3261e; }
.form-status.ok { color: var(--green-deep); }
@media (max-width: 600px) { .contact-form { padding: 22px; } }

/* footer */
.site-footer { background: var(--ink); border-top: 6px solid var(--wine); color: rgba(255, 255, 255, .72); padding: 72px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; } }
/* The logo box and the tagline share one width, so the box spans the text. */
.footer-brand { max-width: 278px; }
.footer-brand .brand { display: flex; align-items: center; justify-content: center; background: #fff; padding: 18px 22px; border-radius: 14px; margin-bottom: 20px; }
.footer-brand .brand svg { width: 100%; height: auto; }
.footer-col { display: grid; gap: 10px; align-content: start; }
.footer-col h2 { font: 600 .8rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 8px; }
.footer-col a { color: rgba(255, 255, 255, .72); text-decoration: none; }
.footer-col a:hover { color: #fff; }
.footer-legal { margin-top: 56px; padding-top: 22px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .88rem; }
.footer-legal p { margin: 0; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* product page: "Also included" list */
.more-features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 40px; }
@media (max-width: 760px) { .more-features { grid-template-columns: 1fr; } }
.more-features li { display: flex; gap: 14px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--line); }
.more-features .icon { color: var(--green); margin-top: 3px; }
.more-features h3 { font-size: 1.05rem; margin-bottom: 4px; }
.more-features p { margin: 0; color: var(--ink-2); font-size: .97rem; }

/* Planner import */
.planner { background: var(--green-soft); }
.planner h2 { color: var(--green-deep); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; background: #fff; border-radius: 12px; padding: 20px 22px; box-shadow: var(--shadow); }
.steps li > span { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: #fff; font: 700 1rem var(--head); }
.steps h3 { font-size: 1.05rem; margin-bottom: 4px; }
.steps p { margin: 0; color: var(--ink-2); font-size: .97rem; }
.planner-strip { margin-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 28px; border-radius: var(--radius); background: var(--green-soft); color: var(--ink); text-decoration: none; border: 1px solid rgba(0, 109, 74, .2); transition: border-color .15s, box-shadow .15s; }
.planner-strip:hover { border-color: var(--green); box-shadow: var(--shadow); }
.planner-strip strong { color: var(--green-deep); }
.planner-strip .link-arrow { margin-top: 0; white-space: nowrap; }
.planner-strip:hover .link-arrow .icon { transform: translateX(3px); }
@media (max-width: 640px) { .planner-strip { flex-direction: column; align-items: flex-start; padding: 20px; } }
[id] { scroll-margin-top: 84px; }

/* Planner section keeps green for contrast; its eyebrow follows */
.planner .eyebrow { color: var(--green-deep); }

/* Legal pages and footer links */
.legal { background: linear-gradient(180deg, var(--tint), #fff 280px); }
.prose { max-width: 720px; }
.prose h1 { margin-bottom: .2em; }
.prose h2 { font-size: 1.35rem; margin-top: 2em; }
.prose h3 { font-size: 1.02rem; margin-top: 1.4em; margin-bottom: .35em; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: .4em; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.legal-links { display: flex; gap: 20px; }
.legal-links a { color: rgba(255, 255, 255, .72); text-decoration: none; }
.legal-links a:hover { color: #fff; text-decoration: underline; }

/* Planner strip in the hero, under the buttons */
.planner-strip-hero { margin-top: 32px; max-width: 760px; background: rgba(227, 241, 235, .85); }

/* Contact form spam trap: off screen, never shown to people */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-form { position: relative; }
.contact-form .btn:disabled { opacity: .6; cursor: progress; }

/* Page not found */
.notfound { min-height: 60vh; background: radial-gradient(900px 420px at 90% 0%, var(--green-soft), transparent 60%), linear-gradient(180deg, var(--tint), #fff); }
.notfound-links { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.notfound-links a { font-weight: 600; text-decoration: none; }
.notfound-links a:hover { text-decoration: underline; }

/* Product screenshots */
.screens { padding-top: 64px; }
.screen-grid { display: grid; grid-template-columns: 1fr; gap: 44px; }
.screen { margin: 0; }
.screen a { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #eaeef2; transition: box-shadow .15s, transform .15s; }
.screen a:hover { box-shadow: 0 2px 4px rgba(29, 26, 28, .06), 0 14px 34px rgba(29, 26, 28, .12); transform: translateY(-2px); }
.screen img { width: 100%; height: auto; }
.screen figcaption { margin-top: 12px; color: var(--ink-2); font-size: .95rem; }
