:root {
  --ivory: #fbf7f2;
  --blush: #f3e6df;
  --ink: #2b2024;
  --muted: #6b5a5f;
  --gold: #b8894a;
  --gold-deep: #8f6531;
  --line: #e7d8cc;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  min-height: 100vh;
  background: radial-gradient(120% 80% at 50% 0%, #fffdf9 0%, var(--ivory) 45%, var(--blush) 100%);
  color: var(--ink);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  display: flex;
  flex-direction: column;
}

a { color: inherit; }

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
}

.brand {
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  text-decoration: none;
}
.brand span { color: var(--gold-deep); }

.lang {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.6);
}
.lang:hover, .lang:focus-visible { border-color: var(--gold); outline: none; }

main {
  flex: 1;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px 24px 48px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}

.kicker {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.78rem;
  color: var(--gold-deep);
  margin-bottom: 18px;
}

h1 {
  font-weight: 400;
  font-size: clamp(2.2rem, 5.2vw, 3.9rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}
h1 em { font-style: italic; color: var(--gold-deep); }

.lede {
  font-size: 1.12rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 42ch;
  margin-bottom: 26px;
}

.soon {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 0.9rem;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold);
  animation: pulse 2.4s ease-in-out infinite;
}

.showcase {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.piece {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  border-radius: 22px;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  padding: 14%;
}
.piece svg { width: 100%; height: 100%; overflow: visible; }
.piece:nth-child(1) svg { animation: float 6s ease-in-out infinite; }
.piece:nth-child(2) svg { animation: float 7s ease-in-out -2s infinite; }
.piece:nth-child(3) svg { animation: float 6.5s ease-in-out -4s infinite; }
.piece:nth-child(4) svg { animation: float 7.5s ease-in-out -1s infinite; }

.label {
  grid-column: 1 / -1;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}

.sparkle { animation: twinkle 3s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }

footer {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
  padding: 18px 24px 28px;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(-2deg); }
}
@keyframes twinkle {
  0%, 100% { opacity: 0.2; transform: scale(0.7); }
  50% { opacity: 1; transform: scale(1.1); }
}
@keyframes pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

@media (max-width: 760px) {
  main { grid-template-columns: 1fr; gap: 28px; padding-top: 8px; }
  .lede { max-width: none; }
  .top { padding: 16px; }
  main { padding-left: 16px; padding-right: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .piece svg, .sparkle, .dot { animation: none; }
}

.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* sign-up form and simple pages */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.signup {
  margin-top: 28px; padding: 22px; max-width: 460px;
  background: rgba(255, 255, 255, 0.7); border: 1px solid var(--line); border-radius: 20px;
  display: grid; gap: 12px;
}
.signup h2 { font-weight: 400; font-size: 1.4rem; }
.signup .sub, .fine, .check { font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--muted); }
.signup .sub { font-size: 0.95rem; }
.signup input[type=email] {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 1rem;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); width: 100%;
}
.signup input[type=email]:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.check { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; font-size: 0.85rem; line-height: 1.4; }
.check input { margin-top: 3px; accent-color: var(--gold-deep); width: 16px; height: 16px; }
.btn {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 1rem; letter-spacing: 0.04em;
  background: var(--ink); color: var(--ivory); border: 0; border-radius: 999px; padding: 13px 22px; cursor: pointer;
}
.btn:hover, .btn:focus-visible { background: var(--gold-deep); outline: none; }
.fine { font-size: 0.78rem; }
main.single { grid-template-columns: 1fr; max-width: 720px; }
.card { background: rgba(255, 255, 255, 0.7); border: 1px solid var(--line); border-radius: 22px; padding: 32px; }
.card h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.card h2 { font-weight: 400; font-size: 1.2rem; margin: 20px 0 6px; }
.card p { line-height: 1.6; margin-bottom: 10px; }
.card .lede { max-width: none; }
footer a { color: inherit; }
