/*
 * The /2hz landing page (Figma "2Hz promotion Landing page V2", node 5028:17881, updated as node 4990:15596, 16 Oct 2026).
 * The design is drawn at 1920px with a 1384px content column; here it takes the site's own width
 * (.airnav-container, 1280px), header, footer, buttons and FAQ (On-Demand API's look), with the
 * design's vertical spacing. Its text takes Flight Data Reports' type (Alan, 20 Oct): body text
 * Open Sans 16px at its normal line height, card titles Univia 32/1.1, card texts Open Sans 14/1.5,
 * section headings 64/1.1.
 *
 * Backgrounds alternate (Paulo, 16 Oct; the design repeats some): no section has the same one as the
 * section before it. In order: hero (picture), figures (grey), What does 2Hz mean? (white), Why update
 * frequency matters (grey), More detail between points (white), Who is 2Hz for? (grey), More than update
 * frequency (white), Built for integration (grey), call to action (picture), FAQ (white).
 */

/* Hero */
.two-hz-hero { position: relative; overflow: hidden; min-height: 456px; padding: 67px 0; background: var(--airnav-color-canvas); box-sizing: border-box; }
.two-hz-hero__media { position: absolute; inset: 0; }
.two-hz-hero__media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.two-hz-hero__layout { position: relative; }
.two-hz-hero__content { width: min(100%, 676px); }
.two-hz-hero__title, .two-hz-hero__tagline, .two-hz-hero__subtitle { margin: 0; }
.two-hz-hero__title { color: var(--airnav-color-forest); font: var(--airnav-univia-regular) 64px/72px var(--airnav-font-display); letter-spacing: .2px; }
/* The design's two-size title box is 2px shorter than its two lines (72 + 48). */
.two-hz-hero__tagline { margin-top: -2px; color: var(--airnav-color-forest); font: var(--airnav-univia-regular) 32px/48px var(--airnav-font-display); letter-spacing: .2px; }
.two-hz-hero__subtitle { margin-top: 16px; color: rgb(17 32 27 / 70%); font: 400 16px/normal var(--airnav-font-body); }
.two-hz-hero__actions { display: flex; flex-wrap: wrap; gap: 16px 32px; margin-top: 32px; }

/*
 * Figures: cards (Paulo, 16 Oct; the design has a plain row), each with its icon beside the value and
 * label, centred against them. A value keeps the lines it was written in; the third card widens to fit
 * its longest one, the other two share the rest.
 */
