:root {
  --ink: #141b27;
  --muted: #66717f;
  --soft: #f3f5f7;
  --line: #dfe4e9;
  --night: #101720;
  --lime: #d9ff35;
  --lime-deep: #bde81d;
  --white: #ffffff;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f8fafb;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.55;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 48px);
  background: rgba(248, 250, 251, 0.88);
  border-bottom: 1px solid rgba(20, 27, 39, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.text-brand {
  letter-spacing: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--night);
  color: var(--lime);
  font-size: 12px;
  font-weight: 900;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

nav a:hover,
.footer-links a:hover {
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(300px, 0.98fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  min-height: calc(100vh - 72px);
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(40px, 8vw, 88px) 20px;
}

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

.company-hero {
  display: grid;
  align-items: end;
  min-height: calc(100vh - 72px);
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(56px, 10vw, 120px) 20px;
}

.company-hero-copy {
  max-width: 930px;
}

.company-hero h1 {
  max-width: 900px;
  font-size: clamp(44px, 7vw, 88px);
}

.eyebrow {
  margin: 0 0 12px;
  color: #5c6875;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 14px 0 8px;
  font-size: 21px;
}

.lead {
  margin: 24px 0 0;
  max-width: 560px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions,
.policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 900;
}

.button.primary {
  background: var(--lime);
  color: #111827;
}

.button.secondary {
  background: var(--white);
  border-color: var(--line);
  color: var(--ink);
}

.phone-stack {
  position: relative;
  min-height: 620px;
}

.giggle-phone-stack {
  min-height: 680px;
}

.hero-art img {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 26px 80px rgba(17, 24, 39, 0.18);
}

.phone {
  position: absolute;
  width: min(64vw, 330px);
  max-width: 100%;
  border-radius: 34px;
  box-shadow: 0 26px 80px rgba(17, 24, 39, 0.24);
}

.main-phone {
  right: 12%;
  top: 0;
  transform: rotate(2deg);
}

.side-phone {
  left: 0;
  bottom: 0;
  transform: rotate(-7deg) scale(0.86);
  opacity: 0.94;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 82px 20px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 30px;
}

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

.product-card {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: clamp(22px, 4vw, 36px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.product-card:hover {
  border-color: #c9d0d8;
}

.product-card img {
  width: 104px;
  height: 104px;
  border-radius: 22px;
}

.product-card h3 {
  margin: 4px 0 8px;
  font-size: clamp(30px, 4vw, 44px);
}

.product-card p {
  max-width: 720px;
  color: var(--muted);
}

.product-label {
  margin: 0;
  color: #5c6875;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.text-link {
  color: var(--ink);
  font-weight: 900;
}

.company-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.company-section > p {
  margin: 34px 0 0;
  color: var(--muted);
  font-size: 20px;
}

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

.screen-grid.four-up {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.screen-grid.wide-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.screen-grid.wide-up figure:last-child {
  max-width: 360px;
}

.feature-grid article {
  min-height: 240px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-grid p {
  color: var(--muted);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--night);
  color: var(--lime);
  font-weight: 900;
}

.screens-section {
  max-width: 1220px;
}

.screen-grid figure {
  margin: 0;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.screen-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 20;
  object-fit: cover;
  object-position: top;
  border-radius: 6px;
  background: var(--soft);
}

.screen-grid.wide-up img {
  aspect-ratio: 16 / 10;
}

.screen-grid.wide-up figure:last-child img {
  aspect-ratio: 9 / 20;
}

.giggle-hero .phone {
  border-radius: 18px;
}

.use-case-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.use-case-grid {
  display: grid;
  gap: 14px;
}

.use-case-grid article {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.use-case-grid h3 {
  margin-top: 0;
}

.use-case-grid p {
  color: var(--muted);
}

figcaption {
  padding: 12px 4px 2px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.policy-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin-bottom: 46px;
  background: var(--night);
  color: var(--white);
  border-radius: 8px;
}

.policy-callout p {
  max-width: 680px;
  color: #cbd5df;
}

.policy-callout .eyebrow {
  color: var(--lime);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 4vw, 48px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.policy-page {
  max-width: 920px;
  margin: 0 auto;
  padding: 52px 20px 92px;
}

.policy-card {
  padding: clamp(26px, 5vw, 56px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.policy-card h1 {
  margin-bottom: 24px;
  font-size: clamp(40px, 6vw, 64px);
}

.policy-card h2 {
  margin-top: 34px;
  font-size: 24px;
}

.policy-card p {
  color: #4f5a66;
}

.policy-card a {
  color: var(--ink);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.policy-list {
  margin: 16px 0 0;
  padding-left: 20px;
  color: #4f5a66;
}

.policy-list li + li {
  margin-top: 8px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 8px;
}

.contact-grid a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 126px;
  padding: 18px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
}

.contact-grid span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.contact-grid strong {
  overflow-wrap: anywhere;
  color: var(--ink);
}

.contact-actions {
  margin-top: 28px;
}

@media (max-width: 840px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    flex-wrap: wrap;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .company-hero {
    align-items: start;
    min-height: auto;
    padding-top: 48px;
    padding-bottom: 72px;
  }

  .phone-stack {
    min-height: 560px;
  }

  .main-phone {
    right: 4%;
  }

  .side-phone {
    left: 2%;
  }

  .feature-grid,
  .screen-grid,
  .screen-grid.four-up,
  .screen-grid.wide-up,
  .policy-callout,
  .company-section,
  .use-case-section,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .screen-grid.wide-up figure:last-child {
    max-width: none;
  }

  .screen-grid {
    max-width: 420px;
    margin: 0 auto;
  }

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

  .product-card img {
    width: 78px;
    height: 78px;
    border-radius: 18px;
  }

  footer {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .hero {
    padding-top: 42px;
  }

  .phone-stack {
    min-height: 460px;
  }

  .phone {
    width: 250px;
    border-radius: 26px;
  }

  .side-phone {
    transform: rotate(-6deg) scale(0.78);
  }

  .hero-actions,
  .policy-links {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
