:root {
  --ink: #17221f;
  --muted: #65716d;
  --paper: #f6f7f4;
  --white: #ffffff;
  --green: #153f36;
  --green-light: #d9eee7;
  --coral: #ef775d;
  --line: #d8dedb;
  --header-height: 76px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

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

.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--white);
  color: var(--ink);
  transition: top 160ms ease;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-height);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.site-header.scrolled,
.site-header.menu-active {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.97);
  color: var(--ink);
}

.header-inner,
.section-inner,
.focus-inner,
.footer-inner {
  width: min(calc(100% - 48px), var(--max-width));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid currentColor;
  font-size: 15px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-nav a {
  position: relative;
  font-size: 14px;
  font-weight: 500;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: currentColor;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  margin: 6px auto;
  background: currentColor;
  transition: transform 180ms ease;
}

.hero {
  position: relative;
  min-height: 88svh;
  background-color: #263a36;
  background-image: url("assets/software-workspace.jpg");
  background-position: center;
  background-size: cover;
  color: var(--white);
  isolation: isolate;
}

.hero-overlay {
  position: absolute;
  inset: 0 46% 0 0;
  z-index: -1;
  background: rgba(13, 33, 29, 0.82);
}

.hero-inner {
  display: flex;
  align-items: center;
  width: min(calc(100% - 48px), var(--max-width));
  min-height: 88svh;
  margin-inline: auto;
  padding-top: var(--header-height);
}

.hero-copy {
  width: min(620px, 52%);
  padding-block: 64px;
}

.eyebrow {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: "Manrope", Arial, sans-serif;
  letter-spacing: 0;
}

h1 {
  max-width: 650px;
  margin-bottom: 26px;
  font-size: 76px;
  font-weight: 600;
  line-height: 1.03;
}

.hero-summary {
  max-width: 590px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 12px 20px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button-primary {
  background: var(--coral);
  color: #25120e;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #ff9178;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}

.photo-credit {
  position: absolute;
  right: 20px;
  bottom: 12px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
}

.photo-credit a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.focus-strip {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.focus-inner {
  display: grid;
  grid-template-columns: 170px 1fr;
  align-items: center;
  min-height: 118px;
}

.focus-inner > p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.focus-inner ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.focus-inner li {
  padding-left: 22px;
  border-left: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
}

.section {
  padding-block: 120px;
}

.section-heading h2 {
  max-width: 600px;
  margin-bottom: 0;
  font-size: 58px;
  font-weight: 600;
  line-height: 1.12;
}

.eyebrow-dark {
  color: var(--green);
}

.eyebrow-accent {
  color: #a83f2b;
}

.eyebrow-light {
  color: var(--green-light);
}

.about {
  background: var(--paper);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: 9%;
}

.about-content {
  padding-top: 34px;
  color: var(--muted);
}

.about-content .lead {
  color: var(--ink);
  font-size: 21px;
  line-height: 1.6;
}

.company-facts {
  margin: 48px 0 0;
  border-top: 1px solid var(--line);
}

.company-facts div {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 20px;
  padding-block: 19px;
  border-bottom: 1px solid var(--line);
}

.company-facts dt,
.contact-details dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.company-facts dd,
.contact-details dd {
  margin: 0;
  color: var(--ink);
  line-height: 1.5;
}

.products {
  overflow: hidden;
  background: var(--green);
  color: var(--white);
}

.products-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.5fr);
  gap: 10%;
  align-items: end;
  margin-bottom: 76px;
}

.products-intro > p {
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.7);
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr);
  gap: 10%;
  align-items: center;
}

.capability {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 24px;
  padding-block: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  cursor: default;
  opacity: 0.58;
  transition: opacity 180ms ease;
}

.capability:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.capability:hover,
.capability.active {
  opacity: 1;
}

.capability-number {
  margin: 3px 0 0;
  color: var(--coral);
  font-size: 13px;
  font-weight: 700;
}

.capability h3 {
  margin-bottom: 8px;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 22px;
  line-height: 1.35;
}

.capability p:last-child {
  max-width: 580px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
}

.product-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 610px;
  justify-content: center;
  background: #e1ece8;
}

.phone-frame {
  width: min(270px, 78%);
  aspect-ratio: 0.51;
  padding: 8px;
  border: 2px solid #13211e;
  border-radius: 34px;
  background: #1d2926;
  box-shadow: 0 24px 50px rgba(13, 32, 27, 0.23);
}

.phone-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 26px;
  background: #fbfcfa;
  color: var(--ink);
}

.phone-status,
.app-header,
.app-copy,
.progress-card,
.mini-grid {
  margin-inline: 22px;
}

.phone-status {
  display: flex;
  justify-content: space-between;
  padding-top: 15px;
  font-size: 9px;
  font-weight: 700;
}

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
}

.app-symbol {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  background: var(--green);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
}

.avatar {
  width: 28px;
  height: 28px;
  border: 1px solid #9aa9a4;
  border-radius: 50%;
  background: var(--green-light);
}

.app-copy {
  margin-top: 42px;
}

.app-copy > p {
  margin-bottom: 6px;
  color: #6d7975;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.app-copy h3 {
  margin-bottom: 0;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 23px;
  line-height: 1.22;
}

