/* getbakery.dev — four static pages. No framework. */
:root {
  --ink: #14201a;
  --ink-soft: #2a3a31;
  --flour: #e4ebe3;
  --flour-deep: #cfd9ce;
  --moss: #2f5d50;
  --moss-deep: #1e3f36;
  --straw: #c8963e;
  --line: rgba(20, 32, 26, 0.14);
  --paper-glow: rgba(47, 93, 80, 0.08);
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", serif;
  --font-body: "Figtree", "Avenir Next", "Segoe UI", sans-serif;
  --measure: 40rem;
  --page: 72rem;
  --space: clamp(1rem, 2.5vw, 2rem);
}

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

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(200, 150, 62, 0.18), transparent 55%),
    radial-gradient(900px 420px at 90% 0%, rgba(47, 93, 80, 0.16), transparent 50%),
    linear-gradient(180deg, #edf2eb 0%, var(--flour) 38%, #dce5db 100%);
  background-attachment: fixed;
}

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

a {
  color: var(--moss-deep);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--ink);
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--flour);
  padding: 0.5rem 0.75rem;
  z-index: 20;
}

.skip:focus {
  left: 0.75rem;
  top: 0.75rem;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--page);
  margin: 0 auto;
  padding: 1.1rem var(--space);
}

.wordmark {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 560;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.wordmark .dot {
  color: var(--straw);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.15rem;
  font-size: 0.95rem;
}

.nav a {
  text-decoration: none;
  color: var(--ink-soft);
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

main {
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 var(--space) 4rem;
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: calc(100svh - 5.5rem);
  padding: 1.5rem 0 2.5rem;
}

.hero-copy {
  max-width: 34rem;
}

.brand-signal {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  animation: rise 700ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.brand-signal .dot {
  color: var(--straw);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 520;
  font-size: clamp(1.45rem, 3.2vw, 2.05rem);
  line-height: 1.2;
  margin: 0 0 0.85rem;
  max-width: 22ch;
  animation: rise 700ms 80ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.lede {
  margin: 0 0 1.5rem;
  color: var(--ink-soft);
  max-width: 36ch;
  animation: rise 700ms 140ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.doors {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  animation: rise 700ms 200ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.15rem;
  border: 1.5px solid var(--ink);
  background: var(--ink);
  color: var(--flour);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.btn:hover {
  background: var(--moss-deep);
  border-color: var(--moss-deep);
  color: var(--flour);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
}

.btn-secondary:hover {
  background: var(--ink);
  color: var(--flour);
}

.section {
  padding: 2.75rem 0;
  border-top: 1px solid var(--line);
  max-width: var(--measure);
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
  font-weight: 540;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.section p,
.section li {
  color: var(--ink-soft);
}

.section p:last-child,
.section ul:last-child {
  margin-bottom: 0;
}

.status {
  margin-top: 1.25rem;
  padding: 1rem 0 0;
  border-top: 1px dashed var(--line);
  font-size: 0.98rem;
}

.page-intro {
  padding: 2rem 0 1.25rem;
  max-width: var(--measure);
}

.page-intro h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 0.85rem;
  animation: rise 650ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.page-intro .lede {
  animation: rise 650ms 70ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.prose {
  max-width: var(--measure);
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 2rem 0 0.6rem;
}

.prose ul {
  padding-left: 1.15rem;
}

.prose li + li {
  margin-top: 0.4rem;
}

.form {
  max-width: 38rem;
  display: grid;
  gap: 1.15rem;
  margin-top: 1.5rem;
  padding: 1.25rem 0;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field label,
.field .label {
  font-weight: 650;
  font-size: 0.95rem;
}

.hint {
  font-size: 0.88rem;
  color: var(--ink-soft);
}

input[type="text"],
input[type="email"],
input[type="url"],
select,
textarea {
  width: 100%;
  padding: 0.7rem 0.75rem;
  border: 1.5px solid rgba(20, 32, 26, 0.28);
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
  font: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--moss);
  outline-offset: 1px;
  border-color: var(--moss);
}

textarea {
  min-height: 7rem;
  resize: vertical;
}

.consent {
  display: grid;
  gap: 0.85rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.consent label {
  display: grid;
  grid-template-columns: 1.15rem 1fr;
  gap: 0.65rem;
  align-items: start;
  font-size: 0.95rem;
}

.consent input {
  margin-top: 0.2rem;
}

.consent .required-tag {
  font-weight: 700;
  color: var(--moss-deep);
}

.consent .optional-tag {
  font-weight: 700;
  color: var(--ink-soft);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.form-note {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.export {
  margin-top: 2.5rem;
  max-width: var(--measure);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.export pre {
  overflow-x: auto;
  padding: 0.85rem 1rem;
  background: rgba(20, 32, 26, 0.92);
  color: #e8efe6;
  font-size: 0.85rem;
  line-height: 1.45;
}

.site-footer {
  max-width: var(--page);
  margin: 0 auto;
  padding: 1.5rem var(--space) 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.site-footer .wordmark {
  font-size: 1.25rem;
  display: inline-block;
  margin-bottom: 0.35rem;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(0.7rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 820px) {
  .hero {
    min-height: auto;
    padding-top: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
