/* Military Time Converter: the whole look, phone first.
   Colors are tokens on :root (light) and redefined for dark mode. */

@font-face { font-family: "Barlow"; src: url(../fonts/barlow-400.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url(../fonts/barlow-600.woff2) format("woff2"); font-weight: 500 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url(../fonts/barlow-condensed-700.woff2) format("woff2"); font-weight: 600 800; font-style: normal; font-display: swap; }
@font-face { font-family: "DSEG7"; src: url(../fonts/dseg7-classic-bold.woff2) format("woff2"); font-weight: 400 700; font-style: normal; font-display: block; }

:root {
	--bg: #F3F1EA;
	--surface: #FFFFFF;
	--surface-2: #E9E6DB;
	--ink: #15171A;
	--ink-2: #464B52;
	--ink-3: #62676E;
	--line: #D6D1C2;
	--line-2: #C3BDAB;
	--brand: #3D4A2C;
	--brand-ink: #F3F1EA;
	--link: #2F5A1E;
	--link-hover: #1D3A11;
	--amber: #FFB01F;
	--amber-soft: rgba(255, 176, 31, .14);
	--lcd: #11150F;
	--lcd-edge: #2A3224;
	--lcd-ink: #EDE8D6;
	--dark: #1B2117;
	--dark-2: #252D20;
	--dark-ink: #ECEADF;
	--dark-ink-2: #B9BDAE;
	--error: #B42318;
	--error-bg: #FDECEA;
	--focus: #1F6FEB;
	--radius: 14px;
	--radius-sm: 9px;
	--shadow: 0 1px 0 rgba(21, 23, 26, .04), 0 14px 30px -20px rgba(21, 23, 26, .45);
	--font: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--cond: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
	--seg: "DSEG7", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
	color-scheme: light;
}

@media (prefers-color-scheme: dark) {
	:root {
		--bg: #0F120D;
		--surface: #171B14;
		--surface-2: #1E241A;
		--ink: #ECEEE6;
		--ink-2: #BCC2B2;
		--ink-3: #9AA190;
		--line: #2D3528;
		--line-2: #3D4736;
		--brand: #3D4A2C;
		--brand-ink: #F3F1EA;
		--link: #B9D68E;
		--link-hover: #D6EBB4;
		--lcd: #080A07;
		--lcd-edge: #262E21;
		--dark: #151A12;
		--dark-2: #1F261B;
		--error: #FF8A80;
		--error-bg: #3A1512;
		--shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 14px 30px -20px rgba(0, 0, 0, .8);
		color-scheme: dark;
	}
}

/* ---- Base ------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font: 400 17px/1.6 var(--font);
	font-variant-numeric: tabular-nums;
	-webkit-font-smoothing: antialiased;
	overflow-wrap: break-word;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--link-hover); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
b, strong { font-weight: 600; }
h1, h2, h3 { font-family: var(--cond); font-weight: 700; line-height: 1.05; letter-spacing: -.005em; margin: 0; }
p { margin: 0 0 1em; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip { position: absolute; left: 12px; top: -60px; z-index: 10; background: var(--surface); color: var(--ink); padding: 10px 14px; border-radius: 8px; box-shadow: var(--shadow); }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.wrap--narrow { max-width: 780px; }
@media (min-width: 600px) { .wrap { padding: 0 24px; } }

.nums { font-variant-numeric: tabular-nums; white-space: nowrap; }
.mtc-nowrap { white-space: nowrap; }

/* ---- Top: independence line, name, menu ------------------------------------------------ */

.indep { background: var(--brand); color: var(--brand-ink); font: 600 12.5px/1.35 var(--font); letter-spacing: .01em; }
@media (min-width: 600px) { .indep { font-size: 13px; } }
.indep .wrap { padding-top: 6px; padding-bottom: 6px; }

.site-head { background: var(--surface); border-bottom: 1px solid var(--line); }
.site-head__row { display: flex; align-items: center; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__name { font: 700 22px/1 var(--cond); letter-spacing: .02em; text-transform: uppercase; }
.brand__name b { font-weight: 700; color: var(--link); }

.site-nav { width: 100%; margin: 0 0 0 -8px; }
.site-nav ul { display: flex; flex-wrap: wrap; gap: 2px 2px; list-style: none; margin: 0; padding: 0; }
.site-nav a {
	display: block; padding: 7px 10px; border-radius: 999px; white-space: nowrap;
	font: 600 16px/1.2 var(--cond); letter-spacing: .04em; text-transform: uppercase;
	color: var(--ink-2); text-decoration: none;
}
.site-nav a:hover { color: var(--ink); background: var(--surface-2); }
.site-nav a[aria-current="page"] { color: var(--brand-ink); background: var(--brand); }
@media (max-width: 419px) {
	.site-nav a { padding: 6px 8px; font-size: 15px; letter-spacing: .03em; }
}
@media (min-width: 900px) {
	.site-nav { width: auto; margin: 0; }
	.site-nav ul { flex-wrap: nowrap; gap: 4px; }
	.site-nav a { padding: 8px 12px; }
}

/* ---- Hero ------------------------------------------------------------------------------ */

.hero { padding: 26px 0 30px; background:
	radial-gradient(1100px 380px at 85% -10%, var(--amber-soft), transparent 70%),
	linear-gradient(var(--bg), var(--bg)); }
.hero__grid { display: grid; gap: 22px; }
.kicker { font: 700 14px/1.2 var(--cond); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 10px; }
@media (max-width: 599px) { .hero .kicker { display: none; } .hero { padding-top: 20px; } }
.hero__title { font-size: clamp(40px, 11vw, 76px); line-height: .95; text-transform: uppercase; letter-spacing: -.01em; }
.hero__title--time { font-size: clamp(34px, 8.6vw, 64px); text-transform: none; margin-top: 8px; }
.lede { font-size: 19px; line-height: 1.5; color: var(--ink-2); margin: 14px 0 0; max-width: 40em; }
.alert { margin: 14px 0 0; padding: 10px 14px; border-radius: var(--radius-sm); background: var(--error-bg); color: var(--error); font-weight: 600; }
.picks { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
.picks__label { font: 700 14px/1 var(--cond); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-right: 2px; }
.chip {
	display: inline-block; padding: 7px 12px; border: 1px solid var(--line-2); border-radius: 999px;
	background: var(--surface); color: var(--ink); text-decoration: none;
	font: 600 15px/1.1 var(--font); font-variant-numeric: tabular-nums;
}
.chip:hover { border-color: var(--brand); color: var(--ink); background: var(--surface-2); }

.hero__picks { margin-top: 0; }
@media (min-width: 980px) {
	.hero { padding: 44px 0 48px; }
	.hero__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto 1fr; column-gap: 40px; row-gap: 0; align-items: start; }
	.hero__intro { grid-column: 1; grid-row: 1; padding-top: 18px; }
	.hero__tool { grid-column: 2; grid-row: 1 / 3; }
	.hero__picks { grid-column: 1; grid-row: 2; margin-top: 22px; }
}
.hero--time .hero__tool--time { margin-top: 22px; }

/* ---- Converter ------------------------------------------------------------------------- */

.mtc-conv { background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow); padding: 16px; }
.mtc-conv__label { display: block; font: 700 15px/1 var(--cond); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin: 2px 0 10px; }
.mtc-conv__row { display: flex; gap: 8px; }
.mtc-conv__input {
	flex: 1 1 auto; min-width: 0; width: 100%;
	font: 600 26px/1.2 var(--font); font-variant-numeric: tabular-nums; letter-spacing: .02em;
	color: var(--ink); background: var(--bg); border: 2px solid var(--line-2); border-radius: var(--radius-sm);
	padding: 10px 14px; -webkit-appearance: none; appearance: none;
}
.mtc-conv__input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(61, 74, 44, .18); background: var(--surface); }
.mtc-conv__input[aria-invalid="true"] { border-color: var(--error); }
.mtc-conv__input--sm { font-size: 22px; padding: 8px 12px; }
.mtc-conv__hint { margin: 8px 0 0; font-size: 14.5px; color: var(--ink-3); }

