/* KitchenCadence site — one stylesheet, no build step, no dependencies.
   Colours are sampled from the app itself so the site and the product feel
   like the same object. */

:root {
  --cream:      #F7EDE0;
  --card:       #FCF7EF;
  --terracotta: #D24602;
  --herb:       #3B6B4A;
  --ink:        #2B1A12;
  --muted:      #7C6555;
  --peach:      #F0CFB8;
  --radius: 18px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 62rem; margin: 0 auto; padding: 0 1.5rem; }
.narrow { max-width: 42rem; }

h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 700; line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); margin: 0 0 .6rem; letter-spacing: -0.5px; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); margin: 3.5rem 0 .75rem; }
h3 { font-size: 1.15rem; margin: 0 0 .4rem; }
p  { margin: 0 0 1rem; }
a  { color: var(--terracotta); }

/* --- header --- */
.site-head { padding: 2rem 0 0; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: inherit; font-weight: 600; }
.brand img { width: 38px; height: 38px; border-radius: 9px; }

/* --- hero --- */
.hero { padding: 3.5rem 0 1rem; text-align: center; }
.hero .icon { width: 116px; height: 116px; border-radius: 26px; box-shadow: 0 14px 34px rgba(120,70,35,.22); }
.tagline { font-size: clamp(1.05rem, 2.4vw, 1.3rem); color: var(--muted); max-width: 34rem; margin: 0 auto 1.75rem; }

.badge {
  display: inline-block; background: var(--terracotta); color: #fff;
  text-decoration: none; font-weight: 600; padding: .85rem 1.6rem;
  border-radius: 100px; box-shadow: 0 8px 20px rgba(210,70,2,.28);
}
.badge:hover { filter: brightness(1.07); }
.badge-note { display: block; margin-top: .8rem; font-size: .9rem; color: var(--muted); }

/* --- screenshot strip --- */
.shots {
  display: flex; gap: 1.1rem; overflow-x: auto; padding: 2.5rem .25rem 1.5rem;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.shots img {
  width: 250px; flex: 0 0 auto; border-radius: 22px; scroll-snap-align: center;
  box-shadow: 0 10px 26px rgba(120,70,35,.16);
}

/* --- feature rows --- */
.feature { border-top: 1px solid rgba(120,70,35,.14); padding-top: 2rem; margin-top: 2.5rem; }
.feature h2 { margin-top: 0; }
.lede { font-size: 1.1rem; color: var(--muted); }

.cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); margin: 1.5rem 0; }
.card { background: var(--card); border-radius: var(--radius); padding: 1.35rem 1.4rem; }
.card p { margin: 0; color: var(--muted); font-size: .97rem; }

/* --- content pages --- */
.page { padding: 2.5rem 0 4rem; }
.page h1 { font-size: clamp(1.9rem, 5vw, 2.5rem); }
.updated { color: var(--muted); font-size: .95rem; margin-top: -.25rem; }
.page h2 { font-size: 1.2rem; margin-top: 2.4rem; }
.page ul { padding-left: 1.15rem; }
.page li { margin-bottom: .4rem; }
.callout { background: var(--card); border-left: 4px solid var(--herb); border-radius: 10px; padding: 1rem 1.2rem; margin: 1.5rem 0; }

/* --- footer --- */
footer {
  border-top: 1px solid rgba(120,70,35,.14);
  margin-top: 4rem; padding: 2rem 0 3rem;
  color: var(--muted); font-size: .93rem;
}
footer a { margin-right: 1.25rem; }

@media (prefers-color-scheme: dark) {
  :root { --cream: #17100B; --card: #221812; --ink: #EDE3D7; --muted: #A7907E; }
  a { color: #E88A4E; }
  .badge { color: #fff; }
}
