:root {
  --bg: #ffffff;
  --bg-soft: #f9fafb;
  --ink: #111827;
  --body: #374151;
  --muted: #6b7280;
  --line: #e5e7eb;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --gold: #fbbf24;
  --gold-soft: #fde68a;
  --sky: #bae6fd;
  --mint: #bbf7d0;
  --lavender: #ddd6fe;
  --card-ink: #0f172a;
  --white: #ffffff;
  --footer-text: #d1d5db;
  --radius-lg: 28px;
  --radius-md: 18px;
  --shadow-card: 0 18px 45px rgb(17 24 39 / 8%);
  --font-heading: "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color-scheme: light;
}

@font-face {
  font-family: "Josefin Sans";
  font-style: normal;
  font-weight: 100;
  font-display: swap;
  src: url("assets/fonts/JosefinSans-Thin.ttf") format("truetype");
}

@font-face {
  font-family: "Josefin Sans";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("assets/fonts/JosefinSans-Light.ttf") format("truetype");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgb(37 99 235 / 45%);
  outline-offset: 4px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  margin: 28px auto 0;
  padding: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: 32px;
  height: 40px;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-name {
  color: var(--ink);
  font-family: "Josefin Sans", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.12rem;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

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

.site-nav a {
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--body);
  font-family: var(--font-body);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover {
  background: var(--bg-soft);
  color: var(--ink);
}

.hero {
  position: relative;
  padding: 118px 20px 92px;
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: min(1060px, 100%);
  margin: 0 auto;
  text-align: center;
}

.eyebrow,
.section-label,
.product-card__status {
  margin: 0 0 16px;
  color: var(--blue);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 800;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: var(--font-heading);
}

p {
  margin-top: 0;
}

h1 {
  max-width: 980px;
  margin: 0 auto 26px;
  color: var(--ink);
  font-size: clamp(2.75rem, 6.5vw, 4.9rem);
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h2 {
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(2.1rem, 5vw, 4.25rem);
  font-weight: 850;
  line-height: 1.03;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h3 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 850;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.hero__copy {
  max-width: 720px;
  margin: 0 auto 34px;
  color: var(--body);
  font-size: clamp(1.12rem, 2vw, 1.35rem);
  text-wrap: pretty;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 15px 26px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.button--primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 12px 24px rgb(37 99 235 / 24%);
}

.button--primary:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.hero__decor {
  position: absolute;
  border-radius: 999px;
  filter: blur(0);
  opacity: 0.7;
}

.hero__decor--gold {
  top: 94px;
  left: max(20px, calc(50% - 700px));
  width: 180px;
  height: 180px;
  background: var(--gold);
}

.hero__decor--blue {
  right: max(20px, calc(50% - 690px));
  bottom: 72px;
  width: 240px;
  height: 240px;
  background: var(--sky);
  clip-path: polygon(14% 12%, 100% 28%, 78% 100%, 0 78%);
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0;
}

.section--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.78fr);
  gap: 56px;
  align-items: start;
}

.section-copy {
  display: grid;
  gap: 18px;
}

.section-copy p,
.section--split > p {
  margin: 18px 0 0;
  font-size: 1.15rem;
}

.section-copy p + p {
  margin-top: 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-heading p:last-child {
  max-width: 670px;
  margin: 18px 0 0;
  font-size: 1.1rem;
}

.products {
  width: 100%;
  max-width: none;
  padding-right: max(20px, calc((100% - 1180px) / 2));
  padding-left: max(20px, calc((100% - 1180px) / 2));
  background: var(--bg-soft);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 22px;
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(24px, 2.6vw, 30px);
  color: var(--card-ink);
  border: 0;
  border-radius: 22px;
  box-shadow: var(--shadow-card);
}

.product-card h3 {
  margin-bottom: 16px;
  font-size: clamp(1.35rem, 1.9vw, 1.82rem);
  line-height: 1.08;
}

.product-card--sky {
  background: var(--sky);
}

.product-card--mint {
  background: var(--mint);
}

.product-card--gold {
  background: var(--gold-soft);
}

.product-card--lavender {
  background: var(--lavender);
}

.product-card p:last-child {
  margin-bottom: 0;
  color: var(--card-ink);
}

.product-card p {
  line-height: 1.62;
}

.text-link {
  color: var(--ink);
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.text-link:hover {
  color: var(--blue-dark);
}

.product-card h3,
.product-card__status {
  color: var(--card-ink);
}

.trust-footer {
  margin-top: 0;
  padding: 34px max(20px, calc((100% - 1180px) / 2));
  background: var(--ink);
  color: var(--footer-text);
}

.footer-links a {
  color: var(--white);
  font-weight: 800;
}

.trust-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 0.95rem;
}

.trust-footer__bottom p {
  margin: 0;
}

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

.legal-page {
  background: var(--bg-soft);
}

.contact-page {
  background: var(--bg-soft);
}

.legal-shell {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: 74px 0 96px;
}

.contact-shell {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 74px 0 96px;
}

.legal-card {
  padding: clamp(28px, 5vw, 54px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.legal-card h1 {
  margin-bottom: 18px;
  font-size: clamp(2.6rem, 7vw, 4.8rem);
  text-align: left;
}

.legal-card h2 {
  margin-top: 34px;
  margin-bottom: 12px;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.legal-card p {
  max-width: 70ch;
}

.legal-card ul {
  max-width: 70ch;
  margin: 0 0 1.35rem 1.35rem;
  color: var(--body);
  line-height: 1.7;
}

.legal-card li + li {
  margin-top: 0.45rem;
}

.legal-card a {
  color: var(--blue-dark);
  font-weight: 800;
  text-underline-offset: 4px;
}

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

.contact-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 54px);
  align-items: start;
  padding: clamp(28px, 5vw, 54px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.contact-card h1 {
  margin-bottom: 20px;
  font-size: clamp(3rem, 7vw, 5rem);
  text-align: left;
}

.contact-card__intro p:last-child {
  max-width: 42ch;
  font-size: 1.08rem;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.field {
  display: grid;
  gap: 7px;
}

.field--hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field label {
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 800;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  background: var(--bg-soft);
  color: var(--ink);
  font: inherit;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.field input:focus-visible,
.field textarea:focus-visible {
  outline: 3px solid rgb(37 99 235 / 45%);
  outline-offset: 3px;
}

.form-note {
  margin-bottom: 0;
  color: var(--body);
  font-size: 0.94rem;
}

.form-status {
  margin: 0;
  color: var(--blue-dark);
  font-weight: 800;
}

@media (max-width: 860px) {
  .site-header,
  .trust-footer__bottom {
    align-items: flex-start;
  }

  .site-header,
  .trust-footer__bottom {
    flex-direction: column;
  }

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

  .section--split,
  .product-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 82px;
  }
}

@media (min-width: 861px) and (max-width: 1120px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .site-header,
  .section,
  .legal-shell {
    width: min(100% - 28px, 1180px);
  }

  .site-nav a {
    padding-inline: 8px;
    font-size: 0.88rem;
  }

  h1 {
    font-size: clamp(2.45rem, 13vw, 3.65rem);
  }

  .product-card {
    padding: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
