/* Meaningful Data - site stylesheet */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
}

:root {
  --blue: #5e85e9;
  --blue-strong: #3f63cf;
  --blue-soft: #eef2fd;
  --ink: #1d142e;
  --teal: #114b5f;
  --text: #2a2f36;
  --muted: #5b6370;
  --surface: #ffffff;
  --surface-alt: #f1f0f5;
  --border: #e3e1ea;
  --on-dark: #f2f0f5;
  --on-dark-muted: #b9b3c9;
  --radius: 10px;
  --shadow: 0 18px 40px -18px rgba(29, 20, 46, 0.35);
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Manrope", "Inter", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  -webkit-text-size-adjust: 100%;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--surface);
}

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

h1,
h2,
h3 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 1rem;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

p,
ul {
  margin: 0 0 1rem;
}

a {
  color: var(--blue-strong);
  text-underline-offset: 0.18em;
}

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

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

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 100;
}

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

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.brand img {
  height: 34px;
  width: auto;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: inline-block;
  padding: 0.35rem 0;
  color: var(--ink);
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

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

/* Buttons */

.btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: 6px;
  border: 2px solid var(--blue-strong);
  background: var(--blue-strong);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--blue-strong);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Sections */

.section {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.section-alt {
  background: var(--surface-alt);
}

.eyebrow {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-strong);
  margin-bottom: 0.6rem;
}

.lead {
  font-size: 1.2rem;
  color: var(--muted);
}

/* Hero */

.hero {
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(4rem, 9vw, 7rem);
  background: #e9e9ef url("../img/bg-waves.svg") center / 100% 100% no-repeat;
}

.hero h1 {
  background: linear-gradient(135deg, var(--ink) 0%, var(--blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--ink);
  text-wrap: wrap;
}

.hero h1 br.wide {
  display: none;
}

@media (min-width: 900px) {
  .hero h1 br.wide {
    display: inline;
  }
}

.hero .lead {
  margin: 0 auto;
  color: var(--text);
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
}

/* Laptop frame */

.laptop {
  max-width: 860px;
  margin: clamp(1.5rem, 4vw, 2.25rem) auto 0;
  filter: drop-shadow(0 22px 26px rgba(29, 20, 46, 0.22));
}

.laptop-screen {
  width: 84%;
  margin: 0 auto;
  padding: 1.6% 1.4% 2%;
  background: #0c0c0f;
  border-radius: clamp(8px, 1.6vw, 18px) clamp(8px, 1.6vw, 18px) 0 0;
}

.laptop-screen img {
  width: 100%;
  border-radius: 2px;
}

.laptop::after {
  content: "";
  display: block;
  height: clamp(8px, 1.7vw, 20px);
  border-radius: 2px 2px clamp(8px, 1.6vw, 18px) clamp(8px, 1.6vw, 18px);
  background:
    linear-gradient(#b4b6be, #c9cbd1) top center / 15% 38% no-repeat,
    linear-gradient(#eeeff2, #c2c4cb);
}

/* Background shapes */

.swoosh {
  background: url("../img/bg-swoosh.svg") top center / 100% auto no-repeat;
}

@media (max-width: 899px) {
  .swoosh {
    background-image: none;
  }
}

/* Screenshot frame */

.shot {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.shot::before {
  content: "";
  display: block;
  height: 1.9rem;
  background:
    radial-gradient(circle at 1.1rem 50%, #d9d6e2 0.3rem, transparent 0.33rem),
    radial-gradient(circle at 2.1rem 50%, #d9d6e2 0.3rem, transparent 0.33rem),
    radial-gradient(circle at 3.1rem 50%, #d9d6e2 0.3rem, transparent 0.33rem),
    var(--surface-alt);
  border-bottom: 1px solid var(--border);
}

/* Two-column layout */

.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 5fr 6fr;
  }

  .split.wide-text {
    grid-template-columns: 7fr 5fr;
  }

  .split.top {
    align-items: start;
  }

  .split.top .shot {
    position: sticky;
    top: 6.5rem;
  }
}

/* Lists */

.checklist {
  list-style: none;
  padding: 0;
}

.checklist li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.6rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.62em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--blue);
}

/* About */

.about-photo {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Offer page */

.page-head {
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(2.5rem, 6vw, 4rem);
  background: #e9e9ef url("../img/bg-waves.svg") center / 100% 100% no-repeat;
}

.page-head h1 {
  font-size: clamp(2rem, 4.2vw, 2.9rem);
}

.product .tagline {
  font-weight: 600;
  color: var(--ink);
  font-size: 1.1rem;
}

.prose > * {
  max-width: 46rem;
}

/* Cookie policy table */

.table-wrap {
  overflow-x: auto;
  margin-bottom: 1rem;
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  text-align: center;
}

.cookie-table th,
.cookie-table td {
  border: 1px solid var(--border);
  padding: 0.7rem 0.8rem;
  vertical-align: top;
}

.cookie-table th {
  background: var(--surface-alt);
  color: var(--ink);
}

.cookie-table td p:last-child {
  margin-bottom: 0;
}

/* Contact band and footer */

.contact {
  background: var(--ink);
  color: var(--on-dark);
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
}

.contact h2,
.contact h3 {
  color: #fff;
}

.contact .cta {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
}

.contact .cta p {
  color: var(--on-dark-muted);
  font-size: 1.2rem;
  margin-bottom: 0;
}

.contact a {
  color: #fff;
}

.contact a:hover {
  color: #c5d3fa;
}

.contact-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-grid h3 {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  margin-bottom: 0.75rem;
}

.contact-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-grid li {
  margin-bottom: 0.4rem;
}

.contact-grid address {
  font-style: normal;
}

.contact-grid address p {
  margin-bottom: 0.6rem;
}

.site-footer {
  background: var(--ink);
  color: var(--on-dark-muted);
  font-size: 0.92rem;
  padding: 0 0 2rem;
}

.site-footer .container {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.site-footer p {
  margin-bottom: 0.4rem;
}

.site-footer a {
  color: var(--on-dark);
}

.site-footer a:hover {
  color: #fff;
}

/* Error page */

.error-page {
  text-align: center;
  padding: clamp(4rem, 12vw, 8rem) 0;
}

.error-page .code {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(4rem, 14vw, 8rem);
  line-height: 1;
  color: var(--blue);
  margin-bottom: 1rem;
}

.error-page .btn-row {
  justify-content: center;
  margin-top: 1.5rem;
}
