@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/montserrat/Montserrat-Regular.woff2") format("woff2");
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/montserrat/Montserrat-Medium.woff2") format("woff2");
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/montserrat/Montserrat-SemiBold.woff2") format("woff2");
}

:root {
  --color-primary: #00a7a7;
  --color-primary-deep: #006d6f;
  --color-bg: #f7f9f9;
  --color-surface: #ffffff;
  --color-text: #1a2b2b;
  --color-text-muted: rgba(26, 43, 43, 0.72);
  --color-text-subtle: rgba(26, 43, 43, 0.6);
  --color-border: rgba(0, 109, 111, 0.12);
  --text-on-teal: #f4fafa;
  --teal-muted: #7fd4d4;

  --font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  --max-width: 72rem;
  --narrow-width: 42rem;
  --header-height: 4.5rem;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-full: 9999px;

  --teal-tint: #f4fafa;
  --teal-tint-deep: #e0f5f5;
  --gradient-hero: linear-gradient(
    145deg,
    var(--teal-tint) 0%,
    var(--color-surface) 45%,
    var(--teal-tint-deep) 100%
  );

  --shadow-soft: 0 4px 24px rgba(0, 109, 111, 0.08);
  --shadow-card: 0 8px 32px rgba(0, 109, 111, 0.1);
  --gradient-teal: linear-gradient(
    135deg,
    var(--color-primary-deep) 0%,
    var(--color-primary) 55%,
    var(--color-primary) 100%
  );
}

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

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: var(--color-primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-primary-deep);
}

h1,
h2,
h3 {
  color: var(--color-primary-deep);
  line-height: 1.25;
  margin-top: 0;
}

h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: var(--weight-bold);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: var(--weight-semibold);
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.125rem;
  font-weight: var(--weight-semibold);
}

p {
  margin: 0 0 var(--space-sm);
}

ul,
ol {
  margin: 0;
  padding: 0;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.narrow {
  width: min(100% - 2rem, var(--narrow-width));
  margin-inline: auto;
}

main {
  overflow-x: hidden;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-sm);
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--color-primary-deep);
  color: var(--text-on-teal);
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: var(--weight-semibold);
}

.skip-link:focus {
  top: var(--space-sm);
}

.eyebrow {
  font-size: 0.8125rem;
  font-weight: var(--weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin: 0 0 var(--space-xs);
}

.eyebrow img {
  display: inline-block;
  vertical-align: middle;
  width: auto;
  height: 40px;
  margin-right: 0.625rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--space-md);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  color: var(--color-primary-deep);
}

.logo__mark {
  flex-shrink: 0;
  display: block;
  width: 66px;
  height: 66px;
  object-fit: contain;
}

.logo-text {
  line-height: 1.15;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}

.logo-fairer {
  font-weight: var(--weight-semibold);
  color: var(--color-primary-deep);
}

.logo-mind {
  font-weight: 400;
  color: var(--color-primary);
}

.site-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  list-style: none;
}

.site-nav a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: var(--weight-semibold);
}

.site-nav a:hover {
  color: var(--color-primary);
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: var(--space-xl) 0 var(--space-2xl);
  background: var(--gradient-hero);
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.circle {
  position: absolute;
  border-radius: var(--radius-full);
  background: radial-gradient(circle at 30% 30%, var(--teal-muted), transparent 70%);
  opacity: 0.35;
}

.circle--lg {
  width: min(28rem, 80vw);
  height: min(28rem, 80vw);
  top: -8rem;
  right: -6rem;
}

.circle--md {
  width: 12rem;
  height: 12rem;
  bottom: 10%;
  left: 5%;
  opacity: 0.2;
}

.circle--sm {
  width: 6rem;
  height: 6rem;
  top: 40%;
  left: 45%;
  opacity: 0.15;
}

.hero__grid {
  position: relative;
  display: grid;
  gap: var(--space-xl);
  align-items: center;
}

.hero__content {
  max-width: 36rem;
}

.hero h1 {
  margin-bottom: var(--space-sm);
}

.hero__lead {
  font-size: 1.1875rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}

.hero__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-xs);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
}

.hero__visual {
  margin: 0;
  padding: var(--space-md);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
}

.hero__visual img {
  display: block;
  width: 320px;
  max-width: 100%;
  height: auto;
  margin-inline: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: var(--weight-semibold);
  line-height: 1;
  text-decoration: none;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  padding: 0.875rem 1.5rem;
  background: var(--gradient-teal);
  color: var(--text-on-teal);
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  color: var(--text-on-teal);
  box-shadow: var(--shadow-card);
}

.btn-text {
  padding: 0.875rem 0.25rem;
  color: var(--color-primary);
  text-decoration: underline;
  border-radius: 0;
  border-color: transparent;
  box-shadow: none;
}

.btn-text:hover {
  color: var(--color-primary-deep);
}

/* Sections */

.section {
  padding: var(--space-2xl) 0;
}

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

.section__header {
  margin-bottom: var(--space-xl);
}

.section__header .section__lead {
  margin-top: var(--space-sm);
}

.section__lead {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 38rem;
}

.section .narrow > p {
  color: var(--color-text-muted);
}

.section .narrow > p:last-child {
  margin-bottom: 0;
}

