/* Direct2 components, from the Direct2 Design System bundle.css (v3.2). */
body { margin: 0; font-family: var(--font-body); background: var(--ground); color: var(--ink); -webkit-font-smoothing: antialiased; }

/* Shared: the tracked label voice */
.d2-label { font-family: var(--font-body); font-size: 11px; line-height: 16px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-muted); }

/* Button: labels, not shouts. Square, hairline, tracked caps. */
.d2-btn { font-family: var(--font-body); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; min-height: 48px; padding: 0 var(--space-8); border-radius: var(--radius-sm, 2px); border: var(--border-hairline) solid transparent; display: inline-flex; align-items: center; justify-content: center; gap: var(--space-3); cursor: pointer; text-decoration: none; transition: background-color var(--duration-quiet, 240ms) var(--ease-drift, cubic-bezier(0.22, 0.61, 0.36, 1)), border-color var(--duration-quiet, 240ms) var(--ease-drift, cubic-bezier(0.22, 0.61, 0.36, 1)), color var(--duration-quiet, 240ms) var(--ease-drift, cubic-bezier(0.22, 0.61, 0.36, 1)); }
.d2-btn:focus-visible { outline: 1px solid var(--focus-ring); outline-offset: 3px; }
.d2-btn:disabled { opacity: .4; cursor: not-allowed; }
.d2-btn-primary { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
.d2-btn-primary:hover:not(:disabled) { background: var(--brand-hover); border-color: var(--brand-hover); }
.d2-btn-secondary { background: none; color: var(--ink); border-color: var(--ink); }
.d2-btn-secondary:hover:not(:disabled) { background: var(--ink); color: var(--ground); }
.d2-btn-ghost { background: none; color: var(--bone); border-color: var(--ghost-line-dark); }
.d2-btn-ghost:hover:not(:disabled) { border-color: var(--bone); }
.d2-btn-signal { background: var(--signal); color: var(--on-signal); border-color: var(--signal); }
.d2-btn-signal:hover:not(:disabled) { background: var(--signal-hover); border-color: var(--signal-hover); }
.d2-btn-text { background: none; color: var(--ink); border: 0; border-radius: 0; padding: 0; min-height: 32px; border-bottom: var(--border-hairline) solid var(--ink); }

/* Card: no box. A hairline above, generous space, Articulat title. */
.d2-card { background: none; border: 0; border-top: var(--border-hairline) solid var(--line); border-radius: var(--radius-none, 0); padding: var(--space-5) 0 0; display: flex; flex-direction: column; gap: var(--space-3); color: var(--ink); text-decoration: none; transition: border-color var(--duration-quiet, 240ms) var(--ease-drift, cubic-bezier(0.22, 0.61, 0.36, 1)); }
.d2-card-interactive { cursor: pointer; }
.d2-card-interactive:hover { border-top-color: var(--ink); }
.d2-card-interactive:hover .d2-card-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.d2-card-interactive:focus-visible { outline: 1px solid var(--focus-ring); outline-offset: 4px; }
.d2-card-kicker { font-size: 11px; line-height: 16px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-muted); }
.d2-card-title { margin: 0; font-family: var(--font-display); font-size: 24px; line-height: 1.2; font-weight: 500; letter-spacing: -.02em; }
.d2-card-body { margin: 0; font-size: 16px; line-height: 27px; color: var(--ink-muted); }

/* Text field: an underline, not a box */
.d2-field { display: flex; flex-direction: column; gap: var(--space-2); font-family: var(--font-body); }
.d2-field-label { font-size: 11px; line-height: 16px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-muted); }
.d2-input { font: inherit; font-size: 16px; line-height: 27px; min-height: 48px; box-sizing: border-box; padding: 0; background: none; color: var(--ink); border: 0; border-bottom: var(--border-hairline) solid var(--line-strong); border-radius: var(--radius-none, 0); outline: none; transition: border-color var(--duration-quiet, 240ms) var(--ease-drift, cubic-bezier(0.22, 0.61, 0.36, 1)); }
.d2-input::placeholder { color: var(--ink-muted); }
.d2-input:focus { border-bottom-color: var(--focus-ring); box-shadow: 0 1px 0 0 var(--focus-ring); }
.d2-field-error .d2-input { border-bottom-color: var(--error); }
.d2-field-msg { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.d2-field-error .d2-field-msg { color: var(--error); }

/* Section header: LABEL > serif headline > subheadline */
.d2-sh { display: flex; flex-direction: column; gap: var(--space-5); max-width: 760px; }
.d2-sh-center { align-items: center; text-align: center; margin: 0 auto; }
.d2-sh-kicker { font-family: var(--font-body); font-size: 11px; line-height: 16px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-muted); }
.d2-sh-title { margin: 0; font-family: var(--font-display); color: var(--ink); font-weight: 500; }
.d2-sh-quote { margin: 0; font-family: var(--font-serif, "Newsreader", Georgia, serif); font-weight: 300; font-size: 36px; line-height: 1.18; letter-spacing: -.015em; color: var(--ink); }
.d2-sh-title-lg { font-size: 72px; line-height: 1.0; letter-spacing: -.03em; }
.d2-sh-title-md { font-size: 48px; line-height: 1.04; letter-spacing: -.025em; }
.d2-sh-sub { margin: 0; max-width: 520px; font-size: 16px; line-height: 27px; color: var(--ink-muted); }

