/* Blue Marble Farm | styles */
:root {
  --ink: #eef5f1; --muted: #b5cbc2; --accent: #6cc2ff; --accent-deep: #1c5fa8;
  --card: rgba(10, 26, 22, 0.58); --line: rgba(190, 225, 210, 0.22);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { font-family: var(--sans); color: var(--ink); background: #08130f; line-height: 1.6; }
.scene { position: fixed; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; z-index: -1; pointer-events: none; }
@keyframes glow { 0% { opacity: 0; transform: translateY(0); } 50% { opacity: .95; } 100% { opacity: .1; transform: translateY(-14px); } }

.wrap { max-width: 1180px; margin: 0 auto; padding: 32px 40px 48px; min-height: 100vh; display: flex; flex-direction: column; }
header { display: flex; align-items: center; gap: 14px; }
header .marble { width: 52px; height: 52px; }
.wordmark { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; letter-spacing: .02em; }

main { flex: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; padding: 48px 0; }
.hero .marble { width: 132px; height: 132px; filter: drop-shadow(0 0 28px rgba(108, 194, 255, .45)); margin-bottom: 18px; }
.eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: .78rem; color: var(--accent); font-weight: 600; margin: 0 0 10px; }
h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.8rem, 5.6vw, 4.8rem); line-height: 1.02; margin: 0 0 20px; }
.lede { font-size: 1.12rem; color: var(--muted); max-width: 30em; margin: 0; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 34px; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
.card h2 { font-family: var(--serif); font-size: 2rem; font-weight: 600; margin: 0 0 4px; }
.card > p { color: var(--muted); margin: 0 0 22px; font-size: .95rem; }
.field { margin-bottom: 16px; }
label { display: block; font-size: .82rem; font-weight: 500; margin-bottom: 6px; color: var(--muted); }
input, textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: rgba(255, 255, 255, .06); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; transition: border-color .2s, background .2s; }
input::placeholder, textarea::placeholder { color: rgba(181, 203, 194, .55); }
input:focus, textarea:focus { outline: none; border-color: var(--accent); background: rgba(255, 255, 255, .1); box-shadow: 0 0 0 3px rgba(108, 194, 255, .2); }
textarea { resize: vertical; min-height: 120px; }
.btn { width: 100%; margin-top: 6px; font: inherit; font-weight: 600; font-size: 1rem; color: #fff; border: 0; border-radius: 999px; padding: 14px 20px; cursor: pointer; background: linear-gradient(135deg, #4fa3e0, var(--accent-deep)); box-shadow: 0 8px 24px rgba(28, 95, 168, .45); transition: transform .15s, box-shadow .2s, opacity .2s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(28, 95, 168, .55); }
.btn:focus-visible { outline: 3px solid #bfe6ff; outline-offset: 3px; }
.btn.is-sending { opacity: .75; cursor: progress; }
.success { text-align: center; padding: 24px 6px; color: var(--accent); outline: none; }
.success h3 { font-family: var(--serif); font-size: 1.9rem; color: var(--ink); margin: 14px 0 6px; font-weight: 600; }
.success p { color: var(--muted); margin: 0 0 18px; }
.link-btn { background: none; border: 0; color: var(--accent); font: inherit; text-decoration: underline; cursor: pointer; }

footer { font-size: .82rem; color: var(--muted); opacity: .8; }

/* Tablet */
@media (max-width: 960px) {
  main { grid-template-columns: 1fr; gap: 40px; text-align: center; padding: 32px 0; }
  .lede { margin: 0 auto; }
  .card { text-align: left; max-width: 560px; margin: 0 auto; width: 100%; }
}
/* Mobile */
@media (max-width: 560px) {
  .wrap { padding: 20px 18px 28px; }
  header { justify-content: center; }
  header .marble { width: 40px; height: 40px; }
  .wordmark { font-size: 1.35rem; }
  .hero .marble { width: 96px; height: 96px; }
  .lede { font-size: 1rem; }
  .card { padding: 24px 20px; border-radius: 16px; }
  .card h2 { font-size: 1.7rem; }
  footer { text-align: center; }
}
