:root {
  color-scheme: light;
  --paper: #f7f4ed;
  --paper-deep: #ece5d8;
  --ink: #1d2825;
  --muted: #59645e;
  --wine: #742b35;
  --coral: #df594c;
  --forest: #183f36;
  --forest-light: #b7c8ae;
  --line: #d6d0c4;
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

a { color: inherit; }

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

.skip-link {
  position: absolute;
  z-index: 10;
  top: 8px;
  left: 8px;
  padding: 8px 12px;
  color: white;
  background: var(--forest);
  transform: translateY(-150%);
}

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

.site-header {
  min-height: 76px;
  padding: 12px max(24px, calc((100% - 1392px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: var(--paper);
}

.brand, .site-header nav, .site-footer nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  color: var(--wine);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.brand img { display: block; border-radius: 5px; object-fit: cover; }

.site-header nav { flex-wrap: wrap; justify-content: flex-end; gap: 26px; }

.site-header nav a, .site-footer nav a {
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.site-header nav a:hover, .site-footer nav a:hover { color: var(--wine); }

.site-header .nav-legal {
  padding-left: 26px;
  border-left: 1px solid var(--line);
}

.hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: min(700px, calc(100svh - 260px));
  margin: 0;
  padding: 64px max(24px, calc((100% - 1320px) / 2));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--forest);
}

.hero::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background:
    linear-gradient(0deg, rgba(13, 24, 21, .44), transparent 58%),
    linear-gradient(90deg, rgba(13, 24, 21, .88) 0%, rgba(13, 24, 21, .74) 34%, rgba(13, 24, 21, .38) 58%, rgba(13, 24, 21, .04) 100%);
  pointer-events: none;
}

.hero-media {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  background: var(--paper-deep);
}

.hero-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 8%;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(660px, 58%);
  margin: 0;
  padding: 24px 0;
  color: white;
}

.hero .eyebrow { color: #f2c97d; }

.eyebrow {
  margin: 0 0 14px;
  color: var(--wine);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow-light { color: #f2c97d; }

h1, h2, h3, p { overflow-wrap: anywhere; }

h1, h2, h3 { margin-top: 0; }

h1, h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.08;
}

.hero h1 {
  max-width: 650px;
  margin-bottom: 14px;
  color: white;
  font-size: 64px;
}

.hero-copy {
  max-width: 560px;
  margin: 0 0 10px;
  color: #f4dfc4;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 29px;
  line-height: 1.25;
}

.hero-detail { max-width: 510px; margin: 0 0 28px; color: #eef1eb; font-size: 17px; }

.button {
  min-height: 46px;
  padding: 11px 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.button-primary { color: white; background: var(--forest); }
.button-primary:hover { background: var(--wine); }

.section-shell { width: min(1392px, calc(100% - 48px)); margin: 0 auto; }

.intro { padding-top: 88px; padding-bottom: 88px; }

.section-heading { max-width: 760px; margin-bottom: 44px; }

.section-heading h2, .translations-inner h2, .ai-copy h2 {
  max-width: 720px;
  margin-bottom: 16px;
  font-size: 42px;
}

.section-heading > p:last-child, .translations-inner > div > p:last-child, .ai-copy > p:last-child {
  max-width: 700px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
}

.feature-list { border-top: 1px solid var(--line); }

.feature-row {
  display: grid;
  grid-template-columns: 58px minmax(220px, .95fr) minmax(260px, 1.15fr);
  align-items: start;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.feature-number { color: var(--coral); font-family: Georgia, "Times New Roman", serif; font-size: 22px; }
.feature-row .eyebrow { margin-bottom: 7px; }
.feature-row h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 23px; font-weight: 500; line-height: 1.25; }
.feature-row > p { max-width: 430px; margin: 0; color: var(--muted); }

.translations-band { color: white; background: var(--forest); }

.translations-inner {
  width: min(1392px, calc(100% - 48px));
  min-height: 270px;
  margin: 0 auto;
  padding: 66px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr);
  align-items: center;
  gap: 56px;
}

.translations-inner h2 { color: white; }
.translations-inner > div > p:last-child { color: #e0e7dc; }

.language-list {
  margin: 0;
  padding: 0 0 0 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  color: #f2c97d;
  font-weight: 700;
}

.ai-section {
  padding-top: 82px;
  padding-bottom: 88px;
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 20px 38px;
  align-items: start;
}

.ai-mark {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border: 1px solid var(--coral);
  border-radius: 50%;
  color: var(--wine);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
}

.ai-copy { max-width: 780px; }
.ai-copy h2 { color: var(--forest); }
.availability-note { grid-column: 2; margin: 0; color: var(--muted); font-size: 13px; }

.site-footer {
  min-height: 150px;
  padding: 30px max(24px, calc((100% - 1392px) / 2));
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px 24px;
  border-top: 1px solid var(--line);
  background: var(--paper-deep);
}

.footer-brand { color: var(--wine); font-family: Georgia, "Times New Roman", serif; font-size: 20px; font-weight: 700; text-decoration: none; }
.copyright { margin: 0; color: var(--muted); font-size: 12px; }
.site-footer nav { grid-row: span 2; grid-column: 2; flex-wrap: wrap; justify-content: flex-end; gap: 18px; }

.legal-main { width: min(820px, calc(100% - 48px)); margin: 0 auto; padding: 64px 0 88px; }
.legal-main .back-link { display: inline-block; margin-bottom: 30px; color: var(--forest); font-size: 14px; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.legal-main h1 { margin-bottom: 12px; color: var(--wine); font-size: 48px; }
.legal-main h2 { margin: 34px 0 10px; color: var(--forest); font-size: 25px; }
.legal-main h3 { margin: 24px 0 8px; font-size: 18px; }
.legal-main p, .legal-main li { color: #38443e; font-size: 15px; }
.legal-main ul { padding-left: 22px; }
.legal-main li + li { margin-top: 8px; }

@media (max-width: 960px) {
  .hero {
    padding: 48px 24px;
  }
  .hero-content { width: min(660px, 76%); padding: 0; }
  .hero h1 { font-size: 52px; }
  .hero-copy { font-size: 25px; }
  .hero-detail { font-size: 15px; }
}

@media (max-width: 760px) {
  .site-header { align-items: flex-start; flex-direction: column; gap: 12px; padding: 12px 20px 15px; }
  .site-header nav { width: 100%; justify-content: flex-start; gap: 10px 20px; }
  .site-header .nav-legal { padding-left: 0; border-left: 0; }
  .hero {
    min-height: min(650px, calc(100svh - 260px));
    padding: 120px 20px 32px;
    align-items: flex-end;
  }
  .hero::after {
    background:
      linear-gradient(0deg, rgba(13, 24, 21, .95) 0%, rgba(13, 24, 21, .83) 33%, rgba(13, 24, 21, .26) 74%, rgba(13, 24, 21, .08) 100%),
      linear-gradient(90deg, rgba(13, 24, 21, .28), transparent 78%);
  }
  .hero-content { width: 100%; max-width: 560px; padding: 0; }
  .hero-image { object-position: 90% 12%; }
  .hero h1 { max-width: 480px; font-size: 48px; }
  .hero-copy { max-width: 420px; font-size: 25px; }
  .hero-detail { max-width: 430px; font-size: 16px; }
  .section-shell, .translations-inner { width: calc(100% - 40px); }
  .intro { padding-top: 50px; padding-bottom: 66px; }
  .section-heading h2, .translations-inner h2, .ai-copy h2 { font-size: 34px; }
  .feature-row { grid-template-columns: 42px minmax(0, 1fr); gap: 12px 16px; }
  .feature-row > p { grid-column: 2; }
  .translations-inner { padding: 54px 0; grid-template-columns: 1fr; gap: 28px; }
  .language-list { max-width: 500px; }
  .ai-section { padding-top: 62px; padding-bottom: 66px; grid-template-columns: 58px minmax(0, 1fr); gap: 18px; }
  .ai-mark { width: 52px; height: 52px; font-size: 32px; }
  .availability-note { grid-column: 2; }
  .site-footer { padding: 24px 20px; grid-template-columns: 1fr; gap: 9px; }
  .site-footer nav { grid-column: 1; grid-row: auto; justify-content: flex-start; margin-top: 8px; }
  .legal-main { width: calc(100% - 40px); padding-top: 42px; }
  .legal-main h1 { font-size: 39px; }
}

@media (max-width: 390px) {
  .site-header nav { gap: 8px 14px; }
  .site-header nav a { font-size: 13px; }
  .hero { padding-right: 16px; padding-left: 16px; }
  .hero h1 { font-size: 42px; }
  .hero-copy { font-size: 23px; }
  .feature-row { grid-template-columns: 30px minmax(0, 1fr); }
  .language-list { grid-template-columns: 1fr; }
  .ai-section { grid-template-columns: 1fr; }
  .ai-mark { display: none; }
  .availability-note { grid-column: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