.two-hz-stats { padding: 72px 0; background: var(--airnav-color-surface); }
.two-hz-stats__list { display: grid; grid-template-columns: repeat(3, minmax(min-content, 1fr)); gap: 32px; margin: 0; padding: 0; list-style: none; }
.two-hz-stats__item { display: grid; grid-template-columns: 48px minmax(min-content, 1fr); gap: 32px; align-items: center; min-height: 209px; padding: 32px 24px 32px 32px; background: #fcfcfc; border-radius: var(--airnav-radius-card); box-sizing: border-box; }
.two-hz-stats__icon { justify-self: center; width: auto; height: auto; }
.two-hz-stats__value, .two-hz-stats__label { margin: 0; }
.two-hz-stats__value { color: var(--airnav-color-forest); font: var(--airnav-univia-regular) 24px/32px var(--airnav-font-display); letter-spacing: .4px; }
@media (min-width: 1250px) { .two-hz-stats__value { white-space: nowrap; } }
.two-hz-stats__label { margin-top: 8px; color: rgb(17 32 27 / 70%); font: 400 14px/1.5 var(--airnav-font-body); }

/* Text beside a picture: "What does 2Hz mean?", "More detail between points" */
.two-hz-explainer { padding: 92px 0; background: var(--airnav-color-canvas); }
.two-hz-explainer__layout { display: grid; grid-template-columns: minmax(0, 595px) minmax(0, 1fr); gap: 128px; align-items: start; }
.two-hz-explainer__copy { color: rgb(17 32 27 / 70%); font: 400 16px/normal var(--airnav-font-body); }
.two-hz-explainer__copy h2 { margin: 0 0 32px; color: var(--airnav-color-forest); font: var(--airnav-univia-regular) 64px/1.1 var(--airnav-font-display); letter-spacing: -1.28px; }
.two-hz-explainer__copy p, .two-hz-explainer__copy ul { margin: 0; }
.two-hz-explainer__copy p + p, .two-hz-explainer__copy ul + p { margin-top: 24px; }
.two-hz-explainer__copy p + ul { margin-top: 12px; }
.two-hz-explainer__copy li + li { margin-top: 8px; }
.two-hz-explainer__copy strong { color: var(--airnav-color-ink); font-weight: 700; }
.two-hz-explainer__copy ul { padding: 0; list-style: none; }
.two-hz-explainer__copy li { position: relative; padding-left: 24px; }
.two-hz-explainer__copy li::before { position: absolute; left: 7px; content: "\2022"; }
.two-hz-explainer__media img { display: block; width: 100%; height: auto; border-radius: 22px; }

/* Why update frequency matters */
.two-hz-reasons { padding: 91.5px 0 71.5px; background: var(--airnav-color-surface); }
.two-hz-reasons__header h2, .two-hz-integration__header h2 { margin: 0; color: var(--airnav-color-forest); font: var(--airnav-univia-regular) 64px/1.1 var(--airnav-font-display); letter-spacing: -1.28px; }
.two-hz-reasons__header p, .two-hz-integration__header p { margin: 40px 0 0; color: rgb(17 32 27 / 70%); font: 400 16px/normal var(--airnav-font-body); }
/* The site's column is narrower than the design's (1280 against 1384px): the cards keep the design's two-line titles with 24px between them (32 in the design) and only their own 16px padding at the sides (32 in the design, with an inner frame's). */
.two-hz-reasons__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 34px; }
.two-hz-reasons__card, .two-hz-integration__card { display: flex; flex-direction: column; min-height: 284px; padding: 16px 16px 32px; background: var(--airnav-color-canvas); border-radius: var(--airnav-radius-card); box-sizing: border-box; }
.two-hz-reasons__icon, .two-hz-integration__icon, .two-hz-audience__icon { align-self: flex-start; width: auto; height: auto; }
.two-hz-reasons__card h3, .two-hz-integration__card h3 { margin: 24px 0 0; color: var(--airnav-color-forest); font: var(--airnav-univia-regular) 32px/1.1 var(--airnav-font-display); letter-spacing: calc(-0.64px - 0.002em); /* unkerned Univia, see tokens.css */ }
/* Titles keep two lines' room and sit at its foot, so the texts below line up (as the design's one-line titles do). */
.two-hz-reasons__card h3, .two-hz-integration__card h3 { display: flex; flex-direction: column; justify-content: flex-end; min-height: 70px; }
.two-hz-reasons__card p, .two-hz-integration__card p { margin: 16px 0 0; }
.two-hz-reasons__card p, .two-hz-integration__card p, .two-hz-audience__card p { color: rgb(17 32 27 / 70%); font: 400 14px/1.5 var(--airnav-font-body); }

/* Who is 2Hz for? Five cards; their 24px sides keep the design's text width (188px) in the site's column. */
.two-hz-audience { padding: 95.5px 0 58px; background: var(--airnav-color-surface); }
.two-hz-audience__header h2 { margin: 0; color: var(--airnav-color-forest); font: var(--airnav-univia-regular) 64px/1.1 var(--airnav-font-display); letter-spacing: -1.28px; }
.two-hz-audience__header p { margin: 40px 0 0; color: rgb(17 32 27 / 70%); font: 400 16px/normal var(--airnav-font-body); }
.two-hz-audience__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; margin-top: 34px; }
.two-hz-audience__card { display: flex; flex-direction: column; min-height: 301px; padding: 16px 24px 16px; background: var(--airnav-color-canvas); border-radius: var(--airnav-radius-card); box-sizing: border-box; }
.two-hz-audience__card h3 { display: flex; flex-direction: column; justify-content: flex-end; min-height: 70px; margin: 24px 0 0; color: var(--airnav-color-forest); font: var(--airnav-univia-regular) 32px/1.1 var(--airnav-font-display); letter-spacing: calc(-0.64px - 0.002em); /* unkerned Univia, see tokens.css */ }
.two-hz-audience__card p { margin: 16px 0 0; }

