:root {
  color-scheme: light;
  --ink: #11231f;
  --muted: #5e6d68;
  --cream: #fbfaf5;
  --panel: #ffffff;
  --line: rgba(17, 35, 31, 0.14);
  --green: #073b32;
  --leaf: #1f7a5f;
  --teal: #0f6d7a;
  --coral: #f05d3b;
  --gold: #f2b705;
  --shadow: 0 22px 70px rgba(17, 35, 31, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  letter-spacing: 0;
}

body::selection {
  background: rgba(240, 93, 59, 0.25);
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px 28px;
  color: #fff;
  background: linear-gradient(180deg, rgba(4, 20, 17, 0.78), rgba(4, 20, 17, 0.24));
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  font-size: 0.93rem;
  color: rgba(255, 255, 255, 0.86);
}

.nav-links a,
.site-footer a,
.secondary-link {
  text-underline-offset: 0.24em;
}

.nav-links a:hover,
.site-footer a:hover,
.secondary-link:hover {
  text-decoration: underline;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  color: #fff;
  font-weight: 700;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 88svh;
  padding: 128px 28px 72px;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media {
  background-image: url("/assets/coalpot-hero.jpg");
  background-position: center;
  background-size: cover;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 19, 16, 0.94) 0%, rgba(5, 19, 16, 0.78) 36%, rgba(5, 19, 16, 0.22) 74%),
    linear-gradient(180deg, rgba(5, 19, 16, 0.2) 0%, rgba(5, 19, 16, 0.86) 100%);
}

.hero-content {
  width: min(720px, 100%);
  margin-left: max(0px, calc((100vw - 1180px) / 2));
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 5.4rem;
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.18rem;
  line-height: 1.7;
}

.hero-actions,
.closing-cta {
  display: flex;
  align-items: center;
  gap: 18px;
}

.hero-actions {
  flex-wrap: wrap;
  margin-top: 32px;
}

.store-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.store-button svg {
  width: 27px;
  height: 27px;
  fill: currentColor;
}

.store-button span {
  display: grid;
  gap: 1px;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.05;
}

.store-button small {
  font-size: 0.7rem;
  font-weight: 650;
  opacity: 0.82;
}

.secondary-link {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 800;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 660px;
  margin: 42px 0 0;
}

.hero-facts div {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding-top: 14px;
}

.hero-facts dt {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 700;
}

.hero-facts dd {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.section {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: 92px 0;
}

.section-intro {
  padding-top: 16px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3rem;
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.02rem;
  letter-spacing: 0;
}

p {
  line-height: 1.65;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.feature-card {
  min-height: 242px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 14px 35px rgba(17, 35, 31, 0.07);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 32px;
  border-radius: 8px;
  color: #fff;
  background: var(--green);
}

.feature-card:nth-child(2) .feature-icon {
  background: var(--coral);
}

.feature-card:nth-child(3) .feature-icon {
  background: var(--teal);
}

.feature-card:nth-child(4) .feature-icon {
  background: var(--leaf);
}

.feature-icon svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}

.feature-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.preview-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(330px, 420px);
  align-items: center;
  gap: 68px;
  padding-top: 40px;
}

.preview-copy p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.05rem;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink);
}

.check-list li {
  position: relative;
  padding-left: 30px;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 12px;
  height: 12px;
  border: 3px solid var(--coral);
  border-top: 0;
  border-left: 0;
  transform: rotate(45deg);
}

.phone-shell {
  width: min(100%, 392px);
  min-height: 740px;
  margin: 0 auto;
  padding: 14px;
  border: 1px solid rgba(17, 35, 31, 0.28);
  border-radius: 34px;
  background: #14221e;
  box-shadow: var(--shadow);
}

.phone-bar {
  width: 98px;
  height: 6px;
  margin: 8px auto 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.36);
}

.app-screen {
  min-height: 680px;
  padding: 20px;
  overflow: hidden;
  border-radius: 24px;
  background: #f7f4ed;
}

.app-header {
  display: grid;
  gap: 8px;
  min-height: 154px;
  padding: 20px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #073b32, #0f6d7a);
}

.app-header span {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
}

.app-header strong {
  align-self: end;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.72rem;
  line-height: 1.08;
}

.search-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  margin-top: 14px;
  padding: 0 14px;
  border: 1px solid rgba(17, 35, 31, 0.1);
  border-radius: 8px;
  color: var(--muted);
  background: #fff;
}

.search-row span {
  width: 15px;
  height: 15px;
  border: 2px solid var(--teal);
  border-radius: 50%;
}

