:root {
  color-scheme: light;
  --forest: #193d2d;
  --deep: #102d21;
  --sage: #dce5d2;
  --cream: #f7f6ed;
  --muted: #68796a;
  --line: #d5dccd;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Trebuchet MS", "Segoe UI", sans-serif; color: var(--forest); }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid #d5a34d; outline-offset: 3px; }
.landing-page { background: var(--cream); }
.site-header, .account-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding: 1.3rem clamp(1.25rem, 5vw, 5rem);
}
.site-header { border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; gap: .6rem; font-family: Georgia, serif; font-size: 1.45rem; font-weight: bold; text-decoration: none; letter-spacing: -.05em; }
.brand-logo { display: block; width: auto; height: 4rem; }
.site-header nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.5rem); }
.nav-link, .account-back { font-size: .83rem; font-weight: bold; text-decoration: none; }
.nav-link:hover, .account-back:hover, .text-link:hover, .site-footer a:hover { text-decoration: underline; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 1.3rem;
  min-height: 3.25rem; padding: .8rem 1.25rem; border: 1px solid var(--forest);
  border-radius: .3rem; background: var(--forest); color: #fff;
  font: inherit; font-size: .84rem; font-weight: bold; text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s;
}
.button:hover { background: #2e5b42; }
.button-small { min-height: 2.65rem; padding: .65rem 1rem; }
.button-outline { background: transparent; color: var(--forest); }
.button-outline:hover { background: #e6ecdf; }
.hero { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); min-height: 34rem; }
.hero-copy { align-self: center; padding: 5rem clamp(1.25rem, 5vw, 5rem); }
.eyebrow { color: #8c7449; font-size: .7rem; font-weight: bold; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3, p, figure { margin-top: 0; }
.hero h1, .world-section h2, .ways-section h2, .account-card h1 {
  font-family: Georgia, serif; font-weight: normal; letter-spacing: -.055em; line-height: 1.05;
}
.hero h1 { margin: 1.35rem 0 1.5rem; font-size: clamp(3.2rem, 5.5vw, 6rem); }
h1 em, h2 em { color: #6b8866; font-weight: normal; }
.hero-description { max-width: 29rem; color: #52685a; font-size: 1.05rem; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; margin-top: 2rem; }
.text-link { font-size: .82rem; font-weight: bold; text-decoration: none; }
.hero-note { margin: 5rem 0 0; color: #829181; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.hero-image { position: relative; min-height: 28rem; margin: 0; background: #a5bba0; overflow: hidden; }
.hero-image img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.hero-image figcaption {
  position: absolute; left: 1.5rem; bottom: 1.5rem; padding: .7rem .9rem;
  border-radius: .25rem; background: rgba(247, 246, 237, .92); font-size: .72rem; font-weight: bold;
}
.caption-dot { display: inline-block; width: .45rem; height: .45rem; margin-right: .4rem; border-radius: 50%; background: #689363; }
.world-section, .ways-section { padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 8vw, 8rem); }
.world-section { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.world-section h2, .ways-section h2 { margin: 1rem 0 0; font-size: clamp(2.5rem, 4vw, 4rem); }
.world-intro { max-width: 37rem; padding-top: 1.6rem; color: #52685a; line-height: 1.85; }
.ways-section { background: #e7eddf; }
.ways-heading { margin-bottom: 2.5rem; }
.ways-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.way-card { min-height: 15rem; padding: 2rem; border: 1px solid #ced9c7; background: rgba(255,255,255,.35); }
.way-number { color: #879980; font-size: .67rem; font-weight: bold; letter-spacing: .12em; }
.way-card h3 { margin: 2rem 0 .7rem; font-family: Georgia, serif; font-size: 1.8rem; font-weight: normal; }
.way-card p { max-width: 30rem; color: #607466; line-height: 1.7; }
.coming-soon { color: #718574; font-size: .8rem; font-weight: bold; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 2rem clamp(1.25rem, 5vw, 5rem); color: #748577; font-size: .75rem; }
.site-footer .wordmark { color: var(--forest); }
.site-footer a { text-decoration: none; }
.footer-links, .account-policy-links { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; }
.pricing-section { background: var(--cream); }
.pricing-section .ways-heading p:not(.eyebrow), .pricing-note { max-width: 48rem; margin-top: 1.2rem; color: #52685a; line-height: 1.7; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.legal-main { max-width: 55rem; margin: auto; padding: 3rem clamp(1.25rem, 5vw, 4rem) 5rem; line-height: 1.75; }
.legal-main h1, .legal-main h2 { font-family: Georgia, serif; font-weight: normal; }
.legal-main h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
.legal-main h2 { margin-top: 2rem; font-size: 1.5rem; }
.legal-main p, .legal-main li { color: #52685a; }

.account-page {
  min-height: 100vh; background: linear-gradient(90deg, rgba(13, 38, 27, .7), rgba(13, 38, 27, .16)),
    url("/world-day.jpg") center / cover fixed no-repeat, #a5bba0;
}
.account-header { color: #fff; }
.account-back { color: #fff; }
.account-main { min-height: calc(100vh - 5.2rem); display: flex; align-items: center; padding: 2rem clamp(1.25rem, 9vw, 9rem) 4rem; }
.account-card { width: min(100%, 28rem); padding: clamp(1.5rem, 4vw, 3rem); background: rgba(250, 250, 243, .97); box-shadow: 0 1rem 4rem rgba(12, 35, 22, .2); border-radius: .4rem; }
.account-card h1 { margin: 1rem 0; font-size: clamp(2.7rem, 5vw, 4rem); }
.account-intro { color: #5d7061; font-size: .9rem; line-height: 1.65; }
.account-status { min-height: 1.3em; margin: 1.4rem 0; color: #496751; font-size: .85rem; }
.account-card form { display: grid; gap: .9rem; }
.account-card label { display: grid; gap: .4rem; font-size: .78rem; font-weight: bold; }
.account-card input {
  width: 100%; min-height: 2.9rem; padding: .7rem .8rem; border: 1px solid #bdcbbb;
  border-radius: .25rem; background: #fff; color: var(--deep); font: inherit; font-size: 1rem;
}
.account-card small { margin-top: -.5rem; color: #687b6b; font-size: .72rem; }
.account-actions, .signed-in-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: .6rem; }
.observer-link { display: block; margin-top: 1.7rem; text-align: center; font-size: .8rem; font-weight: bold; text-decoration: none; }
.observer-link:hover { text-decoration: underline; }
.account-image-caption { position: fixed; right: 3rem; bottom: 2rem; margin: 0; color: #fff; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; text-shadow: 0 1px 5px #183c2b; }
.account-card #delete-form { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.delete-heading { margin: 0; font-weight: bold; }
.account-policy-links { justify-content: center; margin-top: 1.5rem; font-size: .75rem; }
.account-migration { margin: 1.25rem 0 0; font-size: .75rem; }
.user-list { display: grid; gap: .75rem; margin: 1.5rem 0; padding: 0; list-style: none; }
.user-entry { padding: 1rem; border: 1px solid var(--line); background: #fff; overflow-wrap: anywhere; }
.user-entry p { margin: .25rem 0 .75rem; }
.user-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.user-actions .button { min-height: 2.5rem; }

@media (max-width: 760px) {
  .site-header nav { gap: .8rem; }
  .site-header .nav-link:first-child { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding-top: 4rem; padding-bottom: 3rem; }
  .hero-note { margin-top: 2.5rem; }
  .hero-image { min-height: 20rem; }
  .world-section { grid-template-columns: 1fr; gap: 1rem; }
  .world-intro { padding-top: 0; }
  .ways-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .site-footer { flex-wrap: wrap; }
  .account-image-caption { display: none; }
}
@media (max-width: 420px) {
  .brand-logo { height: 3rem; }
  .wordmark { gap: .35rem; font-size: 1.2rem; }
  .site-header { flex-wrap: wrap; gap: .6rem; }
  .site-header .button-small { font-size: .72rem; gap: .35rem; padding: .55rem; }
  .site-header nav { flex-wrap: wrap; gap: .65rem; }
  .account-actions, .signed-in-actions { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
