

@font-face { font-family: "Lato"; font-weight: 300; font-style: normal; font-display: swap; src: url("../fonts/lato-300.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/lato-400.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-weight: 400; font-style: italic; font-display: swap; src: url("../fonts/lato-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/lato-700.woff2") format("woff2"); }
@font-face { font-family: "Crimson Pro"; font-weight: 400; font-style: italic; font-display: swap; src: url("../fonts/crimson-pro-400-italic.woff2") format("woff2"); }

:root {
  --text: #293047;
  --text-dark: #1a1f2d;
  --heading: #325662;
  --accent: #ff6600;
  --rule-light: #e6e6e6;
  --field-bg: #fafafa;
  --page-pad: 40px;
  --wide: 1320px;
  --narrow: 870px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: "Lato", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: 0.035em;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

p { margin: 0 0 1em; }

h1, h2, h3 { margin: 0 0 0.6em; letter-spacing: 0; }
h1 { font-size: 37px; font-weight: 300; line-height: 1.25; color: var(--heading); }
h3 { font-size: 28px; font-weight: 400; line-height: 1.5; color: var(--text-dark); letter-spacing: 0.02em; }

ul { margin: 0 0 1em; padding-left: 1.4em; }
li { margin-bottom: 0.25em; }

.wrap { max-width: calc(var(--wide) + 2 * var(--page-pad)); margin: 0 auto; padding: 0 var(--page-pad); }
.narrow { max-width: var(--narrow); margin-left: auto; margin-right: auto; }
.center { text-align: center; }

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 44px;
  padding-bottom: 44px;
}
.site-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.site-nav a {
  color: var(--heading);
  font-size: 16px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  transition: opacity .2s;
}
.site-nav a:hover { opacity: .6; }
.site-nav a[aria-current="page"] { opacity: .6; }
.site-logo img { width: 306px; height: auto; }

.nav-toggle { display: none; }

.app-line { margin-bottom: 24px; }
.hero img { width: 100%; }
.quote {
  font-family: "Crimson Pro", Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 23px;
  line-height: 1.6;
  letter-spacing: 0.015em;
  margin: 110px auto;
}
.video { position: relative; aspect-ratio: 16 / 9; max-width: var(--wide); margin: 0 auto 80px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.feature {
  display: grid;
  grid-template-columns: 3fr 5fr;
  gap: 40px;
  padding: 26px 0 10px;
}
.feature h1 { margin-top: -4px; }
.rule { border: 0; height: 1px; background: var(--accent); max-width: var(--narrow); margin: 30px auto; }
.rule.light { background: var(--rule-light); }

.row {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 36px;
  align-items: start;
  margin: 50px 0;
}
.row.wide-media { grid-template-columns: 5fr 7fr; }
.row.reverse { grid-template-columns: 1fr 5fr; }
.row.reverse.wide-media { grid-template-columns: 7fr 5fr; }
.row.reverse .media { order: 2; }
.row h3 { margin-top: 4px; }
.page-title { text-align: center; color: var(--text-dark); margin: 20px 0 70px; }
.intro { margin: 10px 0 40px; }

.caption { font-size: 12px; line-height: 1.68; margin-top: 30px; }

.button {
  display: inline-block;
  background: var(--text-dark);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1.1em 2.2em;
  text-decoration: none;
  margin-top: 6px;
  transition: opacity .2s;
}
.button:hover { opacity: .8; text-decoration: none; }

.site-footer { padding: 90px 0 60px; color: var(--heading); }
.site-footer .copy { text-align: center; margin-top: 50px; }

@media (max-width: 900px) {
  :root { --page-pad: 24px; }
  .site-header .wrap { padding-top: 24px; padding-bottom: 24px; flex-direction: row-reverse; }
  .site-logo img { width: 220px; }
  .nav-toggle {
    display: block; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--heading);
  }
  .nav-toggle span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px 0; }
  .site-nav {
    display: none;
    position: absolute; top: 80px; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 16px var(--page-pad) 24px; gap: 16px;
    box-shadow: 0 8px 16px rgba(0,0,0,.06); z-index: 10;
  }
  .site-nav.open { display: flex; }
  .site-header { position: relative; }
  .feature, .row, .row.wide-media, .row.reverse, .row.reverse.wide-media { grid-template-columns: 1fr; gap: 20px; }
  .row.reverse .media { order: 0; }
  .row .media { max-width: 420px; }
  h1 { font-size: 30px; }
  h3 { font-size: 24px; }
  .quote { font-size: 20px; margin: 60px auto; }
}
