:root {
  --navy-base: #173B57;
  --navy-dark: #0B1926;
  --teal-base: #35A7A0;
  --teal-dark: #125E5D;
  --blue-base: #3D8BB5;
  --blue-dark: #235C7A;
  --coral-base: #F26B5B;
  --coral-dark: #B94A3E;
  --sunshine-base: #F2B84B;
  --cream: #FFF9F2;
  --white: #FFFFFF;
  --gray: #536B7A;
  --muted: #71818C;
  --light-gray: #C8D5DC;
  --danger: #C83E4D;
  
  --serif: Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

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

body { 
  margin: 0; 
  color: var(--navy-base); 
  background: var(--cream); 
  font-family: var(--sans); 
  -webkit-font-smoothing: antialiased; 
}

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

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

a:focus-visible, button:focus-visible, input:focus-visible { 
  outline: 3px solid var(--teal-dark); 
  outline-offset: 5px; 
  border-radius: 3px; 
}

img, svg { display: block; max-width: 100%; height: auto; }

p { line-height: 1.75; }

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

h1, h2 { 
  font-family: var(--serif); 
  font-weight: 400; 
  letter-spacing: -.045em; 
}

h1 { 
  font-size: clamp(2.8rem, 4.6vw, 4.5rem); 
  line-height: 1.08; 
  margin-bottom: 25px; 
}

h1 span { color: var(--teal-base); }

h2 { 
  font-size: clamp(2rem, 3.1vw, 3rem); 
  line-height: 1.16; 
  margin-bottom: 22px; 
}

h3 { 
  font-weight: 600;
  font-size: 18px;
}

.container { 
  width: min(1180px, calc(100% - 96px)); 
  margin-inline: auto; 
}

.skip-link { 
  position: absolute; 
  left: 20px; 
  top: -100px; 
  z-index: 10; 
  padding: 14px 20px; 
  background: var(--teal-dark); 
  color: white; 
}

.skip-link:focus { top: 12px; }

/* HEADER */
.site-header { border-bottom: 1px solid #D5E0E7; }

.header-inner { 
  min-height: 100px; 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  gap: 28px; 
}

.brand { 
  display: flex; 
  align-items: center; 
  gap: 11px; 
  flex-shrink: 0; 
}

.brand-icon {
  font-size: 32px;
  display: inline-block;
}

.brand > span { 
  font-size: 19px; 
  letter-spacing: -.5px; 
  font-weight: 600;
}

.brand strong, .footer-brand strong { 
  color: var(--teal-base); 
  font-weight: 600; 
}

.brand small { 
  display: block; 
  font-size: 8px; 
  letter-spacing: 2.1px; 
  margin-top: 6px; 
  color: var(--muted); 
}

.main-nav { 
  display: flex; 
  gap: 20px; 
  align-items: center; 
  font-size: 12px; 
  font-weight: 500; 
  flex-wrap: wrap;
}

.main-nav a:hover { 
  color: var(--teal-dark); 
  text-decoration: underline; 
  text-underline-offset: 6px; 
}

.main-nav [aria-current] { 
  color: var(--teal-dark); 
  text-decoration: underline; 
  text-underline-offset: 6px; 
}

/* HERO */
.hero { 
  padding: 73px 0 69px; 
  overflow: hidden; 
  background: linear-gradient(135deg, #EAF4F6 0%, var(--cream) 100%);
}

.hero-grid { 
  display: grid; 
  grid-template-columns: 1.12fr 1fr; 
  align-items: center; 
  gap: 48px; 
}

.eyebrow { 
  font-size: 10px; 
  letter-spacing: 2px; 
  font-weight: 700; 
  color: var(--teal-dark); 
  margin-bottom: 22px; 
}

.hero .eyebrow { 
  display: flex; 
  align-items: center; 
  gap: 9px; 
}

.status-dot { 
  height: 7px; 
  width: 7px; 
  border-radius: 50%; 
  background: var(--teal-base); 
  flex-shrink: 0; 
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-description { 
  color: var(--muted); 
  font-size: 16px; 
  max-width: 495px; 
  margin-bottom: 30px; 
}

.button-row { 
  display: flex; 
  gap: 23px; 
  align-items: center; 
  flex-wrap: wrap; 
  margin-bottom: 25px;
}

.button { 
  display: inline-flex; 
  justify-content: center; 
  align-items: center; 
  gap: 24px; 
  padding: 16px 23px; 
  border-radius: 6px; 
  font-size: 13px; 
  font-weight: 600; 
  line-height: 1.5; 
  transition: background .18s, transform .18s; 
  white-space: nowrap;
}

button.button { 
  border: 0; 
  font-family: inherit; 
  cursor: pointer; 
}

button.button:disabled { 
  cursor: wait; 
  opacity: .7; 
  transform: none; 
}

.button:hover { 
  transform: translateY(-2px); 
}

.button-primary { 
  color: white; 
  background: var(--teal-dark); 
}

.button-primary:hover { 
  background: var(--navy-base); 
}

.button-secondary { 
  color: white; 
  background: var(--blue-base); 
}

.button-secondary:hover { 
  background: var(--blue-dark); 
}

.text-link { 
  font-size: 12px; 
  font-weight: 600; 
  text-decoration: underline; 
  text-underline-offset: 5px; 
  text-decoration-color: #aec6bd; 
  line-height: 1.8; 
}

.text-link span { margin-left: 8px; }

.hero-note { 
  font-size: 11px; 
  color: var(--muted); 
  margin: 0; 
}

.hero-art { 
  position: relative; 
  padding: 28px 0; 
}

.studio-illustration { 
  width: 100%; 
  border-radius: 12px;
}

.art-label { 
  position: absolute; 
  top: 8px; 
  right: 8px; 
  font-family: var(--serif); 
  font-style: italic; 
  color: var(--muted); 
  font-size: 14px; 
  transform: rotate(4deg); 
}

.art-label span { 
  display: inline-block; 
  font-family: var(--sans); 
  font-size: 25px; 
  margin-right: 7px; 
  color: var(--teal-base); 
}

.art-caption { 
  display: flex; 
  gap: 13px; 
  align-items: center; 
  position: absolute; 
  bottom: 19px; 
  right: 7px; 
  background: var(--cream); 
  border: 1px solid #D5E0E7; 
  padding: 14px 19px; 
  border-radius: 9px; 
  box-shadow: 0 8px 24px rgba(23, 59, 87, 0.08); 
  font-size: 12px; 
  line-height: 1.7; 
}

.caption-mark { 
  background: #E1EFEE; 
  color: var(--teal-dark); 
  border-radius: 50%; 
  width: 33px; 
  height: 33px; 
  display: grid; 
  place-items: center; 
  font-size: 18px;
}

.art-caption strong { font-weight: 600; }

/* PURPOSE STRIP */
.purpose-strip { 
  background: #E6F3F1; 
  border-block: 1px solid #D5E0E7; 
  padding: 24px 0; 
}

.purpose-inner { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  gap: 20px; 
}

.purpose-inner p { 
  font-size: 13px; 
  margin: 0; 
}

.purpose-inner strong { font-weight: 600; }

.purpose-tags { 
  display: flex; 
  gap: 25px; 
  font-size: 11px; 
  color: var(--muted); 
}

.purpose-tags span::before { 
  content: '+'; 
  margin-right: 9px; 
  color: var(--teal-base); 
  font-weight: 700; 
}

/* SECTIONS */
.section { padding: 86px 0; }

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

.section-heading h2 { margin-bottom: 0; }

.section-heading > p { 
  max-width: 310px; 
  font-size: 14px; 
  color: var(--muted); 
  margin: 0 0 3px; 
}

/* FEATURES */
.feature-grid { 
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 24px; 
}

.feature-card { 
  border: 1px solid #D5E0E7; 
  border-radius: 13px; 
  background: var(--white); 
  overflow: hidden; 
  padding: 28px; 
  transition: transform .2s, box-shadow .2s; 
  text-align: center;
}

.feature-card:hover { 
  transform: translateY(-4px); 
  box-shadow: 0 10px 30px rgba(23, 59, 87, 0.09); 
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 16px;
  display: block;
}

.feature-card h3 { 
  margin: 0 0 12px; 
  font-size: 18px; 
  color: var(--navy-base);
}

.feature-card p { 
  color: var(--muted); 
  font-size: 13px; 
  margin: 0; 
  line-height: 1.6;
}

/* WHY AVIA */
.why-avia-section {
  background: #F8FDFB;
  border-top: 1px solid #D5E0E7;
}

.why-avia-grid { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 100px; 
  align-items: center; 
}

.why-description { 
  color: var(--muted); 
  font-size: 14px; 
  max-width: 410px; 
  margin-bottom: 23px; 
}

.why-values { margin-top: 40px; }

.why-value { 
  display: flex; 
  gap: 22px; 
  padding: 24px 0; 
  border-bottom: 1px solid #D5E0E7; 
}

.why-value:first-child { padding-top: 0; }

.why-value:last-child { 
  border-bottom: 0; 
  padding-bottom: 0; 
}

.value-number { 
  color: var(--teal-base); 
  font-size: 11px; 
  font-weight: 600; 
  letter-spacing: 1px; 
  padding-top: 4px; 
  min-width: 25px;
}

.why-value h3 { 
  font-size: 16px; 
  margin-bottom: 6px; 
}

.why-value p { 
  color: var(--muted); 
  font-size: 13px; 
  margin: 0; 
}

/* DOWNLOADS */
.download-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}

.download-card {
  border: 1px solid #D5E0E7;
  border-radius: 13px;
  background: var(--white);
  padding: 32px 28px;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}

.download-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(23, 59, 87, 0.09);
}

.device-icon {
  font-size: 56px;
  margin-bottom: 20px;
  display: block;
}

.download-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.download-card > p:not(.device-note) {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 24px;
}

.download-card .button {
  margin-bottom: 16px;
  width: 100%;
  gap: 12px;
  justify-content: center;
}

.device-note {
  color: var(--muted);
  font-size: 11px;
  margin-top: 16px;
  margin-bottom: 0;
}

.ios .button { background: var(--navy-base); }
.ios .button:hover { background: var(--navy-dark); }

.android .button { background: var(--blue-base); }
.android .button:hover { background: var(--blue-dark); }

.button-light { 
  background: var(--cream); 
  color: var(--teal-dark); 
  flex-shrink: 0;
  border: 1px solid #D5E0E7;
}

.button-light:hover { 
  background: #E6F3F1; 
}

.button-light:focus-visible { 
  outline-color: var(--teal-dark); 
}

.availability-note {
  background: #EAF4F6;
  border-left: 4px solid var(--teal-base);
  padding: 20px;
  border-radius: 6px;
  color: var(--navy-base);
  font-size: 13px;
}

.availability-note p {
  margin: 0;
  line-height: 1.6;
}

/* CONTACT SECTION */
.contact-section { 
  background: var(--teal-dark); 
  color: white; 
  padding: 54px 0; 
}

.contact-inner { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  gap: 35px; 
}

.contact-section .eyebrow { 
  color: #B9E2D5; 
  margin-bottom: 16px; 
}

.contact-section h2 { 
  font-size: clamp(1.9rem, 2.8vw, 2.7rem); 
  margin-bottom: 12px; 
}

.contact-section p:not(.eyebrow) { 
  color: #CCE4DF; 
  font-size: 13px; 
  margin: 0; 
}

/* FOOTER */
.site-footer { padding: 40px 0 22px; }

.footer-top { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  gap: 30px; 
  padding-bottom: 30px; 
}

.footer-brand { 
  font-size: 19px; 
  letter-spacing: -.4px; 
  font-weight: 600;
}

.footer-brand span { 
  display: block; 
  font-size: 11px; 
  color: var(--muted); 
  letter-spacing: 0; 
  margin-top: 10px; 
}

.site-footer nav { 
  display: flex; 
  flex-wrap: wrap; 
  gap: 23px; 
  font-size: 11px; 
  color: var(--muted); 
}

.site-footer nav a:hover {
  color: var(--teal-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom { 
  display: flex; 
  justify-content: space-between; 
  gap: 20px; 
  border-top: 1px solid #D5E0E7; 
  padding-top: 20px; 
  color: var(--muted); 
  font-size: 10px; 
}

.footer-bottom p { margin: 0; }

.noscript-note { 
  padding: 24px 0; 
  color: var(--muted);
  font-size: 13px;
}

/* POLICY PAGES */
.page-intro { 
  padding: 72px 0; 
  background: #E6F3F1; 
  border-bottom: 1px solid #D5E0E7; 
}

.page-intro h1 { 
  font-size: clamp(2.8rem, 4.2vw, 4rem); 
}

.page-intro .hero-description { 
  margin-bottom: 0; 
}

.prose { 
  color: var(--muted); 
  font-size: 16px; 
  line-height: 1.8; 
  max-width: 800px;
}

.prose h2 { 
  color: var(--navy-base); 
  font-size: 29px; 
  margin-top: 35px; 
}

.prose h2:first-child { margin-top: 0; }

.prose a { 
  color: var(--teal-dark); 
  text-decoration: underline; 
  text-underline-offset: 3px; 
}

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

.prose li { 
  margin-bottom: 10px; 
}

.policy-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 25px;
  border-bottom: 1px solid #D5E0E7;
  padding-bottom: 25px;
  margin-bottom: 35px;
  font-size: 13px;
  color: var(--teal-dark);
}

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

.policy-date {
  font-size: 12px;
  color: var(--muted);
  margin: 20px 0 0;
}

/* RESPONSIVE */
@media (min-width: 1450px) {
  .hero { padding-block: 90px; }
}

@media (max-width: 1000px) {
  .container { width: calc(100% - 64px); }
  .hero-grid { gap: 20px; }
  .main-nav { gap: 20px; }
  .purpose-tags { gap: 15px; }
  .feature-grid { gap: 16px; }
  .why-avia-grid { gap: 50px; }
  .contact-inner { gap: 25px; }
}

@media (max-width: 760px) {
  .container { width: calc(100% - 40px); }
  
  .header-inner { 
    min-height: 95px; 
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 16px; 
    padding: 20px 0; 
  }
  
  .brand > span { font-size: 18px; }
  
  .main-nav { 
    width: 100%; 
    justify-content: center; 
    gap: 12px; 
    font-size: 11px; 
  }
  
  .hero { padding: 44px 0 38px; }
  
  .hero-grid { 
    grid-template-columns: 1fr; 
    gap: 24px; 
  }
  
  .hero-copy { max-width: 540px; }
  
  h1 { font-size: clamp(2.75rem, 8vw, 3.8rem); }
  
  .hero-description { font-size: 15px; }
  
  .hero-art { 
    width: min(390px, 100%); 
    margin: 0 auto; 
    padding-block: 15px; 
  }
  
  .art-label { top: 0; font-size: 12px; }
  
  .art-caption { 
    bottom: 10px; 
    font-size: 11px; 
    padding: 10px 13px; 
  }
  
  .purpose-inner { 
    align-items: start; 
    flex-direction: column; 
    gap: 12px; 
  }
  
  .purpose-tags { 
    gap: 17px; 
    flex-wrap: wrap; 
  }
  
  .section { padding: 54px 0; }
  
  .section-heading { 
    align-items: start; 
    flex-direction: column; 
    gap: 18px; 
    margin-bottom: 28px; 
  }
  
  .section-heading > p { max-width: 440px; }
  
  .feature-grid { 
    grid-template-columns: 1fr; 
    gap: 23px; 
  }
  
  .feature-card {
    text-align: left;
  }
  
  .feature-icon {
    text-align: center;
  }
  
  .why-avia-grid { 
    grid-template-columns: 1fr; 
    gap: 35px; 
  }
  
  .download-cards {
    grid-template-columns: 1fr;
  }
  
  .contact-inner { 
    flex-direction: column; 
    align-items: start; 
    gap: 24px; 
  }
  
  .contact-section { padding: 40px 0; }
  
  .footer-top { 
    flex-direction: column; 
    align-items: start; 
    gap: 25px; 
  }
  
  .footer-bottom { 
    flex-direction: column; 
    gap: 8px; 
  }
  
  .page-intro { padding: 45px 0; }
  
  .prose { max-width: 100%; }
}

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