/* inlay.info, styled like the app: burgundy, putty and linen; New York serif headings,
   the system font for everything small; ivory cards with hairline putty borders; capsule buttons. */
:root {
  --burgundy: #5B1A28;
  --burgundy-deep: #3E0F1A;
  --putty: #C9B8A3;
  --linen: #FCFAF5;
  --linen-shade: #E7DFD1;
  --ivory: #FBF8F3;
  --ink: #2B1C1E;
  --hairline: rgba(201, 184, 163, 0.7);
  --serif: ui-serif, "New York", "Newsreader", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, system-ui, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0;
  background: var(--linen);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; }
a { color: var(--burgundy); text-decoration-color: var(--putty); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--burgundy); }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }
section[id] { scroll-margin-top: 16px; }

/* Small labels, as in the app: uppercase, tracked, burgundy */
.kicker {
  font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--burgundy); opacity: 0.8; margin: 0 0 14px;
}

/* Header */
header.site {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px;
  padding: 24px 0;
}
.logo {
  font-family: var(--serif); font-size: 30px; letter-spacing: 1px;
  color: var(--burgundy); text-decoration: none;
}
nav a {
  margin-left: 22px; font-size: 11px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; text-decoration: none; color: var(--ink); opacity: 0.7;
}
nav a:hover { opacity: 1; color: var(--burgundy); }

/* Capsule button */
.badge {
  display: inline-block; padding: 13px 26px; border-radius: 999px;
  background: var(--burgundy); color: var(--linen);
  font-size: 15px; font-weight: 500; text-decoration: none;
  box-shadow: 0 8px 20px rgba(43, 28, 30, 0.12);
}

/* Cover */
.cover {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  padding-top: 36px; padding-bottom: 90px;
}
.cover h1 {
  font-family: var(--serif); font-weight: 400; color: var(--burgundy);
  font-size: clamp(42px, 6vw, 66px); line-height: 1.06; letter-spacing: -0.3px; margin: 0;
}
.rule { display: block; width: 40px; height: 1px; background: var(--putty); margin: 26px 0; }
.lede { font-size: 18px; line-height: 1.6; color: rgba(43, 28, 30, 0.75); margin: 0 0 30px; max-width: 440px; }
.cover-pages { position: relative; margin: 0; aspect-ratio: 1 / 1.08; }
.page-shot {
  position: absolute; width: 66%; border-radius: 12px;
  border: 0.75px solid var(--hairline);
  box-shadow: 0 14px 34px rgba(43, 28, 30, 0.14);
}
.page-shot.back { right: 0; top: 0; }
.page-shot.front { left: 0; bottom: 0; }

/* Steps */
.feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
  padding-top: 36px; padding-bottom: 36px;
}
.feature figure { margin: 0; }
.feature img {
  width: 100%; max-width: 400px; margin: 0 auto; border-radius: 14px;
  border: 0.75px solid var(--hairline); background: var(--ivory);
  box-shadow: 0 10px 28px rgba(43, 28, 30, 0.1);
  max-height: 540px; object-fit: cover; object-position: top;
}
.feature.flip figure { order: 2; }
.feature h2 {
  font-family: var(--serif); font-weight: 400; color: var(--burgundy);
  font-size: clamp(28px, 3.6vw, 36px); line-height: 1.15; margin: 0 0 12px;
}
.feature p:not(.kicker) { font-size: 17px; color: rgba(43, 28, 30, 0.75); margin: 0; max-width: 420px; }

/* Pro: like the app's Pro screen */
.band.pro {
  background: var(--burgundy); color: var(--linen);
  padding: 72px 24px 64px; margin-top: 80px; text-align: center;
}
.band.pro > * { max-width: 640px; margin-left: auto; margin-right: auto; }
.pro-mark { font-size: 12px; font-weight: 500; letter-spacing: 3px; color: var(--putty); margin-bottom: 2px; }
.pro-title { font-family: "Didot", "Bodoni 72", var(--serif); font-weight: 400; font-size: 52px; line-height: 1.1; margin-top: 0; margin-bottom: 14px; }
.band.pro > p:not(.pro-mark) { font-family: var(--serif); font-size: 19px; color: var(--linen); opacity: 0.9; }
.perks { list-style: none; padding: 0; margin: 34px auto 30px; text-align: left; }
.perks li {
  font-size: 15px; line-height: 1.5; color: rgba(252, 250, 245, 0.82);
  padding: 15px 16px 15px 34px; position: relative;
  border-top: 0.75px solid rgba(201, 184, 163, 0.3);
}
.perks li:last-child { border-bottom: 0.75px solid rgba(201, 184, 163, 0.3); }
.perks li::before {
  content: ""; position: absolute; left: 10px; top: 24px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--putty);
}
.perks strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 18px; color: var(--linen); margin-bottom: 2px; }
.band.pro .price { font-family: var(--sans); font-size: 13px; line-height: 1.7; color: var(--putty); opacity: 1; }

/* Text sections */
.prose { padding-top: 90px; }
.prose h2 {
  font-family: var(--serif); font-weight: 400; color: var(--burgundy);
  font-size: clamp(32px, 4.6vw, 42px); line-height: 1.1; margin: 0 0 16px;
}
.prose h3 { font-family: var(--serif); font-weight: 400; color: var(--burgundy); font-size: 21px; margin: 30px 0 6px; }
.prose p { font-size: 17px; line-height: 1.6; color: rgba(43, 28, 30, 0.8); margin: 0 0 12px; }
.prose .lede { font-family: var(--serif); font-size: clamp(20px, 2.4vw, 23px); line-height: 1.45; color: var(--ink); max-width: none; margin-bottom: 8px; }

/* Questions and legal: ivory cards, like the app's settings */
details {
  background: var(--ivory); border: 0.75px solid var(--hairline); border-radius: 12px;
  padding: 15px 18px; margin: 10px 0;
}
summary { cursor: pointer; font-family: var(--serif); font-size: 18px; color: var(--burgundy); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--sans); font-weight: 300; font-size: 22px; line-height: 1; color: var(--putty); }
details[open] summary::after { content: "\2013"; }
.prose details p { font-size: 16px; margin: 10px 0 2px; }
.legal { padding-top: 56px; padding-bottom: 70px; }
.legal h4 { font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--burgundy); opacity: 0.8; margin: 24px 0 6px; }
.legal .updated { font-size: 13px; opacity: 0.55; }
em { font-style: normal; font-weight: 600; }

/* Footer */
footer.site {
  border-top: 0.75px solid var(--hairline);
  padding: 28px 0 40px; font-size: 13px;
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; color: rgba(43, 28, 30, 0.7);
}
footer.site a { margin-right: 18px; text-decoration: none; }

@media (max-width: 760px) {
  .cover, .feature { grid-template-columns: 1fr; gap: 30px; }
  .cover { padding-top: 8px; padding-bottom: 50px; }
  .feature.flip figure { order: 0; }
  .feature { padding-top: 24px; padding-bottom: 24px; }
  .prose { padding-top: 64px; }
}
@media (max-width: 640px) {
  nav a { margin-left: 14px; letter-spacing: 1.2px; }
  nav a:first-child { margin-left: 0; }
  .badge { padding: 13px 20px; font-size: 14px; white-space: nowrap; }
  .logo { font-size: 26px; }
}
