:root {
  color-scheme: light;
  --paper: #f6f6f3;
  --white: #fff;
  --surface: #fff;
  --ink: #111;
  --muted: #686862;
  --ink-secondary: #4d4d48;
  --quiet: #85857f;
  --line: #d7d7d2;
  --rule-strong: #c9c9c3;
  --soft: #ecece8;
  --dark: #101010;
  --dark-line: #3a3a38;
  --dark-muted: #b6b6b0;
  --page-gutter: clamp(24px, 6.8vw, 108px);
  --font-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-family: var(--font-sans);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

html { scroll-behavior: smooth; background: var(--paper); }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration-thickness: 1px; }
button { color: inherit; font: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
::selection { color: #fff; background: #111; }

.skip-link {
  position: absolute;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: #fff;
  background: #111;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 82px;
  margin: 0 auto;
  padding: 0 var(--page-gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: max-content;
  gap: 10px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.055em;
}
.brand-mark { display: block; width: 25px; height: 25px; flex: none; }

.primary-navigation {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 43px);
}
.primary-navigation a,
.header-contact {
  color: var(--ink-secondary);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -.01em;
}
.primary-navigation a { padding: 8px 0; }
.primary-navigation a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -1px var(--ink); }
.primary-navigation a:hover,
.header-contact:hover { color: var(--ink); }

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 17px;
}
.header-contact { white-space: nowrap; }
.menu-toggle {
  display: none;
  padding: 9px 0 9px 14px;
  border: 0;
  background: transparent;
  font-size: 13px;
  cursor: pointer;
}

main { margin: 0 auto; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: clamp(34px, 5vw, 76px);
  align-items: center;
  padding: clamp(66px, 8vw, 112px) var(--page-gutter);
  background: var(--paper);
}
.hero-copy { max-width: 640px; }
.hero-product { min-width: 0; margin: 0; }
.hero-product img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  background: #08090b;
}
.hero-product figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 11px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}
.hero-product figcaption span:first-child { color: var(--ink); }
.screenshot-image-link { display: block; }
.screenshot-image-link img { transition: border-color 160ms ease; }
.screenshot-image-link:hover img { border-color: var(--ink); }
.eyebrow {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero h1,
.page-heading h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(48px, 6.35vw, 94px);
  font-weight: 400;
  line-height: .99;
  letter-spacing: -.074em;
}
.hero-intro {
  max-width: 575px;
  margin: 28px 0 0;
  color: var(--ink-secondary);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.62;
}
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 35px; }

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 19px;
  border: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 500;
  transition: background-color 160ms ease, color 160ms ease;
}
.button-dark { color: #fff; background: var(--ink); }
.button-dark:hover { color: var(--ink); background: transparent; }
.text-link,
.light-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
  font-size: 13px;
  font-weight: 500;
}
.text-link:hover,
.light-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.section {
  padding: clamp(76px, 9vw, 132px) var(--page-gutter);
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 40px;
}
.section-heading .eyebrow { margin-bottom: 13px; }
.section-heading h2,
.technology-intro h2,
.section-support h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(36px, 4.25vw, 59px);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -.06em;
}
.section-heading > p {
  max-width: 380px;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.section-featured { background: var(--surface); }
.feature-panel {
  display: block;
  color: var(--white);
  background: var(--dark);
}
.feature-copy { max-width: 850px; padding: clamp(34px, 6vw, 84px); }
.eyebrow-light { color: var(--dark-muted); }
.feature-copy h3 {
  max-width: 600px;
  margin: 0;
  font-size: clamp(38px, 4.3vw, 58px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.06em;
}
.feature-copy > p:not(.eyebrow) {
  max-width: 560px;
  margin: 22px 0 20px;
  color: var(--dark-muted);
  font-size: 15px;
  line-height: 1.65;
}
.light-link { color: var(--white); }
.product-screenshot { min-width: 0; margin: 0; padding: 0 clamp(29px, 6vw, 84px) clamp(30px, 5vw, 68px); }
.product-screenshot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #343434;
  background: #08090b;
}
.product-screenshot figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 11px;
  color: var(--dark-muted);
  font-size: 11px;
  line-height: 1.45;
}
.product-screenshot figcaption span:first-child { color: var(--white); }

.section-ecosystem { background: var(--paper); }
.feature-list { border-top: 1px solid var(--line); }
.feature-row {
  display: grid;
  grid-template-columns: minmax(190px, .7fr) minmax(0, 1.3fr);
  gap: clamp(28px, 7vw, 100px);
  padding: 23px 0 25px;
  border-bottom: 1px solid var(--line);
}
.feature-row h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -.025em;
}
.feature-row p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.section-technology { background: var(--soft); }
.technology-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .9fr);
  align-items: start;
  gap: clamp(42px, 8vw, 120px);
}
.technology-intro h2 { max-width: 620px; }
.technology-intro > p:not(.eyebrow) {
  max-width: 535px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}
.principles-list { margin-top: 0; }
.principle { padding: 16px 0; border-top: 1px solid var(--rule-strong); }
.principle:last-child { border-bottom: 1px solid var(--rule-strong); }
.principle h3 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -.02em;
}
.principle p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.section-news { background: var(--surface); }
.section-heading-news { align-items: center; margin-bottom: 35px; }
.section-heading-news .eyebrow { margin-bottom: 13px; }
.section-heading-news .text-link { flex: none; }
.news-context {
  max-width: 620px;
  margin: -12px 0 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}
