:root {
  color-scheme: light;
  --cream: #fff7e6;
  --forest: #074b34;
  --forest-muted: #315e4b;
  --gold: #efad30;
  --line: rgba(7, 75, 52, 0.2);
}

* { box-sizing: border-box; }
html { background: var(--cream); }
body {
  margin: 0;
  min-width: 320px;
  background: var(--cream);
  color: var(--forest);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: 0.18em; }
a:hover { color: #006443; }
a:focus-visible { outline: 3px solid var(--gold); outline-offset: 5px; border-radius: 3px; }
img { display: block; max-width: 100%; }

.site-shell {
  min-height: 100vh;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5.5vw, 88px);
  display: flex;
  flex-direction: column;
}
.site-header {
  min-height: 116px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font: 700 30px/1 Georgia, "Times New Roman", serif;
  letter-spacing: -0.035em;
  text-decoration: none;
}
.brand img { width: 42px; height: 42px; object-fit: contain; }
.site-header nav { display: flex; flex-wrap: wrap; gap: clamp(18px, 2.5vw, 38px); }
.site-header nav a { font-size: 14px; font-weight: 600; text-decoration: none; }
.site-header nav a:hover { text-decoration: underline; }

.home-main {
  flex: 1;
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: clamp(48px, 7vw, 110px);
  padding: 70px 0 92px;
}
.home-art {
  width: min(100%, 425px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  justify-self: center;
  border: 1px solid rgba(7, 75, 52, 0.14);
  border-radius: 43% 57% 48% 52% / 48% 42% 58% 52%;
  background: #fff1d3;
  transform: rotate(-3deg);
}
.home-art img { width: 72%; height: 72%; object-fit: contain; transform: rotate(3deg); }
.home-copy { max-width: 640px; }
.eyebrow {
  margin: 0 0 22px;
  color: var(--forest-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.17em;
  line-height: 1.5;
  text-transform: uppercase;
}
h1, h2 { font-family: Georgia, "Times New Roman", serif; letter-spacing: -0.045em; }
.home-copy h1 {
  margin: 0;
  font-size: clamp(100px, 13vw, 196px);
  font-weight: 700;
  line-height: 0.88;
}
.gold-period { color: var(--gold); }
.tagline {
  margin: 32px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3.2vw, 48px);
  line-height: 1.14;
  letter-spacing: -0.04em;
}
.intro {
  max-width: 530px;
  margin: 24px 0 0;
  color: #315143;
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.65;
}
.home-links { display: flex; flex-wrap: wrap; gap: 20px 38px; margin-top: 43px; }
.home-links a { font-size: 15px; font-weight: 700; text-decoration-thickness: 1px; }
.home-links span { color: var(--gold); padding-left: 4px; }

.content-page { width: min(100%, 760px); margin: 0 auto; padding: 78px 0 105px; }
.content-page h1 { margin: 0; font-size: clamp(54px, 8vw, 82px); line-height: 1; }
.updated { margin: 22px 0 0; color: var(--forest-muted); font-size: 14px; }
.lead { margin: 37px 0 54px; font-size: clamp(19px, 2.2vw, 23px); line-height: 1.55; }
.content-page section { padding: 27px 0 29px; border-top: 1px solid var(--line); }
.content-page section:last-child { border-bottom: 1px solid var(--line); }
.content-page h2 { margin: 0 0 13px; font-size: clamp(25px, 3vw, 30px); line-height: 1.2; }
.content-page section p { margin: 0 0 12px; color: #315143; font-size: 16px; line-height: 1.7; }
.content-page section p:last-child { margin-bottom: 0; }
.content-page section a, .lead a { color: var(--forest); font-weight: 650; }
.faq-list { margin-top: 45px; }
.support-page .lead { margin-bottom: 0; }

.site-footer {
  min-height: 83px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 28px;
  color: var(--forest-muted);
  font-size: 13px;
}
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

.app-main {
  position: relative;
  flex: 1;
  min-height: 630px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  align-items: center;
  gap: clamp(24px, 5vw, 80px);
  padding: 72px 0 100px;
  isolation: isolate;
}
.app-botanical {
  position: absolute;
  top: 20px;
  right: -40px;
  width: min(35vw, 340px);
  opacity: 0.8;
  z-index: -1;
  pointer-events: none;
}
.app-copy { max-width: 700px; }
.app-copy h1 {
  margin: 0;
  font-size: clamp(64px, 7.5vw, 112px);
  line-height: 0.99;
  font-weight: 700;
}
.app-intro {
  max-width: 550px;
  margin: 30px 0 36px;
  color: #315143;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.5;
}
.app-download {
  display: inline-flex;
  min-height: 62px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 14px 22px;
  border-radius: 18px;
  background: var(--forest);
  color: white;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(7, 75, 52, 0.13);
}
.app-download:hover { background: #006443; color: white; }
.app-download svg { width: 25px; height: 25px; flex: none; }
.app-download-arrow { font-size: 22px; font-weight: 400; margin-left: 10px; }
.app-note { margin: 15px 0 0; color: var(--forest-muted); font-size: 14px; }
.app-art {
  position: relative;
  width: min(100%, 430px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  justify-self: center;
}
.app-art-halo {
  position: absolute;
  inset: 4%;
  border: 1px solid rgba(7, 75, 52, 0.13);
  border-radius: 47% 53% 54% 46% / 49% 43% 57% 51%;
  background: #fff1d3;
  transform: rotate(-7deg);
}
.app-art img { position: relative; width: 74%; height: auto; filter: drop-shadow(0 16px 18px rgba(65, 83, 43, 0.08)); }

@media (max-width: 760px) {
  .site-header { min-height: 90px; }
  .brand { font-size: 27px; }
  .brand img { width: 37px; height: 37px; }
  .home-main { min-height: 0; grid-template-columns: 1fr; gap: 36px; padding: 48px 0 70px; }
  .home-art { width: min(67vw, 260px); order: 0; }
  .home-copy { order: 1; }
  .home-copy h1 { font-size: clamp(92px, 20vw, 150px); }
  .tagline { margin-top: 24px; }
  .intro { margin-top: 19px; }
  .home-links { margin-top: 34px; }
  .content-page { padding: 56px 0 78px; }
  .app-main { min-height: 0; grid-template-columns: 1fr; gap: 14px; padding: 48px 0 80px; }
  .app-botanical { top: 4px; right: -22px; width: min(42vw, 245px); opacity: 0.58; }
  .app-copy { order: 1; }
  .app-copy h1 { font-size: clamp(60px, 12.5vw, 88px); }
  .app-intro { margin: 22px 0 28px; }
  .app-art { order: 0; width: min(54vw, 230px); margin: 0 auto 8px; }
}

@media (max-width: 420px) {
  .site-shell { padding: 0 22px; }
  .site-header { gap: 14px; }
  .site-header nav { gap: 13px; }
  .site-header nav a { font-size: 13px; }
  .brand { gap: 8px; font-size: 25px; }
  .brand img { width: 32px; height: 32px; }
  .home-art { width: min(62vw, 230px); }
  .eyebrow { font-size: 11px; }
  .content-page h1 { font-size: 51px; }
  .app-copy h1 { font-size: clamp(55px, 13vw, 64px); }
  .app-download { width: 100%; min-height: 58px; font-size: 15px; gap: 9px; }
  .app-download-arrow { margin-left: auto; }
}
