/* Additional standalone pages. The original sites use site.css. */
.no-js .theme-button { display: none; }
.section { padding-block: clamp(3.5rem, 7.5vw, 7rem); }
.story-link { display: inline-block; margin-top: 1rem; text-decoration: underline; text-underline-offset: .25em; text-decoration-color: var(--line-2); font-weight: 560; }
.reading-end { margin: 2rem auto 0; max-width: 44rem; }
.story-link:hover { color: var(--accent); text-decoration-color: currentColor; }
.company-story { max-width: 53rem; }
.reading-copy { max-width: 44rem; margin: 0 auto; }
.reading-copy h2 { margin-bottom: clamp(.9rem,1.8vw,1.3rem); font-size: clamp(1.65rem,2.8vw,2.6rem); line-height: 1.17; }
.reading-copy p { font-size: clamp(1.02rem,1.4vw,1.15rem); line-height: 1.7; }
.reading-copy p + p { margin-top: .9rem; }
.reading-copy + .reading-copy, .hero-art + .reading-copy, .app-art + .reading-copy, .reading-copy + .adoption-notes { margin-top: clamp(2.4rem,5vw,4.5rem); }
.site-browser, .tm-browser { --accent: var(--browser); --accent-fill: var(--browser); }
.site-mail, .tm-mail { --accent: var(--mail); --accent-fill: var(--mail); }
.site-designer, .tm-designer { --accent: var(--designer); --accent-fill: var(--designer); }
.product-section, .product-section .hero-art, .product-section .app-art { min-width: 0; margin-inline: auto; }
.hero-diagram { overflow-x: auto; overscroll-behavior-x: contain; }
.hero-product h1 { max-width: 22ch; }
.hero-product h1, .page-intro .hero-copy { overflow-wrap: anywhere; min-width: 0; }
.page-intro { padding-block: clamp(3.5rem, 6.5vw, 6rem); }
.page-sections { padding-top: clamp(2rem, 4vw, 4rem); }
.product-section { max-width: var(--wide); margin-inline: auto; }
.product-section .section-head { margin-bottom: 1.6rem; }
.product-section .app-art { max-width: 50rem; margin: 2rem auto 0; padding: clamp(.75rem,2vw,1.5rem); }
.product-section .flow { max-width: var(--wide); }
.product-section .flow p { margin-top: .5rem; color: var(--muted); font-size: 1rem; }
.product-faq, .adoption-notes { max-width: 46rem; margin-inline: auto; }
.product-faq > div { padding-block: 1.25rem; border-top: 1px solid var(--line-2); }
.product-faq dt { font-size: 1.15rem; font-weight: 620; color: var(--ink); }
.product-faq dd { margin-top: .4rem; color: var(--muted); }
.adoption-notes { padding: clamp(1.3rem, 3vw, 2.5rem); }
.adoption-notes h2 { font-size: clamp(1.35rem, 2.3vw, 1.9rem); }
.adoption-notes ul { margin: 1rem 0 0 1.3rem; list-style: disc; color: var(--muted); }
.adoption-notes li + li { margin-top: .6rem; }
.flow { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.5rem; max-width: 52rem; margin: 2rem auto; }
.flow li { position: relative; display: grid; place-content: center; text-align: center; min-height: 4.5rem; padding: 1rem; border-radius: var(--radius); border: 1px solid var(--line-2); background: var(--card); }
.flow li:last-child { border-color: var(--accent); }
.flow li + li::before { content: "→"; position: absolute; right: 100%; width: 1.5rem; top: 50%; transform: translateY(-50%); color: var(--quiet); }
.contact h2 { font-size: 1.3rem; }
.contact .contact-mail { overflow-wrap: anywhere; }
.careers-layout { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); grid-template-areas: "notes form"; align-items: start; gap: clamp(2rem,6vw,6rem); max-width: var(--wide); }
.career-notes { grid-area: notes; }
.form-panel { grid-area: form; min-width: 0; }
.career-notes h2, .form-panel h2 { font-size: clamp(1.5rem,2.4vw,2.15rem); }
.career-notes p { color: var(--muted); margin-top: .75rem; }
.career-notes section + section { padding-top: 1.5rem; border-top: 1px solid var(--line); margin-top: 1.5rem; }
.form-panel { padding: clamp(1.3rem,3vw,2.5rem); }
.form-panel form label { display: grid; gap: .4rem; font-weight: 600; margin-top: 1.15rem; }
.form-panel label small, .field-hint, .test-note { font-size: .9rem; color: var(--muted); font-weight: 400; }
.test-note { margin-top: .65rem; }
.field-hint { margin-top: .3rem; }
.form-panel input, .form-panel textarea { width: 100%; min-width: 0; padding: .65rem .85rem; color: var(--ink); background: var(--paper); border: 1px solid var(--line-2); border-radius: 8px; font: inherit; font-weight: 400; }
.form-panel textarea { resize: vertical; }
.form-panel input::placeholder { color: var(--quiet); }
.form-panel input[type="file"] { font-size: 1rem; }
.form-panel input::file-selector-button { cursor: pointer; padding: .4rem .65rem; border: 1px solid var(--line-2); border-radius: 6px; background: var(--paper-2); color: var(--ink); font: inherit; margin-right: .65rem; }
.form-panel .form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; margin-top: 1.5rem; }
.form-actions a, .receipt a { font-size: .92rem; text-decoration: underline; text-underline-offset: .2em; }
.form-panel button:disabled { opacity: .6; cursor: wait; }
.form-error { color: var(--ampirs-ink); margin-top: .75rem; }
.receipt { display: none; }
.receipt:target, .receipt.shown { display: grid; justify-items: start; gap: 1rem; }
.receipt:target + form, .receipt.shown + form { display: none; }
.receipt > svg { color: var(--browser); }
.doc h1 { overflow-wrap: anywhere; hyphens: auto; }
.product-section { scroll-margin-top: 4rem; }

.site-browser, .site-mail, .site-designer { --on-accent: light-dark(white, #111419); }
@media (max-width: 48rem) {
  .doc h1 { font-size: clamp(1.7rem, 5.5vw, 2.6rem); }
  .careers-layout { grid-template-columns: minmax(0,1fr); grid-template-areas: "form" "notes"; }
  .flow { grid-template-columns: minmax(0,1fr); }
  .flow li + li::before { content: "↓"; top: auto; bottom: 100%; right: auto; width: 100%; height: 1.5rem; transform: none; }
}
@media (max-width: 40rem) {
  .form-actions .button { flex: 1 1 100%; min-height: 2.75rem; }
  .hero-product .h1-name { font-size: clamp(1.95rem,8vw,3.3rem); }
  .hero-art figcaption { flex-direction: column; align-items: start; gap: .6rem; }
  .brand .mark { flex-shrink: 0; }
}
@media print {
  .product-nav, .hero-actions { display: none !important; }
}
