/* ============================================================================
   Flatmir — the reading pages, About (/about/), Careers (/careers/) and
   Disclaimer (/disclaimer/), NS 2026-10-19. The site's tokens come from styles.css. One typeface,
   Montserrat, as on the poster page: the front page's heading face has no
   Cyrillic. The footer is the listings page's (styles.css .listfoot). Light
   only, as the site is.
   ========================================================================== */

/* styles.css fixes html and body to the window for the app shell; these pages scroll */
body.info-page {
  height: auto; min-height: 100%;
  font-family: Montserrat, var(--body), sans-serif; font-size: 16px; line-height: 1.6;
  padding: 0 max(16px, env(safe-area-inset-right, 0px)) max(24px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
}
.info-page h1, .info-page h2 { font-family: Montserrat, var(--body), sans-serif; color: #2b1b14; margin: 0; }

/* ------------------------------- header -------------------------------- */
.ip-head {
  max-width: 1080px; margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding-top: env(safe-area-inset-top, 0px);
}
.ip-brand { display: inline-flex; align-items: center; min-height: 44px; }
.ip-brand img { display: block; width: auto; height: 34px; }
/* the language switch, in the site's look (landing.css .land-lang) */
.ip-lang {
  appearance: none; -webkit-appearance: none; border: none; min-height: 44px;
  padding: 9px 26px 9px 12px; border-radius: 999px; font: inherit; font-weight: 600; font-size: 14px;
  color: var(--sub); cursor: pointer; transition: background-color .15s, color .15s;
  background: transparent url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 12"><path d="M2.5 4.5l3.5 3.5 3.5-3.5" fill="none" stroke="%236E695E" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat right 10px center / 11px;
}
.ip-lang:hover { background-color: var(--wash); color: var(--ink); }

/* ------------------------------ the text ------------------------------- */
/* one frame for every reading page (NS: switching from About to Careers must
   not move what's in the middle): the header's width, the text in a 720 px
   column on its left; only Careers' role cards and how to apply take the
   whole width */
.ip-main, .ip-foot { max-width: 1080px; margin-inline: auto; }
.ip-main > * { max-width: 720px; }
.ip-main > .ip-roles, .ip-main > .ip-apply { max-width: none; }
.ip-main { margin-top: clamp(20px, 6vh, 64px); }
.info-page h1 { font-weight: 800; font-size: clamp(32px, 5vw, 48px); line-height: 1.1; letter-spacing: -.035em; }
.ip-lead { margin: 18px 0 0; font-size: clamp(18px, 2vw, 21px); line-height: 1.5; color: var(--ink); }

/* About and Careers: the About page's two tabs, each its own address */
.ip-tabs { display: inline-flex; gap: 4px; margin-bottom: 24px; padding: 4px; border-radius: 999px; background: var(--wash); }
.ip-tabs a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 8px 18px; border-radius: 999px;
  font-weight: 600; font-size: 14.5px; color: var(--sub); transition: background-color .15s, color .15s;
}
.ip-tabs a:hover { color: var(--ink); }
.ip-tabs a[aria-current="page"] { background: var(--card); color: var(--ink); box-shadow: var(--sh-1); }
.ip-tabs a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* About: a section with its icon beside it */
.ip-block { margin-top: 40px; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 6px 16px; }
.ip-block svg {
  grid-row: span 2; width: 44px; height: 44px; padding: 11px; border-radius: 12px;
  background: var(--wash); color: var(--accent-2);
}
.ip-block h2 { font-size: clamp(20px, 2.4vw, 24px); font-weight: 800; line-height: 1.25; letter-spacing: -.02em; }
.ip-block p { margin: 0; color: var(--sub); }
.ip-block p + p { grid-column: 2; margin-top: 8px; }

/* About: the contact card, the email shown only on a tap (info.js) */
.ip-contact { margin-top: 48px; padding: clamp(20px, 4vw, 28px); background: #fffaf3; border: 1px solid var(--line); border-radius: 18px; }
.ip-contact h2 { font-size: clamp(20px, 2.4vw, 24px); font-weight: 800; letter-spacing: -.02em; }
.ip-contact p { margin: 6px 0 0; color: var(--sub); }
.ip-mail {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; min-height: 48px; padding: 12px 22px;
  border-radius: 999px; background: var(--accent); color: var(--ink); font: inherit; font-weight: 700; font-size: 15px;
  box-shadow: var(--sh-1); transition: background-color .15s;
}
.ip-mail:hover { background: var(--accent-2); }
.ip-mail:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.ip-mail svg { width: 20px; height: 20px; }
.ip-mail__address {
  display: inline-block; margin-top: 18px; min-height: 48px; padding: 10px 0;
  font-weight: 700; font-size: clamp(18px, 2.4vw, 22px); color: var(--accent-2); overflow-wrap: anywhere;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px;
}
.ip-mail__address:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

/* Careers: the shared part on top, then the role cards side by side */
.ip-text h2 { margin-top: 36px; font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; letter-spacing: -.02em; }
.ip-text p:not(.ip-lead) { margin: 12px 0 0; }
.ip-options { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.ip-options li { position: relative; padding-left: 22px; }
.ip-options li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.ip-options b, .ip-role b { font-weight: 700; color: var(--ink); }
.ip-roles { margin-top: 56px; }
.ip-roles h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -.025em; }
.ip-roles__lead { margin: 10px 0 0; max-width: 720px; color: var(--sub); }
/* the roles: cards side by side, tops aligned, each as tall as its own text (one
   height left a hollow in the shorter card); each ends with what that role
   alone asks for */
.ip-cards { margin-top: 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.ip-role {
  display: flex; flex-direction: column; padding: clamp(22px, 3vw, 32px); font-size: 15.5px;
  background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--sh-1);
}
.ip-role > svg { width: 48px; height: 48px; padding: 12px; border-radius: 14px; background: var(--wash); color: var(--accent-2); }
.info-page .ip-role h3 { margin: 16px 0 0; font-family: Montserrat, var(--body), sans-serif; font-size: clamp(20px, 2.2vw, 24px); font-weight: 800; line-height: 1.25; letter-spacing: -.02em; color: #2b1b14; }
.ip-role .ip-role__meta { margin: 6px 0 0; font-size: 13.5px; font-weight: 600; color: var(--accent-2); }
.ip-role p { margin: 14px 0 0; color: var(--sub); }
.ip-role ul { margin: 10px 0 0; padding-left: 1.2em; color: var(--sub); }
.ip-role li + li { margin-top: 8px; }
.ip-role li::marker { color: var(--accent-2); }
.ip-role .ip-role__send { margin-top: 22px; padding: 16px 18px; border-radius: 14px; background: #fffaf3; border: 1px solid var(--line); }
/* the Growth card in headings and bullets, not long paragraphs (NS, 2026-10-20):
   a section's heading, then each of the four parts' names over its bullets */
.info-page .ip-role h4 { margin: 24px 0 0; font-family: Montserrat, var(--body), sans-serif; font-size: 16px; font-weight: 800; letter-spacing: -.01em; color: #2b1b14; }
.ip-role .ip-role__part { margin: 14px 0 0; font-weight: 700; color: var(--ink); }
.ip-role .ip-role__part + ul { margin-top: 6px; }
.info-page .ip-role .ip-role__send h4 { margin-top: 0; }
.ip-role__send ul { margin-top: 8px; }
/* the ideas, each on its own line under "A few ideas" */
.ip-role li > ul { margin-top: 6px; list-style: circle; }
/* how to apply: once, for every role, in the About page's contact card */
.ip-apply ul { margin: 12px 0 0; padding-left: 1.2em; }
.ip-apply li + li { margin-top: 6px; }
.ip-apply li::marker { color: var(--accent-2); }
@media (max-width: 860px) {
  .ip-cards { grid-template-columns: minmax(0, 1fr); }
}

/* Disclaimer: plain sections */
.ip-updated { margin: 10px 0 0; font-size: 14px; color: var(--sub); }
.ip-legal section { margin-top: 30px; }
.ip-legal h2 { font-size: 20px; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
.ip-legal section p { margin: 8px 0 0; }
.ip-legal ul { margin: 10px 0 0; padding-left: 1.25em; }
.ip-legal li + li { margin-top: 6px; }
.ip-legal li::marker { color: var(--accent-2); }
.ip-note { margin: 36px 0 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--sub); font-size: 15px; }

/* ------------------------------- footer -------------------------------- */
.ip-foot { margin-top: 56px; }
.ip-foot [aria-current="page"] { color: var(--ink); text-decoration: none; }