/* Nav bar: floats over imagery */
.d2-nav { position: sticky; top: 0; z-index: 10; background: var(--nav-bg); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: var(--border-hairline) solid var(--ghost-line); }
.d2-nav-inner { display: flex; align-items: center; gap: var(--space-8); min-height: 72px; padding: 0 var(--space-8); box-sizing: border-box; }
.d2-nav-logo { display: flex; align-items: center; }
.d2-nav-logo img { display: block; height: 22px; width: auto; }
.d2-nav-links { display: flex; gap: var(--space-8); margin: 0 0 0 auto; padding: 0; list-style: none; }
.d2-nav-links a { font-size: 11px; line-height: 16px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--ink); text-decoration: none; padding: var(--space-3) 0; }
.d2-nav-links a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.d2-nav-links a:focus-visible { outline: 1px solid var(--focus-ring); outline-offset: 3px; }
.d2-nav-actions { display: flex; gap: var(--space-3); }
.d2-nav-actions .d2-btn { min-height: 40px; padding: 0 var(--space-5); }
@media (max-width: 720px) { .d2-nav-links { display: none; } .d2-nav-actions { margin-left: auto; } }

/* Hero: an atmosphere image, a scrim, one serif line, labels in the corners */
.d2-hero { position: relative; min-height: 560px; display: flex; flex-direction: column; justify-content: space-between; padding: var(--space-8); box-sizing: border-box; color: var(--bone); background: var(--night) center / cover no-repeat; overflow: hidden; }
.d2-hero::before { content: ""; position: absolute; inset: 0; background: var(--scrim-photo); pointer-events: none; }
.d2-hero > * { position: relative; z-index: 2; }
.d2-hero-top, .d2-hero-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--space-6); }
.d2-hero-label { font-family: var(--font-mono); font-size: 10px; line-height: 14px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--bone); opacity: var(--label-on-image, .85); }
.d2-hero-title { margin: 0; max-width: 820px; font-family: var(--font-serif, "Newsreader", Georgia, serif); font-size: 104px; line-height: .95; font-weight: 300; letter-spacing: -.025em; }
.d2-hero-title em { font-style: italic; }
.d2-hero-sub { margin: var(--space-5) 0 0; max-width: 440px; font-size: 16px; line-height: 27px; color: var(--bone); opacity: .88; }
@media (max-width: 720px) { .d2-hero { min-height: 480px; padding: var(--space-6); } .d2-hero-title { font-size: 56px; } }

/* v3 Field Kit ---------------------------------------------------------- */

/* Grain: add .d2-grain to any positioned panel (imagery, Signal, Forest) */
.d2-grain { position: relative; isolation: isolate; }
.d2-grain::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: url('../img/grain-light.webp') 0 0 / 256px 256px repeat; opacity: var(--grain-strength, .55); mix-blend-mode: overlay; z-index: 1; }
.d2-grain-dark::after { background-image: url('../img/grain-dark.webp'); opacity: .35; mix-blend-mode: multiply; }
.d2-mono { font-family: var(--font-mono); font-size: 13px; line-height: 20px; font-weight: 500; letter-spacing: .04em; }

/* Tag: field tags and stickers in mono caps */
.d2-tag { display: inline-flex; align-items: center; gap: var(--space-2); font-family: var(--font-mono); font-size: 10px; line-height: 14px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; border-radius: var(--radius-sm); border: var(--border-hairline) solid transparent; white-space: nowrap; }
.d2-tag-signal { background: var(--signal); color: var(--on-signal); }
.d2-tag-outline { color: var(--ink); border-color: var(--line-strong); }
.d2-tag-night { background: var(--night); color: var(--bone); }
.d2-tag-tilt { transform: rotate(var(--tilt-tag, -2deg)); }
.d2-tag-dot { width: 6px; height: 6px; border-radius: var(--radius-pill); background: currentColor; }

