:root {
  --ink: #17191b;
  --slate: #4a5259;
  --slate-soft: #6b7278;
  --fog: #e8e6e1;
  --paper: #faf9f7;
  --white: #ffffff;
  --brass: #9c7a3c;
  --brass-soft: #c7a866;
  --max-width: 1040px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

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

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

.skip-link {
  background: var(--ink);
  color: var(--paper);
  left: 16px;
  padding: 10px 16px;
  position: fixed;
  top: -80px;
  z-index: 100;
}

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

.container {
  margin-inline: auto;
  max-width: var(--max-width);
  padding-inline: 32px;
  width: 100%;
}

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--fog);
}

.header-inner {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: 90px;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  font-size: 1.15rem;
  font-weight: 700;
  gap: 12px;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.brand-mark {
  background: linear-gradient(155deg, var(--slate), var(--ink));
  border-radius: 3px;
  flex: none;
  font-size: 0;
  height: 34px;
  position: relative;
  width: 34px;
}

.brand-mark::after {
  background: var(--brass-soft);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  content: "";
  height: 20px;
  left: 9px;
  position: absolute;
  top: 7px;
  width: 16px;
}

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

.site-nav a {
  border-bottom: 1px solid transparent;
  color: var(--slate);
  font-size: 0.95rem;
  padding-bottom: 2px;
  text-decoration: none;
  transition: border-color 150ms ease, color 150ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  border-bottom-color: var(--brass);
  color: var(--ink);
}

.site-nav .nav-cta {
  background: transparent;
  border: 1px solid var(--slate-soft);
  border-radius: 4px;
  color: var(--ink);
  padding: 9px 15px;
}

.site-nav .nav-cta:hover {
  border-color: var(--ink);
}

.menu-toggle {
  align-items: center;
  background: transparent;
  border: 1px solid var(--fog);
  border-radius: 4px;
  color: var(--ink);
  cursor: pointer;
  display: none;
  height: 42px;
  justify-content: center;
  padding: 0;
  width: 42px;
}

.menu-toggle svg {
  height: 22px;
  width: 22px;
}

.eyebrow {
  color: var(--brass);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.display-title,
.section-title,
.page-hero h1,
.download-panel h2,
.not-found h1 {
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  font-weight: 700;
  text-wrap: balance;
}

.display-title {
  font-size: clamp(2.35rem, 5vw, 3.55rem);
  line-height: 1.12;
  margin: 0;
  max-width: 16ch;
}

.display-title .accent,
.section-title .accent {
  color: inherit;
}

.lede {
  color: var(--slate);
  font-size: 1.18rem;
  margin: 24px 0 0;
  max-width: 54ch;
}

.button-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}

.button-row-centered {
  justify-content: center;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 4px;
  display: inline-flex;
  font-size: 0.96rem;
  font-weight: 650;
  gap: 8px;
  justify-content: center;
  min-height: 48px;
  padding: 11px 22px;
  text-decoration: none;
  transition: background 150ms ease, border-color 150ms ease;
}

.button-primary {
  background: var(--ink);
  color: var(--paper);
}

.button-primary:hover {
  background: var(--slate);
}

.button-secondary {
  background: transparent;
  border-color: var(--slate-soft);
  color: var(--ink);
}

.button-secondary:hover {
  border-color: var(--ink);
}

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

.home-hero {
  border-bottom: 1px solid var(--fog);
  padding: 96px 0 88px;
}

.section {
  padding: 88px 0;
}

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

.section-dark {
  background: var(--ink);
  color: var(--paper);
}

.section-heading {
  margin-bottom: 46px;
  max-width: 62ch;
}

.section-title {
  font-size: clamp(1.9rem, 4vw, 2.35rem);
  line-height: 1.18;
  margin: 0 0 14px;
}

.section-copy {
  color: var(--slate);
  font-size: 1.04rem;
  margin: 0;
  max-width: 62ch;
}

.section-copy + .section-copy {
  margin-top: 18px;
}

.about-grid {
  align-items: start;
  display: grid;
  gap: 56px;
  grid-template-columns: 1.1fr 0.9fr;
}

.stat-block {
  border-left: 1px solid var(--fog);
  display: grid;
  gap: 24px;
  padding-left: 32px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.stat strong {
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  font-size: 1.75rem;
  font-weight: 400;
}

.stat span {
  color: var(--slate);
  font-size: 0.86rem;
}

.products-home {
  background: var(--ink);
  color: var(--paper);
}

.products-home .eyebrow {
  color: var(--brass-soft);
}

.products-home .section-copy {
  color: #c7cbce;
}

.product-row {
  align-items: center;
  background: rgba(250, 249, 247, 0.05);
  border: 1px solid rgba(250, 249, 247, 0.14);
  border-radius: 6px;
  display: grid;
  gap: 28px;
  grid-template-columns: 78px 1fr auto;
  padding: 28px 32px;
}

.app-icon {
  border-radius: 14px;
  height: 64px;
  object-fit: cover;
  width: 64px;
}

.product-row h3 {
  font-size: 1.22rem;
  margin: 2px 0 5px;
}

.product-row p {
  color: #c7cbce;
  margin: 0;
  max-width: 48ch;
}

.product-row .button-secondary {
  border-color: rgba(250, 249, 247, 0.4);
  color: var(--paper);
}

.product-row .button-secondary:hover {
  border-color: var(--paper);
}

.availability {
  color: var(--brass-soft);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pipeline-note,
.future-products {
  border-top: 1px solid rgba(250, 249, 247, 0.12);
  color: #9ba1a6;
  font-size: 0.92rem;
  margin: 26px 0 0;
  padding-top: 22px;
}

.page-hero {
  border-bottom: 1px solid var(--fog);
  padding: 84px 0 58px;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.3rem);
  line-height: 1.12;
  margin: 0;
  max-width: 18ch;
}

.products-section {
  padding-top: 64px;
}

.product-feature {
  background: var(--ink);
  border-radius: 6px;
  color: var(--paper);
  display: grid;
  grid-template-columns: 1fr minmax(280px, 0.65fr);
  min-height: 460px;
  overflow: hidden;
}

.product-feature-copy {
  align-self: center;
  padding: 52px;
}

.product-feature-copy .app-icon {
  height: 72px;
  margin-bottom: 22px;
  width: 72px;
}

.product-feature-copy h2 {
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  font-size: clamp(2.3rem, 5vw, 3.5rem);
  line-height: 1.05;
  margin: 12px 0;
}

.product-feature-copy p {
  color: #c7cbce;
  margin: 0 0 28px;
  max-width: 48ch;
}

.product-feature-copy .button-primary {
  background: var(--paper);
  color: var(--ink);
}

.product-feature-copy .button-primary:hover {
  background: var(--fog);
}

.product-feature-art {
  align-self: end;
  margin: 42px 38px -250px 0;
}

.product-feature-art img {
  border: 6px solid var(--paper);
  border-radius: 22px;
}

.future-products {
  border-color: var(--fog);
  color: var(--slate);
  text-align: center;
}

.siplogic-hero {
  background: var(--ink);
  color: var(--paper);
  padding: 84px 0;
}

.siplogic-hero-grid {
  align-items: center;
  display: grid;
  gap: 58px;
  grid-template-columns: minmax(0, 0.9fr) minmax(390px, 1.1fr);
}

.siplogic-brand {
  align-items: center;
  display: flex;
  gap: 14px;
  margin-bottom: 28px;
}

.siplogic-brand span {
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  font-size: 1.05rem;
  font-weight: 700;
}

.siplogic-hero .eyebrow {
  color: var(--brass-soft);
}

.siplogic-hero .lede {
  color: #c7cbce;
}

.siplogic-hero .button-primary {
  background: var(--paper);
  color: var(--ink);
}

.siplogic-hero .button-secondary {
  border-color: rgba(250, 249, 247, 0.45);
  color: var(--paper);
}

.store-note {
  color: #9ba1a6;
  font-size: 0.84rem;
  margin: 16px 0 0;
}

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

.phone-shot {
  border: 5px solid var(--paper);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

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

.feature-card,
.value-card {
  background: var(--white);
  border: 1px solid var(--fog);
  border-radius: 8px;
  padding: 30px;
}

.feature-icon,
.value-number {
  color: var(--brass);
  display: block;
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  font-size: 1.15rem;
  margin-bottom: 28px;
}

.feature-card h3,
.value-card h3 {
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  font-size: 1.22rem;
  margin: 0 0 10px;
}

.feature-card p,
.value-card p {
  color: var(--slate);
  margin: 0;
}

.showcase-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.showcase-grid figure {
  margin: 0;
}

.showcase-grid img {
  border: 1px solid var(--fog);
  border-radius: 8px;
  width: 100%;
}

.download-panel {
  align-items: center;
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr auto;
}

.download-panel h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.12;
  margin: 0;
  max-width: 15ch;
}

.download-panel p {
  color: #c7cbce;
  max-width: 50ch;
}

.section-dark .eyebrow {
  color: var(--brass-soft);
}

.store-buttons {
  display: grid;
  gap: 12px;
}

.store-button {
  align-items: center;
  background: var(--paper);
  border-radius: 6px;
  color: var(--ink);
  display: flex;
  gap: 12px;
  min-width: 240px;
  padding: 12px 16px;
  text-decoration: none;
}

.store-button:hover {
  background: var(--fog);
}

.store-button svg {
  height: 28px;
  width: 28px;
}

.store-button small,
.store-button strong {
  display: block;
  line-height: 1.15;
}

.store-button small {
  color: var(--slate);
  font-size: 0.68rem;
}

.store-button strong {
  font-size: 0.98rem;
}

.legal-layout {
  align-items: start;
  display: grid;
  gap: 48px;
  grid-template-columns: 210px minmax(0, 730px);
  padding-bottom: 88px;
  padding-top: 48px;
}

.legal-nav {
  position: sticky;
  top: 24px;
}

.legal-nav p {
  color: var(--slate-soft);
  font-size: 0.84rem;
  margin: 0 0 14px;
}

.legal-nav a {
  color: var(--slate);
  display: block;
  font-size: 0.88rem;
  padding: 5px 0;
  text-decoration: none;
}

.legal-nav a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--brass);
  text-underline-offset: 3px;
}