/* More than update frequency */
/* 54px above the tiles, as designed, and as much below now that a grey section follows (the design's 21px ran on into a white one). */
.two-hz-quality { padding: 54px 0; background: var(--airnav-color-canvas); }
/* The heading keeps its two lines; the tiles narrow (to their longest word) before it would wrap. */
.two-hz-quality__layout { display: grid; grid-template-columns: minmax(min-content, 1fr) minmax(0, 664px); gap: 56px; align-items: center; }
.two-hz-quality__copy h2, .two-hz-quality__copy p { margin: 0; }
.two-hz-quality__copy h2 { white-space: nowrap; color: var(--airnav-color-forest); font: var(--airnav-univia-regular) 64px/1.1 var(--airnav-font-display); letter-spacing: -1.28px; }
.two-hz-quality__subheading { max-width: 579px; margin-top: 28px !important; color: rgb(17 32 27 / 70%); font: 400 32px/36px var(--airnav-font-body); letter-spacing: .2px; }
.two-hz-quality__text { max-width: 634px; margin-top: 24px; color: rgb(17 32 27 / 70%); font: 400 16px/normal var(--airnav-font-body); }
.two-hz-quality__text p + p { margin-top: 24px !important; }
.two-hz-quality__tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 312px)); justify-content: end; gap: 39px 40px; margin: 0; padding: 0; list-style: none; }
.two-hz-quality__tile { display: flex; flex-direction: column; align-items: center; min-height: 184px; padding: 36px 16px 24px; text-align: center; border: 1px solid rgb(14 58 47 / 50%); border-radius: var(--airnav-radius-card); box-sizing: border-box; }
.two-hz-quality__tile img { width: auto; height: auto; }
/* Measured on Paulo's Figma screenshot (16 Oct): the title's first line starts 96px from the tile's top, its lines 32px apart (higher than the file read that morning). */
.two-hz-quality__tile h3 { margin: 10px 0 0; color: var(--airnav-color-canvas); font: var(--airnav-univia-regular) 28px/32px var(--airnav-font-display); letter-spacing: .2px; }
.two-hz-quality__tile--teal { background: #00a69a; }
.two-hz-quality__tile--teal h3 { letter-spacing: -.4px; }
.two-hz-quality__tile--deep-teal { background: #00564e; }
.two-hz-quality__tile--deep-teal h3 { letter-spacing: -.4px; }
.two-hz-quality__tile--mint { background: #d5eae1; }
.two-hz-quality__tile--mint h3 { color: rgb(17 32 27 / 70%); }
.two-hz-quality__tile--dark { background: #0a211b; }

/* Built for integration */
.two-hz-integration { padding: 107.5px 0 87.5px; background: var(--airnav-color-surface); }
.two-hz-integration__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 34px; }

/* Closing call to action */
.two-hz-cta { position: relative; overflow: hidden; min-height: 534px; padding: 67px 0; background: #000; box-sizing: border-box; }
.two-hz-cta__media { position: absolute; inset: 0; }
.two-hz-cta__media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.two-hz-cta__layout { position: relative; }
.two-hz-cta__content { width: min(100%, 676px); color: var(--airnav-color-canvas); }
.two-hz-cta__content h2, .two-hz-cta__content p { margin: 0; }
.two-hz-cta__content h2 { font: var(--airnav-univia-regular) 64px/72px var(--airnav-font-display); letter-spacing: .2px; }
/* The design sets this text's first line 70px tall (part of it is 32/70) and Figma puts the extra 22px above it: here, a gap above. The design's box is also 2px shorter than its lines. */
.two-hz-cta__content p { margin-top: 20px; font: var(--airnav-univia-regular) 32px/48px var(--airnav-font-display); letter-spacing: .2px; }
.two-hz-cta__content .airnav-button { margin-top: 32px; }

/*
 * The FAQ (On-Demand API's look) after the call to action: its heading's letters start 28px below the
 * first question's, which shows here, beside five short questions (16 Oct, Paulo). The heading and
 * the call-out under it move up together, so the heading lines up with question 01.
 */
@media (min-width: 1101px) {
	.two-hz-cta + .on-demand-faqs .on-demand-faqs__header { margin-top: -8px; }
	.two-hz-cta + .on-demand-faqs .on-demand-faqs__cta { margin-top: 265px; }
}

/* Below 1250px the three figure cards keep their row with the icon above the text, where the text has room. */
@media (max-width: 1249px) {
	.two-hz-stats__item { grid-template-columns: minmax(0, 1fr); gap: 24px; align-content: start; min-height: 0; }
	.two-hz-stats__icon { justify-self: start; height: 44px; }
}

/* Five cards stop fitting their longest word ("operations") below about 1170px. */
@media (max-width: 1179px) {
	.two-hz-audience__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Tablets */
@media (max-width: 1100px) {
	/* Narrower than the picture: keep its aircraft (the right third) in view rather than the clouds in its middle. */
	.two-hz-hero__media img { object-position: 80% 50%; }
	/* Likewise the call to action's controller and radar screen (its right half). */
	.two-hz-cta__media img { object-position: 85% 50%; }
	.two-hz-stats { padding: 72px 0; }
	.two-hz-explainer { padding: 72px 0; }
	.two-hz-explainer__layout { grid-template-columns: minmax(0, 1fr); gap: 48px; }
	.two-hz-explainer__copy { max-width: 595px; }
	.two-hz-explainer__media { width: 100%; max-width: 661px; justify-self: center; }
	.two-hz-reasons__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.two-hz-audience { padding: 72px 0; }
	.two-hz-quality__layout { grid-template-columns: minmax(0, 1fr); gap: 48px; }
	.two-hz-quality__copy h2 { white-space: normal; }
	.two-hz-quality__tiles { width: min(100%, 664px); grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.two-hz-integration { padding: 72px 0; }
}

/* Hero, 901-1100px: the text keeps its place over the picture on a soft wash of the picture's own sky, fading out before the aircraft. */
@media (min-width: 901px) and (max-width: 1100px) {
	.two-hz-hero__media::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgb(235 232 230 / 92%) 0%, rgb(235 232 230 / 82%) 55%, rgb(235 232 230 / 0%) 85%); }
}

@media (max-width: 900px) {
	/* Hero: the text on the picture's sky colour, the picture a band below it, fading in at its top, so the aircraft is clear of the text. */
	.two-hz-hero { display: flex; flex-direction: column; padding-bottom: 0; background: #e8e5e4; }
	.two-hz-hero__layout { order: 1; }
	.two-hz-hero__media { position: relative; order: 2; height: 300px; margin-top: 16px; -webkit-mask-image: linear-gradient(transparent, #000 40%); mask-image: linear-gradient(transparent, #000 40%); }
	/* The call to action's text now runs over the bright radar screen: a dark wash keeps it legible. */
	.two-hz-cta__media::after { position: absolute; inset: 0; content: ""; background: rgb(0 0 0 / 55%); }
	/* One figure card per row, the icon beside the text again. */
	.two-hz-stats__list { grid-template-columns: minmax(0, 1fr); }
	.two-hz-stats__item { grid-template-columns: 48px minmax(0, 1fr); gap: 32px; align-items: center; }
	.two-hz-stats__icon { justify-self: center; height: auto; }
	.two-hz-integration__grid { grid-template-columns: minmax(0, 1fr); }
	.two-hz-audience__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Phones */
@media (max-width: 700px) {
	.two-hz-hero { padding: 56px 0 0; min-height: 0; }
	.two-hz-hero__media { height: 240px; }
	.two-hz-hero__title { font-size: 40px; line-height: 48px; }
	.two-hz-hero__tagline { font-size: 24px; line-height: 32px; }
	.two-hz-hero__actions .airnav-button { width: 100%; }
	.two-hz-stats { padding: 56px 0; }
	.two-hz-explainer { padding: 56px 0; }
	.two-hz-explainer__copy h2, .two-hz-reasons__header h2, .two-hz-integration__header h2, .two-hz-audience__header h2, .two-hz-quality__copy h2 { font-size: 40px; line-height: 44px; letter-spacing: -.8px; }
	.two-hz-explainer__copy h2 { margin-bottom: 24px; }
	.two-hz-reasons { padding: 56px 0; }
	.two-hz-audience { padding: 56px 0; }
	.two-hz-audience__grid { grid-template-columns: minmax(0, 1fr); }
	.two-hz-audience__card { min-height: 0; }
	.two-hz-reasons__header p, .two-hz-integration__header p, .two-hz-audience__header p { margin-top: 24px; }
	.two-hz-reasons__grid { grid-template-columns: minmax(0, 1fr); }
	.two-hz-reasons__card, .two-hz-integration__card { min-height: 0; }
	.two-hz-quality { padding: 56px 0; }
	.two-hz-quality__subheading { font-size: 24px; line-height: 30px; }
	.two-hz-quality__tiles { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.two-hz-quality__tile { min-height: 160px; padding-bottom: 24px; }
	.two-hz-integration { padding: 56px 0; }
	.two-hz-cta { min-height: 0; padding: 56px 0; }
	.two-hz-cta__content h2 { font-size: 40px; line-height: 48px; }
	.two-hz-cta__content p { font-size: 24px; line-height: 32px; }
	.two-hz-cta__content p { margin-top: 12px; }
	.two-hz-cta__content .airnav-button { width: 100%; }
}
