:root {
  color-scheme: light;
  --ink: #172026;
  --muted: #5c6870;
  --line: #dbe2e6;
  --paper: #f7f8f6;
  --panel: #ffffff;
  --teal: #0f9f9a;
  --blue: #3368c9;
  --green: #438753;
  --accent: #f0b44c;
  --shadow: 0 20px 70px rgba(23, 32, 38, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  background: rgba(247, 248, 246, 0.86);
  border-bottom: 1px solid rgba(219, 226, 230, 0.78);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0;
}

.brand-mark,
.app-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.34);
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  font-size: 0.78rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav a {
  text-decoration: none;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 68px);
  min-height: calc(100vh - 72px);
  padding: clamp(42px, 7vw, 92px) clamp(20px, 4vw, 56px) 48px;
}

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

.eyebrow,
.section-kicker,
.app-platform {
  margin: 0;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

p,
a {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  overflow-wrap: normal;
}

h1 {
  margin: 14px 0 18px;
  max-width: 760px;
  font-size: clamp(3rem, 7vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 8px 0 0;
  font-size: clamp(2rem, 4.4vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 6px 0 8px;
  font-size: 1.22rem;
  letter-spacing: 0;
}

.lead {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.8vw, 1.32rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

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

.button.secondary {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
}

.hero-visual {
  min-width: 0;
}

.hero-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.section {
  padding: clamp(50px, 7vw, 92px) clamp(20px, 4vw, 56px);
}

.intro,
.contact-section,
.legal {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1fr);
  gap: clamp(22px, 5vw, 64px);
  align-items: start;
  border-top: 1px solid var(--line);
}

.intro > p,
.contact-section p,
.legal p {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

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

.app-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  min-height: 320px;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.app-card p {
  margin: 0;
  color: var(--muted);
}

.app-card a {
  align-self: end;
  width: fit-content;
  color: var(--ink);
  font-weight: 850;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.app-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  font-size: 1rem;
}

.app-icon.teal {
  background: linear-gradient(135deg, #16a8a1, #27656d);
}

.app-icon.blue {
  background: linear-gradient(135deg, #3368c9, #65a0d8);
}

.app-icon.green {
  background: linear-gradient(135deg, #438753, #c5a24d);
}

.contact-list {
  display: grid;
  gap: 12px;
}

.contact-list a {
  display: grid;
  gap: 4px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 800;
  text-decoration: none;
}

.contact-list span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

.legal-grid article {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.legal-grid h3 {
  margin-top: 0;
}

.legal-grid p + p {
  margin-top: 14px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(20px, 4vw, 56px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .hero,
  .intro,
  .contact-section,
  .legal {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    order: -1;
  }

  .app-grid,
  .legal-grid {
    grid-template-columns: 1fr;
  }
}

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

  .nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .footer {
    flex-direction: column;
  }
}
