/* Extra styles for the guide and calculator pages. Loaded after legal.css. */
:root { --deep: #1F8F5F; --peach: #FFE4D2; }

.crumbs { margin: 0 0 12px; font-size: 13px; font-weight: 650; color: var(--ink2); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { margin-inline: 6px; opacity: .6; }

.answer { font-size: 18px; line-height: 1.55; }

ol.steps { list-style: none; counter-reset: step; padding: 0; margin: 4px 0 16px; }
ol.steps > li { counter-increment: step; position: relative; padding: 0 0 0 46px; margin-bottom: 16px; }
ol.steps > li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; font: 700 14px/1 var(--display); }
ol.steps > li strong { display: block; margin-bottom: 2px; }

.path { font-weight: 650; background: var(--wall); border-radius: 6px; padding: 1px 6px; white-space: nowrap; }

.compare { width: 100%; border-collapse: collapse; margin: 6px 0 14px; font-size: 15.5px; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 10px 10px 10px 0; border-bottom: 1px solid var(--line); }
.compare th { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink2); }
.compare td:first-child { font-weight: 650; width: 34%; }
.table-scroll { overflow-x: auto; }

.cta { display: grid; grid-template-columns: 84px 1fr; gap: 16px; align-items: center; margin-top: 8px; padding: 18px; border-radius: 22px; background: var(--wall); }
.cta img { width: 84px; }
.cta p { margin: 0 0 10px; }
.cta .big { font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: -.02em; line-height: 1.2; margin-bottom: 4px; }
/* Apple's official badge, unaltered, at the same size as the homepage */
.badge { display: inline-block; border-radius: 10px; transition: transform .25s var(--ease); }
.cta .badge img { display: block; width: auto; height: 54px; aspect-ratio: 119.66 / 40; }
.badge:hover { transform: translateY(-1px); }
.badge:active { transform: scale(.97); }
.badge:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

.more { display: grid; gap: 10px; margin: 6px 0 0; padding: 0; list-style: none; }
.more a { display: block; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; font-weight: 650; text-decoration: none; background: #fff; }
.more a:hover { border-color: var(--ink); }
.more small { display: block; margin-top: 2px; font-weight: 500; font-size: 14px; color: var(--ink2); }

/* Calculator */
.calc { margin-top: 4px; padding: 22px 20px; border: 2.5px solid var(--ink); border-radius: 26px; background: #fff; }
.field + .field { margin-top: 20px; }
.field label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 650; }
.field output { font: 700 24px/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.field input[type=range] { width: 100%; margin-top: 12px; accent-color: var(--deep); }
.money-in { display: flex; align-items: center; gap: 6px; margin-top: 10px; }
.money-in span { font-weight: 700; font-size: 18px; }
.money-in input { width: 120px; min-height: 44px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 12px; font: 650 18px var(--text); color: var(--ink); background: var(--paper); }
.money-in input:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.hint { margin: 6px 0 0; font-size: 14px; color: var(--ink2); }
.result { margin-top: 22px; padding-top: 18px; border-top: 2px dashed var(--line); font-variant-numeric: tabular-nums; }
.result .kicker { margin: 0; }
.result .total { display: block; margin: 4px 0 10px; font: 700 clamp(48px, 13vw, 72px)/.95 var(--display); letter-spacing: -.045em; }
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.rows li b { font-weight: 700; }
.keep { margin-top: 16px; padding: 14px 16px; border-radius: 16px; background: var(--butter); }
.keep p { margin: 0; }
.keep b { font-family: var(--display); font-size: 22px; letter-spacing: -.02em; }
.compare.wide { min-width: 600px; }
.compare.wide td:first-child { width: 18%; }