/* RouteMark: an airport pair set like a race bib */
.d2-route { display: inline-flex; flex-direction: column; gap: var(--space-3); color: var(--ink); }
.d2-route-pair { display: flex; align-items: center; gap: var(--space-4); font-family: var(--font-mono); font-weight: 700; font-size: 64px; line-height: 1; letter-spacing: -.02em; }
.d2-route-arrow { width: .7em; height: .7em; flex: none; color: currentColor; }
.d2-route-sm .d2-route-pair { font-size: 32px; gap: var(--space-3); }
.d2-route-meta { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6); font-family: var(--font-mono); font-size: 10px; line-height: 14px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); border-top: var(--border-hairline) solid var(--line); padding-top: var(--space-3); }

/* Ticker: a band of field data that drifts */
.d2-ticker { overflow: hidden; border-block: var(--border-hairline) solid var(--line); color: var(--ink); }
.d2-ticker-signal { background: var(--signal); color: var(--on-signal); border-color: var(--signal); }
.d2-ticker-track { display: flex; width: max-content; animation: d2-drift 48s linear infinite; }
.d2-ticker-run { display: flex; flex: none; }
.d2-ticker-item { flex: none; padding: 12px var(--space-6); font-family: var(--font-mono); font-size: 13px; line-height: 20px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.d2-ticker-item::after { content: ""; display: inline-block; width: 12px; height: 12px; margin-left: var(--space-6); vertical-align: -1px; background: currentColor; -webkit-mask: url('../brand/starburst.svg') center / contain no-repeat; mask: url('../brand/starburst.svg') center / contain no-repeat; }
@keyframes d2-drift { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .d2-ticker-track { animation: none; } }

/* v3.1 Jet age nods -------------------------------------------------------- */

/* Starburst: the atomic age mark, as a small glyph in the text color */
.d2-starburst { display: inline-block; width: 20px; height: 20px; flex: none; background: currentColor; -webkit-mask: url('../brand/starburst.svg') center / contain no-repeat; mask: url('../brand/starburst.svg') center / contain no-repeat; }
.d2-liner { font-family: var(--font-serif, "Newsreader", Georgia, serif); font-style: italic; font-size: 15px; line-height: 22px; color: var(--ink-muted); }

/* Ticket: a boarding pass, modern first */
.d2-ticket { display: grid; grid-template-columns: 1fr 176px; max-width: 760px; background: var(--surface); color: var(--ink); border: var(--border-hairline) solid var(--line); border-radius: var(--radius-none, 0); }
.d2-ticket-main { padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-5); min-width: 0; }
.d2-ticket-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); font-family: var(--font-mono); font-size: 10px; line-height: 14px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }
.d2-ticket-head .d2-starburst { width: 16px; height: 16px; }
.d2-ticket-cities { margin: calc(var(--space-2) * -1) 0 0; }
.d2-ticket-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: var(--space-4); border-top: var(--border-hairline) solid var(--line); padding-top: var(--space-4); }
.d2-ticket-field { display: flex; flex-direction: column; gap: 4px; }
.d2-ticket-field dt { font-family: var(--font-mono); font-size: 10px; line-height: 14px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }
.d2-ticket-field dd { margin: 0; font-family: var(--font-mono); font-size: 13px; line-height: 20px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.d2-ticket-stub { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-4); padding: var(--space-6) var(--space-5); background: var(--signal); color: var(--on-signal); border-left: 2px dashed var(--ground); }
.d2-ticket-stub::before, .d2-ticket-stub::after { content: ""; position: absolute; left: -12px; width: 22px; height: 22px; border-radius: var(--radius-pill); background: var(--ground); }
.d2-ticket-stub::before { top: -12px; } .d2-ticket-stub::after { bottom: -12px; }
.d2-ticket-forest .d2-ticket-stub { background: var(--forest-green); color: var(--bone); }
.d2-ticket-stub-label { font-family: var(--font-mono); font-size: 10px; line-height: 14px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.d2-ticket-stub-value { font-family: var(--font-mono); font-size: 32px; line-height: 1; font-weight: 700; letter-spacing: -.02em; text-transform: uppercase; }
.d2-ticket-stub .d2-starburst { width: 36px; height: 36px; }
@media (max-width: 560px) { .d2-ticket { grid-template-columns: 1fr; } .d2-ticket-stub { border-left: 0; border-top: 2px dashed var(--ground); flex-direction: row; align-items: center; } .d2-ticket-stub::before { top: -12px; left: -12px; } .d2-ticket-stub::after { top: -12px; bottom: auto; left: auto; right: -12px; } }

/* Web layer (v3.2): container, sections, Feature, Footer ------------------ */
.d2-container { width: 100%; max-width: 1280px; margin: 0 auto; padding-inline: var(--space-16); box-sizing: border-box; }
.d2-page .d2-hero, .d2-page .d2-nav-inner { padding-inline: max(var(--space-16), calc((100% - 1280px) / 2 + var(--space-16))); }
@media (max-width: 1024px) { .d2-page .d2-hero, .d2-page .d2-nav-inner { padding-inline: var(--space-8); } }
@media (max-width: 720px) { .d2-page .d2-hero, .d2-page .d2-nav-inner { padding-inline: var(--space-5); } }
.d2-section { padding-block: var(--space-32); }
.d2-section-tight { padding-block: var(--space-24); }
.d2-section-light { background: var(--ground); color: var(--ink); }
.d2-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-12) var(--space-8); margin-top: var(--space-16); }
.d2-statement { margin: 0; max-width: 880px; font-family: var(--font-serif, "Newsreader", Georgia, serif); font-weight: 300; font-size: 56px; line-height: 1.08; letter-spacing: -.02em; color: var(--ink); }
.d2-statement em { font-style: italic; }
.d2-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-16); align-items: start; }
.d2-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-8) var(--space-8); }
.d2-form .d2-form-wide { grid-column: 1 / -1; }
.d2-form .d2-btn { justify-self: start; }

