/*
 * Smart Ticket — site styles (one file for every page).
 *
 * Order matters: rules are kept in cascade order. Base rules come first, then
 * the responsive overrides for each breakpoint, then later component variants
 * with their own breakpoints. When changing a component, search for its class
 * — it may also appear in a @media block further down.
 *
 * Breakpoints: 1450 (wide), 1100, 1050, 900, 800 (burger menu), 640, 560 (phone).
 * Colours and widths: custom properties on :root below.
 */

@font-face {
  font-family: eUkraine;
  src: url('../fonts/e-Ukraine-Regular.otf') format('opentype');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: eUkraine;
  src: url('../fonts/e-Ukraine-Bold.otf') format('opentype');
  font-weight: 700;
  font-display: swap;
}

:root {
  --ink: #111310;
  --muted: #62665f;
  --line: #dedfd8;
  --paper: #fff;
  --wash: #f5f6f1;
  --yellow: #FFD932;
  --blue: #ECFBFF;
  --sky: #56C1FF;
  --amber: #FEAE00;
  --radius: 20px;
  --max: 1264px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: eUkraine, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.65;
  font-size: 16px;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
  color: inherit;
}

button,
a,
select,
input {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

img {
  max-width: 100%;
  display: block;
}

svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -.045em;
}

h1 {
  font-size: clamp(40px, 4.65vw, 68px);
}

h2 {
  font-size: clamp(30px, 3.4vw, 48px);
}

h3 {
  font-size: 24px;
}

p + p {
  margin-top: 16px;
}

mark {
  color: inherit;
  background: var(--yellow);
  padding: 0 .08em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.container {
  width: min(var(--max), calc(100% - 80px));
  margin-inline: auto;
}

.section {
  padding-block: 88px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-bottom: 23px;
}

.eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink);
}

.lead {
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 600px;
  margin-top: 25px;
}

.small {
  font-size: 12px;
  color: var(--muted);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 52px;
  padding: 13px 23px;
  background: var(--ink);
  color: white;
  border: 1px solid var(--ink);
  border-radius: 9px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  transition: background .18s, transform .18s;
}

.button:hover {
  background: #30362d;
  transform: translateY(-2px);
}

.button.outline {
  background: transparent;
  color: var(--ink);
  border-color: #bbbfb6;
}

.actions {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 28px;
}

.section-heading {
  display: flex;
  gap: 30px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 36px;
}

.section-heading h2 {
  max-width: 800px;
}

.skip {
  position: fixed;
  left: 20px;
  top: -100px;
  z-index: 200;
  padding: 12px;
  background: white;
}

.skip:focus {
  top: 10px;
}

.topbar {
  background: var(--wash);
  font-size: 11px;
  border-bottom: 1px solid var(--line);
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
  gap: 16px;
}

.topbar a {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar svg {
  width: 14px;
  height: 14px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  height: 84px;
  display: flex;
  align-items: center;
}

.brand {
  flex-shrink: 0;
}

.brand img {
  width: 126px;
  max-height: 62px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  margin-left: auto;
  font-weight: 700;
}

.nav > a {
  padding: 10px 0;
  white-space: nowrap;
}

.nav > a:hover,
.nav > a[aria-current=page] {
  text-decoration: underline;
  text-underline-offset: 8px;
}

.nav .passenger-nav {
  padding: 11px 16px;
  background: var(--yellow);
  border-radius: 7px;
}

.nav details {
  position: relative;
}

.nav summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 12px 0;
}

.nav summary svg {
  width: 14px;
  height: 14px;
}

.dropdown {
  position: absolute;
  top: 48px;
  left: -20px;
  min-width: 280px;
  background: white;
  border: 1px solid var(--line);
  padding: 10px;
  border-radius: 12px;
  box-shadow: 0 15px 35px #00000010;
}

.dropdown a {
  display: block;
  padding: 12px;
  border-radius: 6px;
}

.dropdown a:hover {
  background: var(--wash);
}

.header-call {
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
}

.mobile-passenger,
.menu-toggle {
  display: none;
}

.header-call:hover {
  background: var(--yellow);
}

.hero {
  display: grid;
  align-items: stretch;
  padding-block: 40px;
}

.hero .lead {
  margin-top: 21px;
  max-width: 440px;
  line-height: 1.6;
}

.hero-help {
  margin-top: 19px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 14px;
}

