:root {
  color-scheme: light;
  --canvas: #f6f2ea;
  --paper: #fffdf8;
  --soft: #efe9dd;
  --ink: #1f1a14;
  --ink-2: #5c5249;
  --ink-3: #776d63;
  --green: #2d5f3f;
  --green-deep: #173c2b;
  --green-soft: #eaf0ea;
  --gold: #d79c2c;
  --line: rgba(31, 26, 20, 0.14);
  --content: 1120px;
  --reading: 760px;
  --serif: Iowan Old Style, Baskerville, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--canvas);
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--green);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

a:hover {
  text-decoration-thickness: 2px;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-160%);
}

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

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 242, 234, 0.94);
  backdrop-filter: blur(16px);
}

.site-header__inner {
  width: min(calc(100% - 40px), var(--content));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand img {
  width: 132px;
  height: auto;
  transition: transform 180ms ease;
}

.brand:hover img {
  transform: translateY(-1px);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.84rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-nav a {
  color: var(--ink-2);
  text-decoration: none;
}

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

.hero {
  position: relative;
  min-height: calc(100svh - 76px);
  overflow: hidden;
  display: grid;
  align-items: center;
  isolation: isolate;
  background: var(--green-deep);
  color: #fffaf1;
}

.hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
  background-image: url("/assets/daybowl-hero.jpg");
  background-position: center;
  background-size: cover;
  transform: scale(1.015);
  animation: hero-image 1.2s cubic-bezier(.2, .65, .3, 1) both;
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(18, 45, 32, 0.94) 0%, rgba(18, 45, 32, 0.79) 40%, rgba(18, 45, 32, 0.24) 74%, rgba(18, 45, 32, 0.1) 100%),
    linear-gradient(0deg, rgba(14, 35, 25, 0.48), transparent 45%);
}

.hero__inner {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  padding: 72px 0 96px;
}

.hero__copy {
  max-width: 620px;
  animation: hero-copy 700ms 120ms cubic-bezier(.2, .7, .3, 1) both;
}

.eyebrow {
  margin: 0 0 20px;
  color: inherit;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #e8e0cf;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.025em;
}

.hero h1 {
  max-width: 9.5em;
  margin: 0;
  font-size: clamp(3.25rem, 7vw, 6.8rem);
  line-height: 0.93;
}

.hero__lede {
  max-width: 560px;
  margin: 28px 0 0;
  color: #efe8dc;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 50px;
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  background: var(--green);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover {
  background: var(--green-deep);
  color: #fff;
  transform: translateY(-2px);
}

.button--light {
  background: #fffaf1;
  color: var(--green-deep);
}

.button--light:hover {
  background: #fff;
  color: var(--green-deep);
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(18, 45, 32, 0.3);
  color: #fff;
}

.button--ghost:hover {
  background: rgba(18, 45, 32, 0.78);
}

.section {
  padding: clamp(72px, 10vw, 132px) 0;
}

.section--paper {
  background: var(--paper);
}

.section--green {
  background: var(--green-deep);
  color: #fffaf1;
}

.section__inner {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
}

.section__heading {
  max-width: 760px;
}

.section__heading h2 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  line-height: 1.02;
}

.section__heading p:not(.eyebrow) {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--ink-2);
  font-size: 1.08rem;
}

.section--green .section__heading p:not(.eyebrow) {
  color: #d6d9cf;
}