.news-row {
  display: grid;
  grid-template-columns: .7fr 2fr auto;
  align-items: center;
  gap: 24px;
  min-height: 82px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.news-type { color: var(--muted); font-size: 13px; }
.news-headline { font-size: 19px; font-weight: 500; letter-spacing: -.035em; }

.section-about {
  display: grid;
  grid-template-columns: .58fr 1.42fr;
  gap: 7vw;
  color: var(--white);
  background: var(--dark);
}
.about-label { padding-top: 6px; }
.about-copy { max-width: 830px; }
.about-copy h2 {
  max-width: 710px;
  margin: 0 0 25px;
  font-size: clamp(39px, 4.6vw, 65px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.066em;
}
.about-copy p {
  max-width: 710px;
  margin: 0;
  color: var(--dark-muted);
  font-size: 15px;
  line-height: 1.75;
}

.section-support {
  display: grid;
  grid-template-columns: 1fr .75fr;
  gap: 10vw;
  align-items: end;
  background: var(--paper);
}
.section-support h2 { max-width: 570px; }
.support-copy p {
  max-width: 450px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}
.support-copy a { text-decoration: underline; text-underline-offset: 3px; }

.site-footer { padding: 66px var(--page-gutter) 21px; color: var(--white); background: var(--dark); }
.footer-main {
  display: grid;
  grid-template-columns: 1.7fr repeat(2, 1fr);
  gap: 48px;
  padding-bottom: 68px;
}
.brand-footer { color: var(--white); }
.footer-brand > p { max-width: 310px; margin: 15px 0 0; color: var(--dark-muted); font-size: 13px; line-height: 1.7; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-column h2 {
  margin: 3px 0 10px;
  color: var(--dark-muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.footer-column a { color: var(--white); font-size: 13px; }
.footer-column a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--dark-line);
  color: var(--dark-muted);
  font-size: 12px;
}
.footer-bottom p { margin: 0; }

.newsroom { padding: clamp(46px, 7vw, 90px) var(--page-gutter) 92px; }
.page-heading { padding-bottom: 42px; border-bottom: 1px solid var(--line); }
.page-heading h1 { max-width: 860px; font-size: clamp(48px, 6.2vw, 82px); }
.page-heading .section-summary {
  max-width: 650px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}
.article {
  display: grid;
  grid-template-columns: .55fr 1.45fr;
  gap: 7vw;
  max-width: 1100px;
  margin: 50px auto 0;
}
.article-date { color: var(--muted); font-size: 13px; }
.article-copy { max-width: 800px; }
.article-copy .eyebrow { margin-bottom: 12px; }
.article h2 {
  max-width: 720px;
  margin: 0 0 14px;
  font-size: clamp(34px, 4.2vw, 54px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.06em;
}
.article-lede { color: var(--ink-secondary); font-size: 18px; line-height: 1.55; }
.article-body { margin-top: 28px; }
.article-body p { color: var(--ink-secondary); }
.article-body a { text-decoration: underline; text-underline-offset: 3px; }
.back-link { max-width: 1100px; margin: 50px auto 0; padding-top: 18px; border-top: 1px solid var(--line); }

@media (max-width: 1000px) {
  .header-inner { grid-template-columns: 1fr auto; min-height: 74px; }
  .header-actions { gap: 8px; }
  .header-contact { display: none; }
  .menu-toggle { display: inline-flex; justify-self: end; align-items: center; }
  .primary-navigation {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px var(--page-gutter) 22px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
  }
  .primary-navigation.is-open { display: flex; }
  .primary-navigation a { padding: 13px 0; border-top: 1px solid var(--line); }
  .primary-navigation a[aria-current="page"] { box-shadow: none; }
  .hero { grid-template-columns: 1fr; gap: 36px; }
  .hero-copy { max-width: 800px; }
}

@media (max-width: 720px) {
  .hero { padding-top: 66px; padding-bottom: 72px; }
  .hero-product figcaption { flex-direction: column; gap: 2px; }
  .hero h1,
  .page-heading h1 { font-size: clamp(47px, 12vw, 75px); }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 18px; }
  .feature-copy { padding: 39px 29px 35px; }
  .product-screenshot { padding: 0 20px 26px; }
  .product-screenshot figcaption { flex-direction: column; gap: 2px; }
  .feature-row { grid-template-columns: 1fr; gap: 7px; padding: 20px 0 22px; }
  .technology-copy,
  .section-support,
  .section-about,
  .article { grid-template-columns: 1fr; gap: 30px; }
  .section-about { gap: 25px; }
  .principles-list { margin-top: 0; }
  .news-row { grid-template-columns: 1fr auto; gap: 8px 18px; padding: 18px 0; }
  .news-headline { grid-column: 1; grid-row: 2; }
  .news-row .text-link { grid-column: 2; grid-row: 1 / 3; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 38px 26px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
  .article { margin-top: 34px; }
}

@media (max-width: 430px) {
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 15px; }
  .section-heading h2,
  .technology-intro h2,
  .section-support h2 { font-size: 39px; }
  .footer-main { gap: 34px 18px; }
  .footer-column a { font-size: 12px; }
  .newsroom { padding-top: 42px; }
}

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

/* Localfy product screenshot gallery */
.section-gallery { background: var(--soft); }
.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 3.2vw, 42px);
}
.screenshot-item { min-width: 0; margin: 0; }
.screenshot-item img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #373735;
  background: #08090b;
}
.screenshot-image-link:focus-visible { outline-offset: 6px; }
.screenshot-item figcaption {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 18px;
  padding: 15px 0 0;
  border-top: 1px solid var(--rule-strong);
  color: var(--ink-secondary);
  font-size: 13px;
  line-height: 1.45;
}
.screenshot-step {
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.gallery-note {
  max-width: 700px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}
@media (max-width: 720px) {
  .screenshot-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 430px) {
  .screenshot-item figcaption { grid-template-columns: 1fr; gap: 4px; }
}