.hero-help > svg {
  width: 20px;
  height: 20px;
}

.hero-help a {
  font-weight: 700;
  white-space: nowrap;
}

.notice {
  display: flex;
  gap: 18px;
  padding: 20px 24px;
  background: var(--blue);
  border-radius: 12px;
  font-size: 13px;
  margin-top: 25px;
}

.notice p {
  max-width: 900px;
}

.number-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--yellow);
  display: grid;
  place-items: center;
  font-size: 22px;
}

.proof-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  border-block: 1px solid var(--line);
}

.proof-grid > div {
  padding: 35px 28px;
}

.proof-grid > div + div {
  border-left: 1px solid var(--line);
}

.metric {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -.06em;
}

.proof-grid p {
  margin-top: 15px;
  color: var(--muted);
}

.case-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.case-card {
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
  cursor: default;
}

.case-art {
  border-radius: 14px;
  overflow: hidden;
  background: var(--wash);
  position: relative;
  margin-bottom: 20px;
}

.case-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-card:hover h3 {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.case-card h3 {
  font-size: 22px;
  line-height: 1.3;
}

.case-card p {
  color: var(--muted);
  margin-top: 12px;
}

.tag {
  display: inline-flex;
  border: 1px solid #d1d4cc;
  border-radius: 30px;
  padding: 4px 10px;
  margin-bottom: 12px;
  line-height: 1.5;
}

.case-art.graphic {
  background: var(--yellow);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.case-art.graphic strong {
  line-height: 1.1;
  letter-spacing: -.04em;
  font-size: clamp(24px, 2.8vw, 36px);
}

.case-art.graphic svg {
  width: 45px;
  height: 45px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
}

.about-grid p {
  color: var(--muted);
}

.about-grid .eyebrow {
  margin-top: 7px;
}

.partners {
  margin-top: 40px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 30px;
}

.partners img {
  width: 115px;
  height: 42px;
  object-fit: contain;
}

.partners span {
  font-size: 17px;
  font-weight: 700;
  color: #4f5450;
}

.contact-section {
  background: var(--yellow);
  padding: 65px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
}

.contact-grid h2 {
  font-size: 44px;
}

.contact-options {
  display: grid;
  gap: 25px;
}

.contact-option {
  border-bottom: 1px solid #0003;
  padding-bottom: 22px;
}

.contact-option:last-child {
  border: 0;
  padding-bottom: 0;
}

.contact-option span {
  font-size: 11px;
  display: block;
  margin-bottom: 6px;
}

.contact-option a {
  font-size: 24px;
  letter-spacing: -.03em;
  font-weight: 700;
}

.contact-option p {
  font-size: 12px;
  margin-top: 4px;
}

.footer {
  background: #141714;
  color: white;
}

.footer-logo {
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.05em;
}

.footer p {
  color: #aaa;
  margin-top: 16px;
}

.footer a {
  display: block;
  font-size: 12px;
  color: #d8dbd4;
  margin-block: 10px;
}

.footer a:hover {
  color: var(--yellow);
}

.page-hero {
  padding: 45px 0 56px;
  max-width: 1000px;
}

.page-hero .eyebrow {
  margin-bottom: 20px;
}

.page-hero h1 {
  font-size: clamp(38px, 4.8vw, 66px);
}

.page-hero .lead {
  max-width: 760px;
}

.feature-list {
  display: grid;
  gap: 32px;
  margin-top: 32px;
}

.feature-list h3 {
  margin-block: 12px;
}

.feature-list p {
  color: var(--muted);
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 32px;
}

.step {
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.step .num {
  font-size: 35px;
  letter-spacing: -.06em;
  margin-bottom: 20px;
  color: #777e70;
}

.step h3 {
  line-height: 1.3;
}

.step p {
  margin-top: 12px;
  color: var(--muted);
}

.callout {
  padding: 38px;
  border-radius: 16px;
  background: var(--blue);
  margin-top: 36px;
}

.callout h3 {
  font-size: 26px;
}

.callout p {
  margin-top: 13px;
  color: var(--muted);
  max-width: 750px;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.service-block {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.service-block h3 {
  font-size: 23px;
  max-width: 350px;
  margin-top: 24px;
}

.service-block p {
  color: var(--muted);
  margin-top: 17px;
}

.service-block ul {
  padding-left: 20px;
  font-size: 13px;
  margin-top: 20px;
}

.service-block li + li {
  margin-top: 8px;
}

.filterbar {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.filterbar button {
  background: white;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 10px 18px;
  min-height: 44px;
  font-size: 12px;
}

.filterbar button[aria-pressed=true] {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
}

.filterbar button:hover {
  border-color: var(--ink);
}

[hidden] {
  display: none !important;
}

.article {
  max-width: 780px;
  margin: auto;
  padding-bottom: 75px;
}

.article-cover {
  border-radius: 14px;
  margin-bottom: 40px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.article h2 {
  font-size: 29px;
  margin: 38px 0 18px;
}

.article p,
.article li {
  line-height: 1.8;
  color: #444b42;
}

.article ul {
  padding-left: 23px;
}

.article .source-box {
  border-top: 1px solid var(--line);
  padding-top: 25px;
  margin-top: 35px;
  font-size: 12px;
}

.article .tag {
  margin-top: 22px;
}

.passenger-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 55px;
  align-items: start;
  padding-bottom: 70px;
}

.support-aside {
  position: sticky;
  top: 120px;
  background: var(--yellow);
  border-radius: 16px;
  padding: 27px;
}

.support-aside h3 {
  line-height: 1.25;
}

.support-aside .phone {
  display: block;
  font-size: 22px;
  font-weight: 700;
  margin-top: 25px;
  white-space: nowrap;
}

.support-aside p {
  font-size: 12px;
  margin-top: 13px;
}

.faq-section {
  margin-top: 55px;
}

.faq-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 24px;
}

.faq-head h2 {
  font-size: 29px;
}

.search-box {
  position: relative;
  margin-block: 22px;
}

.search-box input {
  width: 100%;
  padding: 16px 20px 16px 48px;
  border: 1px solid #bfc4b9;
  border-radius: 9px;
  font-size: 14px;
}

.search-box svg {
  position: absolute;
  left: 16px;
  top: 18px;
  width: 19px;
  height: 19px;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 120px;
}

.faq-list details:first-child {
  border-top: 1px solid var(--line);
}

.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 22px;
  font-weight: 700;
  padding: 22px 0;
  line-height: 1.55;
  font-size: 17px;
}

.faq-list summary::after {
  content: '+';
  font-size: 23px;
  font-weight: 400;
  line-height: 1;
  flex-shrink: 0;
}

.faq-list details[open] summary::after {
  content: '−';
}

.faq-list details > div {
  padding: 0 35px 25px 0;
  line-height: 1.8;
  font-size: 16px;
  color: var(--ink);
}

.faq-list a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.no-results {
  padding: 24px;
  border-radius: 10px;
  background: var(--wash);
}

.center {
  max-width: 800px;
  text-align: center;
}

.center .eyebrow {
  justify-content: center;
}

.center .lead {
  margin-inline: auto;
}

.center .actions {
  justify-content: center;
}

.news-count {
  font-size: 12px;
  color: var(--muted);
  margin: -12px 0 25px;
}

@media (max-width: 1100px) {
  .container {
    width: calc(100% - 48px);
  }

  .nav {
    gap: 17px;
    font-size: 11px;
  }

  .nav .about-nav {
    display: none;
  }

  .section {
    padding-block: 68px;
  }

  .contact-grid {
    gap: 45px;
  }

  .case-art {
    height: 200px;
  }

  .passenger-layout {
    gap: 30px;
    grid-template-columns: minmax(0, 1fr) 280px;
  }

  .support-aside {
    padding: 22px;
  }

  .support-aside .phone {
    font-size: 19px;
  }
}

@media (max-width: 800px) {
  .topbar .partner-link {
    display: none;
  }

  .topbar .container {
    justify-content: center;
  }

  .header-inner {
    height: 70px;
    gap: 12px;
  }

  .brand,
  .brand img {
    width: 105px;
  }

  .nav {
    display: none;
  }

  .mobile-passenger {
    display: inline-flex;
    background: var(--yellow);
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 11px;
    font-weight: 700;
    margin-left: auto;
    min-height: 42px;
    align-items: center;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: white;
  }

  .header-call {
    width: 40px;
    height: 40px;
    border: 0;
  }

  .nav.is-open {
    display: flex;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    padding: 25px 24px 32px;
    align-items: stretch;
    gap: 2px;
    flex-direction: column;
    border-bottom: 1px solid var(--line);
    max-height: calc(100dvh - 70px);
    overflow-y: auto;
    font-size: 15px;
  }

  .nav > a,
  .nav summary {
    padding: 14px;
  }

  .dropdown {
    position: static;
    box-shadow: none;
    border: 0;
    padding: 0 14px;
    min-width: 0;
  }

  .nav details {
    border-bottom: 1px solid var(--line);
  }

  .dropdown a {
    font-size: 13px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 18px;
  }

  .case-grid {
    gap: 25px;
  }

  .about-grid,
  .contact-grid {
    gap: 30px;
  }

  .proof-grid > div {
    padding: 25px 18px;
  }

  .passenger-layout {
    grid-template-columns: 1fr;
  }

  .support-aside {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 30px;
  }

  .support-aside .phone {
    font-size: 24px;
    margin-top: 8px;
  }

  .support-aside p {
    grid-column: 1/-1;
  }

  .service-block {
    padding: 25px;
  }

  .steps {
    gap: 22px;
  }

  .contact-option a {
    font-size: 20px;
  }

  .hero .eyebrow {
    font-size: 14px;
  }

  .hero .lead {
    max-width: 540px;
  }

  .hero-copy {
    max-width: 100%;
  }
}

@media (max-width: 560px) {
  .container {
    width: calc(100% - 36px);
  }

  .topbar {
    font-size: 10px;
  }

  .topbar .container {
    min-height: 31px;
  }

  .topbar .top-note {
    display: none;
  }

  .header-inner {
    gap: 7px;
  }

  .brand,
  .brand img {
    width: 89px;
  }

  .header-call {
    width: 35px;
  }

  .mobile-passenger {
    font-size: 10px;
    padding-inline: 10px;
  }

  .menu-toggle {
    width: 37px;
    height: 40px;
  }

  .hero .eyebrow {
    margin-bottom: 18px;
  }

  .hero h1 {
    letter-spacing: -.055em;
  }

  .hero .lead {
    margin-top: 18px;
    font-size: 16px;
  }

  .notice {
    padding: 18px 16px;
    gap: 12px;
    font-size: 12px;
  }

  .notice svg {
    width: 20px;
    margin-top: 3px;
  }

  h2 {
    font-size: 31px;
  }

  .eyebrow {
    margin-bottom: 17px;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .number-circle {
    width: 43px;
    height: 43px;
    font-size: 18px;
  }

  .proof-grid {
    grid-template-columns: 1fr 1fr;
  }

  .proof-grid > div:first-child {
    grid-column: 1/-1;
    border-bottom: 1px solid var(--line);
    padding-left: 0;
  }

  .proof-grid > div:nth-child(2) {
    border-left: 0;
    padding-left: 0;
  }

  .case-grid {
    gap: 30px;
  }

  .about-grid,
  .contact-grid,
  .service-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contact-section {
    padding: 44px 0;
  }

  .contact-grid h2 {
    font-size: 33px;
  }

  .page-hero {
    padding: 31px 0 35px;
  }

  .page-hero h1 {
    font-size: 39px;
  }

  .lead {
    font-size: 14px;
    margin-top: 20px;
  }

  .feature-list {
    gap: 25px 20px;
  }

  .feature-list h3 {
    line-height: 1.25;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .step {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 0 17px;
    padding: 22px 0;
  }

  .step .num {
    grid-row: 1/3;
    font-size: 25px;
    margin: 0;
  }

  .step p {
    grid-column: 2;
    margin-top: 9px;
  }

  .callout {
    padding: 25px;
  }

  .callout h3 {
    font-size: 24px;
  }

  .service-block h3 {
    font-size: 24px;
  }

  .article h2 {
    font-size: 25px;
  }

  .passenger-layout {
    gap: 35px;
  }

  .support-aside {
    display: block;
    padding: 25px;
  }

  .support-aside .phone {
    font-size: 26px;
    margin-top: 20px;
  }

  .faq-head {
    align-items: start;
    flex-direction: column;
    gap: 10px;
  }

  .faq-head h2 {
    font-size: 28px;
  }

  .faq-list details > div {
    padding-right: 10px;
    font-size: 16px;
  }

  .actions {
    gap: 10px;
  }

  .button {
    font-size: 12px;
    padding: 12px 18px;
    min-height: 48px;
  }

  .filterbar {
    gap: 7px;
  }

  .filterbar button {
    padding: 9px 13px;
    font-size: 14px;
  }

  .hero {
    padding-top: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }

  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}

.forbes-badge {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  width: fit-content;
  max-width: 100%;
  padding: 10px 14px;
  margin: 0 0 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  line-height: 1.4;
  font-size: 14px;
}

.forbes-badge strong {
  font-family: Georgia, serif;
  font-size: 1.25rem;
}

.forbes-badge strong span {
  font-family: inherit;
  font-size: 1rem;
}

.hero-copy {
  padding-top: 0;
}

.hero h1 {
  font-size: clamp(42px, 4.4vw, 64px);
}

.hero-services {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.hero-help a {
  font-size: 22px;
}

.hero-help svg {
  width: 20px;
}

.region-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.region-grid h3 {
  font-size: 25px;
}

.region-grid p {
  margin-top: 12px;
}

.history-line {
  max-width: 840px;
  margin-top: 32px;
}

.project-region-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.region-project {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.region-project h2 {
  font-size: 36px;
}

.region-project h3 {
  font-size: 30px;
  margin-top: 18px;
}

.region-project p {
  margin-top: 20px;
}

.historical {
  background: var(--wash);
}

.advantages .feature-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 40px;
  gap: 36px;
}

.feature-list p,
.step p,
.service-block p,
.about-grid p,
.case-card p,
.section-heading p,
.callout p {
  font-size: 16px;
}

.eyebrow,
.tag {
  font-size: 14px;
}

.partners-section {
  padding-top: 40px;
}

.compact-footer {
  padding: 28px 0;
}

.compact-footer .container {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.compact-footer .footer-logo {
  font-size: 22px;
}

.compact-footer p {
  font-size: 14px;
}

.case-art {
  height: 240px;
}

.article .page-hero h1 {
  font-size: clamp(34px, 3.7vw, 52px);
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.article h3 {
  font-size: 26px;
  margin-top: 32px;
  margin-bottom: 14px;
}

.article p,
.article li {
  font-size: 17px;
}

.article-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 32px 0;
}

.article-metrics > div {
  background: var(--wash);
  border-radius: 12px;
  padding: 24px;
}

.article-metrics strong {
  display: block;
  font-size: 36px;
  line-height: 1.2;
  margin-bottom: 12px;
}

.article-metrics span {
  font-size: 16px;
}

.source-box,
.article .source-box p {
  font-size: 14px;
}

.proof-grid .metric {
  font-size: clamp(36px, 4.4vw, 62px);
}

.nav-cases .dropdown {
  width: 300px;
  max-width: calc(100vw - 40px);
}

.nav .dropdown a {
  font-size: 14px;
}

@media (max-width: 1100px) {
  .region-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .advantages .feature-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .hero h1 {
    font-size: 48px;
  }

  .nav-cases .dropdown {
    width: auto;
    max-width: none;
  }

  .project-region-grid {
    gap: 18px;
  }

  .region-project {
    padding: 24px;
  }

  .region-project h2 {
    font-size: 30px;
  }

  .case-grid .case-card:last-child .case-art {
    height: 240px;
  }
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: 42px;
  }

  .hero-help {
    gap: 10px;
  }

  .hero-help span {
    font-size: 14px;
  }

  .hero-help a {
    font-size: 21px;
  }

  .forbes-badge {
    gap: 6px 12px;
    padding: 10px 12px;
  }

  .forbes-badge > span {
    font-size: 14px;
  }

  .region-grid {
    gap: 24px 16px;
  }

  .region-grid h3 {
    font-size: 23px;
    overflow-wrap: anywhere;
  }

  .project-region-grid,
  .advantages .feature-list,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .region-project h2 {
    font-size: 32px;
  }

  .feature-list h3,
  .step h3 {
    font-size: 23px;
  }

  .section {
    padding-block: 44px;
  }

  .proof-grid .metric {
    font-size: 42px;
  }

  .proof-grid p {
    font-size: 15px;
  }

  .case-art,
  .case-grid .case-card:last-child .case-art {
    height: 220px;
  }

  .case-art.graphic strong {
    font-size: 30px;
  }

  .article p,
  .article li {
    font-size: 16px;
  }

  .article-metrics {
    grid-template-columns: 1fr;
  }

  .faq-list summary {
    font-size: 16px;
  }

  .contact-option a {
    font-size: clamp(18px, 5vw, 23px);
  }

  .compact-footer .container {
    gap: 18px;
  }
}

.case-art.photo-frame,
.case-grid .case-card:last-child .case-art.photo-frame {
  height: auto;
  aspect-ratio: 16/10;
  background: #f5f6f1;
  display: grid;
  place-items: center;
}

.case-art.photo-frame img {
  max-height: 100%;
  object-fit: contain;
  object-position: var(--focus, 50% 50%);
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.legal-nav {
  display: flex;
  gap: 8px 24px;
  flex-wrap: wrap;
  align-items: center;
}

.legal-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.compact-footer .legal-nav {
  flex: 1 1 100%;
}

.document-section {
  padding: 0 0 56px;
}

.document-section h2 {
  font-size: 32px;
  margin-bottom: 24px;
}

.document-card {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  scroll-margin-top: 130px;
}

.document-card h3 {
  line-height: 1.3;
}

.document-card p {
  margin-top: 12px;
  max-width: 650px;
  color: var(--muted);
}

.document-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.document-note {
  font-size: 14px;
  margin: 0 0 24px;
  max-width: 850px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.faq-list ol {
  padding-left: 24px;
}

.faq-list li + li {
  margin-top: 12px;
}

.faq-note {
  padding: 16px;
  background: var(--wash);
  border-radius: 8px;
}

@media (min-width: 801px) {
  .nav {
    gap: 16px;
    font-size: 12px;
  }

  .header-inner {
    gap: 16px;
  }
}

@media (max-width: 1050px) and (min-width: 801px) {
  .nav {
    gap: 10px;
    font-size: 11px;
  }

  .nav .passenger-nav {
    padding: 10px;
  }

  .header-call {
    display: none;
  }
}

@media (max-width: 800px) {
  .document-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .document-actions {
    flex-wrap: wrap;
  }

  .document-section h2 {
    font-size: 28px;
  }

  .legal-nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav .about-nav {
    display: block;
  }
}

.case-art.photo-frame {
  position: relative;
  overflow: hidden;
}

.numbers-subtitle {
  line-height: 1.3;
  margin: 32px 0 24px;
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.number-card {
  padding: 28px 24px;
  background: var(--wash);
  border-radius: 16px;
  min-width: 0;
}

.number-value {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.04em;
  white-space: nowrap;
}

.number-card p {
  margin-top: 16px;
  line-height: 1.5;
}

.numbers-highlight {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--yellow);
  padding: 28px;
  border-radius: 16px;
  margin: 20px 0 48px;
}

.numbers-highlight strong {
  font-size: 40px;
  white-space: nowrap;
  line-height: 1.2;
}

@media (max-width: 800px) {
  .numbers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .number-value {
    font-size: 32px;
  }
}

@media (max-width: 560px) {
  .numbers-grid {
    grid-template-columns: 1fr;
  }

  .number-card {
    padding: 24px;
  }

  .number-value {
    font-size: 36px;
  }

  .numbers-highlight {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
  }

  .numbers-subtitle {
    font-size: 23px;
  }
}

.partners {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 24px;
  align-items: center;
  justify-items: center;
}

.partners > img,
.partners > .partner-identity,
.partners > span {
  width: 120px;
  height: 56px;
  min-width: 0;
  min-height: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.partners > img,
.partners .partner-identity img {
  object-fit: contain;
  max-width: 110px;
  max-height: 40px;
  width: 110px;
  height: 40px;
}

.partners .partner-square img {
  width: 48px;
  height: 48px;
  max-width: 48px;
  max-height: 48px;
}

.partners > span {
  font-size: 17px;
  line-height: 1.2;
}

.partners a.partner-identity {
  border-radius: 6px;
}

@media (max-width: 560px) {
  .partners {
    gap: 18px 12px;
  }

  .partners > img,
  .partners > .partner-identity,
  .partners > span {
    max-width: 100%;
  }
}

.support-intro {
  margin: 1.5rem 0;
}

.support-intro h2 {
  font-size: 1.25rem;
  line-height: 1.3;
  margin-bottom: .5rem;
}

.support-intro p {
  max-width: 38rem;
}

.current-app {
  margin: 2rem 0;
}

.current-app h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.2;
}

.graphite {
  --muted: #d2d4d3;
  background: #252629;
  color: #fff;
}

.graphite .eyebrow,
.graphite .region-grid h3 {
  color: var(--yellow);
}

.graphite .eyebrow::before {
  background: var(--yellow);
}

.hero:has(.service-panel) {
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(24px, 4vw, 64px);
}

.service-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  border-radius: var(--radius);
  overflow: hidden;
}

.service-panel.ticket-service {
  background: #f3f3f0;
}

.service-panel.digital-service {
  background: #292a2d;
  color: #fff;
}

.service-panel .eyebrow {
  margin: 0 0 16px;
  letter-spacing: .06em;
}

.digital-service .eyebrow {
  color: var(--yellow);
}

.digital-service .eyebrow::before {
  background: currentColor;
}

.panel-copy {
  padding: clamp(18px, 2vw, 34px);
}

.panel-copy h2 {
  font-size: clamp(1.5rem, 2.1vw, 2.2rem);
}

.panel-copy p {
  margin-top: 12px;
  line-height: 1.5;
}

.stt-art {
  width: 100%;
  height: auto;
}

.service-panel .stt-art {
  align-self: center;
}

.graphite.geography .region-grid > div {
  border-top: 1px solid #66676a;
  padding-top: 20px;
}

.graphite .history-line {
  color: #d2d4d3;
}

.recognition-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 5vw, 72px);
  margin-top: clamp(32px, 5vw, 64px);
}

.recognition-grid article {
  padding-top: 24px;
  border-top: 3px solid var(--yellow);
}

.recognition-grid h3 {
  font-size: clamp(1.5rem, 2.8vw, 2.5rem);
}

.recognition-grid h3 a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
}

.recognition-grid p {
  max-width: 64ch;
  margin-top: 14px;
  color: var(--muted);
}

.solution-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  border-radius: var(--radius);
  overflow: hidden;
  margin-block: clamp(24px, 4vw, 56px);
}

.ticket-hero {
  background: #f4f4f1;
}

.solution-hero .page-hero {
  min-width: 0;
  padding: clamp(24px, 4vw, 64px);
}

.solution-hero h1 {
  font-size: clamp(2.35rem, 4.4vw, 4.2rem);
}

.solution-hero .lead {
  font-size: clamp(1rem, 1.4vw, 1.25rem);
}

.graphite mark {
  color: var(--yellow);
  background: none;
}

.solution-hero.graphite mark::after {
  display: none;
}

.ticket-features {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-block: 12px 28px;
}

.graphite .feature-icon {
  color: #202124;
}

.service-intro {
  max-width: 840px;
  padding-top: 12px;
}

.service-intro .lead {
  margin-top: 18px;
}

.callout.graphite .button {
  color: var(--ink);
  background: var(--yellow);
}

@media (max-width: 900px) {
  .hero:has(.service-panel) {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }

  .service-panel {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    align-items: start;
  }

  .service-panel .stt-art {
    grid-row: 1;
  }

  .ticket-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hero-services,
  .solution-hero,
  .recognition-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-panel .stt-art {
    aspect-ratio: 1.42;
    object-fit: cover;
  }

  .panel-copy {
    padding: 24px;
  }

  .solution-hero .page-hero {
    padding: 28px 24px;
  }

  .ticket-features {
    grid-template-columns: 1fr;
  }
}

.brand:has(img.wordmark) {
  width: clamp(145px, 16vw, 220px);
}

.brand img.wordmark,
.footer-logo img.wordmark {
  width: 100%;
  height: auto;
}

.footer-logo:has(img.wordmark) {
  width: 220px;
  max-width: 100%;
  border-radius: 6px;
  overflow: hidden;
}

@media (max-width: 1050px) {
  .brand:has(img.wordmark) {
    width: 140px;
  }
}

@media (max-width: 560px) {
  .brand:has(img.wordmark) {
    width: clamp(94px, 28vw, 140px);
  }
}

#fare-inspection ul {
  padding-inline-start: 24px;
}

#fare-inspection li + li {
  margin-top: 10px;
}

.contact-lead {
  margin-top: 22px;
  max-width: 440px;
}

.no-results p {
  margin-top: 12px;
}

.no-results .button {
  margin-top: 15px;
}

.page-end {
  padding-bottom: 70px;
}

/* Privacy policy (policy.html): legal text in the article layout */
.policy section + section {
  margin-top: 56px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.policy h3 {
  font-size: 22px;
}

.text-underline {
  text-decoration: underline;
  text-underline-offset: 4px;
}
