/* ==========================================
   VARIABLES
========================================== */

:root {
      --bg: #03020a;
      --text: #ffffff;
      --muted: rgba(255,255,255,.62);
      --line: rgba(255,255,255,.22);
      --field: rgba(5,4,14,.75);
    }

/* ==========================================
   GLOBALS
========================================== */

    * {
      box-sizing: border-box;
    }

    html,
    body {
      min-height: 100%;
    }

    body {
      margin: 0;
      font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
      color: var(--text);
      background: var(--bg);
      overflow-x: hidden;
    }

    .sr-only {
      position: absolute;
      width: 1px;
      height: 1px;
      overflow: hidden;
      clip: rect(0,0,0,0);
    }    

/* ==========================================
   LAYOUT
========================================== */

    .page {
      min-height: 100vh;
      display: grid;
      place-items: center;
      padding: 40px 20px;
      position: relative;
      isolation: isolate;
    }

    .card {
      width: min(760px, 100%);
      text-align: center;
    }

/* ==========================================
   BACKGROUND
========================================== */

    .page::before {
      content: "";
      position: absolute;
      width: 70vw;
      height: 70vw;
      min-width: 700px;
      min-height: 700px;
      right: -20vw;
      top: -25vw;
      background: radial-gradient(
        circle,
          rgba(220,225,235,.75) 0%,
          rgba(220,225,235,.20) 25%,
          rgba(220,225,235,.08) 50%,
        transparent 75%
        );
      filter: blur(60px);
      z-index: -2;
    }

    .page::after {
    display: none;
    }

    .orbital-lines {
      position: absolute;
      inset: -25%;
      z-index: -1;
      opacity: .22;
      background:
        radial-gradient(ellipse at 78% 18%, transparent 0 35%, rgba(255,255,255,.12) 35.1% 35.35%, transparent 35.45% 100%),
        radial-gradient(ellipse at 22% 86%, transparent 0 38%, rgba(255,255,255,.10) 38.1% 38.35%, transparent 38.45% 100%);
      transform: rotate(-10deg);
    }

