@font-face { font-family: "Inter"; src: url("/fonts/InterVariable.woff2") format("woff2"); font-style: normal; font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/fonts/manrope-latin-600.woff2") format("woff2"); font-style: normal; font-weight: 600; font-display: swap; }

/* The platform's own tokens, by the names the design manual gives them. Nothing here invents a
   colour: a page that sells the product should be the same material as the product. */
:root {
    color-scheme: light;
    --brand-dark: #163b4d;
    --brand-primary: #176b6b;
    --brand-sage: #8fb8a8;
    --surface-warm: #f7f6f2;
    --surface-cool: #eaf1f2;
    --surface-sage: #ddebe5;
    --surface-card: #fff;
    --text-default: #263943;
    --text-muted: #52656e;
    --border-subtle: #cbd8d8;
    --accent-coral: #e58b78;
    --focus-ring: #d5a84b;
    --focus-casing: #163b4d;

    /* One column for the whole page, and one gutter that changes with the viewport. */
    --shell: 1180px;
    --gutter: 32px;
    --section: 96px;

    /* Shadows stay subtle: a card is lifted off the page, not floating above it. */
    --lift: 0 1px 2px rgba(22, 59, 77, .04), 0 12px 32px rgba(22, 59, 77, .07);
    --lift-strong: 0 2px 4px rgba(22, 59, 77, .06), 0 24px 56px rgba(22, 59, 77, .12);

    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; color: var(--text-default); background: var(--surface-warm); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: inherit; }

/* One focus indicator on every surface: ochre cased in dark blue, as in the application. */
:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 2px; box-shadow: 0 0 0 6px var(--focus-casing); border-radius: 4px; }

