@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Playfair+Display:wght@600&display=swap");

:root {
  --bg-1: #0b0d11;
  --bg-2: #0f121a;
  --panel: rgba(255, 255, 255, 0.05);
  --line: rgba(255, 255, 255, 0.12);
  --ink: #f6f6f3;
  --muted: #9ea0a8;
  --accent: #f2d27a;
  --glow: rgba(242, 210, 122, 0.28);
  --input-bg: rgba(255, 255, 255, 0.04);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(
      120% 160% at 20% 10%,
      rgba(242, 210, 122, 0.08),
      transparent 40%
    ),
    radial-gradient(
      120% 140% at 80% 20%,
      rgba(104, 157, 255, 0.08),
      transparent 42%
    ),
    linear-gradient(135deg, var(--bg-1), var(--bg-2));
  color: var(--ink);
  font-family: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  display: flex;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  overflow-x: hidden;
}

.frame {
  position: relative;
  width: min(1140px, 100%);
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.01)
  );
  border: 1px solid var(--line);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  overflow: hidden;
}

.frame::before,
.frame::after {
  content: "";
  position: absolute;
  inset: -30%;
  background: conic-gradient(
    from 120deg,
    transparent 0deg,
    transparent 70deg,
    rgba(255, 255, 255, 0.08) 90deg,
    transparent 110deg,
    transparent 360deg
  );
  opacity: 0.6;
  filter: blur(1px);
}

.frame::after {
  transform: rotate(8deg);
  opacity: 0.35;
}

.grid {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 98%,
      rgba(255, 255, 255, 0.05) 99%,
      transparent 100%
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 98%,
      rgba(255, 255, 255, 0.05) 99%,
      transparent 100%
    );
  opacity: 0.1;
  pointer-events: none;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 1;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.brand-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--glow), 0 0 30px rgba(242, 210, 122, 0.28);
}

.tag {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

.hero {
  position: relative;
  z-index: 1;
  padding: clamp(2rem, 6vw, 3.75rem) 0 clamp(2.25rem, 5vw, 3.25rem);
  display: grid;
  gap: 1.5rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--muted);
}

.eyebrow::before {
  content: "";
  width: 58px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line));
  display: inline-block;
}

h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4.8vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-family: "Playfair Display", "Times New Roman", serif;
}

.lead {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.3vw, 1.2rem);
  line-height: 1.65;
}

.form-card {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid var(--line);
  background: var(--panel);
  display: grid;
  gap: 1.25rem;
}

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

label {
  display: grid;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.95rem;
}

input {
  background: var(--input-bg);
  border: 1px solid var(--line);
  padding: 0.9rem 0.95rem;
  color: var(--ink);
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: border-color 160ms ease, box-shadow 160ms ease,
    background 160ms ease;
}

input:focus-visible {
  outline: none;
  border-color: rgba(242, 210, 122, 0.6);
  box-shadow: 0 0 0 3px rgba(242, 210, 122, 0.18);
  background: rgba(255, 255, 255, 0.07);
}

.actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

button {
  cursor: pointer;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  padding: 0.95rem 1.25rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 160ms ease, box-shadow 160ms ease,
    border-color 160ms ease, background 160ms ease, color 160ms ease;
  position: relative;
  overflow: hidden;
}

button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.primary {
  background: linear-gradient(
    120deg,
    rgba(242, 210, 122, 0.2),
    rgba(242, 210, 122, 0.08)
  );
  border-color: rgba(242, 210, 122, 0.5);
  box-shadow: 0 12px 30px rgba(242, 210, 122, 0.18);
  color: var(--ink);
}

.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(242, 210, 122, 0.26);
}

.ghost {
  border-style: dashed;
  color: var(--ink);
}

.ghost:hover {
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.note {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

@media (max-width: 720px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  .actions {
    width: 100%;
  }

  button {
    flex: 1 1 100%;
    text-align: center;
  }
}
