/* Brand tokens, taken from the Nucella business card in Canva. */
:root {
  --brown: #3d1700;
  --pink: #f3b3b6;
  --pink-soft: #f8d3d5;

  /* Brand fonts are Laries Script (logo) and Roller Coaster Serif (text).
     Neither is on Google Fonts. To use the real Roller Coaster Serif, add the
     licensed file to app/assets/fonts/roller-coaster-serif.woff2 and add:
       @font-face { font-family: "Roller Coaster Serif";
                    src: url-of("roller-coaster-serif.woff2") format("woff2");
                    font-display: swap; }
     (write url, not url-of; it's renamed here so the asset pipeline
     doesn't try to find the file before it exists).
     Until then, the stack falls back to a system serif. */
  --font-body: "Roller Coaster Serif", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;

  --max-width: 60rem;
  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 16'%3E%3Cpath d='M0 8 Q10 0 20 8 T40 8 V16 H0Z' fill='%233d1700'/%3E%3C/svg%3E");
}

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--pink);
  color: var(--brown);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 0.2em; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* Header: brown band with the logo, ending in the card's wavy edge. */
.site-header {
  position: relative;
  background: var(--brown);
  padding-block: 1.5rem 2.5rem;
}
.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 -1rem 0;
  height: 1rem;
  background: var(--wave) repeat-x bottom / 2.5rem 1rem;
  transform: scaleY(-1);
}
.brand { display: inline-block; }
.brand img { width: clamp(9rem, 30vw, 13.5rem); }

main { flex: 1; }

.hero {
  padding-block: clamp(4rem, 12vw, 8rem);
  text-align: center;
}
.hero h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: normal;
  line-height: 1.15;
  margin: 0 auto 1rem;
  max-width: 18ch;
}
.lead {
  font-size: 1.25rem;
  margin: 0 0 2.5rem;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 0;
}
.button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--brown);
  border-radius: 999px;
  background: var(--brown);
  color: var(--pink);
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s;
}
.button:hover { background: transparent; color: var(--brown); }
.button--ghost { background: transparent; color: var(--brown); }
.button--ghost:hover { background: var(--brown); color: var(--pink); }

/* Footer: wavy edge back into brown. */
.site-footer {
  position: relative;
  background: var(--brown);
  color: var(--pink);
  padding-block: 2.5rem 2rem;
  text-align: center;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: -1rem 0 auto 0;
  height: 1rem;
  background: var(--wave) repeat-x bottom / 2.5rem 1rem;
}
.site-footer p { margin: 0 0 0.5rem; }
.copyright { font-size: 0.875rem; opacity: 0.75; }

/* Inline icons (e.g. WhatsApp) sit next to their text. */
.icon { flex: none; }
.button--icon,
.icon-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  vertical-align: middle;
}