[x-html-template] { display: contents; }
.y-binding { opacity: .7; }
.y-error { outline: 2px solid #f87171; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; border: 0 !important; }

/* Headings are Manrope, which the manual reserves for the logo and for marketing. Everything a
   person reads at length stays Inter. */
h1, h2, h3 { font-family: "Manrope", Inter, sans-serif; font-weight: 600; color: var(--brand-dark); letter-spacing: -.03em; text-wrap: balance; }
h1 { margin: 0; font-size: clamp(2.5rem, 4.4vw, 3.5rem); line-height: 1.06; }
h2 { margin: 0; font-size: clamp(1.9rem, 2.8vw, 2.5rem); line-height: 1.12; }
h3 { margin: 0; font-size: 1.125rem; line-height: 1.35; letter-spacing: -.02em; }
p { text-wrap: pretty; }

.eyebrow { margin: 0 0 16px; color: var(--brand-primary); font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.lead { margin: 24px 0 0; color: var(--text-muted); font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); line-height: 1.65; }

.shell { width: min(var(--shell), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section-heading { max-width: 720px; margin-bottom: 48px; }
.section-heading > p { margin: 16px 0 0; color: var(--text-muted); font-size: 1.0625rem; }

/* ---------------------------------------------------------------- header ---- */

.site-header {
    position: sticky; top: 0; z-index: 10;
    background: rgba(247, 246, 242, .82);
    backdrop-filter: saturate(150%) blur(12px);
}
.site-header::after { content: ""; display: block; height: 1px; background: linear-gradient(90deg, transparent, var(--border-subtle), transparent); }
.site-header > .shell { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: var(--brand-dark); text-decoration: none; font-family: "Manrope", sans-serif; font-size: 1.5rem; font-weight: 600; letter-spacing: -.015em; line-height: 1; }
.brand img { width: 32px; height: 32px; }
.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav a {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 8px;
    color: var(--text-muted); font-size: .9375rem; font-weight: 550; text-decoration: none;
    transition: color .15s ease, background-color .15s ease;
}
.site-nav a:hover { color: var(--brand-primary); background: var(--surface-cool); }
/* The other language, as a chip at the end of the row: it is a choice about the whole site rather
   than another place in this one. */
.nav-language { margin-left: 8px; border: 1px solid var(--border-subtle); color: var(--brand-dark); background: var(--surface-card); }
.nav-language:hover { border-color: var(--brand-primary); color: var(--brand-primary); background: var(--surface-card); }

/* ------------------------------------------------------------------ hero ---- */

.hero { position: relative; overflow: clip; padding-block: clamp(56px, 7vw, 104px) var(--section); }
/* A calm wash rather than a spotlight: the sage sits behind the mockup and fades out before it
   reaches the text, so nothing has to fight it for contrast. */
.hero::before {
    content: ""; position: absolute; z-index: 0; inset: -20% -10% auto auto; width: min(860px, 80vw); aspect-ratio: 1;
    background: radial-gradient(circle at 60% 40%, rgba(143, 184, 168, .34), rgba(143, 184, 168, 0) 62%);
    pointer-events: none;
}
.hero > .shell { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.hero-copy h1 + p { margin-top: 24px; font-size: clamp(1.125rem, 1.5vw, 1.3125rem); color: var(--brand-dark); font-weight: 600; line-height: 1.45; }
.hero-copy p { color: var(--text-muted); }
.hero-copy .actions { margin-top: 32px; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 0 24px; border-radius: 8px;
    font-size: 1rem; font-weight: 700; text-decoration: none;
    transition: background-color .15s ease, border-color .15s ease, transform .12s ease, box-shadow .15s ease;
}
.button-primary { color: #fff; background: var(--brand-primary); box-shadow: 0 6px 18px rgba(23, 107, 107, .22); }
.button-primary:hover { background: #12595a; box-shadow: 0 10px 26px rgba(23, 107, 107, .26); }
.button-secondary { border: 1px solid var(--border-subtle); color: var(--brand-dark); background: var(--surface-card); }
.button-secondary:hover { border-color: var(--brand-primary); color: var(--brand-primary); }
.button:active { transform: translateY(1px); }

.hero-media { position: relative; }
.hero-media img { display: block; width: 100%; border-radius: 16px; border: 1px solid var(--border-subtle); box-shadow: var(--lift-strong); }

/* -------------------------------------------------------------- features ---- */

.features { background: var(--surface-cool); }
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding: 0; margin: 0; list-style: none; }
.feature-grid li {
    display: flex; flex-direction: column; gap: 16px;
    padding: 32px 24px; border: 1px solid var(--border-subtle); border-radius: 12px;
    background: var(--surface-card); box-shadow: var(--lift);
}
.feature-icon { display: grid; width: 48px; height: 48px; border-radius: 12px; background: var(--surface-sage); place-items: center; color: var(--brand-primary); }
.feature-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.feature-grid h3 { margin: 0; }
.feature-grid p { margin: 0; color: var(--text-muted); font-size: .9375rem; line-height: 1.6; }

/* ----------------------------------------------------------------- video ---- */

.video-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--border-subtle); border-radius: 16px; background: var(--brand-dark); box-shadow: var(--lift-strong); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ------------------------------------------------------------------ team ---- */

.team { background: var(--surface-cool); }
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding: 0; margin: 0; list-style: none; }
.team-grid li { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; align-items: start; padding: 24px; border: 1px solid var(--border-subtle); border-radius: 12px; background: var(--surface-card); box-shadow: var(--lift); }
.team-grid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 8px; }
.team-grid h3 { margin: 0 0 12px; }
.team-grid p { margin: 0; color: var(--text-muted); font-size: .9375rem; line-height: 1.65; }

/* --------------------------------------------------------------- contact ---- */

.contact { padding-bottom: var(--section); }
.contact-panel {
    display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 64px);
    padding: clamp(32px, 5vw, 64px); border-top: 3px solid var(--accent-coral); border-radius: 16px;
    background: var(--surface-sage);
}
/* Inside the panel the heading is a step down from the section it sits in, so the page still
   reads as one hierarchy rather than two headings of equal weight next to each other. */
.contact-panel h2 { margin: 0 0 16px; font-size: clamp(1.375rem, 1.9vw, 1.75rem); line-height: 1.2; }
.contact-panel p { margin: 0 0 16px; color: #23555c; }
.contact-panel p:last-child { margin-bottom: 0; }
.contact-card { align-self: start; padding: 24px; border-radius: 12px; background: rgba(255, 255, 255, .78); }
.contact-card h3 { margin: 0 0 12px; }
.contact-card p { margin: 0 0 8px; color: var(--text-muted); font-size: .9375rem; }
.contact-card a { display: inline-flex; align-items: center; min-height: 44px; color: var(--brand-primary); font-weight: 700; text-decoration: none; }
.contact-card a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------------------------------------------------- footer ---- */

.site-footer { border-top: 1px solid var(--border-subtle); }
.site-footer > .shell { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 32px; color: var(--text-muted); font-size: .875rem; }
.site-footer p { margin: 0; }

/* ------------------------------------------------------------ responsive ---- */

@media (max-width: 1080px) {
    .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .team-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
    :root { --gutter: 20px; --section: 72px; }
    .hero > .shell { grid-template-columns: minmax(0, 1fr); }
    .hero-media { order: -1; max-width: 640px; }
    .contact-panel { grid-template-columns: minmax(0, 1fr); }
}
/* On a narrow screen the links move to their own line and scroll sideways rather than being
   hidden: a phone is where somebody is most likely to want to jump straight to the contact
   details, and a menu that is not there cannot be used. */
@media (max-width: 860px) {
    .site-header > .shell { flex-wrap: wrap; gap: 8px; padding-block: 8px; }
    .site-nav { width: 100%; gap: 4px; overflow-x: auto; scrollbar-width: none; }
    .site-nav::-webkit-scrollbar { display: none; }
    .site-nav a { flex: 0 0 auto; padding-inline: 10px; font-size: .875rem; }
    .nav-language { margin-left: 4px; }
    html { scroll-padding-top: 128px; }
}

@media (max-width: 640px) {
    :root { --gutter: 16px; --section: 56px; }
    .feature-grid { grid-template-columns: minmax(0, 1fr); }
    .team-grid li { grid-template-columns: minmax(0, 1fr); }
    .team-grid img { max-width: 200px; }
    .site-footer > .shell { flex-direction: column; align-items: flex-start; }
}

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