.progress-card {
  margin-top: 28px;
  padding: 18px;
  background: var(--green);
  color: var(--white);
}

.progress-card-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.progress-card-top span {
  font-size: 10px;
}

.progress-card-top strong {
  font-size: 17px;
}

.progress-track {
  height: 3px;
  margin-top: 16px;
  background: rgba(255, 255, 255, 0.25);
}

.progress-track span {
  display: block;
  width: 72%;
  height: 100%;
  background: var(--coral);
  transition: width 220ms ease;
}

.mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

.mini-grid > div {
  min-width: 0;
  padding: 14px;
  border: 1px solid #d8dfdc;
}

.mini-icon {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  background: var(--green-light);
  color: var(--green);
  font-size: 10px;
  font-weight: 700;
}

.mini-grid p {
  margin: 12px 0 0;
  font-size: 11px;
  font-weight: 700;
}

.app-nav {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 18px;
  border-top: 1px solid #e1e6e3;
  background: #fbfcfa;
}

.app-nav span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #aeb9b5;
}

.app-nav span:first-child {
  background: var(--green);
}

.visual-caption {
  margin: 18px 0 0;
  color: #4d625c;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.contact {
  background: var(--coral);
  color: #26150f;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 12%;
}

.contact-copy h2 {
  max-width: 520px;
  margin-bottom: 24px;
  font-size: 66px;
  line-height: 1.08;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 480px;
  margin-bottom: 32px;
  color: rgba(38, 21, 15, 0.72);
}

.button-light {
  background: var(--white);
  color: var(--ink);
}

.button-light:hover,
.button-light:focus-visible {
  background: var(--green);
  color: var(--white);
}

.contact-details {
  margin: 0;
  border-top: 1px solid rgba(38, 21, 15, 0.25);
}

.contact-details div {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 24px;
  padding-block: 22px;
  border-bottom: 1px solid rgba(38, 21, 15, 0.25);
}

.contact-details dt {
  color: rgba(38, 21, 15, 0.62);
}

.contact-details dd {
  color: #26150f;
}

.contact-details a,
.policy-content a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy {
  background: var(--white);
}

.privacy-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1fr);
  gap: 13%;
}

.privacy .section-heading h2 {
  font-size: 52px;
}

.policy-date {
  margin-top: 22px;
  color: var(--muted);
  font-size: 13px;
}

.policy-content article {
  padding-block: 26px;
  border-top: 1px solid var(--line);
}

.policy-content article:last-child {
  border-bottom: 1px solid var(--line);
}

.policy-content h3 {
  margin-bottom: 8px;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 18px;
}

.policy-content p {
  margin-bottom: 0;
  color: var(--muted);
}

.site-footer {
  padding-block: 32px;
  background: #101714;
  color: rgba(255, 255, 255, 0.75);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.brand-footer {
  color: var(--white);
}

.footer-inner p {
  margin: 0;
  font-size: 12px;
  text-align: center;
}

.footer-inner > a:last-child {
  justify-self: end;
  font-size: 12px;
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

@media (max-width: 900px) {
  :root {
    --header-height: 68px;
  }

  .menu-toggle {
    display: block;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 0 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 34px 24px;
    background: var(--white);
    color: var(--ink);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    padding-block: 18px;
    border-bottom: 1px solid var(--line);
    font-size: 22px;
  }

  .hero-overlay {
    inset: 0;
    background: rgba(13, 33, 29, 0.69);
  }

  .hero-copy {
    width: min(650px, 100%);
  }

  h1 {
    font-size: 60px;
  }

  .section-heading h2,
  .contact-copy h2 {
    font-size: 48px;
  }

  .about-grid,
  .contact-grid,
  .privacy-grid,
  .product-layout {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .products-intro {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .product-visual {
    min-height: 600px;
  }
}

@media (max-width: 640px) {
  .header-inner,
  .section-inner,
  .focus-inner,
  .footer-inner,
  .hero-inner {
    width: min(calc(100% - 36px), var(--max-width));
  }

  .hero,
  .hero-inner {
    min-height: 84svh;
  }

  .hero {
    background-position: 60% center;
  }

  .hero-copy {
    padding-block: 44px 68px;
  }

  h1 {
    font-size: 46px;
  }

  .hero-summary {
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .photo-credit {
    right: 10px;
    bottom: 6px;
  }

  .focus-inner {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-block: 28px;
  }

  .focus-inner ul {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .focus-inner li {
    padding-left: 16px;
  }

  .section {
    padding-block: 82px;
  }

  .section-heading h2,
  .contact-copy h2 {
    font-size: 38px;
  }

  .about-content {
    padding-top: 0;
  }

  .about-grid,
  .contact-grid,
  .privacy-grid,
  .product-layout {
    gap: 48px;
  }

  .company-facts div,
  .contact-details div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .products-intro {
    margin-bottom: 50px;
  }

  .capability {
    grid-template-columns: 36px 1fr;
    gap: 12px;
  }

  .capability h3 {
    font-size: 19px;
  }

  .product-visual {
    min-height: 540px;
  }

  .phone-frame {
    width: min(245px, 80%);
  }

  .contact-copy .button {
    overflow-wrap: anywhere;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .footer-inner p {
    text-align: left;
  }

  .footer-inner > a:last-child {
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