.legal-effective {
  color: var(--slate-soft);
  font-size: 0.9rem;
  margin: 0 0 24px;
}

.legal-section {
  background: var(--white);
  border: 1px solid var(--fog);
  border-radius: 8px;
  margin-bottom: 18px;
  padding: 28px 30px;
}

.legal-section h2 {
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  font-size: 1.22rem;
  margin: 0 0 10px;
}

.legal-section p,
.legal-section li {
  color: var(--slate);
}

.legal-section p {
  margin: 0;
}

.legal-section p + p,
.legal-section p + ol,
.legal-section p + ul {
  margin-top: 14px;
}

.legal-section li + li {
  margin-top: 7px;
}

.legal-section a,
.contact-card a {
  text-decoration-color: var(--brass);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.contact-grid {
  display: grid;
  gap: 18px;
  max-width: 760px;
  padding-bottom: 88px;
  padding-top: 48px;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--fog);
  border-radius: 8px;
  padding: 32px 36px;
}

.contact-card h2 {
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  font-size: 1.18rem;
  margin: 0 0 8px;
}

.contact-card p {
  color: var(--slate);
  margin: 0;
}

.contact-card p + p {
  margin-top: 16px;
}

.site-footer {
  border-top: 1px solid var(--fog);
  color: var(--slate-soft);
  padding: 34px 0;
}