.section .narrow > h2 {
  margin-bottom: var(--space-md);
}

.section .narrow a {
  color: var(--color-primary-deep);
  font-weight: var(--weight-semibold);
}

.section .narrow a:hover {
  color: var(--color-primary);
}

/* Everyday moments scenarios */

.section--compact {
  padding: var(--space-xl) 0;
}

.section__header--compact {
  margin-bottom: var(--space-md);
}

.section__header--compact .section__lead {
  margin-top: var(--space-xs);
}

.scenario-list {
  display: grid;
  gap: var(--space-sm);
}

.scenario-panel {
  padding: var(--space-md);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.scenario-panel__heading {
  margin: 0 0 0.35rem;
  font-size: 1.0625rem;
  font-weight: var(--weight-semibold);
  line-height: 1.35;
  color: var(--color-primary-deep);
}

.scenario-panel__body {
  margin: 0 0 var(--space-xs);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.scenario-panel__action {
  margin: 0;
}

.scenario-link {
  font-size: 0.875rem;
  font-weight: var(--weight-semibold);
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.scenario-link:hover {
  color: var(--color-primary-deep);
}

.scenario-panel__status {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: var(--weight-semibold);
  letter-spacing: 0.02em;
  color: var(--color-text-subtle);
}

/* Product cards */

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: var(--space-md);
}

.card-body {
  flex: 1;
}

.card-icon {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: contain;
  object-position: left top;
}

.card-header {
  min-height: 8.75rem;
  margin-bottom: 0.75rem;
}

.card-title {
  margin: 1.25rem 0 0;
  min-height: 3.25rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.125rem;
}

.card-brand-line {
  display: block;
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.card-product {
  display: block;
  font-size: 1.25rem;
  font-weight: var(--weight-semibold);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--color-primary-deep);
}

.card-body p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

.card-footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.875rem;
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}

.card-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: var(--weight-semibold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-sm);
}

.card-badge--live {
  color: var(--color-primary-deep);
  background: rgba(0, 109, 111, 0.08);
}

.card-badge--soon {
  color: var(--color-text-subtle);
  background: rgba(26, 43, 43, 0.06);
}

.btn-card {
  width: 100%;
  text-align: center;
  padding-block: 0.875rem;
}

/* Principles */

.principles-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.principle {
  position: relative;
  padding: var(--space-md) var(--space-md) var(--space-md) calc(var(--space-md) + 3rem);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.principle::before {
  content: "";
  position: absolute;
  left: var(--space-md);
  top: var(--space-md);
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-full);
  background: var(--gradient-teal);
  opacity: 0.85;
}

.principle-title {
  margin: 0 0 0.35rem;
  font-size: 1.125rem;
  font-weight: var(--weight-semibold);
  color: var(--color-primary-deep);
}

.principle p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

/* Footer */

.site-footer {
  padding: var(--space-xl) 0 var(--space-lg);
  background: var(--color-primary-deep);
  color: rgba(240, 253, 250, 0.85);
}

.site-footer__grid {
  display: grid;
  gap: var(--space-lg);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  color: var(--text-on-teal);
}

.footer-brand__logo {
  flex-shrink: 0;
  display: block;
  width: 66px;
  height: 66px;
  object-fit: contain;
  opacity: 1;
  filter: brightness(1.85) saturate(0.85);
}

.footer-brand .logo-fairer {
  font-weight: var(--weight-semibold);
  color: #f4fafa;
}

.footer-brand .logo-mind {
  font-weight: 400;
  color: #9de8e8;
}

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

.site-footer__meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.site-footer a {
  color: var(--teal-muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--text-on-teal);
}

.site-footer__nav a {
  font-size: 0.875rem;
  font-weight: var(--weight-semibold);
}

.site-footer__email {
  font-size: 0.9375rem;
  font-weight: var(--weight-semibold);
}

.footer-copy {
  margin: 0;
  font-size: 0.8125rem;
  opacity: 0.75;
  color: rgba(240, 253, 250, 0.75);
}

/* Responsive */

@media (min-width: 48rem) {
  .hero__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 768px) {
  .principles-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .site-footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    align-items: start;
  }

  .site-footer__meta {
    text-align: right;
    align-items: flex-end;
  }
}

@media (min-width: 64rem) {
  .principle {
    padding: var(--space-lg) var(--space-md) var(--space-md);
    padding-top: calc(var(--space-lg) + 2.5rem);
    text-align: center;
  }

  .principle::before {
    left: 50%;
    transform: translateX(-50%);
    top: var(--space-md);
  }
}

@media (min-width: 960px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .btn-card {
    width: auto;
  }
}

@media (max-width: 47.99rem) {
  .site-header {
    height: auto;
    padding-block: 0.375rem;
  }

  .site-header__inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    height: auto;
  }

  .logo {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex: none;
    gap: 0.625rem;
    text-align: center;
  }

  .logo__mark {
    width: 56px;
    height: 56px;
  }

  .logo-text {
    font-size: 1rem;
  }

  .hero {
    padding: var(--space-lg) 0 var(--space-xl);
  }

  .site-nav__list {
    justify-content: center;
    gap: 0.25rem 1rem;
  }
}

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

  .btn {
    transition: none;
  }
}