.d2-feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-16); align-items: center; }
.d2-feature-reverse { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.d2-feature-reverse .d2-feature-media { order: 2; }
.d2-feature-media { aspect-ratio: 4 / 3; background: var(--pine) center / cover no-repeat; display: flex; align-items: flex-start; justify-content: flex-end; padding: var(--space-5); box-sizing: border-box; }
.d2-feature-label { position: relative; z-index: 2; font-family: var(--font-mono); font-size: 10px; line-height: 14px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--bone); }
.d2-feature-text { display: flex; flex-direction: column; gap: var(--space-5); }
.d2-feature-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-3); }

.d2-footer { background: var(--night); color: var(--bone); border-top: var(--border-hairline) solid var(--line); }
.d2-footer-top { display: grid; grid-template-columns: minmax(0, 4fr) repeat(2, minmax(0, 2fr)) minmax(0, 4fr); gap: var(--space-12); padding-block: var(--space-24) var(--space-16); }
.d2-footer-brand { display: flex; flex-direction: column; gap: var(--space-5); align-items: flex-start; }
.d2-footer-logo { display: block; height: 24px; width: auto; }
.d2-footer-tagline { margin: 0; max-width: 300px; color: var(--lichen); }
.d2-footer-mono { font-family: var(--font-mono); font-size: 10px; line-height: 14px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--lichen); }
.d2-footer-col { display: flex; flex-direction: column; gap: var(--space-5); }
.d2-footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.d2-footer-col a { font-size: 15px; line-height: 24px; color: var(--bone); text-decoration: none; }
.d2-footer-col a:hover, .d2-footer-legal-links a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.d2-footer a:focus-visible { outline: 1px solid var(--focus-ring); outline-offset: 3px; }
.d2-footer-signup { display: flex; flex-direction: column; gap: var(--space-4); }
.d2-footer-signup .d2-btn { align-self: flex-start; }
.d2-footer-small { margin: 0; font-size: 15px; line-height: 24px; color: var(--lichen); }
.d2-footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-4); padding-block: var(--space-6); border-top: var(--border-hairline) solid var(--line); font-size: 13px; line-height: 20px; color: var(--lichen); }
.d2-footer-legal-links { display: flex; gap: var(--space-6); }
.d2-footer-legal-links a { color: var(--lichen); text-decoration: none; }

@media (max-width: 1024px) {
  .d2-container { padding-inline: var(--space-8); }
  .d2-footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .d2-feature, .d2-feature-reverse { gap: var(--space-8); }
  .d2-statement { font-size: 44px; }
}
@media (max-width: 720px) {
  .d2-container { padding-inline: var(--space-5); }
  .d2-section { padding-block: var(--space-16); }
  .d2-section-tight { padding-block: var(--space-12); }
  .d2-sh-title-lg { font-size: 44px; }
  .d2-sh-title-md { font-size: 34px; }
  .d2-cards, .d2-split, .d2-form, .d2-feature, .d2-feature-reverse, .d2-footer-top { grid-template-columns: minmax(0, 1fr); }
  .d2-feature-reverse .d2-feature-media { order: 0; }
  .d2-statement { font-size: 34px; }
  .d2-footer-top { padding-block: var(--space-16) var(--space-12); gap: var(--space-12); }
}