.mtc-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex: none;
	min-height: 44px; padding: 0 16px; border-radius: var(--radius-sm); cursor: pointer;
	font: 700 16px/1 var(--cond); letter-spacing: .08em; text-transform: uppercase;
	color: var(--brand-ink); background: var(--brand); border: 2px solid var(--brand);
}
.mtc-btn:hover { filter: brightness(1.12); }
.mtc-btn--now { background: transparent; color: var(--ink); border-color: var(--line-2); }
.mtc-btn--now:hover { background: var(--surface-2); filter: none; }
.mtc-btn--say { display: none; }
.can-speak .mtc-btn--say { display: inline-flex; }
.can-speak .is-error .mtc-btn--say { display: none; }
.mtc-btn--say { min-height: 34px; padding: 0 10px; font-size: 14px; background: transparent; color: var(--link); border: 1px solid var(--line-2); vertical-align: middle; margin-left: 4px; }
.mtc-btn--say::before { content: ""; width: 0; height: 0; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent currentColor; }
.mtc-btn--say:hover { background: var(--surface-2); filter: none; }
[hidden] { display: none !important; }

/* ---- Readout: the answer ----------------------------------------------------------------- */

.mtc-readout { margin-top: 16px; }
.mtc-readout__pair { display: grid; gap: 12px; }
.mtc-tag { display: block; font: 700 13px/1 var(--cond); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.mtc-readout__mil .mtc-tag { position: absolute; left: 16px; top: 13px; color: #9AA38B; z-index: 1; }
.mtc-readout__mil { position: relative; container-type: inline-size; }

/* Four DSEG7 digits take 3.35em: the size follows the box, so they always fit on one line. */
.mtc-lcd {
	position: relative; display: block; background: var(--lcd); border-radius: var(--radius);
	padding: 40px 16px 20px; text-align: center; overflow: hidden; white-space: nowrap;
	box-shadow: inset 0 0 0 2px var(--lcd-edge), inset 0 18px 40px -24px rgba(255, 176, 31, .25);
	font: 700 clamp(40px, 17vw, 104px)/1 var(--seg); letter-spacing: .02em; color: var(--amber);
	font-size: clamp(40px, calc(29cqi - 10px), 112px);
	font-variant-numeric: normal;
}
.mtc-lcd__ghost { position: absolute; left: 0; right: 0; opacity: .07; pointer-events: none; }
.mtc-lcd__digits { position: relative; text-shadow: 0 0 18px rgba(255, 176, 31, .38); }
.mtc-lcd--sm { display: inline-block; padding: 10px 14px 8px; font-size: clamp(34px, 10vw, 46px); border-radius: var(--radius-sm); }
.mtc-lcd--sec { display: inline-block; padding: 8px 9px 6px; margin-left: 6px; font-size: clamp(18px, 5.4vw, 24px); border-radius: 7px; align-self: flex-end; }

.mtc-readout__std { display: flex; flex-direction: column; justify-content: center; padding: 4px 2px 0; }
.mtc-readout__big { font: 700 clamp(44px, 12vw, 64px)/1 var(--cond); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.mtc-readout__part { margin-top: 6px; font-size: 17px; color: var(--ink-2); }

.mtc-readout__facts { margin: 16px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.mtc-readout__facts > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
@media (min-width: 480px) { .mtc-readout__facts > div { grid-template-columns: 8.5em minmax(0, 1fr); gap: 10px; } }
.mtc-readout__facts dt { font: 700 14px/1.3 var(--cond); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.mtc-readout__facts dd { margin: 0; font-size: 18px; font-weight: 500; }
.mtc-readout__or { color: var(--ink-2); font-weight: 400; }

.mtc-daybar { margin-top: 16px; }
.mtc-daybar__track {
	position: relative; height: 14px; border-radius: 999px;
	background: linear-gradient(90deg, #1B2440 0%, #2B3866 18%, #E9955A 25.5%, #9ACFF0 33%, #CDEBFF 50%, #9ACFF0 68%, #EE8453 79%, #3A3F70 86%, #1B2440 100%);
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12);
}
.mtc-daybar__mark {
	position: absolute; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%;
	background: var(--amber); border: 3px solid var(--surface); box-shadow: 0 2px 8px rgba(0, 0, 0, .35);
	transition: left .25s ease;
}
.mtc-daybar__ticks { display: flex; justify-content: space-between; margin-top: 6px; font: 600 13px/1 var(--font); color: var(--ink-3); }
.mtc-readout__note { margin: 14px 0 0; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--surface-2); font-size: 15.5px; color: var(--ink-2); }
.mtc-readout__note.is-error { background: var(--error-bg); color: var(--error); font-weight: 600; }
.mtc-readout__link { margin: 14px 0 0; font-weight: 600; }
/* While the box holds something that is not a time, no answer stands: dashes, and the reason. */
.mtc-readout.is-error .mtc-lcd__digits { opacity: .55; }
.mtc-readout.is-error .mtc-readout__link, .mtc-readout.is-error .mtc-daybar__mark { visibility: hidden; }

@media (min-width: 600px) {
	.mtc-conv { padding: 22px; }
	.mtc-readout__pair { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px; align-items: stretch; }
	.mtc-readout__std { padding-left: 4px; }
}
@media (prefers-reduced-motion: reduce) { .mtc-daybar__mark { transition: none; } }

/* ---- Clock --------------------------------------------------------------------------- */

.mtc-clock { display: grid; gap: 12px; }
.mtc-clock__cell { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.mtc-clock__time { display: flex; align-items: center; gap: 10px; }
.mtc-clock__z { font: 700 34px/1 var(--cond); color: var(--ink-2); }
.mtc-clock__sub { margin-top: 10px; color: var(--ink-2); font-size: 16px; }
@media (min-width: 700px) { .mtc-clock { grid-template-columns: 1fr 1fr; gap: 16px; } }

/* ---- Sections ------------------------------------------------------------------------- */

.section { padding: 40px 0; }
.section--alt { background: var(--surface-2); }
.section--clock { padding: 30px 0 34px; border-top: 1px solid var(--line); }
.section--dark { background: var(--dark); color: var(--dark-ink); }
.section--dark .section__lede { color: var(--dark-ink-2); }
.section--dark a.more { color: #CFE3A9; }
.section__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; margin-bottom: 14px; }
.section__title { font-size: clamp(28px, 6.6vw, 42px); text-transform: uppercase; letter-spacing: .005em; }
.section__head .section__title { margin: 0; }
.section > .wrap > .section__title { margin-bottom: 14px; }
.section__lede { color: var(--ink-2); font-size: 18px; max-width: 46em; }
.more { font: 700 16px/1.2 var(--cond); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.more:hover { text-decoration: underline; }
.more-line { margin-top: 22px; color: var(--ink-2); }

.cards { display: grid; gap: 16px; margin-top: 18px; }
@media (min-width: 860px) { .cards--2 { grid-template-columns: 1fr 1fr; gap: 22px; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.card__title { font-size: 25px; text-transform: uppercase; letter-spacing: .01em; margin-bottom: 12px; }
.card__foot { margin: 12px 0 0; color: var(--ink-2); }
.rules { margin: 0; padding: 0; list-style: none; }
.rules > li { position: relative; padding: 11px 0 11px 22px; border-top: 1px solid var(--line); }
.rules > li:first-child { border-top: 0; padding-top: 2px; }
.rules > li::before { content: ""; position: absolute; left: 0; top: 19px; width: 9px; height: 9px; border-radius: 2px; background: var(--brand); }
.rules > li:first-child::before { top: 10px; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps > li { position: relative; counter-increment: s; padding: 10px 0 10px 42px; border-top: 1px solid var(--line); }
.steps > li:first-child { border-top: 0; }
.steps > li::before {
	content: counter(s); position: absolute; left: 0; top: 10px; width: 28px; height: 28px; border-radius: 50%;
	display: grid; place-items: center; background: var(--brand); color: var(--brand-ink); font: 700 15px/1 var(--cond);
}
.eg { display: block; margin-top: 4px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.prose .steps, .prose .rules { padding-left: 0; }

/* Every hour of the day */
.hours { display: grid; gap: 22px; }
@media (min-width: 760px) { .hours { grid-template-columns: 1fr 1fr; gap: 28px; } }
.hours__label { font-size: 19px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 10px; }
.hours__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
@media (min-width: 340px) { .hours__list { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 420px) { .hours__list { gap: 8px; } }
.hours__list a, .near a {
	display: flex; flex-direction: column; gap: 2px; padding: 9px 10px; border-radius: var(--radius-sm);
	background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none;
}
.hours__list a:hover, .near a:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.hours__list b, .near b { font: 700 24px/1 var(--cond); letter-spacing: .03em; }
.hours__list span, .near span { font-size: 15px; color: var(--ink-2); }

/* How to say it */
.say { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 700px) { .say { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .say { grid-template-columns: 1fr 1fr 1fr; } }
.say__item { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; }
.say__mil { grid-row: 1 / 3; font: 700 30px/1 var(--cond); letter-spacing: .03em; }
.say__words { font-weight: 600; font-size: 17px; }
.say__std { font-size: 15px; color: var(--ink-3); }
.say__or { font-weight: 400; color: var(--ink-2); }
.prose .say, .prose .near, .prose .hours__list { padding-left: 0; }

/* Zone letters */
.letters { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
@media (min-width: 600px) { .letters { grid-template-columns: repeat(9, 1fr); } }
@media (min-width: 1000px) { .letters { grid-template-columns: repeat(25, 1fr); gap: 4px; } }
.letters__item { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 2px; border-radius: 8px; background: var(--dark-2); }
.letters__item b { font: 700 22px/1 var(--cond); color: var(--dark-ink); }
.letters__item span { font-size: 12px; color: var(--dark-ink-2); white-space: nowrap; }
.letters__item.is-z { background: var(--amber); }
.letters__item.is-z b, .letters__item.is-z span { color: #15171A; }

/* Questions */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
	list-style: none; cursor: pointer; padding: 16px 40px 16px 0; position: relative;
	font: 600 19px/1.35 var(--font);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
	content: ""; position: absolute; right: 6px; top: 50%; width: 11px; height: 11px; margin-top: -8px;
	border-right: 2.5px solid var(--ink-2); border-bottom: 2.5px solid var(--ink-2); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { margin: 0 0 16px; color: var(--ink-2); max-width: 44em; }
.faq details[open] summary { color: var(--ink); }

/* ---- Pages and prose --------------------------------------------------------------------- */

.page-head { padding: 26px 0 8px; }
.page-head__title { font-size: clamp(36px, 9vw, 60px); text-transform: uppercase; line-height: .98; }
.crumbs ol { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 14.5px; color: var(--ink-3); }
.crumbs li + li::before { content: "/"; margin: 0 8px; color: var(--line-2); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

.prose { padding-top: 14px; padding-bottom: 48px; }
.prose > * + * { margin-top: 0; }
.prose h2 { font-size: clamp(27px, 6vw, 36px); text-transform: uppercase; margin: 38px 0 12px; letter-spacing: .005em; }
.prose h3 { font-size: 24px; margin: 26px 0 8px; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin: .3em 0; }
.prose blockquote { margin: 1.2em 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--brand); color: var(--ink-2); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
.prose .mtc-conv, .prose .mtc-chart, .prose .mtc-zones, .prose .mtc-calc, .prose .mtc-minutes, .prose .mtc-clock { margin: 20px 0 26px; }
.prose figure { margin: 1.4em 0; }
.prose figcaption, .lead-image figcaption { font-size: 14px; color: var(--ink-3); margin-top: 6px; }
.page-meta { margin-top: 30px; font-size: 14.5px; color: var(--ink-3); }
.page--tool .wrap--narrow { max-width: 900px; }

/* A page's source list: a heading written <h2 class="is-sources"> and the list after it. */
.prose h2.is-sources { font-size: 22px; letter-spacing: .08em; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); }
.prose h2.is-sources + ol, .prose h2.is-sources + ul { font-size: 15.5px; color: var(--ink-2); }
.prose h2.is-sources + ol li, .prose h2.is-sources + ul li { margin: .55em 0; }
.sources { margin-top: 30px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); font-size: 15.5px; }
.sources h2, .sources h3 { margin-top: 0 !important; font-size: 22px !important; }
.sources ol, .sources ul { margin-bottom: 0; }

.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0; }
@media (min-width: 640px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.facts > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; }
.facts dt { font: 700 13px/1.2 var(--cond); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.facts dd { margin: 4px 0 0; font: 700 26px/1.1 var(--cond); }

.near { list-style: none; margin: 14px 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 560px) { .near { grid-template-columns: repeat(4, 1fr); } }
.near__line { color: var(--ink-2); }

/* ---- Tables ------------------------------------------------------------------------- */

.mtc-chart, .mtc-zones { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.mtc-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.mtc-table th, .mtc-table td { text-align: left; padding: 9px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.mtc-table thead th { position: sticky; top: 0; background: var(--surface-2); font: 700 14px/1.2 var(--cond); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.mtc-table tbody th { font: 700 21px/1.1 var(--cond); letter-spacing: .03em; }
.mtc-table tbody th a { text-decoration: none; }
.mtc-table tbody th a:hover { text-decoration: underline; }
.mtc-table tbody tr:last-child > * { border-bottom: 0; }
.mtc-table tr.is-pm { background: rgba(61, 74, 44, .045); }
@media (max-width: 479px) {
	.mtc-table th, .mtc-table td { padding: 8px 9px; }
	.mtc-table tbody th { font-size: 19px; }
	.mtc-chart .mtc-table td { font-size: 15px; }
	.mtc-chart .mtc-table td:last-child { font-size: 14px; line-height: 1.3; }
}
.mtc-table--zones td:last-child { color: var(--ink-2); min-width: 14em; }
.mtc-zone-letter { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: var(--brand); color: var(--brand-ink); font: 700 20px/1 var(--cond); }
.mtc-zones tr[data-offset="0"] .mtc-zone-letter { background: var(--amber); color: #15171A; }

.prose table:not(.mtc-table) { width: 100%; border-collapse: collapse; margin: 1em 0 1.4em; font-size: 16px; }
.prose table:not(.mtc-table) th, .prose table:not(.mtc-table) td { border-bottom: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.prose table:not(.mtc-table) thead th { font: 700 14px/1.2 var(--cond); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }

/* Every minute of an hour */
.mtc-minutes { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.mtc-minutes__label { display: block; font: 700 15px/1 var(--cond); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 8px; }
.mtc-select { width: 100%; max-width: 30em; font: 500 17px/1.2 var(--font); padding: 10px 12px; border: 2px solid var(--line-2); border-radius: var(--radius-sm); background: var(--bg); color: var(--ink); }
.mtc-minutes__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; margin-top: 14px; }
@media (min-width: 480px) { .mtc-minutes__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 760px) { .mtc-minutes__grid { grid-template-columns: repeat(5, 1fr); } }
.mtc-minutes__cell { display: flex; justify-content: space-between; gap: 8px; padding: 6px 10px; border-radius: 7px; background: var(--bg); color: var(--ink); text-decoration: none; font-size: 15px; }
.mtc-minutes__cell b { font: 700 18px/1.2 var(--cond); letter-spacing: .03em; }
.mtc-minutes__cell span { color: var(--ink-2); }
a.mtc-minutes__cell:hover { background: var(--surface-2); }

/* Zulu time to US time */
.mtc-zulu { background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow); padding: 16px; }
.mtc-zulu .mtc-conv__row { max-width: 16em; }
.mtc-zulu__table { margin-top: 14px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.mtc-table--zulu thead th span { display: block; margin-top: 3px; font: 500 12.5px/1.2 var(--font); letter-spacing: 0; text-transform: none; color: var(--ink-3); }
.mtc-table--zulu tbody th { font: 600 16px/1.25 var(--font); letter-spacing: 0; }
.mtc-table--zulu tbody th small { display: block; font-weight: 400; font-size: 13.5px; color: var(--ink-3); }
.mtc-table--zulu td b { display: block; font: 700 21px/1.1 var(--cond); letter-spacing: .03em; }
.mtc-table--zulu td span { display: block; font-size: 15px; }
.mtc-table--zulu td small { display: block; font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }
.mtc-table--zulu td em { font-style: normal; font-size: 13px; color: var(--ink-3); }
.mtc-zulu.is-error .mtc-table--zulu { opacity: .3; }
.mtc-zulu__yours { margin: 12px 0 0; font-weight: 600; }
.mtc-zulu__foot { margin: 8px 0 0; font-size: 13.5px; color: var(--ink-3); }
.mtc-chart__note { margin: 0; padding: 10px 14px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-3); }
/* Status lines stay in the page (so screen readers hear them when they fill) but take no room empty. */
.mtc-readout__note:empty { margin: 0; padding: 0; }
.mtc-noscript { margin: 10px 0 0; font-size: 14px; color: var(--ink-3); }
@media (min-width: 600px) { .mtc-zulu { padding: 22px; } }

/* Calculator */
.mtc-calc { background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow); padding: 16px; }
.mtc-calc__form { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px; align-items: end; }
.mtc-calc__field label { display: block; font: 700 15px/1 var(--cond); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 8px; }
.mtc-calc__arrow { padding-bottom: 12px; font: 700 26px/1 var(--cond); color: var(--ink-3); }
.mtc-calc__out { margin-top: 16px; }
.mtc-calc__big { background: var(--lcd); color: var(--amber); border-radius: var(--radius); padding: 18px; text-align: center; font: 700 clamp(36px, 10vw, 54px)/1 var(--cond); letter-spacing: .02em; box-shadow: inset 0 0 0 2px var(--lcd-edge); }
.mtc-calc.is-error .mtc-calc__big { opacity: .35; }
@media (min-width: 600px) { .mtc-calc { padding: 22px; } }

/* ---- Footer ----------------------------------------------------------------------------- */

.site-foot { background: var(--dark); color: var(--dark-ink-2); padding: 40px 0 0; margin-top: 0; font-size: 15.5px; }
.site-foot a { color: var(--dark-ink); text-decoration: none; }
.site-foot a:hover { text-decoration: underline; color: #fff; }
.site-foot__grid { display: grid; gap: 28px; }
@media (min-width: 860px) { .site-foot__grid { grid-template-columns: 2fr 1fr 1fr; gap: 40px; } }
.brand--foot .brand__name { color: var(--dark-ink); }
.brand--foot .brand__name b { color: #CFE3A9; }
.site-foot__about p { margin: 14px 0 0; max-width: 34em; }
.site-foot__small { font-size: 14px; color: #9EA393; }
.site-foot__h { font: 700 15px/1 var(--cond); letter-spacing: .14em; text-transform: uppercase; color: #9EA393; margin: 4px 0 12px; }
.site-foot__nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-foot__base { margin-top: 34px; padding-top: 16px; padding-bottom: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; color: #9EA393; }

/* ---- Ads (drawn only when the owner adds code) ------------------------------------------- */

.ad { max-width: 1180px; margin: 0 auto; padding: 16px; text-align: center; }
.ad__label { display: block; font-size: 12px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 6px; }

/* ---- Lists of posts ---------------------------------------------------------------------- */

.post-list { list-style: none; padding: 0 !important; }
.post-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.post-list a { font: 700 24px/1.15 var(--cond); }
.post-list p { margin: 6px 0 0; color: var(--ink-2); }
.lead-image img { display: block; width: 100%; border-radius: var(--radius); }

/* ---- Print: the chart and the answer, without the site around them ------------------------- */

@media print {
	:root { --bg: #fff; --surface: #fff; --surface-2: #f2f2f2; --ink: #000; --ink-2: #222; --ink-3: #444; --line: #bbb; }
	.indep, .site-head, .site-foot, .ad, .picks, .mtc-conv__form, .mtc-btn, .mtc-daybar, .crumbs, .more, .section--dark { display: none !important; }
	body { font-size: 12pt; }
	.mtc-lcd { background: #fff !important; color: #000 !important; box-shadow: none !important; border: 1px solid #000; padding-top: 18px; }
	.mtc-lcd__ghost, .mtc-readout__mil .mtc-tag { display: none; }
	.mtc-lcd__digits { text-shadow: none; }
	.mtc-chart, .mtc-zones { overflow: visible; border: 0; }
	.mtc-table thead th { position: static; }
	.mtc-table tr { break-inside: avoid; }
	a { color: #000; text-decoration: none; }
}
