
      @import url('https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --bg: #232431;
  --panel: #323645;
  --panel-2: #2b2f3d;
  --panel-3: #282b38;
  --text: #f2f2f2;
  --muted: #c5c8d3;
  --accent: rgba(255, 255, 255, 0.08);
  --accent-hover: rgba(255, 255, 255, 0.12);
  --border-soft: rgba(255, 255, 255, 0.08);
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  --radius: 18px;

  --page-max: 760px;
  --section-max: 500px;
  --copy-max: 58ch;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Noto Serif", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background:
    radial-gradient(circle at top, rgba(120, 127, 154, 0.12), transparent 30%),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
  padding: 28px 20px 72px;
  line-height: 1.55;
}

p,
h1,
h2,
h3 {
  margin: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
}

/* HERO */
.home-container {
  width: min(100%, var(--page-max));
  margin-top: 12px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0)),
    var(--panel);
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  overflow: hidden;
  color: var(--text);
  padding: 30px 28px 32px;
  box-shadow: var(--shadow);
}

.rewrapped-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 72px;
  margin-bottom: 8px;
}

.rewrapped-container h1 {
  text-align: center;
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.rewrapped-container img {
  width: clamp(34px, 4vw, 46px);
  height: auto;
  filter: brightness(0) saturate(100%) invert(87%) sepia(100%) saturate(0%) hue-rotate(341deg) brightness(104%) contrast(101%);
  margin-right: 0;
}

.page-heading {
  text-align: center;
  font-size: clamp(1.75rem, 3.1vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 8px auto 0;
  max-width: 14ch;
}

h2.page-heading {
  margin-left: auto;
  margin-right: auto;
}

.home-container h2,
h2 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.25;
}

.why-para {
  text-align: center;
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  color: var(--muted);
  max-width: var(--copy-max);
  margin: 14px auto 0;
}

/* UPLOAD / CTA */
.upload-container {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.upload-input-container {
  width: 100%;
  max-width: 280px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.upload-input-container input {
  display: none;
}

.upload-btn {
  appearance: none;
  border: none;
  border-radius: 12px;
  padding: 14px 20px;
  width: 100%;
  min-height: 52px;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  background-color: var(--accent);
  color: white;
  font-family: "Noto Serif", system-ui, sans-serif;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.08s ease, background-color 0.16s ease, box-shadow 0.16s ease;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.upload-btn img {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  filter: brightness(0) saturate(100%) invert(87%) sepia(100%) saturate(0%) hue-rotate(341deg) brightness(104%) contrast(101%);
}

.upload-btn:hover:not(:disabled) {
  background-color: var(--accent-hover);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

.upload-btn:active:not(:disabled) {
  transform: translateY(1px);
}

.upload-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* SECTIONS */
.how-container,
.faq-container {
  width: min(100%, var(--section-max));
}

.how-container {
  margin-top: 0;
}

.faq-container {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.faq-container h1,
.how-container h1 {
  font-size: clamp(1.75rem, 2.8vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
  text-align: center;
}

/* HOW CARDS */
.how-step-container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
  background-color: var(--panel);
  border: 1px solid var(--border-soft);
  padding: 20px 18px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.how-circle-container {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-right: 0;
  flex-shrink: 0;
}

.circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: white;
  color: black;
  display: grid;
  place-items: center;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1;
}

.circle span {
  display: block;
  padding: 0;
  margin: 0;
}

.how-text-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  min-width: 0;
}

.how-title {
  display: block;
  font-size: 1.08rem;
  line-height: 1.3;
  font-weight: 700;
}

.how-text {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
  max-width: 60ch;
}

.how-link {
  background-color: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  margin: 0 auto 0;
  padding: 8px 14px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: fit-content;
  max-width: 100%;
  font-size: 0.95rem;
  font-weight: 700;
  transition: transform 0.08s ease, background-color 0.15s ease;
}

.how-link:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

.how-link span {
  color: #eceff7;
}

.how-link img {
  width: 18px;
  margin-right: 10px;
  opacity: 0.9;
  filter: brightness(0) saturate(100%) invert(87%) sepia(100%) saturate(0%) hue-rotate(341deg) brightness(104%) contrast(101%);
}

/* FAQ */
.collapsible {
  background-color: var(--panel);
  color: white;
  cursor: pointer;
  padding: 18px 20px;
  width: 100%;
  border: 1px solid var(--border-soft);
  text-align: left;
  outline: none;
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 700;
  font-family: "Noto Serif", system-ui, sans-serif;
  margin-top: 12px;
  margin-bottom: 0;
  border-radius: 14px;
  transition: opacity 0.18s ease, background-color 0.18s ease;
  box-shadow: var(--shadow);
}

.collapsible:hover {
  opacity: 0.96;
  background-color: #383d4f;
}

.collapsible:after {
  content: '\02795';
  font-size: 0.8rem;
  color: white;
  float: right;
  margin-left: 12px;
}

.active:after {
  content: "\2796";
}

.collapsible.active + .content {
  max-height: 320px;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.content {
  background-color: var(--panel-3);
  border-radius: 14px;
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  margin-top: 8px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.content p {
  padding-top: 16px;
  padding-bottom: 16px;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 62ch;
}

.content p a {
  color: white;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* FOOTER */
.social-container {
  display: flex;
  flex-direction: row;
  align-self: center;
  margin-top: 6px;
  width: 100%;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
}

.social-link {
  font-weight: 700;
  color: white;
}

.social-container a img {
  filter: brightness(0) saturate(100%) invert(100%) sepia(100%) saturate(2%) hue-rotate(77deg) brightness(104%) contrast(101%);
  opacity: 0.2;
  width: 28px;
  height: 28px;
  margin: 0 6px;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.social-container a:hover img {
  opacity: 0.45;
  transform: translateY(-1px);
}

/* PRIVACY */
.privacy-container {
  width: min(100%, 760px);
  margin-top: 40px;
  padding-bottom: 75px;
}

.privacy-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 30px;
}

.privacy-arrow-container a {
  width: 30px;
  height: 30px;
}

#left-arrow {
  width: 30px;
  height: 30px;
  margin-right: 20px;
  filter: brightness(0) saturate(100%) invert(100%) sepia(100%) saturate(2%) hue-rotate(77deg) brightness(104%) contrast(101%);
}

.privacy-container p,
.privacy-container h1,
.privacy-container h2 {
  text-transform: none;
}

.privacy-container p {
  margin-top: 15px;
  color: var(--muted);
}

.privacy-container h2 {
  margin-top: 20px;
}

/* RESPONSIVE */
@media (max-width: 700px) {
  body {
    padding: 20px 14px 56px;
  }

  .container {
    gap: 48px;
  }

  .home-container {
    padding: 24px 18px 24px;
    border-radius: 20px;
  }

  .how-container,
  .faq-container,
  .privacy-container {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .rewrapped-container {
    gap: 8px;
    min-height: 64px;
  }

  .how-step-container {
    padding: 18px 14px;
    gap: 12px;
  }

  .collapsible {
    padding: 16px 16px;
    font-size: 0.97rem;
  }

  .content {
    padding: 0 16px;
  }

  .upload-input-container {
    max-width: none;
  }

  .upload-btn {
    width: 100%;
  }
}

@media (max-width: 390px) {
  .how-link span {
    display: none;
  }

  .how-link::after {
    content: "spotify.com/...";
    display: inline;
    color: white;
  }
}
      