:root {
  --bg: #f5f3ed;
  --bg-soft: #f9f7f2;
  --surface: rgba(255, 255, 255, 0.74);
  --surface-strong: rgba(255, 255, 255, 0.96);
  --line: rgba(31, 65, 63, 0.1);
  --text: #1f3737;
  --muted: #60726d;
  --deep: #17373f;
  --sage: #7ca58c;
  --sage-soft: #d8e7dc;
  --mist: #d9eaeb;
  --sand: #efe3ca;
  --shadow: 0 18px 60px rgba(25, 51, 52, 0.1);
  --radius-xl: 36px;
  --radius-lg: 26px;
  --radius-md: 20px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(215, 233, 226, 0.85), transparent 34%),
    radial-gradient(circle at top right, rgba(226, 238, 240, 0.9), transparent 30%),
    linear-gradient(180deg, #fcfbf8 0%, var(--bg) 52%, #eef3f1 100%);
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-shell,
.legal-page {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100vw;
  margin: 0 calc(50% - 50vw) 22px;
  padding:
    16px
    max(24px, calc((100vw - var(--max-width)) / 2 + 24px));
  background: rgba(255, 252, 248, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 0;
  backdrop-filter: blur(22px);
  box-shadow: 0 16px 40px rgba(24, 52, 55, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand__logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 14px;
}

.brand__text {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

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

.nav a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 180ms ease, transform 180ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--deep);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--deep);
  border-radius: 999px;
}

.section {
  padding: 42px 0;
}

.hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 34px;
  align-items: center;
  padding-top: 28px;
  min-height: calc(100vh - 160px);
}

.eyebrow,
.mini-label {
  margin: 0 0 14px;
  color: #55766c;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  color: var(--deep);
  letter-spacing: -0.03em;
  line-height: 0.95;
}

h1 {
  font-size: clamp(3.6rem, 7vw, 5.8rem);
}

h2 {
  font-size: clamp(2.7rem, 5vw, 4.2rem);
}

h3 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.15;
}

em {
  color: #548a73;
  font-style: italic;
}

p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.85;
}

.hero__company {
  display: block;
  margin-bottom: 16px;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #4b6d67;
}

.hero__lede {
  max-width: 620px;
  margin: 24px 0 0;
  font-size: 1.08rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button,
.store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.button:hover,
.button:focus-visible,
.store-button:hover,
.store-button:focus-visible,
.info-card:hover,
.story-card:hover,
.contact-card:hover,
.app-card:hover {
  transform: translateY(-4px);
}

.button--dark {
  background: linear-gradient(135deg, #163b44, #274d52);
  color: #f8faf8;
  box-shadow: 0 18px 36px rgba(24, 54, 57, 0.22);
}

.button--light {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(24, 55, 57, 0.08);
  color: var(--deep);
}

.button:hover,
.button:focus-visible {
  box-shadow: 0 20px 40px rgba(24, 54, 57, 0.16);
}

.hero__highlights,
.check-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.hero__highlights li,
.check-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(24, 55, 57, 0.06);
  border-radius: 999px;
  color: var(--deep);
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(28, 54, 56, 0.06);
}

.hero__highlights li::before,
.check-list li::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6e9f84, #93b3a1);
  box-shadow: 0 0 0 5px rgba(135, 173, 154, 0.12);
}

.hero__visual {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
  align-items: start;
  min-height: 620px;
}

.hero-card {
  background: var(--surface-strong);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 30px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-card--note {
  z-index: 2;
  padding: 26px 24px;
  margin-top: 56px;
}

.hero-card--note h2 {
  font-family: "Manrope", sans-serif;
  font-size: 1.5rem;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.hero-card--note p {
  margin: 12px 0 0;
  font-size: 0.97rem;
}

.hero-card--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card--photo-main {
  grid-column: 2;
  grid-row: 1 / span 2;
  height: 400px;
  margin-top: 30px;
}

.hero-card--photo-side {
  grid-column: 1;
  grid-row: 2;
  width: 78%;
  height: 220px;
  justify-self: end;
}

.hero-card--insight {
  position: absolute;
  right: 42px;
  bottom: 16px;
  width: 260px;
  padding: 22px 22px 20px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(247, 252, 251, 0.97), rgba(227, 241, 238, 0.95)),
    #edf7f4;
  box-shadow: 0 20px 48px rgba(36, 69, 73, 0.16);
}

.hero-card--insight .mini-label {
  margin-bottom: 12px;
}

.hero-card__metric {
  display: grid;
  gap: 4px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(27, 59, 61, 0.1);
}

.hero-card__metric strong {
  color: var(--deep);
  font-size: 1.45rem;
  line-height: 1.1;
}

.hero-card__metric span {
  color: #5f7d78;
  font-size: 0.95rem;
  line-height: 1.5;
}

.hero-card__points {
  display: grid;
  gap: 10px;
  padding: 14px 0 0;
  margin: 0;
  list-style: none;
}

.hero-card__points li {
  position: relative;
  padding-left: 18px;
  color: var(--deep);
  font-size: 0.94rem;
  line-height: 1.55;
}

.hero-card__points li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5f9f95, #7aa9b4);
}

.section-heading {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
}

.section-heading--center {
  justify-items: center;
  text-align: center;
}

