:root {
  color-scheme: light;
  --paper: #fbf4e9;
  --paper-deep: #f1e6d4;
  --ink: #17202c;
  --muted: #657184;
  --rule: rgba(78, 65, 48, 0.16);
  --white: rgba(255, 255, 255, 0.74);
  --shadow: 0 18px 44px rgba(58, 48, 35, 0.12);
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background-color: var(--paper);
  background-image: url("images/bg_pattern3.png");
  background-position: left top;
  background-repeat: repeat;
  background-size: 627px 627px;
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  background-color: var(--paper);
  background-image: url("images/bg_pattern3.png");
  background-position: left top;
  background-repeat: repeat;
  background-size: 627px 627px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
  min-height: 100%;
}

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

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

button {
  border: 0;
}

svg,
img {
  display: block;
}

.site-header {
  align-items: center;
  display: flex;
  gap: 40px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1210px;
  padding: 32px 48px 0;
  position: relative;
  z-index: 5;
}

.brand {
  display: inline-flex;
}

.brand-logo {
  height: auto;
  width: 190px;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: 64px;
  margin-left: auto;
}

.nav-links a {
  color: #111927;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.nav-links a:hover {
  color: #40505f;
}

.button {
  align-items: center;
  border-radius: var(--radius);
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  gap: 12px;
  justify-content: center;
  line-height: 1;
  min-height: 48px;
  padding: 0 21px;
  transition:
    background-color 180ms ease,
    border-color 180ms ease;
}

.button svg {
  height: 18px;
  width: 18px;
}

.button-dark {
  background: #141923;
  color: #fff;
}

.button-outline {
  background: rgba(251, 244, 233, 0.25);
  border: 1px solid rgba(21, 25, 35, 0.36);
  color: #151923;
}

.button-light {
  background: rgba(247, 240, 226, 0.5);
  border: 1px solid rgba(21, 25, 35, 0.24);
  color: #151923;
}

.hero {
  margin-top: -24px;
  min-height: 560px;
  overflow: hidden;
  position: relative;
}

.hero-art {
  max-width: 804px;
  opacity: 0.98;
  position: absolute;
  right: max(32px, calc((100vw - 1210px) / 2 + 8px));
  top: 34px;
  width: clamp(650px, 51vw, 804px);
  z-index: 0;
}

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

.hero-inner {
  align-items: start;
  display: grid;
  margin: 0 auto;
  max-width: 1210px;
  min-height: 560px;
  padding: 72px 48px 34px;
  position: relative;
  z-index: 2;
}

.hero-copy {
  max-width: 610px;
}

.eyebrow {
  color: #233143;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.eyebrow::after {
  background: linear-gradient(90deg, #5aaee8 0%, #77bf82 32%, #e5bd58 64%, #e47462 100%);
  content: "";
  display: block;
  height: 2px;
  margin-top: 12px;
  opacity: 0.58;
  width: 410px;
}

.hero h1,
.section-heading h2,
.principle h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.hero h1 {
  font-size: 4rem;
  line-height: 1.04;
  margin: 0;
  max-width: 610px;
}

.hero-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.58;
  margin: 24px 0 0;
  max-width: 430px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
}

.built-row {
  align-items: center;
  color: #758090;
  display: flex;
  font-size: 13px;
  gap: 12px;
  margin-top: 26px;
}

.tiny-compass {
  border: 1px solid rgba(104, 93, 74, 0.4);
  border-radius: 50%;
  height: 27px;
  position: relative;
  width: 27px;
}

.tiny-compass::before,
.tiny-compass::after {
  background: rgba(104, 93, 74, 0.42);
  content: "";
  left: 50%;
  position: absolute;
  top: 4px;
  transform: translateX(-50%);
}

.tiny-compass::before {
  height: 17px;
  width: 1px;
}

.tiny-compass::after {
  height: 1px;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 17px;
}

.products-section {
  margin: 0 auto;
  max-width: 1210px;
  padding: 0 48px 36px;
  position: relative;
  z-index: 2;
}

.section-heading {
  margin: 0 auto 24px;
  text-align: center;
}

.section-heading .eyebrow {
  font-size: 12px;
  margin-bottom: 10px;
}

.section-heading .eyebrow::after {
  display: none;
}

.section-heading h2 {
  font-size: 1.95rem;
  line-height: 1.18;
  margin: 0;
}

