/* Dashed marketing site — shared styles */
:root {
  --parchment: #f5f0e6;
  --parchment-deep: #ede6d6;
  --paper: #faf6ec;
  --ink: #1a1a1a;
  --ink-light: #4a4a4a;
  --ink-muted: #888888;
  --amber: #8b4513;
  --border: #d4cfc4;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--parchment);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.serif { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 400; }
a { color: var(--amber); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

nav {
  display: flex; justify-content: space-between; align-items: center;
  max-width: 900px; margin: 0 auto; padding: 24px;
}
nav .brand img { height: 32px; opacity: 0.85; }
nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
nav ul a { color: var(--ink-light); font-size: 13px; letter-spacing: 0.5px; text-transform: uppercase; }

.page-head { max-width: 700px; margin: 0 auto; padding: 40px 24px 8px; text-align: center; }
.page-head h1 { font-size: 36px; margin: 0 0 8px; }
.page-head .subtitle { font-size: 14px; color: var(--ink-muted); letter-spacing: 0.2px; margin: 0; }

.prose { max-width: 700px; margin: 0 auto; padding: 24px 24px; font-size: 16px; color: var(--ink-light); line-height: 1.7; }
.prose p { margin: 0 0 14px; }
.prose ul { padding-left: 20px; line-height: 1.75; }
.prose li { margin-bottom: 4px; }
.prose .section-h { font-size: 18px; font-weight: 600; color: var(--ink); margin: 8px 0 10px; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif; font-style: normal; }

.step {
  max-width: 880px; margin: 0 auto; padding: 16px 24px 32px;
  display: grid; grid-template-columns: 240px 1fr; gap: 50px; align-items: center;
}
.step.right { grid-template-columns: 1fr 240px; }
.step.right .text { order: 1; }
.step.right .phone-mockup { order: 2; }
.step .num { font-size: 56px; color: var(--amber); opacity: 0.7; line-height: 1; margin-bottom: 4px; }
.step h2 { font-size: 28px; line-height: 1.2; margin: 0 0 10px; }
.step p { font-size: 15px; color: var(--ink-light); margin: 0; line-height: 1.65; }

.phone-mockup {
  /* Dark bezel wrapping the iPhone screenshot. Width fixes the phone
     size; height is determined by the image's intrinsic aspect ratio
     so we never compute a container height that's shorter than the
     image needs (which is what produced the bottom overflow on Safari
     mobile when aspect-ratio + height:100% were involved). Used by
     how-it-works.html and for-creators.html — index.html has its own
     copy in the inline <style> with proportionally larger sizing. */
  display: block;
  width: 240px;
  background: var(--ink); border-radius: 38px;
  padding: 7px;
  box-shadow: 0 20px 40px -18px rgba(26,18,8,0.32), 0 4px 8px rgba(0,0,0,0.06);
}
.phone-mockup img {
  display: block;
  width: 100%; height: auto;
  border-radius: 31px;
}

.divider {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  padding: 24px 24px; max-width: 880px; margin: 0 auto; opacity: 0.6;
}
.divider .line { flex: 1; height: 1px; background: var(--border); max-width: 280px; }
.divider img { width: 32px; height: 32px; opacity: 0.7; }

footer {
  max-width: 700px; margin: 60px auto 0;
  text-align: center; padding: 40px 24px;
  border-top: 1px solid var(--border);
}
footer ul { display: flex; justify-content: center; gap: 24px; list-style: none; margin: 0 0 14px; padding: 0; flex-wrap: wrap; }
footer ul a { color: var(--ink-muted); font-size: 12px; }
footer p { color: var(--ink-muted); font-size: 11px; margin: 0; }

@media (max-width: 720px) {
  .step, .step.right { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .step .phone-mockup { margin: 0 auto; }
}