.section-heading p:last-child {
  max-width: 760px;
}

.cards,
.story-grid,
.contact-grid {
  display: grid;
  gap: 22px;
}

.cards--services {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card,
.story-card,
.contact-card,
.app-card {
  position: relative;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 28px;
  box-shadow: 0 18px 44px rgba(26, 51, 51, 0.08);
  transition:
    transform 200ms ease,
    box-shadow 200ms ease,
    border-color 200ms ease;
}

.info-card:hover,
.story-card:hover,
.contact-card:hover,
.app-card:hover {
  border-color: rgba(112, 157, 144, 0.35);
  box-shadow: 0 24px 56px rgba(27, 54, 57, 0.13);
}

.info-card {
  padding: 28px;
}

.icon-badge {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 24px;
  border-radius: 18px;
}

.icon-badge svg,
.contact-card__icon svg,
.store-button svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.icon-badge--sage {
  color: #4f7b69;
  background: #e3f0e6;
}

.icon-badge--mist {
  color: #557c87;
  background: #e2eff2;
}

.icon-badge--sand {
  color: #927753;
  background: #f5ead2;
}

.info-card p,
.story-card p,
.contact-card p,
.app-card p {
  margin: 16px 0 0;
}

.info-card a {
  display: inline-flex;
  margin-top: 22px;
  color: #4c7a69;
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 38px;
  align-items: center;
}

.split__media {
  position: relative;
  margin: 0;
}

.split__media img {
  width: 100%;
  min-height: 560px;
  object-fit: cover;
  border-radius: 36px;
  box-shadow: var(--shadow);
}

.overlay-note {
  position: absolute;
  right: 22px;
  bottom: 22px;
  display: grid;
  gap: 6px;
  width: min(260px, calc(100% - 44px));
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 22px;
  box-shadow: 0 16px 40px rgba(27, 52, 56, 0.12);
}

.overlay-note strong {
  font-size: 1rem;
}

.overlay-note span {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.7;
}

.story-band {
  padding-top: 34px;
}

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

.story-card {
  padding: 28px;
}

.story-card__index {
  display: inline-flex;
  margin-bottom: 24px;
  color: #5a8677;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

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

.contact-card {
  padding: 28px;
}

.contact-card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: 16px;
  color: #51715f;
  background: linear-gradient(180deg, #eef7f1, #ddeae2);
}

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 22px;
  padding: 28px 0 42px;
  color: var(--muted);
}

.footer p {
  margin: 0;
  font-size: 0.95rem;
}

.footer__links {
  display: flex;
  gap: 18px;
}

.footer__links a {
  font-weight: 700;
  transition: color 180ms ease;
}

.footer__links a:hover,
.footer__links a:focus-visible {
  color: var(--deep);
}

.legal-page {
  max-width: 860px;
  padding: 48px 0 64px;
}

.legal-page__back {
  display: inline-flex;
  margin-bottom: 22px;
  color: #4a7368;
  font-weight: 800;
}

.legal-page h1 {
  font-size: clamp(3rem, 6vw, 4.6rem);
  margin-bottom: 14px;
}

.legal-page__updated {
  margin: 0 0 28px;
  color: #68817a;
}

.legal-page section {
  padding: 18px 0;
  border-top: 1px solid rgba(28, 54, 55, 0.08);
}

.legal-page h2 {
  font-size: clamp(1.9rem, 3vw, 2.35rem);
  margin-bottom: 10px;
}

@media (max-width: 1080px) {
  .hero,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-card--photo-main {
    height: 360px;
  }

  .hero-card--insight {
    right: 22px;
    bottom: -18px;
    width: 240px;
  }

  .split__media img {
    min-height: 420px;
  }

  .cards--services,
  .story-grid,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-shell,
  .legal-page {
    width: min(calc(100% - 24px), var(--max-width));
  }

  .topbar {
    top: 0;
    flex-wrap: wrap;
    margin: 0 calc(50% - 50vw) 18px;
    padding: 14px 12px;
    border-radius: 0;
  }

  .nav-toggle {
    display: inline-block;
    margin-left: auto;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 8px;
  }

  .nav.is-open {
    display: flex;
  }

  .hero {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-top: 6px;
  }

  h1 {
    font-size: clamp(3.2rem, 13vw, 4.3rem);
  }

  h2 {
    font-size: clamp(2.4rem, 9vw, 3.4rem);
    line-height: 0.98;
  }

  .hero__visual {
    grid-template-columns: 1fr;
    gap: 14px;
    min-height: 0;
  }

  .hero-card--note,
  .hero-card--photo-main,
  .hero-card--photo-side {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    margin-top: 0;
    justify-self: stretch;
  }

  .hero-card--photo-main,
  .hero-card--photo-side,
  .split__media img {
    height: 300px;
    min-height: 300px;
  }

  .hero-card--insight {
    position: static;
    width: 100%;
    border-radius: 30px;
    margin-top: 6px;
  }

  .hero__content {
    order: 0;
  }

  .hero__visual {
    order: 1;
  }

  .cards--services,
  .story-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .info-card,
  .story-card,
  .contact-card {
    padding: 24px;
  }

  .footer {
    padding-top: 18px;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__links {
    flex-wrap: wrap;
  }
}