/* ==========================================
   COMPONENTS
========================================== */

    .logo {
      width: 240px;
      height: 240px;
      margin: 0 auto 36px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .logo-image {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 50%;
      box-shadow:
        0 0 0 1px rgba(220,225,235,.15),
        0 0 30px rgba(220,225,235,.12);
      }

    .spark {
      width: 32px;
      height: 32px;
      margin: 0 auto 28px;
      background: #fff;
      clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
    }

    h1 {
      font-size: clamp(34px, 5vw, 54px);
      text-transform: uppercase;
      line-height: 1;
      margin: 0 0 18px;
      font-weight: 600;
      letter-spacing: 0.02em;
    }

    .intro {
      margin: 0 auto 42px;
      max-width: 700px;
      color: var(--muted);
      font-size: clamp(16px, 2vw, 19px);
      line-height: 1.6;
    }

    .instagram-section {
      display: grid;
      justify-items: center;
      gap: 22px;
    }

    .instagram-label {
      display: flex;
      align-items: center;
      gap: 22px;
      width: min(620px, 100%);
    }

    .instagram-label span {
      height: 1px;
      flex: 1;
      background: rgba(255,255,255,.18);
    }

    .instagram-label p {
      margin: 0;
      color: rgba(255,255,255,.72);
      font-size: 13px;
      font-weight: 600;
      letter-spacing: .28em;
      text-transform: uppercase;
      white-space: nowrap;
    }

    .instagram-link {
      color: rgba(255,255,255,.9);
      display: inline-flex;
      transition: transform 160ms ease, opacity 160ms ease;
    }

    .instagram-link:hover {
      transform: translateY(-2px);
      opacity: 1;
    }

    a {
      color: #e2c9a0;
      text-decoration: none;
      transition: color 0.2s ease;
    }

    a:hover {
        color: #f0d8b3;
        text-decoration: underline;
    }

    a:visited {
        color: #e2c9a0;
    }

    .site-footer {
      margin-top: 60px;
      color: rgba(255,255,255,.35);
      font-size: 12px;
      font-weight: 500;
      letter-spacing: 0.08em;
      text-align: center;
    }

    .footer-separator {
      margin: 0 0.5rem;
      opacity: 0.6;
    }

    .site-footer a {
      color: #e2c9a0;
      text-decoration: none;
    }

    .site-footer a:hover {
      text-decoration: underline;
    }

/* ==========================================
   SIGNUP FORM
========================================== */

    .signup {
      width: min(620px, 100%);
      margin: 0 auto 58px;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .signup-row {
      width: 100%;
      display: flex;
      align-items: stretch;
      gap: 8px;
    }

    input[type="email"],
    button {
      height: 56px;
      font: inherit;
      font-size: 16px;
      border-radius: 0;
    }

    input[type="email"] {
      flex: 1;
      min-width: 0;
      padding: 0 22px;
      color: var(--text);
      background: var(--field);
      border: 2px solid var(--line);
      outline: none;
    }

    input[type="email"]::placeholder {
      color: rgba(255,255,255,.44);
    }

    input[type="email"]:focus {
      border-color: rgba(255,255,255,.58);
      box-shadow: 0 0 0 3px rgba(255,255,255,.06);
    }

    .signup-consent {
      width: 100%;
      display: flex;
      justify-content: center;
      padding-left: 0px;
    }

    .signup-consent label {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      color: rgba(255,255,255,.45);
      font-size: 12px;
      line-height: 1;
      letter-spacing: 0.03em;
      cursor: pointer;
    }

    .signup-consent input[type="checkbox"] {
      width: 16px;
      height: 16px;
      margin: 0;
      flex-shrink: 0;
      accent-color: #ffffff;
    }

    button {
      min-width: 220px;
      padding: 0 28px;
      border: 1px solid rgba(220,225,235,.35);
      background: linear-gradient(
        to bottom,
        #eef1f4 0%,
        #d9dde3 100%
      );
      color: #111;
      font-weight: 600;
      cursor: pointer;
      transition:
        transform 160ms ease,
        opacity 160ms ease,
        background 160ms ease,
        box-shadow 160ms ease;
    }

    button:hover {
      transform: translateY(-1px);
      background: linear-gradient(
        to bottom,
        #f4f6f8 0%,
        #e2e6eb 100%
      );
      box-shadow: 0 4px 12px rgba(220,225,235,.15);
    }

    button:active {
      transform: translateY(0);
      opacity: .95;
    }

    .signup-message {
      color: #d8c3a5;
      margin-top: 0.25rem;
      font-size: 0.9rem;
      min-height: 1.25rem;
      font-style: italic;
      text-align: center;
    }

    .hp-field {
      position: absolute;
      left: -9999px;
      visibility: hidden;
    }

/* ==========================================
   PRIVACY POLICY
========================================== */

    .content-section {
        max-width: 800px;
        margin: 0 auto;
        padding: 4rem 1.5rem;
        text-align: left;
    }

    .content-section h1 {
        margin-bottom: 0.5rem;
    }

    .content-section h2 {
        margin-top: 2rem;
    }

    .content-section p,
    .content-section li {
        line-height: 1.7;
    }

    .content-section ul {
        padding-left: 1.5rem;
    }

/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 560px) {
  .page {
    padding: 46px 30px 44px;
    place-items: start center;
  }

  .logo {
    width: 145px;
    height: 145px;
    margin-bottom: 22px;
  }

  .spark {
    width: 22px;
    height: 22px;
    margin-bottom: 22px;
  }

  h1 {
    font-size: 42px;
    margin-bottom: 14px;
  }

  .intro {
    max-width: 300px;
    font-size: 15px;
    line-height: 1.45;
    margin-bottom: 28px;
  }

  .signup {
    max-width: 330px;
    gap: 12px;
    margin-bottom: 52px;
  }

  .signup-row {
    display: contents;
  }

  .signup-row input[type="email"] {
    order: 1;
    width: 100%;
    height: 56px;
    font-size: 16px;
    border-width: 2px;
    text-align: center;
  }

  .signup-row input[type="email"]:focus {
    text-align: left;
  }

  .signup-consent {
    order: 2;
    width: 100%;
    justify-content: center;
    padding-left: 0;
  }

  .signup-consent label {
    justify-content: center;
    font-size: 12px;
    line-height: 1.3;
    text-align: center;
  }

  .signup-consent input[type="checkbox"] {
    width: 16px;
    height: 16px;
  }

  .signup-row button {
    order: 3;
    width: 200px;
    min-width: 0;
    height: 48px;
    align-self: center;
    font-size: 15px;
  }

  .signup-message {
    font-size: 13px;
    margin-top: 2px;
  }

  .instagram-label p {
    font-size: 9px;
    letter-spacing: .16em;
  }

  .site-footer {
    margin-top: 38px;
    font-size: 10px;
  }

  #email {
    height: 48px !important;
    min-height: 48px !important;
    line-height: 48x !important;
    padding: 0 18px !important;
    font-size: 16px !important;
  }
}  