:root {
    color-scheme: light;
    --ink: #20372e;
    --ink-soft: #52685e;
    --green: #287453;
    --green-dark: #1d5d42;
    --green-pale: #eaf1eb;
    --paper: #f7f9f6;
    --white: #fff;
    --rule: #d9e1da;
    --rose: #c8819e;
    --gold: #b5a55f;
    --blue: #8daed0;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: var(--ink);
    background: var(--paper);
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }

body { margin: 0; min-width: 320px; background: var(--paper); }

::selection { color: var(--white); background: var(--green); }

:focus-visible { outline: 3px solid #ab7f21; outline-offset: 4px; }

a { color: inherit; text-underline-offset: .2em; }

.skip-link {
    position: fixed;
    z-index: 10;
    top: .75rem;
    left: .75rem;
    padding: .75rem 1rem;
    color: var(--white);
    background: var(--green-dark);
    transform: translateY(-180%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    min-height: 82px;
    padding: .8rem max(24px, calc((100% - 1120px) / 2));
    border-bottom: 1px solid var(--rule);
    background: rgba(255, 255, 255, .72);
}

.brand { display: inline-flex; flex: 0 0 auto; align-items: center; }
.brand img { display: block; width: 130px; height: auto; }

.header-actions { display: flex; flex: 1; align-items: center; gap: clamp(1rem, 2.5vw, 2.3rem); }
.nav-link, .site-footer nav a { font-size: .9rem; text-decoration: none; }
.nav-link:hover, .site-footer nav a:hover { text-decoration: underline; }

.language-control { display: flex; align-items: center; gap: .5rem; margin-left: auto; color: var(--green-dark); }
.language-control > .mdi { width: 20px; height: 20px; flex: 0 0 auto; color: var(--green); }
.language-label { color: var(--green-dark); font-size: 1rem; }
.language-picker { position: relative; }
.language-picker[open] { z-index: 20; }
.language-picker-trigger {
    display: flex;
    align-items: center;
    gap: .5rem;
    min-height: 36px;
    padding: 6px 10px;
    border: 1px solid var(--rule);
    border-radius: 6px;
    color: var(--green-dark);
    background: var(--green-pale);
    font-size: .875rem;
    font-weight: 500;
    line-height: 1.25;
    cursor: pointer;
    list-style: none;
}
.language-picker-trigger::-webkit-details-marker { display: none; }
.language-picker-trigger:focus-visible { outline: 3px solid #ab7f21; outline-offset: 3px; }
.language-picker-trigger:hover { border-color: var(--green); background: #e2ede5; }
.language-current-code { display: none; }
.language-chevron { display: block; width: 1rem; height: 1rem; flex: 0 0 auto; background-color: currentColor; -webkit-mask: url('./lib/mdi-svg-7.4.47/svg/chevron-down.svg') center / contain no-repeat; mask: url('./lib/mdi-svg-7.4.47/svg/chevron-down.svg') center / contain no-repeat; transition: transform 160ms ease; }
.language-picker[open] .language-chevron { transform: rotate(180deg); }
.language-options {
    position: absolute;
    top: calc(100% + .3rem);
    right: 0;
    z-index: 25;
    min-width: 148px;
    padding: .25rem;
    border: 1px solid var(--rule);
    border-radius: 6px;
    background: var(--white);
    box-shadow: 0 8px 24px rgba(32, 55, 46, .14);
}
.language-options label { display: flex; align-items: center; gap: .55rem; min-height: 44px; padding: .4rem .5rem; border-radius: 3px; cursor: pointer; }
.language-options label:hover, .language-options label:focus-within { background: var(--green-pale); }
.language-options input { margin: 0; accent-color: var(--green); }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .85rem;
    min-height: 54px;
    padding: 0 1.35rem;
    border: 1px solid var(--green);
    border-radius: 4px;
    color: var(--white);
    background: var(--green);
    font-size: .95rem;
    font-weight: 650;
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover { border-color: var(--green-dark); background: var(--green-dark); transform: translateY(-1px); }
.button-small { min-height: 42px; padding: 0 1rem; font-size: .86rem; }
.text-link { display: inline-flex; align-items: center; gap: .55rem; color: var(--green-dark); font-size: .94rem; font-weight: 650; text-decoration-thickness: 1px; text-underline-offset: .25em; }
.text-link:hover { color: var(--green); }
.external-link-icon { display: inline-block; width: 1em; height: 1em; flex-shrink: 0; vertical-align: -.125em; background-color: currentColor; -webkit-mask: url('./lib/mdi-svg-7.4.47/svg/open-in-new.svg') center / contain no-repeat; mask: url('./lib/mdi-svg-7.4.47/svg/open-in-new.svg') center / contain no-repeat; }

.hero {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(470px, 1.1fr);
    align-items: center;
    gap: clamp(3rem, 7vw, 8rem);
    max-width: 1280px;
    min-height: 690px;
    margin: 0 auto;
    padding: 5.5rem clamp(1.25rem, 5vw, 5.5rem) 6.5rem;
}

.hero-copy { max-width: 590px; }

h1, h2, h3, p, figure { margin-top: 0; }

.hero h1 {
    max-width: 12ch;
    margin-bottom: 1.45rem;
    font-size: clamp(3.5rem, 6.2vw, 6rem);
    font-weight: 600;
    letter-spacing: -.04em;
    line-height: .98;
    text-wrap: balance;
}

.hero-description { max-width: 42ch; margin-bottom: 2rem; color: var(--ink-soft); font-size: 1.14rem; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem; }
.hero-footnote { max-width: 52ch; margin: 1rem 0 0; color: var(--ink-soft); font-size: .9rem; line-height: 1.55; }

.scheduler-proof { width: 100%; max-width: 560px; min-width: 0; justify-self: center; margin: 0; overflow: hidden; border-radius: 6px; background: var(--white); box-shadow: 0 16px 40px rgba(32, 55, 46, .09); }
.scheduler-proof-preview { display: flex; justify-content: center; padding: 1rem; background: var(--green-pale); }
.scheduler-proof img { display: block; width: 100%; height: auto; border-radius: 4px; }
.scheduler-proof figcaption { display: flex; flex-direction: column; gap: .65rem; padding: 1rem 1.25rem; color: var(--ink-soft); font-size: .8rem; line-height: 1.5; }
.scheduler-proof figcaption a { align-self: start; color: var(--green-dark); font-weight: 600; }

.fact-band {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 2rem max(24px, calc((100% - 1120px) / 2));
    background: var(--green-pale);
}

.fact-band p { display: grid; grid-template-columns: 22px minmax(0, 1fr); grid-template-rows: auto auto; align-items: start; column-gap: .75rem; row-gap: .2rem; margin: 0; padding: .5rem clamp(.75rem, 2.4vw, 2.5rem); border-right: 1px solid #c7d8cb; }
.fact-band p:first-child { padding-left: 0; }
.fact-band p:last-child { border: 0; }
.fact-icon { display: block; grid-row: 1 / span 2; width: 20px; height: 20px; margin-top: .05rem; background-color: var(--green); -webkit-mask: var(--fact-icon) center / contain no-repeat; mask: var(--fact-icon) center / contain no-repeat; }
.fact-icon-browser { --fact-icon: url('./icons/fact-browser.svg'); }
.fact-icon-rules { --fact-icon: url('./icons/workflow-plan.svg'); }
.fact-icon-share { --fact-icon: url('./icons/workflow-share.svg'); }
.fact-band strong { font-size: 1rem; font-weight: 700; }
.fact-band p > span:last-child { grid-column: 2; color: var(--ink-soft); font-size: .9rem; }

.workflow { max-width: 1168px; margin: 0 auto; padding: 6rem 24px; }
.section-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 4vw, 3.5rem); margin-bottom: 3rem; }
.section-intro-copy { max-width: 52rem; }
.section-intro h2, .privacy-heading h2 { margin: 0; font-size: clamp(2.5rem, 4.2vw, 3.75rem); font-weight: 550; letter-spacing: -.035em; line-height: 1.08; text-wrap: balance; }
.section-intro h2 { max-width: 20ch; }
.section-intro-copy > p { max-width: 58ch; margin: 1.25rem 0 0; color: var(--ink-soft); font-size: 1.05rem; line-height: 1.7; }
.workflow-calendar { width: 100%; max-width: 520px; justify-self: center; margin: 0; }
.workflow-calendar-frame { padding: 1rem; border-radius: 6px; background: var(--green-pale); }
.workflow-calendar img { display: block; width: 100%; height: auto; border-radius: 4px; }
.workflow-calendar figcaption { padding: .75rem .25rem 0; color: var(--ink-soft); font-size: .8rem; line-height: 1.5; }
.workflow-list { border-top: 1px solid var(--rule); }
.workflow-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) minmax(180px, .8fr); align-items: center; column-gap: clamp(1.5rem, 3.5vw, 2.5rem); padding: 2rem 0; border-bottom: 1px solid var(--rule); }
.workflow-heading { display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: start; gap: 1rem; }
.workflow-icon { display: block; width: 30px; height: 30px; margin-top: .12rem; background-color: var(--green); -webkit-mask: var(--workflow-icon) center / contain no-repeat; mask: var(--workflow-icon) center / contain no-repeat; }
.workflow-icon-people { --workflow-icon: url('./icons/workflow-people.svg'); }
.workflow-icon-plan { --workflow-icon: url('./icons/workflow-plan.svg'); }
.workflow-icon-share { --workflow-icon: url('./icons/workflow-share.svg'); }
.workflow-row h3 { max-width: 19ch; margin: 0; font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.2; text-wrap: balance; }
.workflow-description { min-width: 0; }
.workflow-description p { max-width: 52ch; margin: 0; color: var(--ink-soft); font-size: 1rem; line-height: 1.7; text-wrap: pretty; }
.workflow-detail { display: block; justify-self: end; color: var(--green-dark); font-size: .875rem; font-weight: 600; line-height: 1.6; text-align: right; }

.privacy-section { display: grid; grid-template-columns: 1.1fr .9fr; gap: 5rem; padding: 5.5rem max(24px, calc((100% - 1120px) / 2)); background: var(--green-pale); }
.privacy-heading h2 { max-width: none; margin-bottom: 1.5rem; font-size: clamp(2.5rem, 4.2vw, 3.75rem); }
.privacy-details { align-self: center; max-width: 50ch; padding-bottom: .25rem; }
.privacy-details p { color: var(--ink-soft); font-size: 1rem; line-height: 1.7; }
.privacy-details .privacy-note { margin: 1.5rem 0 0; padding-top: 1.15rem; border-top: 1px solid #c7d8cb; font-size: .84rem; }

.closing { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 4.5rem max(24px, calc((100% - 1120px) / 2)); color: var(--white); background: var(--green-dark); }
.closing h2 { max-width: 18ch; margin: 0; font-size: clamp(2.5rem, 4.2vw, 3.75rem); font-weight: 550; letter-spacing: -.035em; line-height: 1.08; text-wrap: balance; }
.button-light { flex: 0 0 auto; border-color: var(--white); color: var(--green-dark); background: var(--white); }
.button-light:hover { border-color: var(--green-pale); color: var(--green-dark); background: var(--green-pale); }

.site-footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; padding: 1.6rem max(24px, calc((100% - 1120px) / 2)); border-top: 1px solid var(--rule); background: var(--white); }
.footer-brand { display: inline-flex; align-items: center; gap: .6rem; width: fit-content; font-size: .88rem; font-weight: 700; text-decoration: none; }
.footer-brand img { display: block; }
.footer-brand small { color: var(--ink-soft); font-size: .75rem; font-weight: 500; }
.footer-tagline { color: var(--ink-soft); font-size: .8rem; font-weight: 400; }
.site-footer nav { display: flex; align-items: center; justify-self: center; gap: 1.25rem; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-soft); font-size: .8rem; text-decoration: none; }
.site-footer nav a:hover { text-decoration: underline; }
.site-footer > .support-link { display: inline-flex; align-items: center; justify-self: end; gap: .4rem; min-height: 44px; color: var(--ink-soft); font-size: .8rem; text-decoration: none; }
.site-footer > .support-link:hover { text-decoration: underline; }

