/* Inner pages (Support, …): the "business corner" of Sunrise. Loaded after
   site.css. Home is the cabin window; these are the desk inside:
   plain paper with the full-colour logo up top (no sky, glows or grain), and
   home's glacier-ice footer under one snow edge. The edge is a static SVG
   (paper above the line, the lit rim on it), not a clip-path. */

/* No First light scenery. */

/* Paper all the way: overscroll at the top and the iPhone status bar match
   the page (theme-color in the page matches). The header is First light's:
   the full-colour lockup in light mode, the on-dark one in dark. */
html,body{background:var(--page)}
/* Focus ring: site.css's see-through frost barely shows on paper, so inner
   pages use home's solid frost: deep on light paper, pale on dark. */
:focus-visible{outline-color:#16304A}
@media (prefers-color-scheme:dark){:focus-visible{outline-color:#CFE3EF}}
/* Links in the text: underline 3px below, like home's. */
main a{text-underline-offset:3px}

/* Paper: the content column, a little more room before the footer. */
main{padding-bottom:96px}
@media (max-width:600px){main{padding-bottom:64px}}

/* Footer: glacier ice, the same markup and look as home's last layer. */
:root{--s5:#6E98B2;--ea:64px}
@media (prefers-color-scheme:dark){:root{--s5:#34353A}}
@media (max-width:600px){:root{--ea:36px}}
/* Small text on ice: a subtle halo so it reads on the grain. */
.ice{text-shadow:0 0 8px rgba(225,236,244,.55),0 0 2px rgba(225,236,244,.4)}
.ice{position:relative;margin-top:auto;padding:calc(var(--ea) + 40px) 32px 40px;color:#241F1B;
 background-color:var(--s5);background-color:color-mix(in srgb,var(--s5) 80%,#26394B);
 background-image:linear-gradient(180deg,rgba(255,255,255,.2),rgba(255,255,255,0) 280px),linear-gradient(180deg,rgba(14,32,50,0) 30%,rgba(14,32,50,.2)),url(assets/snow-packed.webp);
 background-size:auto,auto,256px 256px}
.ice .edge{position:absolute;left:0;top:0;width:100%;height:calc(var(--ea) * 1.6);display:block;pointer-events:none}
.ice .edge path{fill:var(--page)}
.ice .edge polyline{fill:none;stroke:rgba(255,255,255,.85);stroke-width:3;vector-effect:non-scaling-stroke}
.ice .in{position:relative;max-width:1240px;margin:0 auto}
.ice .cols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) minmax(0,1.6fr);gap:40px 32px}
.ice nav,.ice .built{display:flex;flex-direction:column;align-items:flex-start;gap:12px;font-size:15px;line-height:22px}
.ice .fh{margin:0 0 4px;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.ice .built .fh{margin:0}
.ice .built p{margin:0}
.ice a{display:inline-flex;align-items:center;gap:8px;color:inherit;text-decoration:underline;text-decoration-color:transparent;text-underline-offset:3px;transition:text-decoration-color .2s}
.ice a:hover{text-decoration-color:currentColor}
.ice nav svg{width:15px;height:15px;fill:currentColor;flex:none}
.ice .legal{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;margin-top:48px;padding-top:24px;border-top:1px solid rgba(36,31,27,.2);font-size:14px}
.ice .legal p{margin:0}
.ice .legal a{display:inline;text-decoration-color:rgba(36,31,27,.4)}
.ice .legal a:hover{text-decoration-color:currentColor}
.ice .legal img{height:40px;width:auto;margin:-8px 0 -8px -8px}
.ice :focus-visible{outline-color:#16304A}
html.at-end,html.at-end body{background:var(--s5);background:color-mix(in srgb,var(--s5) 80%,#26394B)}
@media (prefers-color-scheme:dark){
 .ice{background-color:var(--s5);background-color:color-mix(in srgb,var(--s5) 90%,#0B121B);
  background-image:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,0) 280px),linear-gradient(180deg,rgba(14,32,50,0) 30%,rgba(4,8,14,.24)),linear-gradient(color-mix(in srgb,var(--s5) 42%,transparent),color-mix(in srgb,var(--s5) 42%,transparent)),url(assets/snow-packed.webp);
  background-size:auto,auto,auto,256px 256px}
 .ice .edge polyline{stroke:rgba(214,230,244,.38)}
 html.at-end,html.at-end body{background:var(--s5);background:color-mix(in srgb,var(--s5) 90%,#0B121B)}
 .ice{color:#F5F1EC}
 .ice{text-shadow:0 0 10px rgba(11,18,27,.45),0 0 2px rgba(11,18,27,.35)}
 .ice .legal{border-top-color:rgba(245,241,236,.2)}
 .ice .legal a{text-decoration-color:rgba(245,241,236,.4)}
 .ice :focus-visible{outline-color:#CFE3EF}
}
@media (max-width:900px){.ice .cols{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:600px){
 .ice{padding:calc(var(--ea) + 32px) 16px max(40px,env(safe-area-inset-bottom))}
 .ice .cols{gap:32px 16px}
 .ice .legal{flex-direction:column;text-align:center;margin-top:36px}
 .ice .legal img{margin:-8px 0}
}

/* Header Download pill, like home's (.hdl in home.css) but ink on paper
   (light on dark in dark mode). Hidden on phones; the menu keeps "Download for Mac". */
header nav.top{margin-left:auto}
.hdl{flex:none;padding:9px 16px;border-radius:999px;background:var(--ink);color:var(--page);text-decoration:none;font-size:14px;font-weight:600;line-height:1.2}
.hdl:hover{opacity:.88}
@media (max-width:600px){.hdl{display:none}}

/* Press kit (/press): fact sheet rows (label left, value right; stacked on
   phones) and the round headshot beside "Who's making it". */
.post .facts{margin:0 0 16px;padding:0;list-style:none;font-size:17px;line-height:1.55;color:var(--ink)}
.post .facts li{position:relative;padding:10px 0 10px 136px;border-top:1px solid var(--frame)}
.post .facts li:last-child{border-bottom:1px solid var(--frame)}
.post .facts span{position:absolute;left:0;color:var(--muted)}
.post .headshot{float:right;width:160px;height:160px;margin:4px 0 16px 28px;border-radius:50%;object-fit:cover}
@media (max-width:600px){.post .facts{font-size:16px}.post .facts li{padding-left:0}.post .facts span{position:static;display:block;font-size:14px}.post .headshot{float:none;display:block;width:128px;height:128px;margin:0 0 20px}}