.footer-grid {
  align-items: start;
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr auto auto;
}

.footer-brand {
  color: var(--ink);
  margin-bottom: 10px;
}

.footer-copy {
  font-size: 0.86rem;
  margin: 0;
  max-width: 390px;
}

.footer-column h2 {
  color: var(--ink);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.footer-column a {
  display: block;
  font-size: 0.86rem;
  padding: 2px 0;
  text-decoration: none;
}

.footer-column a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--brass);
}

.footer-bottom {
  border-top: 1px solid var(--fog);
  font-size: 0.8rem;
  margin-top: 28px;
  padding-top: 20px;
}

.not-found {
  align-items: center;
  display: flex;
  min-height: 70vh;
  text-align: center;
}

.not-found .container {
  max-width: 680px;
}

.not-found h1 {
  font-size: clamp(4.5rem, 16vw, 8rem);
  line-height: 0.9;
  margin: 0;
}

@media (max-width: 900px) {
  .siplogic-hero-grid {
    grid-template-columns: 1fr;
  }

  .phone-stage {
    max-width: 680px;
  }

  .showcase-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .showcase-grid figure:nth-child(n + 4) {
    display: none;
  }
}

@media (max-width: 720px) {
  .container {
    padding-inline: 22px;
  }

  .header-inner {
    min-height: 76px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    align-items: stretch;
    background: var(--paper);
    border-bottom: 1px solid var(--fog);
    display: none;
    gap: 2px;
    left: 0;
    padding: 12px 22px 20px;
    position: absolute;
    right: 0;
    top: 76px;
    z-index: 10;
  }

  .site-nav[data-open="true"] {
    display: grid;
  }

  .site-nav a {
    border: 0;
    padding: 10px;
  }

  .site-nav .nav-cta {
    text-align: center;
  }

  .home-hero {
    padding: 64px 0 58px;
  }

  .section {
    padding: 58px 0;
  }

  .about-grid,
  .product-feature,
  .download-panel,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .stat-block {
    border-left: 0;
    border-top: 1px solid var(--fog);
    padding-left: 0;
    padding-top: 24px;
  }

  .product-row {
    align-items: start;
    grid-template-columns: 64px 1fr;
    padding: 24px;
  }

  .product-row .button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .product-feature-copy {
    padding: 36px 28px;
  }

  .product-feature-art {
    margin: 0 auto -440px;
    max-width: 360px;
    padding: 0 28px;
  }

  .phone-stage {
    gap: 10px;
  }

  .phone-shot {
    border-radius: 12px;
    border-width: 3px;
  }

  .feature-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .showcase-grid {
    gap: 12px;
  }

  .legal-layout {
    gap: 24px;
    padding-top: 32px;
  }

  .legal-nav {
    background: var(--white);
    border: 1px solid var(--fog);
    border-radius: 8px;
    padding: 20px;
    position: static;
  }

  .legal-section,
  .contact-card {
    padding: 24px;
  }

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

  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .brand {
    font-size: 1rem;
  }

  .display-title {
    font-size: 2.3rem;
  }

  .phone-stage {
    grid-template-columns: 1fr 1fr;
  }

  .phone-shot:nth-child(3) {
    display: none;
  }

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

  .showcase-grid figure:nth-child(3) {
    display: none;
  }

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

  .footer-grid > :first-child {
    grid-column: auto;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