@media (max-width: 1000px) {
    .hero { grid-template-columns: 1fr; gap: 3.5rem; min-height: auto; padding-top: 5rem; padding-bottom: 6rem; }
    .hero-copy { max-width: 720px; }
    .hero h1 { max-width: 12ch; }
    .workflow-row { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; column-gap: clamp(2rem, 5vw, 4rem); row-gap: .8rem; }
    .workflow-detail { grid-column: 2; justify-self: start; max-width: 52ch; text-align: left; }
}

@media (max-width: 840px) {
    .header-actions .nav-link { display: none; }
    .language-label { display: none; }
    .section-intro { grid-template-columns: 1fr; }
    .workflow-calendar { max-width: 520px; }
    .privacy-section { grid-template-columns: 1fr; gap: 2rem; }
    .privacy-heading h2 { max-width: 20ch; }
    .privacy-details { max-width: 60ch; }
}

@media (max-width: 680px) {
    html { scroll-padding-top: 4.5rem; }
    .site-header { min-height: 68px; padding: .7rem 1rem; }
    .header-actions { gap: .75rem; }
    .language-label { display: none; }
    .language-current { display: none; }
    .language-current-code { display: inline; }
    .site-header .button-small { min-height: 40px; padding: 0 .75rem; font-size: .78rem; white-space: nowrap; }
    .hero { gap: 2.75rem; padding: 4.25rem 1.15rem 4.5rem; }
    .hero h1 { max-width: 10ch; margin-bottom: 1.15rem; font-size: clamp(3.15rem, 15vw, 4.6rem); }
    .hero-description { max-width: 37ch; font-size: 1rem; }
    .hero-actions { gap: 1.2rem; }
    .button { min-height: 50px; padding-inline: 1rem; font-size: .88rem; }
    .hero-footnote { max-width: 48ch; font-size: .88rem; line-height: 1.6; }
    .fact-band { grid-template-columns: 1fr; padding: .6rem 1.35rem; }
    .fact-band p, .fact-band p:first-child { grid-template-columns: 22px minmax(0, 1fr); column-gap: .75rem; row-gap: .2rem; padding: 1rem 0; border-right: 0; border-bottom: 1px solid #c7d8cb; }
    .fact-band p:last-child { border-bottom: 0; }
    .fact-icon { width: 20px; height: 20px; }
    .fact-band strong, .fact-band span { font-size: .84rem; }
    .workflow { padding: 5rem 1.25rem; }
    .section-intro { margin-bottom: 2rem; }
    .section-intro h2, .privacy-heading h2 { font-size: clamp(2.25rem, 9.5vw, 3rem); }
    .section-intro-copy > p { font-size: .94rem; }
    .workflow-row { grid-template-columns: 1fr; gap: .8rem; padding: 1.75rem 0; }
    .workflow-heading { grid-template-columns: 30px minmax(0, 1fr); }
    .workflow-icon { margin-top: 0; }
    .workflow-description, .workflow-detail { grid-column: 1; margin-left: 46px; }
    .workflow-detail { justify-self: start; max-width: none; margin-top: 0; }
    .workflow-row h3 { max-width: none; font-size: 1.5rem; }
    .workflow-description p { font-size: .95rem; }
    .workflow-detail { font-size: .84rem; }
    .privacy-section { grid-template-columns: 1fr; gap: 2rem; padding: 4rem 1.25rem; }
    .privacy-heading h2 { margin-bottom: 1.25rem; }
    .privacy-details p { font-size: .92rem; }
    .closing { align-items: start; flex-direction: column; padding: 3.5rem 1.25rem; }
    .closing h2 { font-size: clamp(2.25rem, 9.5vw, 3rem); }
    .site-footer { grid-template-columns: 1fr; gap: 1rem; padding: 1.5rem 1.25rem; }
    .site-footer nav { justify-self: start; flex-wrap: wrap; gap: 1.2rem; }
    .site-footer > .support-link { justify-self: start; }
}

@media (max-width: 390px) {
    .site-header { gap: .25rem; padding-inline: .75rem; }
    .brand img { width: 88px; }
    .header-actions { gap: .4rem; }
    .language-picker-trigger { gap: .2rem; padding-inline: .4rem; }
    .language-chevron { width: .75rem; height: .75rem; }
    .site-header .button-small { gap: .5rem; padding-inline: .55rem; font-size: .72rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
