/* Values from the app's Warm Garden tokens (src/theme/tokens.ts in dvovna/garden-planner). */
:root {
  --cream: #f3ecdd;
  --paper: #fbf7ee;
  --hairline: #dccfb4;
  --hairline-soft: #e8ddc6;
  --outline-strong: #8e7b55;
  --ink: #26332a;
  --ink-muted: #5e665a;
  --ink-soft: #6b6a5c;
  --eyebrow: #7a5c34;
  --forest: #2f4a34;
  --forest-text: #f3ecdd;
  --forest-text-muted: #cfd8c6;
  --butter: #f2d9a0;
  --hint-good: #e1e8d6;
  --target: 48px;
  --gutter: 16px;
  --radius: 16px;
}

@font-face {
  font-family: Lora;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/Lora-SemiBold.ttf') format('truetype');
}
@font-face {
  font-family: Nunito;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/Nunito-Regular.ttf') format('truetype');
}
@font-face {
  font-family: Nunito;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/Nunito-Bold.ttf') format('truetype');
}
@font-face {
  font-family: Nunito;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/Nunito-ExtraBold.ttf') format('truetype');
}

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Nunito, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  /* At the largest font a long Russian word is wider than a phone's column. */
  overflow-wrap: anywhere;
  hyphens: auto;
}

.wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

a {
  color: var(--forest);
  font-weight: 700;
}

/* Header */

.hero {
  background: var(--forest);
  color: var(--forest-text);
  padding-bottom: 32px;
}

.bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0;
}

.wordmark {
  font-weight: 800;
  font-size: 20px;
}

.lang {
  display: inline-flex;
  align-items: center;
  min-height: var(--target);
  padding: 0 16px;
  border: 1px solid var(--forest-text-muted);
  border-radius: 24px;
  color: var(--forest-text);
  text-decoration: none;
}

h1 {
  font-family: Lora, Georgia, serif;
  font-weight: 600;
  font-size: 36px;
  line-height: 1.15;
  margin: 24px 0 12px;
}

.lead {
  color: var(--forest-text-muted);
  margin: 0 0 24px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: var(--target);
  padding: 8px 20px;
  border-radius: 24px;
  background: var(--butter);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

/* Sections */

section {
  padding-top: 32px;
}

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

.points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.point p {
  min-width: 0;
  margin: 0;
  color: var(--ink-muted);
}

.point strong {
  display: block;
  color: var(--ink);
}

.tile {
  flex: 0 0 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--hint-good);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tile svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--forest);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.steps {
  margin: 0 0 16px;
  padding-left: 24px;
  display: grid;
  gap: 8px;
}

.note {
  margin: 0;
  color: var(--ink-soft);
}

.form {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
}

.form-frame {
  display: block;
  width: 100%;
  height: 900px;
  border: 0;
}

.form-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--target);
  padding: 8px 16px;
  border-top: 1px solid var(--hairline-soft);
  text-align: center;
}

.form-hint {
  margin: 0 0 16px;
  color: var(--ink-soft);
}

/* An inline link in a sentence, not the bar under the frame. */
.form-hint .form-link {
  display: inline;
  min-height: 0;
  padding: 0;
  border: 0;
}

/* Footer */

.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  margin-top: 40px;
  padding-top: 8px;
  padding-bottom: 24px;
  border-top: 1px solid var(--hairline-soft);
  color: var(--ink-soft);
}

.foot a {
  display: inline-flex;
  align-items: center;
  min-height: var(--target);
}