.feature-list {
  margin: clamp(44px, 7vw, 84px) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.feature-list li {
  display: grid;
  grid-template-columns: minmax(130px, 0.55fr) 1.45fr;
  gap: clamp(22px, 5vw, 80px);
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.feature-list strong {
  color: var(--green);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.feature-list span {
  max-width: 680px;
  color: var(--ink-2);
  font-size: 1.08rem;
}

.assurance {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.7fr);
  gap: clamp(42px, 8vw, 110px);
  align-items: start;
}

.assurance__note {
  padding-left: 24px;
  border-left: 2px solid var(--gold);
  color: #d6d9cf;
}

.assurance__note strong {
  display: block;
  margin-bottom: 8px;
  color: #fffaf1;
}

.link-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 52px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.link-row a {
  min-height: 96px;
  padding: 22px 20px 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: #fffaf1;
  font-weight: 700;
  text-decoration: none;
}

.link-row a:not(:last-child) {
  margin-right: 24px;
}

.link-row a::after {
  content: "\2197";
  color: #d8b463;
  font-size: 1.3rem;
  transition: transform 160ms ease;
}

.link-row a:hover::after {
  transform: translate(3px, -3px);
}

.legal-hero {
  padding: clamp(58px, 8vw, 104px) 0 clamp(42px, 6vw, 78px);
  border-bottom: 1px solid var(--line);
}

.legal-hero__inner,
.legal-document {
  width: min(calc(100% - 40px), var(--reading));
  margin: 0 auto;
}

.legal-hero h1 {
  margin: 0;
  font-size: clamp(2.8rem, 7vw, 5.25rem);
  line-height: 1;
}

.legal-hero__lede {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--ink-2);
  font-size: 1.1rem;
}

.legal-meta {
  margin: 28px 0 0;
  color: var(--ink-3);
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.legal-document {
  padding: clamp(48px, 7vw, 88px) 0 clamp(80px, 10vw, 132px);
}

.legal-document section + section {
  margin-top: 48px;
  padding-top: 42px;
  border-top: 1px solid var(--line);
}

.legal-document h2 {
  margin: 0 0 16px;
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  line-height: 1.2;
}

.legal-document h3 {
  margin: 28px 0 8px;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.legal-document p,
.legal-document li {
  color: var(--ink-2);
}

.legal-document ul,
.legal-document ol {
  padding-left: 1.35em;
}

.legal-document li + li {
  margin-top: 9px;
}

.notice {
  margin: 34px 0;
  padding: 22px 24px;
  border-left: 3px solid var(--gold);
  background: #f4eddb;
  color: #5f4a20;
}

.notice strong {
  color: #493814;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.support-grid section {
  margin: 0;
  padding: 34px 34px 34px 0;
  border-bottom: 1px solid var(--line);
}

.support-grid section:nth-child(even) {
  padding-right: 0;
  padding-left: 34px;
  border-left: 1px solid var(--line);
}

.support-grid section + section {
  margin: 0;
  border-top: 0;
}

.faq {
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  min-height: 64px;
  padding: 18px 38px 18px 0;
  position: relative;
  cursor: pointer;
  color: var(--ink);
  font-weight: 700;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  position: absolute;
  right: 4px;
  content: "+";
  color: var(--green);
  font-size: 1.4rem;
  font-weight: 400;
}

.faq details[open] summary::after {
  content: "\2212";
}

.faq details p,
.faq details ol {
  margin-top: 0;
  padding-bottom: 18px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--soft);
}

.site-footer__inner {
  width: min(calc(100% - 40px), var(--content));
  min-height: 150px;
  margin: 0 auto;
  padding: 36px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.site-footer__brand {
  color: var(--ink-2);
  font-size: 0.85rem;
}

.site-footer__brand strong {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  font-size: 0.85rem;
}

.js .reveal {
  transform: translateY(24px);
  transition: transform 560ms cubic-bezier(.2, .7, .3, 1);
}

.js .reveal.is-visible {
  transform: translateY(0);
}

@keyframes hero-copy {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-image {
  from { opacity: 0.76; transform: scale(1.06); }
  to { opacity: 1; transform: scale(1.015); }
}

@media (max-width: 760px) {
  .site-header__inner {
    width: min(calc(100% - 28px), var(--content));
    min-height: 70px;
    display: block;
    padding: 14px 0 10px;
  }

  .brand img {
    width: 112px;
  }

  .site-nav {
    margin-top: 8px;
    padding-bottom: 2px;
    gap: 18px;
    overflow-x: auto;
    scrollbar-width: none;
    white-space: nowrap;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .hero {
    min-height: calc(100svh - 98px);
    align-items: end;
  }

  .hero::before {
    background-position: 56% center;
  }

  .hero::after {
    background:
      linear-gradient(0deg, rgba(16, 42, 29, 0.96) 0%, rgba(16, 42, 29, 0.8) 54%, rgba(16, 42, 29, 0.18) 100%);
  }

  .hero__inner {
    width: min(calc(100% - 32px), var(--content));
    padding: 160px 0 48px;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 16vw, 5rem);
  }

  .feature-list li {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .assurance,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .link-row {
    grid-template-columns: 1fr;
  }

  .link-row a:not(:last-child) {
    margin-right: 0;
  }

  .support-grid section,
  .support-grid section:nth-child(even) {
    padding: 30px 0;
    border-left: 0;
  }

  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
