/* Crimson Text (SIL OFL, license beside the files), the app's one typeface. */
@font-face {
  font-family: 'Crimson Text';
  src: url('/fonts/CrimsonText-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Crimson Text';
  src: url('/fonts/CrimsonText-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* GardenKit roles mirrored from apps/ios/Dwell/DesignSystem (GardenColors,
   GardenTypography, GardenMetrics). Dwell is light-only. */
:root {
  --background: #f7f4ec;
  --container-surface: #fdfbf4;
  --ink: #2f4735;
  --ink-secondary: #6b7263;
  --hairline: #e3decf;

  --font-serif: 'Crimson Text', 'New York', ui-serif, Georgia, serif;
  --font-title: 600 1.625rem / 1.2 var(--font-serif);
  --font-passage: 400 1.125rem / 1.5 var(--font-serif);
  --font-item-title: 600 1.0625rem / 1.3 var(--font-serif);
  --font-body: 400 1rem / 1.45 var(--font-serif);
  --font-caption: 400 0.875rem / 1.4 var(--font-serif);
  --font-label: 600 0.75rem / 1.3 var(--font-serif);

  --space-xxs: 4px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 20px;
  --space-xxl: 32px;
  --space-huge: 48px;
  --screen-margin: 20px;
  --radius-card: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: var(--background);
  color: var(--ink);
  font: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

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

/* One phone-width column, like the app's welcome screen. */
.page {
  max-width: 30rem;
  margin-inline: auto;
}

.hero {
  position: relative;
}

/* The painting's parchment fades into the page, as on the welcome screen. */
.hero-painting {
  width: 100%;
  mask-image: linear-gradient(to bottom, #000 67.9%, transparent 93.4%);
}

.hero-logo {
  position: absolute;
  inset: var(--space-md) 0 auto;
  margin: 0;
  display: flex;
  justify-content: center;
}

.hero-logo img {
  width: auto;
  height: 1.75rem;
}

/* The verse rises into the painting's parchment. */
main {
  position: relative;
  margin-top: -35%;
  padding: 0 var(--screen-margin) var(--space-huge);
}

.verse {
  margin: 0;
  text-align: center;
}

.verse blockquote {
  margin: 0;
  font: var(--font-passage);
}

.verse figcaption {
  margin-top: var(--space-sm);
  font: var(--font-caption);
  color: var(--ink-secondary);
}

.steps {
  margin-top: var(--space-huge);
}

.steps h2 {
  margin: 0 0 var(--space-md);
  font: var(--font-title);
  text-align: center;
}

.steps ul {
  display: grid;
  gap: var(--space-sm);
  margin: 0;
  padding: 0;
  list-style: none;
}

.card {
  padding: var(--space-lg);
  background-color: var(--container-surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
}

.card h3 {
  margin: 0 0 var(--space-xxs);
  font: var(--font-item-title);
}

.card p {
  margin: 0;
  color: var(--ink-secondary);
}

.status {
  margin: var(--space-xxl) 0 0;
  font: var(--font-label);
  letter-spacing: 0.6px;
  text-align: center;
  text-transform: uppercase;
  color: var(--ink-secondary);
}