.search-row span::after {
  content: "";
  display: block;
  width: 8px;
  height: 2px;
  margin: 10px 0 0 11px;
  background: var(--teal);
  transform: rotate(45deg);
}

.search-row p {
  margin: 0;
  font-size: 0.92rem;
}

.chip-row {
  display: flex;
  gap: 8px;
  margin: 14px 0;
  overflow: hidden;
}

.chip-row span {
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--green);
  background: rgba(31, 122, 95, 0.12);
  font-size: 0.78rem;
  font-weight: 800;
}

.recipe-tile {
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-radius: 8px;
  color: #fff;
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.84)),
    url("/assets/coalpot-hero.jpg");
  background-size: cover;
}

.recipe-tile h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.42rem;
}

.primary-tile {
  min-height: 280px;
  padding: 20px;
  background-position: 68% 58%;
}

.primary-tile span,
.primary-tile p {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 800;
}

.primary-tile p {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.78);
}

.mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.small-tile {
  min-height: 142px;
  padding: 14px;
}

.small-tile h3 {
  font-size: 1.05rem;
}

.small-tile.one {
  background-position: 18% 80%;
}

.small-tile.two {
  background-position: 83% 52%;
}

.categories-section {
  padding-top: 34px;
}

.category-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.category-list a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--green);
  background: #fff;
  font-weight: 850;
}

.category-list a:hover {
  border-color: rgba(15, 109, 122, 0.44);
  color: var(--teal);
}

.closing-cta {
  width: min(1180px, calc(100% - 44px));
  margin: 24px auto 80px;
  justify-content: space-between;
  padding: 34px;
  border-radius: 8px;
  color: #fff;
  background: #073b32;
}

.closing-cta h2 {
  max-width: 700px;
  font-size: 2.42rem;
}

.store-button.dark {
  flex: 0 0 auto;
  color: var(--green);
  background: #fff;
  border-color: #fff;
  box-shadow: none;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 30px 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #fff;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.simple-page {
  min-height: 100svh;
  background: var(--cream);
}

.simple-header {
  position: static;
  color: var(--green);
  background: #fff;
  border-bottom: 1px solid var(--line);
  backdrop-filter: none;
}

.simple-header .nav-links,
.simple-header .nav-cta {
  color: var(--green);
}

.simple-header .nav-cta {
  border-color: var(--line);
}

.simple-main {
  width: min(840px, calc(100% - 44px));
  margin: 0 auto;
  padding: 82px 0;
}

.simple-main h1 {
  margin: 0 0 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.8rem;
  line-height: 1;
}

.simple-main h2 {
  margin-top: 42px;
  font-size: 1.8rem;
}

.simple-main p,
.simple-main li {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.72;
}

.simple-main a {
  color: var(--teal);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

@media (max-width: 940px) {
  .site-header {
    min-height: 68px;
    padding: 10px 18px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 86svh;
    padding: 112px 22px 58px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(5, 19, 16, 0.94), rgba(5, 19, 16, 0.58)),
      linear-gradient(180deg, rgba(5, 19, 16, 0.2), rgba(5, 19, 16, 0.88));
  }

  .hero h1 {
    font-size: 4.05rem;
  }

  .hero-copy {
    font-size: 1.05rem;
  }

  .hero-facts,
  .feature-grid,
  .preview-section,
  .category-list {
    grid-template-columns: 1fr;
  }

  .section {
    width: min(100% - 36px, 760px);
    padding: 68px 0;
  }

  h2 {
    font-size: 2.34rem;
  }

  .feature-card {
    min-height: auto;
  }

  .feature-icon {
    margin-bottom: 22px;
  }

  .preview-section {
    gap: 38px;
  }

  .phone-shell {
    min-height: auto;
  }

  .closing-cta {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 54px;
    padding: 26px;
  }

  .closing-cta h2 {
    font-size: 2rem;
  }

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

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .brand span {
    display: none;
  }

  .nav-cta {
    min-height: 38px;
    padding: 0 14px;
  }

  .hero {
    min-height: 88svh;
  }

  .hero h1 {
    font-size: 3.18rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .store-button {
    justify-content: center;
    width: 100%;
  }

  .secondary-link {
    text-align: center;
  }

  .hero-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 34px;
  }

  .hero-facts dt {
    font-size: 1.08rem;
  }

  .hero-facts dd {
    font-size: 0.76rem;
  }

  .app-screen {
    min-height: 620px;
    padding: 14px;
  }

  .phone-shell {
    padding: 10px;
    border-radius: 28px;
  }

  .phone-bar {
    margin-bottom: 10px;
  }

  .primary-tile {
    min-height: 244px;
  }

  .simple-main h1 {
    font-size: 2.78rem;
  }
}
