/* Styles for the pages visitors can reach while the coming-soon gate is on (soon.html and
   preview.html). Kept apart from site.css, which stays behind the gate: its rules describe the
   product. Colors and header/footer rules match site.css; change both together. */
:root {
  --ink: #101614; --ink-2: #3A4540; --muted: #55615B;
  --line: #DDE3E0; --line-2: #C9D3CE; --ground: #F5F7F6; --paper: #FFFFFF;
  --accent: #0A7B55; --accent-dark: #075C40; --accent-soft: #E3F3EC;
  --sans: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; display: flex; flex-direction: column; margin: 0; font-family: var(--sans); font-size: 16px; color: var(--ink); background: var(--ground); line-height: 1.5; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
h1 { margin: 0; text-wrap: balance; }
p { margin: 0; }
main { flex: 1 0 auto; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.lead { font-size: 19px; color: var(--ink-2); max-width: 540px; text-wrap: pretty; }

/* Header and footer */
.topbar-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 20px; }
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; color: var(--ink); font-family: var(--mono); font-weight: 600; font-size: 20px; }
.brand:hover { color: var(--ink); }
.brand-dot { display: block; width: 12px; height: 12px; border-radius: 3px; background: var(--accent); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.langs { display: flex; margin: 0 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); overflow: hidden; font-family: var(--mono); font-size: 13px; }
.langs a { min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; color: var(--muted); text-decoration: none; }
.langs a:hover { color: var(--ink); }
.langs a.on { background: var(--ink); color: #fff; font-weight: 600; }
.footer { border-top: 1px solid var(--line); background: var(--paper); }
.footer-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 32px; padding-top: 28px; padding-bottom: 28px; font-size: 14px; color: var(--muted); }
.footer-brand { font-family: var(--mono); color: var(--ink); }

/* Coming soon */
main:has(> .soon) { display: flex; flex-direction: column; }
.soon { flex: 1 0 auto; width: 100%; display: flex; flex-direction: column; justify-content: center; gap: 22px; padding-top: 48px; padding-bottom: 120px; }
.soon h1 { max-width: 15ch; font-size: clamp(36px, 5.4vw, 60px); line-height: 1.05; font-weight: 700; letter-spacing: -0.025em; }
.soon .lead { max-width: 520px; }
@media (prefers-reduced-motion: no-preference) {
  .soon > * { animation: soon-in .6s cubic-bezier(.16, 1, .3, 1) both; }
  .soon > :nth-child(2) { animation-delay: .06s; }
}
@keyframes soon-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Owner login (/preview) */
.narrow { max-width: 620px; margin: 0 auto; padding: 32px 32px 72px; }
.panel { display: flex; flex-direction: column; gap: 18px; padding: 28px; background: var(--paper); border: 1.5px solid var(--ink); border-radius: 16px; }
.panel h1 { font-size: 30px; line-height: 1.2; font-weight: 700; letter-spacing: -0.015em; }
.panel .lead { font-size: 17px; }
.stack { display: flex; flex-direction: column; gap: 8px; max-width: 580px; }
.stack label { font-size: 14px; font-weight: 600; margin-top: 6px; }
.field { width: 100%; min-height: 52px; padding: 12px 14px; background: var(--paper); border: 1.5px solid var(--line-2); border-radius: 12px; font: 400 17px var(--sans); color: var(--ink); }
.field:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.alert { padding: 12px 14px; border-radius: 12px; background: #FDECEA; color: #8A1C12; font-size: 15px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 22px; border-radius: 12px; font: 600 17px var(--sans); text-decoration: none; cursor: pointer; border: 1.5px solid transparent; }
.btn-primary { background: var(--accent); color: #fff; margin-top: 10px; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }

@media (max-width: 600px) {
  .wrap, .narrow { padding-left: 16px; padding-right: 16px; }
  .panel { padding: 24px; }
  .langs { margin-left: 0; }
  .soon { padding-top: 32px; padding-bottom: 96px; }
}
