:root {
  color-scheme: light dark;
  --canvas: #eef4f1;
  --surface: rgba(250, 252, 251, 0.88);
  --surface-solid: #fafcfb;
  --warm: #f4f1e8;
  --ink: #1d2a27;
  --muted: #606e69;
  --fir: #245b5a;
  --sea: #397169;
  --gold: #d99a3d;
  --outline: #d7e2de;
  --shadow: 0 18px 50px rgba(36, 91, 90, 0.11);
  --content-width: 72rem;
  --reading-width: 47rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 92% 4%, rgba(217, 154, 61, 0.16), transparent 21rem),
    radial-gradient(circle at 5% 28%, rgba(57, 113, 105, 0.1), transparent 24rem),
    var(--canvas);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--fir);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 0.75rem;
  left: 0.75rem;
  transform: translateY(-180%);
  border-radius: 0.75rem;
  background: var(--ink);
  color: var(--surface-solid);
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  width: min(calc(100% - 2rem), var(--content-width));
  margin: 0 auto;
  padding: 1.25rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

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

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

.language-switcher {
  display: inline-flex;
  gap: 0.2rem;
  border: 1px solid var(--outline);
  border-radius: 999px;
  background: var(--surface);
  padding: 0.2rem;
}

.language-switcher button {
  min-width: 2.3rem;
  min-height: 2.1rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.language-switcher button[aria-pressed="true"] {
  background: var(--fir);
  color: #fff;
}

main {
  width: min(calc(100% - 2rem), var(--content-width));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(18rem, 0.82fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 6rem);
  padding: 4.5rem 0 6rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  color: var(--sea);
  font-size: 0.83rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--gold);
  content: "";
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1.4rem;
  font-size: clamp(3.2rem, 7vw, 6.7rem);
}

.page-title {
  max-width: 15ch;
  font-size: clamp(2.7rem, 6vw, 5rem);
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.65rem, 3vw, 2.2rem);
}

h3 {
  margin-bottom: 0.45rem;
  font-size: 1.15rem;
}

p {
  margin: 0 0 1.2rem;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 39rem;
  color: var(--muted);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--fir);
  border-radius: 0.85rem;
  background: var(--fir);
  color: #fff;
  font-weight: 700;
  padding: 0.72rem 1.15rem;
  text-decoration: none;
}

.button:hover {
  background: var(--sea);
  color: #fff;
}

.button.secondary {
  border-color: var(--outline);
  background: var(--surface);
  color: var(--fir);
}

.hero-art {
  position: relative;
  min-height: 34rem;
}

.hero-shot {
  position: absolute;
  z-index: 1;
  display: block;
  height: auto;
  border: 0.4rem solid rgba(250, 252, 251, 0.96);
  background: var(--surface-solid);
  object-fit: cover;
  box-shadow: 0 28px 70px rgba(36, 91, 90, 0.2);
}

.hero-shot.tablet {
  top: 5rem;
  left: 0;
  width: min(92%, 31rem);
  border-radius: 1.4rem;
  transform: rotate(-2deg);
}

.hero-shot.phone {
  right: 0;
  bottom: 0;
  width: min(34%, 10.5rem);
  border-width: 0.32rem;
  border-radius: 1.8rem;
  transform: rotate(3deg);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-bottom: 5rem;
}

.feature-card,
.legal-card,
.contact-card {
  border: 1px solid var(--outline);
  border-radius: 1.4rem;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.feature-card {
  min-height: 10.5rem;
  padding: 1.75rem;
}

.feature-card p {
  color: var(--muted);
}

.page-hero {
  max-width: var(--reading-width);
  padding: 5rem 0 2rem;
}

.page-hero > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.2rem;
}

.reading-column {
  max-width: var(--reading-width);
  padding-bottom: 6rem;
}

.legal-card,
.contact-card {
  margin-bottom: 1rem;
  padding: clamp(1.35rem, 4vw, 2rem);
}

.legal-card p:last-child,
.contact-card p:last-child {
  margin-bottom: 0;
}

.legal-card dl,
.contact-card dl {
  display: grid;
  grid-template-columns: minmax(9rem, 0.42fr) minmax(0, 1fr);
  gap: 0.7rem 1.5rem;
  margin: 0;
}

dt {
  color: var(--muted);
  font-weight: 650;
}

dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.privacy-note {
  border-left: 4px solid var(--gold);
  border-radius: 0 1rem 1rem 0;
  background: var(--warm);
  padding: 1.2rem 1.3rem;
}

.meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  width: min(calc(100% - 2rem), var(--content-width));
  margin: 0 auto;
  border-top: 1px solid var(--outline);
  padding: 2rem 0 3rem;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}

.footer-copy {
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

[hidden] {
  display: none !important;
}

@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #101816;
    --surface: rgba(27, 36, 34, 0.9);
    --surface-solid: #1b2422;
    --warm: #28271f;
    --ink: #f1f6f4;
    --muted: #b7c6c1;
    --fir: #8fc9be;
    --sea: #a8d6c5;
    --gold: #f1bd66;
    --outline: #34443f;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  }

  .language-switcher button[aria-pressed="true"],
  .button:not(.secondary) {
    background: #8fc9be;
    color: #101816;
  }
}

@media (max-width: 56rem) {
  .site-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 3rem;
  }

  .hero-art {
    min-height: 25rem;
  }

  .hero-shot.tablet {
    left: 50%;
    width: min(82vw, 31rem);
    transform: translateX(-55%) rotate(-2deg);
  }

  .hero-shot.phone {
    right: max(2%, calc(50% - 17rem));
    width: min(28vw, 9.5rem);
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 38rem) {
  .site-header {
    width: min(calc(100% - 1.25rem), var(--content-width));
  }

  main,
  .site-footer {
    width: min(calc(100% - 1.25rem), var(--content-width));
  }

  .hero {
    padding-bottom: 4rem;
  }

  .page-title {
    font-size: 2.25rem;
    overflow-wrap: anywhere;
  }

  .hero-art {
    min-height: 20rem;
  }

  .hero-shot.tablet {
    top: 3rem;
  }

  .hero-shot.phone {
    right: 0;
    width: min(29vw, 7.7rem);
  }

  .legal-card dl,
  .contact-card dl {
    grid-template-columns: 1fr;
    gap: 0.1rem;
  }

  dd + dt {
    margin-top: 0.8rem;
  }

  .footer-inner {
    flex-direction: column;
  }
}

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