@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Sora:wght@500;600;700;800&display=swap");

:root {
  --page-max: 1240px;
  --bg: #fcf8ff;
  --ink: #17133a;
  --muted: #6f678f;
  --muted-strong: #544c77;
  --violet: #8d68ff;
  --violet-strong: #7147f2;
  --violet-soft: rgba(141, 104, 255, 0.12);
  --pink-soft: rgba(255, 222, 241, 0.44);
  --gold-soft: rgba(255, 222, 156, 0.2);
  --line: rgba(126, 102, 191, 0.18);
  --line-strong: rgba(126, 102, 191, 0.28);
  --surface: rgba(255, 255, 255, 0.74);
  --surface-strong: rgba(255, 255, 255, 0.88);
  --shadow: 0 24px 70px rgba(56, 36, 113, 0.1);
  --shadow-soft: 0 18px 40px rgba(56, 36, 113, 0.06);
  --radius-xl: 38px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-pill: 999px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  padding: 24px;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 14%, rgba(255, 225, 242, 0.92), transparent 20rem),
    radial-gradient(circle at 86% 10%, rgba(226, 214, 255, 0.96), transparent 24rem),
    radial-gradient(circle at 80% 74%, rgba(255, 236, 201, 0.38), transparent 18rem),
    linear-gradient(180deg, #fefcff 0%, #faf4ff 38%, #fff9fe 100%);
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

body::before {
  background:
    radial-gradient(circle at 22% 20%, rgba(255, 255, 255, 0.88), transparent 16rem),
    radial-gradient(circle at 74% 8%, rgba(255, 255, 255, 0.72), transparent 18rem),
    radial-gradient(circle at 88% 84%, rgba(255, 255, 255, 0.5), transparent 18rem);
}

body::after {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(247, 239, 255, 0.08), rgba(255, 255, 255, 0));
  opacity: 0.8;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--violet-strong);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

.page {
  width: min(100%, var(--page-max));
  margin: 0 auto;
  display: grid;
  gap: 24px;
}

.page > * {
  animation: rise-in 580ms ease both;
}

.page > *:nth-child(2) {
  animation-delay: 70ms;
}

.page > *:nth-child(3) {
  animation-delay: 120ms;
}

.page > *:nth-child(4) {
  animation-delay: 170ms;
}

.page-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.page-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.page-brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(255, 243, 249, 0.92), rgba(243, 234, 255, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 14px 30px rgba(56, 36, 113, 0.08);
}

.page-brand-mark img {
  width: 30px;
  height: 30px;
}

.page-brand-copy {
  display: grid;
  gap: 2px;
}

.page-brand-copy strong,
.hero h1,
.section h2,
.note-block h3 {
  font-family: "Sora", "Avenir Next", "Segoe UI", sans-serif;
  letter-spacing: -0.06em;
}

.page-brand-copy strong {
  font-size: 1rem;
  line-height: 1;
  color: var(--ink);
}

.page-brand-copy span {
  color: var(--muted);
  font-size: 0.84rem;
}

.page-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  padding: 8px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 14px 40px rgba(56, 36, 113, 0.06);
  backdrop-filter: blur(18px);
}

.page-nav a {
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.page-nav a:hover,
.page-nav a:focus-visible {
  color: var(--violet-strong);
  outline: none;
  transform: translateY(-1px);
}

.page-nav a.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--violet), var(--violet-strong));
  box-shadow: 0 16px 28px rgba(113, 71, 242, 0.2);
}

.hero,
.section {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.72);
  background:
    radial-gradient(circle at top right, rgba(255, 226, 241, 0.56), transparent 16rem),
    radial-gradient(circle at bottom left, rgba(232, 220, 255, 0.74), transparent 18rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(249, 243, 255, 0.88));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero::before,
.section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 84% 14%, rgba(255, 255, 255, 0.66), transparent 18rem),
    linear-gradient(160deg, rgba(255, 255, 255, 0.26), transparent 46%);
}

.hero {
  min-height: 300px;
  padding: 38px;
  display: grid;
  gap: 22px;
}

