/* ============================
   Inting Technologies Inc.
   ============================ */

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

:root {
  --ink:        #0F0F0F;
  --paper:      #FFFFFF;
  --muted:      #5A5955;
  --muted-soft: #71706B;
  --line:       #E5E4E2;
  --line-dark:  rgba(255, 255, 255, 0.16);
  --on-dark-muted: rgba(255, 255, 255, 0.66);

  --font: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
}

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

body {
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

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

.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 32px;
}

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

.skip-link:focus {
  left: 0;
}

/* ============================
   HEADER
   ============================ */

.site-header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 32px;
  padding-top: 18px;
  padding-bottom: 18px;
}

/* The logo is kept exactly as it was originally designed. */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-mark {
  transition: transform 0.28s cubic-bezier(0.34, 1.4, 0.64, 1);
}

@media (hover: hover) {
  .logo:hover .logo-mark {
    transform: scale(1.06);
  }

  .logo:active .logo-mark {
    transform: scale(0.98);
  }
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  background: #0F0F0F;
  color: #FFFFFF;
  border-radius: 8px;
  padding: 10px 14px 9px;
  font-family: 'Syne', 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
}

.site-header ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 28px;
  list-style: none;
}

.site-header nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}

.site-header nav a:hover {
  text-decoration: underline;
}

/* ============================
   PILL BUTTON
   A smaller sibling of the "Connect with us" pill in the footer.
   ============================ */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 8px 8px 8px 26px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 1.0625rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.25s ease;
}

.pill-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
}

@media (hover: hover) {
  .pill:hover {
    background-color: #E7E6E3;
  }
}

/* ============================
   HERO
   The footer's triangles, in white, standing on the bottom edge of the
   band, so the page opens and closes with the same mark.
   ============================ */

.hero {
  background: var(--ink);
  color: var(--paper);
  padding-top: 104px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 48px;
}

