/* Foxik LLC — foxikllc.com */

@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-latin-var.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --orange: #F97316;
  --orange-deep: #EA580C;
  --cream: #FFF7ED;
  --ink: #1C1917;
  --white: #FFFFFF;
  --ink-soft: #57534E;
  --line: #E7E5E4;
  --line-cream: #F1DFCB;
  --wrap: 1120px;
  --gutter: clamp(20px, 5vw, 40px);
  --section: clamp(64px, 9vw, 120px);
  --radius: 16px;
}

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

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

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, p, figure { margin: 0; }

h1, h2, h3 {
  font-weight: 800;
  letter-spacing: -0.022em;
  line-height: 1.08;
  text-wrap: balance;
}

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -64px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--white);
  border-radius: 8px;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 2px solid transparent;
  border-radius: 10px;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn-primary { background: var(--orange); color: var(--ink); }
.btn-primary:hover { background: var(--orange-deep); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-small { min-height: 42px; padding: 0 16px; font-size: .9375rem; }

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: .06em;
  text-decoration: none;
  white-space: nowrap;
}
.brand img { width: 40px; height: 40px; }

.site-nav ul {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav ul a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
}
.site-nav ul a:hover { background: var(--cream); }
.nav-cta { display: none; }

.menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  font-size: .9375rem;
  cursor: pointer;
}
.menu-toggle svg { width: 18px; height: 18px; }

@media (max-width: 880px) {
  .menu-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.0625rem; }
  .nav-cta { display: flex; margin-top: 18px; }
}

/* Sections */

.section { padding-block: var(--section); }
.section-cream { background: var(--cream); }
[id] { scroll-margin-top: 88px; }

.section h2 { font-size: clamp(2rem, 4.4vw, 3.25rem); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(24px, 6vw, 80px);
  align-items: start;
}
.prose { max-width: 62ch; }
.prose p + p { margin-top: 1.1em; }
.prose p { font-size: 1.125rem; }

@media (max-width: 760px) {
  .split { grid-template-columns: 1fr; gap: 20px; }
}

/* Hero */

.hero { background: var(--cream); padding-block: clamp(48px, 8vw, 104px); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero h1 { font-size: clamp(2.375rem, 5.4vw, 4.125rem); line-height: 1.03; }
.hero-sub {
  margin-top: 24px;
  max-width: 54ch;
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  color: var(--ink-soft);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero-media {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
}
.tile {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 12px;
}
.tile img { width: 100%; height: 100%; object-fit: contain; }
.tile-tall { grid-row: 1 / span 2; }
.tile-small { aspect-ratio: 1 / 1; }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { grid-template-columns: repeat(3, 1fr); grid-template-rows: auto; }
  .tile-tall { grid-row: auto; aspect-ratio: 1 / 1; }
  .tile { padding: 8px; border-radius: 12px; }
}

/* Easeity */

.mark-note {
  margin-top: 28px;
  padding: 18px 22px;
  background: var(--white);
  border-left: 5px solid var(--orange);
  border-radius: 0 12px 12px 0;
  font-weight: 600;
}

/* Products */

.products-head { max-width: 62ch; }
.products-head p { margin-top: 16px; font-size: 1.125rem; color: var(--ink-soft); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2.4vw, 28px);
  margin: clamp(32px, 5vw, 56px) 0 0;
  padding: 0;
  list-style: none;
}
.product {
  display: flex;
  flex-direction: column;
}
.product-photo {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 10px;
  aspect-ratio: 1 / 1;
}
.product-photo img { width: 100%; height: 100%; object-fit: contain; }
.product h3 {
  margin: 14px 0 12px;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  line-height: 1.3;
  text-wrap: pretty;
}
.product .btn { margin-top: auto; align-self: flex-start; }
.products-more { margin-top: clamp(32px, 5vw, 56px); }

@media (max-width: 980px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product h3 { font-size: 1rem; }
  .product .btn { align-self: stretch; padding: 0 8px; }
}

/* Company */

.facts { width: 100%; border-collapse: collapse; }
.facts th, .facts td {
  padding: 15px 0;
  border-bottom: 1px solid var(--line-cream);
  text-align: left;
  vertical-align: top;
  font-size: 1.0625rem;
}
.facts tr:first-child th, .facts tr:first-child td { border-top: 1px solid var(--line-cream); }
.facts th { width: 42%; padding-right: 16px; font-weight: 500; color: var(--ink-soft); }
.facts td { font-weight: 700; }
.facts a { text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.facts a:hover { text-decoration-color: var(--ink); }
.facts-note { margin-top: 24px; max-width: 62ch; color: var(--ink-soft); }

/* Contact */

.contact-text { font-size: 1.125rem; max-width: 46ch; }
.contact-list { margin: 32px 0 0; padding: 0; display: grid; gap: 22px; }
.contact-list dt { font-size: .9375rem; font-weight: 600; color: var(--ink-soft); }
.contact-list dd { margin: 2px 0 0; }
.contact-list a {
  font-size: clamp(1.375rem, 3.4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
  text-decoration-skip-ink: none;
  overflow-wrap: anywhere;
}
.contact-list a:hover { text-decoration-color: var(--ink); }

/* Footer */

.site-footer { background: var(--cream); padding-block: 44px 52px; font-size: .9375rem; color: var(--ink-soft); }
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-cream);
}
.footer-top p { color: var(--ink); font-weight: 600; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; }
.footer-links a { color: var(--ink); font-weight: 600; text-underline-offset: 4px; }
.footer-legal { margin-top: 22px; max-width: 86ch; }

/* Legal pages */

.legal { padding-block: clamp(48px, 7vw, 88px) var(--section); }
.legal-body { max-width: 68ch; }
.legal h1 { font-size: clamp(2.125rem, 4.6vw, 3.25rem); }
.legal h2 { margin-top: 2em; font-size: 1.375rem; letter-spacing: -0.01em; line-height: 1.25; }
.legal p { margin-top: .8em; }
.legal a { text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.legal-meta { margin-top: 2.4em; padding-top: 1.2em; border-top: 1px solid var(--line); color: var(--ink-soft); }

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