@import url("https://fonts.googleapis.com/css2?family=Fraunces:wght@600;700&family=Space+Grotesk:wght@400;500;700&display=swap");

:root {
  --bg: #f2ece4;
  --surface: rgba(255, 248, 240, 0.88);
  --line: rgba(20, 32, 51, 0.16);
  --line-strong: rgba(20, 32, 51, 0.3);
  --ink: #142033;
  --ink-soft: #445066;
  --accent: #c96f34;
  --accent-dark: #964b1d;
  --danger: #b44232;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(20, 32, 51, 0.14);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: "Space Grotesk", system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(201, 111, 52, 0.18), transparent 32%),
    radial-gradient(circle at top right, rgba(46, 103, 142, 0.16), transparent 28%),
    linear-gradient(180deg, #f7f2eb, var(--bg));
}

a {
  color: inherit;
}

.hidden,
.app-hidden {
  display: none !important;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 18px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(180deg, var(--accent), var(--accent-dark));
  color: var(--white);
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.18);
}

.btn.secondary {
  background: linear-gradient(180deg, #30445d, #182536);
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-lockup.compact {
  gap: 12px;
}

.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  box-shadow: 0 16px 32px rgba(20, 32, 51, 0.18);
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.section-title {
  font-family: "Fraunces", Georgia, serif;
  font-size: 28px;
  line-height: 1.05;
}

.hero-title {
  margin: 8px 0 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 0.98;
}

.hero-copy {
  margin: 14px 0 0;
  max-width: 60ch;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 4vw, 40px);
}

.site-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.user-chip {
  min-height: 48px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 700;
}

.shell-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  font-weight: 700;
  text-decoration: none;
}

.hero-card,
.page-notice {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero-card {
  padding: clamp(22px, 4vw, 36px);
}

.page-notice {
  padding: 16px 18px;
  font-weight: 700;
}

.page-notice.error {
  color: var(--danger);
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .shell-link,
  .btn.secondary,
  .user-chip {
    width: 100%;
    justify-content: center;
  }
}
