@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("assets/fonts/Space_Grotesk/SpaceGrotesk-VariableFont_wght.ttf") format("truetype-variations");
}

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("assets/fonts/Newsreader/Newsreader-VariableFont_opsz,wght.ttf") format("truetype-variations");
}

@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 300 600;
  font-display: swap;
  src: url("assets/fonts/Newsreader/Newsreader-Italic-VariableFont_opsz,wght.ttf") format("truetype-variations");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/IBM_Plex_Mono/IBMPlexMono-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/IBM_Plex_Mono/IBMPlexMono-Medium.ttf") format("truetype");
}

:root {
  color-scheme: light;
  --bg: #f2f3ef;
  --bg-strong: #e4ebe7;
  --ink: #0b1a26;
  --ink-soft: #2e3e4b;
  --accent: #ff7a4a;
  --accent-2: #4db6ac;
  --accent-3: #d7c06b;
  --panel: rgba(255, 255, 255, 0.78);
  --border: rgba(11, 26, 38, 0.12);
  --shadow: 0 25px 60px rgba(15, 30, 45, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Newsreader", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top, #fff8ed, transparent 55%),
    linear-gradient(135deg, #f2f3ef 0%, #f0f5f2 50%, #eff3f6 100%);
  min-height: 100vh;
}

.aurora {
  position: fixed;
  inset: -20vh -10vw auto -10vw;
  height: 50vh;
  background: radial-gradient(circle at 20% 30%, rgba(255, 122, 74, 0.25), transparent 60%),
    radial-gradient(circle at 60% 0%, rgba(77, 182, 172, 0.25), transparent 55%),
    radial-gradient(circle at 80% 40%, rgba(215, 192, 107, 0.2), transparent 50%);
  filter: blur(30px);
  z-index: -1;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 64px 16px;
  gap: 24px;
  position: sticky;
  top: 0;
  backdrop-filter: blur(14px);
  background: rgba(242, 243, 239, 0.9);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-mark {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(145deg, var(--accent), var(--accent-2));
  color: white;
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: 1px;
}

.brand-name {
  font-size: 20px;
  font-weight: 600;
}

.brand-tag {
  font-size: 13px;
  color: var(--ink-soft);
}

.site-nav {
  display: flex;
  gap: 18px;
  font-size: 14px;
}

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

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.site-nav a:hover::after {
  width: 100%;
}

main {
  padding: 24px 64px 80px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
  gap: 40px;
  padding: 40px 0;
}

.hero-copy h1 {
  font-family: "Newsreader", serif;
  font-size: clamp(32px, 4vw, 52px);
  margin: 12px 0 16px;
}

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.lead {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 560px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.primary,
.ghost {
  border: none;
  border-radius: 999px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.primary {
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
}

.primary:hover {
  transform: translateY(-1px);
}

.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border);
}

.primary:disabled,
.ghost:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.hero-meta div {
  background: var(--panel);
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  font-size: 13px;
}

.hero-meta strong {
  display: block;
  margin-bottom: 6px;
}

.hero-card {
  background: linear-gradient(160deg, rgba(11, 26, 38, 0.95), rgba(20, 35, 54, 0.95));
  color: white;
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.pill {
  background: rgba(255, 255, 255, 0.2);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
}

.key-preview {
  display: grid;
  gap: 14px;
  font-size: 13px;
}

.label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.card-status {
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 13px;
}

.panel {
  background: var(--panel);
  border-radius: 28px;
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.panel-title h2 {
  margin: 0 0 4px;
  font-size: 24px;
}

.panel-title p {
  margin: 0 0 24px;
  color: var(--ink-soft);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
}

.field input,
.field select,
.field textarea {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 14px;
  background: white;
}

.field textarea {
  font-family: "IBM Plex Mono", "Space Grotesk", monospace;
}

.inline {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.inline input {
  flex: 1 1 0;
  min-width: 0;
}

.inline select {
  flex: 1 1 0;
  min-width: 0;
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 24px 0;
}

.photo-box {
  min-height: 110px;
  border-radius: 16px;
  border: 1px dashed var(--border);
  display: grid;
  place-items: center;
  color: var(--ink-soft);
  font-size: 13px;
  overflow: hidden;
  background: white;
}

.photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.helper {
  color: var(--ink-soft);
  font-size: 12px;
}

.actions {
  margin-top: 20px;
  display: flex;
  gap: 12px;
}

.status {
  margin-top: 12px;
  font-size: 13px;
  color: var(--ink-soft);
}

.site-footer {
  padding: 24px 64px 40px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-soft);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 20px 12px;
  }

  .site-nav {
    flex-wrap: wrap;
  }

  main {
    padding: 16px 20px 60px;
  }

  .site-footer {
    padding: 20px;
    flex-direction: column;
    gap: 8px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .inline {
    flex-direction: column;
  }
}