.section-heading h2::after {
  background: linear-gradient(90deg, #5aaee8 0%, #77bf82 48%, #e47462 100%);
  content: "";
  display: block;
  height: 2px;
  margin: 12px auto 0;
  width: 58px;
}

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

.product-card {
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(74, 60, 42, 0.17);
  border-radius: 12px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-height: 472px;
  padding: 16px;
}

.product-header {
  align-items: center;
  display: grid;
  gap: 14px;
  grid-template-columns: 54px minmax(0, 1fr);
  min-height: 70px;
}

.product-icon {
  border-radius: var(--radius);
  box-shadow: 0 10px 22px rgba(38, 43, 53, 0.13);
  height: 48px;
  overflow: hidden;
  width: 48px;
}

.product-icon img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.product-title-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-card h3 {
  font-size: 1.13rem;
  line-height: 1.15;
  margin: 0;
}

.product-card p {
  color: #5e6c7e;
  font-size: 13px;
  line-height: 1.45;
  margin: 4px 0 0;
}

.pill {
  background: rgba(72, 132, 226, 0.12);
  border-radius: 999px;
  color: #3270cf;
  display: inline-flex;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  padding: 4px 6px;
  text-transform: uppercase;
}

.product-shot {
  align-items: center;
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(100, 86, 65, 0.12);
  border-radius: var(--radius);
  display: flex;
  flex: 1;
  margin-top: 16px;
  min-height: 256px;
  overflow: hidden;
}

.product-shot img {
  height: 100%;
  object-fit: cover;
  object-position: left top;
  width: 100%;
}

.learn-link {
  align-items: center;
  display: inline-flex;
  font-size: 16px;
  font-weight: 750;
  gap: 10px;
  margin-top: 18px;
  width: max-content;
}

.learn-link svg {
  height: 18px;
  width: 18px;
}

.principles {
  border-bottom: 1px solid var(--rule);
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1040px;
  padding: 22px 48px 42px;
}

.principle {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: 76px minmax(0, 1fr);
}

.principle + .principle {
  border-left: 1px solid var(--rule);
  padding-left: 44px;
}

.principle-mark {
  height: 66px;
  object-fit: contain;
  width: 66px;
}

.principle h2 {
  font-size: 1.42rem;
  line-height: 1.1;
  margin: 0;
}

.principle p {
  color: #4f5c6b;
  font-size: 13px;
  line-height: 1.5;
  margin: 7px 0 0;
}

.site-footer {
  margin: 0 auto;
  max-width: 1210px;
  padding: 36px 48px 34px;
}

.footer-grid {
  align-items: start;
  display: grid;
  gap: 44px;
  grid-template-columns: 170px minmax(260px, 1fr) minmax(130px, auto) minmax(150px, auto);
}

.footer-logo {
  width: 160px;
}

.footer-intro {
  color: #5f6d7f;
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
  max-width: 265px;
}

.footer-column {
  display: grid;
  gap: 7px;
}

.footer-column h2 {
  color: #17202c;
  font-size: 13px;
  font-weight: 750;
  margin: 0 0 8px;
}

.footer-column a,
.email-link {
  color: #5d6a7b;
  font-size: 13px;
  text-align: left;
}

.footer-column a:hover,
.email-link:hover {
  color: var(--ink);
}

.email-link {
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.copyright {
  color: #788493;
  font-size: 12px;
  margin: 28px 0 0;
}

@media (max-width: 1080px) {
  .site-header {
    padding-left: 32px;
    padding-right: 32px;
  }

  .nav-links {
    gap: 32px;
  }

  .hero-inner,
  .products-section,
  .principles,
  .site-footer {
    padding-left: 32px;
    padding-right: 32px;
  }

  .hero h1 {
    font-size: 3.65rem;
  }

  .hero-art {
    max-width: none;
    opacity: 0.28;
    right: -250px;
    top: 84px;
    width: 740px;
  }

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

  .product-card {
    min-height: 0;
  }

  .product-shot {
    min-height: 300px;
  }

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

  .principle + .principle {
    border-left: 0;
    border-top: 1px solid var(--rule);
    padding-left: 0;
    padding-top: 28px;
  }

  .footer-grid {
    grid-template-columns: minmax(180px, 1fr) minmax(220px, 1.4fr);
  }
}

@media (max-width: 760px) {
  .site-header {
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 24px;
  }

  .brand-logo {
    width: 176px;
  }

  .nav-links {
    gap: 22px;
    order: 3;
    overflow-x: auto;
    width: 100%;
  }

  .header-action {
    min-height: 42px;
    padding: 0 15px;
  }

  .hero {
    margin-top: 0;
    min-height: 660px;
  }

  .hero-art {
    max-width: none;
    opacity: 0.22;
    right: -360px;
    top: 180px;
    width: 700px;
  }

  .hero-inner {
    align-items: start;
    min-height: 660px;
    padding-top: 86px;
  }

  .eyebrow {
    font-size: 11px;
  }

  .eyebrow::after {
    width: min(100%, 330px);
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-copy > p:not(.eyebrow) {
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    max-width: 240px;
  }

  .product-shot {
    min-height: 230px;
  }

  .principle {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .principle-mark {
    height: 52px;
    width: 52px;
  }

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