/* ==========================================================================
   Simple text pages: 404, contact, privacy policy, terms, legal.
   Loads after styles.css, theme.css and pages.css.
   ========================================================================== */

.simple main { padding-bottom: 0; } /* the footer sits inside main and carries its own bottom space */
.simple-in { max-width: 760px; margin: 0 auto; padding: 72px var(--pad) 32px; }
.simple-in .eyebrow { color: var(--accent-text); margin-bottom: 14px; display: block; }
.simple-in h1 { font-family: var(--display); font-weight: 500; font-size: clamp(36px, 5vw, 56px); line-height: 1.08; color: var(--ink); margin: 0 0 20px; text-wrap: balance; }
.simple-lede { font-size: 18px; line-height: 1.6; color: var(--body); margin: 0 0 32px; max-width: 60ch; }

/* Long-form legal text */
.prose { color: var(--body); font-size: 16px; line-height: 1.7; }
.prose h2 { font-family: var(--display); font-weight: 500; font-size: 28px; line-height: 1.2; color: var(--ink); margin: 48px 0 12px; }
.prose h3 { font-size: 17px; font-weight: 600; color: var(--ink); margin: 32px 0 8px; }
.prose p, .prose ul, .prose ol { margin: 0 0 16px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.prose .legal-updated { font-family: var(--label); font-size: 13px; letter-spacing: .04em; color: var(--mute); }
.prose .table-scroll { overflow-x: auto; margin: 0 0 24px; }
.prose table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 14px; line-height: 1.5; }
.prose th, .prose td { border: 1px solid var(--hair); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { color: var(--ink); font-weight: 600; background: var(--card-bg); }

/* Contact form */
.cform { display: grid; gap: 20px; margin-top: 8px; }
.cform-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cfield { display: grid; gap: 8px; min-width: 0; }
.cfield label { font-size: 14px; font-weight: 500; color: var(--ink); }
.cfield .req { color: var(--warm); }
.cfield input, .cfield select, .cfield textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff;
  border: 1px solid var(--hair); border-radius: 12px; padding: 12px 14px;
}
.cfield textarea { resize: vertical; min-height: 120px; }
.cfield input:focus, .cfield select:focus, .cfield textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.cfield-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ccheck { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--body); }
.ccheck input { width: 18px; height: 18px; accent-color: var(--accent); }
.cnote { font-size: 13px; line-height: 1.5; color: var(--mute); margin: 0; }
.cnote a, .calt a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 2px; }
.cform .btn { justify-self: start; }
.cform .btn[disabled] { opacity: .6; cursor: progress; }
.cstatus { margin: 0; color: #A3402A; font-size: 14px; min-height: 1em; }
.cdone { padding: 32px; border-radius: 20px; background: var(--card-bg); }
.cdone h2 { font-family: var(--display); font-weight: 500; font-size: 32px; margin: 0 0 8px; color: var(--ink); }
.cdone p { margin: 0 0 20px; color: var(--body); }
.cdone:focus { outline: none; }
.calt { margin-top: 32px; font-size: 14px; color: var(--mute); }
@media (max-width: 640px) { .cform-row { grid-template-columns: 1fr; } }

/* Pages carried over from the previous getsupernal.ai (solutions, industries, knowledge hub, careers, ...).
   Same text and URLs as before, set in this site's type. Markup is plain: headings, paragraphs, lists,
   figures, stat lists (dl.stats), linked cards (a.card) and FAQs (details). */
.legacy { padding-bottom: 16px; }
.legacy h1 { margin-top: 0; }
.legacy .kicker { font-family: var(--label); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); margin: 48px 0 10px; }
.legacy .kicker:first-child { margin-top: 0; }
.legacy .kicker + h1, .legacy .kicker + h2 { margin-top: 0; }
.legacy h4 { font-size: 16px; font-weight: 600; color: var(--ink); margin: 20px 0 8px; }
.legacy figure { margin: 24px 0; }
.legacy img { display: block; width: 100%; height: auto; border-radius: 16px; background: var(--card-bg); }
.legacy blockquote { margin: 28px 0; padding: 4px 0 4px 20px; border-left: 2px solid var(--accent); font-family: var(--display); font-size: 22px; line-height: 1.4; color: var(--ink); }
.legacy blockquote p { margin: 0; }
.legacy .stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 16px 0 24px; }
.legacy .stats > div { background: var(--card-bg); border-radius: 14px; padding: 14px 16px; }
.legacy .stats dt { font-family: var(--display); font-size: 26px; line-height: 1.1; color: var(--ink); }
.legacy .stats dd { margin: 4px 0 0; font-size: 13px; line-height: 1.4; color: var(--mute); }
.legacy a.card { display: block; color: inherit; text-decoration: none; border: 1px solid var(--hair); border-radius: 18px; padding: 20px 22px; margin: 16px 0; transition: border-color .2s, background-color .2s; }
.legacy a.card:hover { border-color: var(--accent); background: var(--card-bg); }
.legacy a.card > :first-child { margin-top: 0; }
.legacy a.card > :last-child { margin-bottom: 0; }
.legacy a.card figure { margin: 0 0 16px; }
.legacy a.card h2, .legacy a.card h3 { margin-top: 0; }
.legacy .cta { margin: 24px 0 32px; }
.legacy .cta .btn { text-decoration: none; color: var(--btn-text); }
.legacy .faq { margin: 8px 0 32px; border-top: 1px solid var(--hair); }
.legacy .faq details { border-bottom: 1px solid var(--hair); }
.legacy .faq summary { cursor: pointer; list-style: none; padding: 18px 32px 18px 0; position: relative; font-weight: 600; color: var(--ink); }
.legacy .faq summary::-webkit-details-marker { display: none; }
.legacy .faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 22px; font-weight: 400; color: var(--mute); }
.legacy .faq details[open] summary::after { content: "–"; }
.legacy .faq details > div { padding: 0 0 12px; }
.legacy .job-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 0 0 32px; }
.legacy .job-meta div { background: var(--card-bg); border-radius: 14px; padding: 12px 16px; }
.legacy .job-meta dt { font-size: 12px; color: var(--mute); }
.legacy .job-meta dd { margin: 2px 0 0; color: var(--ink); font-weight: 500; }
.legacy .form-band { margin: 48px 0 16px; padding: 28px; border-radius: 20px; background: var(--card-bg); }
.legacy .form-band > h2:first-child { margin-top: 0; }
.cfile input[type=file] { padding: 10px; background: #fff; }
.cfile-names { font-size: 13px; color: var(--mute); }
.cstatus.is-ok { color: var(--accent-text); }
.nl-row { display: flex; gap: 12px; }
.nl-row input { flex: 1; min-width: 0; font: inherit; font-size: 16px; border: 1px solid var(--hair); border-radius: 999px; padding: 12px 18px; background: #fff; color: var(--ink); }
.nl-row input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
@media (max-width: 560px) { .nl-row { flex-direction: column; } .legacy .form-band { padding: 20px; } }
.legacy img.portrait { width: 280px; max-width: 100%; }
.legacy a.card img.portrait { width: 120px; }
