/* Get emma for Mac. Colors, type and buttons come from emma-journey.css. */
.ej-signin { margin-left: auto; }
/* At big text on a narrow phone (320px, 200%) the rem-based gutter would eat a
   quarter of the screen; never more than 1/16 of the width a side. No change at
   normal text sizes from 320px up. */
.mac-hero, .mac-sec { width: min(100%, 40rem); margin-inline: auto; padding-inline: min(var(--gutter), 6.25vw); }

.mac-hero { display: grid; justify-items: center; text-align: center; padding-block: var(--s8) var(--section-space); }
.mac-light { display: grid; place-items: center; width: min(100%, 10rem); height: 7rem; margin-bottom: var(--s3); background: radial-gradient(closest-side, var(--glow), transparent); }
.mac-hero h1 { font-size: clamp(2.25rem, 6vw, 3.5rem); line-height: 1.08; margin: 0 0 var(--s4); }
.mac-lede { font-size: 1.25rem; line-height: 1.45; color: var(--muted); max-width: 30ch; margin: 0 0 var(--s8); text-wrap: balance; }

/* The one big button: what it is on the first line, version and size under it. */
.mac-get { flex-direction: column; gap: 2px; min-height: 76px; width: min(100%, 24rem); padding: var(--s4) min(var(--s8), 5vw); text-align: center; }
.mac-get-main { font-size: 1.25rem; line-height: 1.25; }
.mac-get-sub { font-size: 0.9375rem; font-weight: 600; opacity: 0.85; }
.mac-needs { margin: var(--s4) 0 0; color: var(--muted); font-size: 1rem; max-width: 34ch; text-wrap: balance; }
.mac-phone { margin: var(--s3) 0 0; color: var(--faint); font-size: 0.9375rem; max-width: 34ch; }
@media (hover: hover) and (pointer: fine) { .mac-phone { display: none; } }

.mac-sec { padding-block: 0 var(--section-space); }
.mac-sec h2 { font-size: clamp(1.625rem, 3.5vw, 2rem); line-height: 1.15; margin: 0 0 var(--s5); }
.mac-text { color: var(--muted); margin: 0 0 var(--s4); }
.mac-text b, .mac-list b, .mac-steps b { color: var(--ink); }

.mac-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); }
.mac-steps li { display: flex; gap: var(--s4); align-items: flex-start; padding: var(--s5); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card); min-width: 0; }
.mac-steps li > div { min-width: 0; }
.mac-steps h3 { font: 600 1.125rem/1.35 var(--sans); margin: 4px 0 var(--s1); }
.mac-steps p { margin: 0; color: var(--muted); }
.mac-n { flex: 0 0 34px; display: grid; place-items: center; height: 34px; border-radius: 50%; font: 600 15px/1 var(--sans); color: var(--on-fill); background: linear-gradient(180deg, var(--fill-top), var(--fill-bottom)); }

.mac-list { margin: 0 0 var(--s4); padding-left: 1.4em; color: var(--muted); }
.mac-list li { margin: 0 0 var(--s2); padding-left: 4px; }
.mac-list li::marker { color: var(--amber); font-weight: 600; }

.mac-sha { margin: 0 0 var(--s4); }
.mac-sha code { display: block; padding: var(--s3) var(--s4); border: 1px solid var(--line); border-radius: var(--s3); font-size: 0.9375rem; line-height: 1.5; overflow-wrap: anywhere; word-break: break-all; color: var(--ink); }
.mac-text code { overflow-wrap: anywhere; }
.mac-text a { color: var(--amber); text-underline-offset: 0.2em; }