.hero h1 {
  grid-column: 1 / -1;
  max-width: 20ch;
  margin-bottom: 32px;
  font-size: clamp(2.375rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.hero-copy {
  padding-bottom: 104px;
}

.hero-copy p {
  max-width: 32em;
  margin-bottom: 36px;
  font-size: 1.125rem;
  color: var(--on-dark-muted);
}

.hero-mark {
  align-self: end;
  color: var(--paper);
}

.hero-mark svg {
  display: block;
  width: 125%;
  height: auto;
}

/* ============================
   SECTIONS
   ============================ */

.section {
  padding: 104px 0;
}

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

.section-title {
  max-width: 20ch;
  margin-bottom: 48px;
  font-size: clamp(1.875rem, 3.6vw, 2.75rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

/* One grid for every row on the page (services, steps, about, contact),
   so the text columns line up from section to section. */
.row,
.contact-grid {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1.5fr);
  column-gap: 32px;
}

.rows {
  list-style: none;
}

.row {
  row-gap: 8px;
  align-items: baseline;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

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

.section-dark .row {
  border-color: var(--line-dark);
}

/* What we do */

.services-list dt {
  grid-column: 1 / 3;
  font-size: 1.1875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.services-list dd {
  grid-column: 3;
  color: var(--muted);
}

/* How we work: numbered because the order is real */

.steps {
  counter-reset: step;
}

.steps .row {
  counter-increment: step;
}

.steps .row::before {
  content: counter(step);
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
}

.steps h3 {
  font-size: 1.1875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.steps p {
  color: var(--on-dark-muted);
}

.fine-print {
  margin-top: 32px;
  max-width: 48em;
  font-size: 0.9375rem;
  color: var(--on-dark-muted);
}

.fine-print a {
  color: var(--paper);
}

/* About */

.about-lead {
  max-width: 34ch;
  margin-bottom: 24px;
  font-size: clamp(1.375rem, 2.5vw, 1.875rem);
  line-height: 1.35;
  letter-spacing: -0.015em;
}

.about-grid > p:not(.about-lead) {
  max-width: 36em;
  color: var(--muted);
}

/* Contact */

.contact-email {
  grid-column: 1 / 3;
  font-size: clamp(1.125rem, 2.2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: break-word;
}

.contact-grid > p:not(.contact-email) {
  grid-column: 3;
  color: var(--on-dark-muted);
}

/* ============================
   FOOTER
   ============================ */

.footer {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  border-top: 1px solid var(--line);
  padding-top: 96px;
  padding-bottom: 420px;
}

/* Oversized geometric mark, filling the empty band below the footer text.
   The SVG slices from the top, so the shapes are cropped by the page edge. */
.footer-symbol {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 420px;
  z-index: 0;
  color: var(--ink);
  pointer-events: none;
}

.footer-symbol svg {
  display: block;
  width: 100%;
  height: 100%;
}

.footer-cta-wrap,
.footer-inner,
.footer-bottom {
  position: relative;
  z-index: 2;
}

/* Full-width pill CTA sitting above the footer columns. */
.footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 20px 20px 44px;
  margin-bottom: 76px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  transition: background-color 0.25s ease;
}

.footer-cta span {
  font-size: clamp(1.5rem, 3.4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.footer-cta-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  color: var(--paper);
}

@media (hover: hover) {
  .footer-cta:hover {
    background-color: #2A2A28;
  }
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  padding-bottom: 52px;
  border-bottom: 1px solid var(--line);
}

.footer-brand {
  max-width: 320px;
}

.footer-brand p,
.footer-address {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.footer-address {
  font-style: normal;
}

.footer-address a {
  color: var(--ink);
  overflow-wrap: anywhere;
}

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

.footer-col h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-col a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: var(--ink);
}

.footer-bottom {
  padding: 24px 0 30px;
}

.footer-bottom p {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted-soft);
  text-align: center;
}

.footer-legal a {
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.15s ease;
}

.footer-legal a:hover {
  border-color: var(--ink);
}

/* ============================
   LEGAL PAGES (privacy, tos)
   ============================ */

.page-head {
  background: var(--ink);
  color: var(--paper);
  padding: 96px 0 72px;
}

.page-head h1 {
  font-size: clamp(2.375rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.page-head p {
  margin-top: 16px;
  color: var(--on-dark-muted);
}

.legal {
  padding: 72px 0 104px;
}

.legal .container {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 32px 64px;
  align-items: start;
}

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

.legal-toc h2 {
  font-size: inherit;
  font-weight: 600;
  margin-bottom: 10px;
}

.legal-toc ol {
  padding-left: 1.75em;
  font-size: 0.9375rem;
}

.legal-toc li + li {
  margin-top: 5px;
}

.legal-toc a {
  text-decoration: none;
}

.legal-toc a:hover {
  text-decoration: underline;
}

.legal-content {
  max-width: 40rem;
}

.legal-section {
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.legal-section + .legal-section {
  padding-top: 40px;
}

.legal-section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.legal-content h2 {
  margin-bottom: 14px;
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.legal-section p,
.legal-section li {
  color: #2E2D2B;
}

.legal-section p + p,
.legal-section p + ul,
.legal-section ul + p,
.legal-section p + div {
  margin-top: 12px;
}

.legal-section ul {
  padding-left: 1.25em;
}

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

.legal-section strong {
  font-weight: 600;
  color: var(--ink);
}

.legal-contact-box {
  padding-left: 16px;
  border-left: 3px solid var(--ink);
}

/* ============================
   SMALL SCREENS
   ============================ */

@media (max-width: 900px) {
  .footer-inner {
    flex-direction: column;
    gap: 44px;
  }
}

@media (max-width: 760px) {
  .container {
    padding: 0 20px;
  }

  .site-header nav {
    flex-basis: 100%;
  }

  .site-header ul {
    justify-content: space-between;
    gap: 4px 12px;
  }

  .hero {
    padding-top: 64px;
  }

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

  .hero-copy {
    padding-bottom: 48px;
  }

  .hero-mark svg {
    width: 115%;
  }

  .section {
    padding: 72px 0;
  }

  .section-title {
    margin-bottom: 32px;
  }

  .row,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .row {
    row-gap: 6px;
    padding: 22px 0;
  }

  .services-list dt,
  .services-list dd,
  .contact-email,
  .contact-grid > p:not(.contact-email) {
    grid-column: 1;
  }

  .steps .row {
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 12px;
  }

  .steps .row::before {
    grid-row: 1 / 3;
    font-size: 1.875rem;
  }

  .steps h3,
  .steps p {
    grid-column: 2;
  }

  .contact-email {
    margin-bottom: 20px;
  }

  .page-head {
    padding: 64px 0 48px;
  }

  .legal {
    padding: 48px 0 72px;
  }

  .legal .container {
    grid-template-columns: minmax(0, 1fr);
  }

  .legal-toc {
    position: static;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 700px) {
  .footer-links {
    flex-direction: column;
    gap: 32px;
  }

  .footer-cta {
    padding: 14px 14px 14px 26px;
    margin-bottom: 52px;
    gap: 16px;
  }

  .footer-cta-icon {
    width: 46px;
    height: 46px;
  }

  .footer {
    padding-bottom: 240px;
  }

  .footer-symbol {
    height: 240px;
  }
}

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

  .logo-mark,
  .pill,
  .footer-cta {
    transition: none;
  }
}