.legal-page .hero::after,
.support-page .hero::after {
  content: "";
  position: absolute;
  right: -48px;
  top: -10px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.76);
  background:
    radial-gradient(circle at 30% 26%, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.22) 34%, rgba(194, 166, 255, 0.26) 72%, rgba(255, 255, 255, 0.14) 100%);
  box-shadow: inset 0 -18px 36px rgba(197, 174, 255, 0.16), 0 20px 42px rgba(113, 71, 242, 0.08);
  backdrop-filter: blur(10px);
  opacity: 0.96;
  pointer-events: none;
}

.support-page .hero {
  min-height: 340px;
}

.hero-copy,
.section-copy,
.hero-meta,
.support-form,
.note-block,
.key-points,
.tag-list,
.callout {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 760px;
  display: grid;
  gap: 16px;
}

.eyebrow,
.section-kicker {
  margin: 0;
  color: var(--violet-strong);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.note-block h3 {
  margin: 0;
  color: var(--ink);
}

.hero h1 {
  max-width: 10.5ch;
  font-size: clamp(2.55rem, 5vw, 4.7rem);
  line-height: 0.94;
}

.section h2 {
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  line-height: 0.98;
}

.note-block h3 {
  font-size: 1.18rem;
  line-height: 1.14;
}

.hero p,
.section p,
.section li,
.note-block p,
.support-note,
.support-aside,
.form-status {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pill,
.tag-list span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 15px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 12px 26px rgba(56, 36, 113, 0.06);
  color: var(--muted-strong);
  font-size: 0.86rem;
  font-weight: 800;
  backdrop-filter: blur(14px);
}

.section {
  padding: 30px;
  display: grid;
  gap: 16px;
}

.section ul {
  margin: 0;
  padding-left: 1.3rem;
  display: grid;
  gap: 10px;
}

.section strong {
  color: var(--ink);
}

.section--split {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: 24px;
}

.key-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.note-block,
.support-form,
.callout {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.74);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.note-block {
  padding: 20px;
  display: grid;
  gap: 10px;
}

.callout {
  padding: 18px 20px;
  background:
    radial-gradient(circle at top right, rgba(255, 230, 241, 0.44), transparent 12rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(247, 239, 255, 0.76));
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.support-form {
  padding: 24px;
  display: grid;
  gap: 16px;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: grid;
  gap: 8px;
}

.field span {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  font: inherit;
  padding: 14px 15px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease,
    background-color 180ms ease;
}

.field textarea {
  min-height: 160px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #9991b6;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(113, 71, 242, 0.34);
  box-shadow: 0 0 0 4px rgba(113, 71, 242, 0.08);
  transform: translateY(-1px);
}

.field.is-hidden,
.field--hidden {
  display: none;
}

.support-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.button-primary {
  appearance: none;
  border: 0;
  border-radius: 18px;
  padding: 14px 22px;
  background: linear-gradient(135deg, var(--violet), var(--violet-strong));
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
  box-shadow: 0 18px 36px rgba(113, 71, 242, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button-primary:disabled {
  opacity: 0.65;
  cursor: progress;
  transform: none;
}

.support-note,
.support-aside {
  color: #8b84a7;
}

.form-status {
  min-height: 24px;
}

.form-status.is-success {
  color: #2e7b61;
}

.form-status.is-error {
  color: #9a4354;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .page-top,
  .section--split {
    grid-template-columns: 1fr;
  }

  .page-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .hero,
  .section {
    padding: 28px;
  }

  .hero::after {
    width: 180px;
    height: 180px;
    right: -30px;
    top: 10px;
  }
}

@media (max-width: 760px) {
  body {
    padding: 16px;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .page-nav {
    flex-wrap: nowrap;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .page-nav::-webkit-scrollbar {
    display: none;
  }

  .hero,
  .section,
  .support-form {
    padding: 22px;
  }

  .hero,
  .section {
    border-radius: 26px;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 11vw, 3.35rem);
  }

  .section h2 {
    font-size: clamp(1.6rem, 8vw, 2.2rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page > *,
  .page-nav a,
  .button-primary,
  .field input,
  .field select,
  .field textarea {
    animation: none !important;
    transition: none !important;
  }
}
