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

:root {
  --ink: #331b2d;
  --muted: #725e6c;
  --cream: #fffaf5;
  --paper: rgba(255, 255, 255, 0.78);
  --peach: #ff7a70;
  --peach-dark: #d9485e;
  --pink: #ffb7c7;
  --blush: #ffe1dc;
  --lavender: #d9c8ff;
  --lime: #d9ef93;
  --line: rgba(91, 51, 76, 0.14);
  --shadow: 0 24px 70px rgba(109, 54, 81, 0.13);
  --max: 74rem;
  --reading: 48rem;
}

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

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

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% 14%, rgba(255, 183, 199, 0.48), transparent 27rem),
    radial-gradient(circle at 94% 24%, rgba(217, 200, 255, 0.55), transparent 25rem),
    linear-gradient(145deg, #fffaf5 0%, #fff4f1 56%, #f8f2ff 100%);
  color: var(--ink);
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image: radial-gradient(rgba(95, 48, 75, 0.13) 0.7px, transparent 0.7px);
  background-size: 18px 18px;
  content: "";
  opacity: 0.24;
  pointer-events: none;
}

a { color: inherit; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(217, 72, 94, 0.35);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.nav-bar {
  position: sticky;
  z-index: 10;
  top: 0;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid transparent;
  background: rgba(255, 250, 245, 0.72);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  margin: 0 auto;
  gap: 1rem;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: "Manrope", sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.brand-mascot {
  width: 2.35rem;
  height: 2.35rem;
  flex: none;
  object-fit: contain;
  filter: drop-shadow(0 5px 8px rgba(217, 72, 94, 0.2));
}

.nav-links,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem;
}

.nav-links a,
.footer-links a {
  padding: 0.55rem 0.82rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"],
.footer-links a:hover {
  background: rgba(255, 255, 255, 0.75);
  color: var(--peach-dark);
}

.nav-links a:hover,
.footer-links a:hover { transform: translateY(-1px); }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(19rem, 0.88fr);
  align-items: center;
  max-width: var(--max);
  min-height: calc(100vh - 74px);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 1.5rem;
  gap: clamp(3rem, 8vw, 7rem);
}

.hero-copy { position: relative; z-index: 2; }

.hero h1,
.page-content h1 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  letter-spacing: -0.075em;
  line-height: 0.92;
}

.hero h1 {
  max-width: 8ch;
  font-size: clamp(4.8rem, 12vw, 9.2rem);
}

.hero h1 span {
  color: var(--peach-dark);
  text-shadow: 0.035em 0.045em 0 var(--pink);
}

.hero-intro {
  max-width: 42rem;
  margin: 2rem 0 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.15rem, 2.1vw, 1.55rem);
  font-weight: 650;
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.hero-description {
  max-width: 41rem;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.12rem);
}

.feature-block {
  max-width: 44rem;
  margin-top: 2rem;
  padding: 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 1.7rem;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.feature-block h2 {
  margin: 0 0 0.85rem;
  font-family: "Manrope", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  gap: 0.75rem 1rem;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 1.55rem;
  color: #594653;
  font-size: 0.94rem;
  line-height: 1.42;
}

.feature-list li::before {
  position: absolute;
  top: 0.32rem;
  left: 0;
  width: 0.72rem;
  height: 0.72rem;
  border: 2px solid rgba(94, 50, 75, 0.42);
  border-radius: 50%;
  background: var(--lime);
  content: "";
}

.hero-closing {
  max-width: 40rem;
  margin: 1.8rem 0 0;
  font-family: "Manrope", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.5;
}

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 38rem;
}

.peach-orbit {
  position: absolute;
  z-index: 0;
  width: min(36vw, 27rem);
  aspect-ratio: 1;
  border: 1px solid rgba(102, 56, 81, 0.2);
  border-radius: 50%;
  animation: rotate 18s linear infinite;
}

.peach-orbit::before,
.peach-orbit::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.peach-orbit::before {
  top: 9%;
  right: 4%;
  width: 1.1rem;
  height: 1.1rem;
  background: var(--peach-dark);
  box-shadow: 0 0 0 8px rgba(217, 72, 94, 0.12);
}

.peach-orbit::after {
  bottom: 3%;
  left: 18%;
  width: 0.8rem;
  height: 0.8rem;
  background: #74966d;
}

.peach-orbit--inner {
  width: min(31vw, 23rem);
  border-style: dashed;
  border-color: rgba(217, 72, 94, 0.16);
  animation-direction: reverse;
  animation-duration: 24s;
}

.peach-orbit--inner::before {
  top: auto;
  right: 16%;
  bottom: -0.3rem;
  width: 0.65rem;
  height: 0.65rem;
  background: var(--lavender);
  box-shadow: 0 0 0 7px rgba(217, 200, 255, 0.18);
}

.peach-orbit--inner::after {
  top: 16%;
  bottom: auto;
  left: -0.35rem;
  width: 0.7rem;
  height: 0.7rem;
  background: var(--pink);
}

.mascot-visual {
  position: relative;
  z-index: 1;
  display: block;
  width: min(34vw, 26rem);
  height: auto;
  filter: drop-shadow(0 38px 35px rgba(177, 73, 101, 0.22));
}

.page-shell { padding: clamp(3rem, 6vw, 5rem) 1.25rem 2rem; }

.page-content {
  max-width: var(--reading);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4.5rem);
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: clamp(1.5rem, 3vw, 2.5rem);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow);
}

.page-content h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.8rem, 7vw, 4.8rem);
}

.page-content .subtitle {
  margin: 0 0 2.5rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.page-content h2 {
  margin: 2.5rem 0 0.65rem;
  font-family: "Manrope", sans-serif;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.page-content p,
.page-content li { color: #604d59; }
.page-content p { margin: 0 0 1rem; }
.page-content ul { padding-left: 1.2rem; }
.page-content a { color: #b43152; font-weight: 700; }

.support-form { display: grid; gap: 1.2rem; }
.form-group { display: grid; gap: 0.42rem; }

.form-group label {
  font-family: "Manrope", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid rgba(92, 54, 77, 0.18);
  border-radius: 0.9rem;
  background: rgba(255, 250, 248, 0.86);
  color: var(--ink);
  font: inherit;
  padding: 0.88rem 1rem;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.form-group textarea { min-height: 10rem; resize: vertical; }
.form-group select { appearance: auto; }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--peach-dark);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(217, 72, 94, 0.1);
  outline: none;
}

.submit-btn {
  min-height: 3.25rem;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  box-shadow: 0 12px 24px rgba(51, 27, 45, 0.2);
  color: #fff;
  cursor: pointer;
  font: 800 0.9rem "Manrope", sans-serif;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.submit-btn:hover {
  background: var(--peach-dark);
  box-shadow: 0 15px 30px rgba(180, 49, 82, 0.24);
  transform: translateY(-2px);
}

.success-msg { display: none; padding: 3rem 0; text-align: center; }
.success-msg h2 { margin-top: 0; }

.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3rem;
}

.site-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  gap: 1rem;
}

.footer-copy { color: var(--muted); font-size: 0.82rem; }

@keyframes rotate { to { transform: rotate(360deg); } }

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 3.5rem;
  }

  .hero-art {
    order: -1;
    min-height: 23rem;
  }

  .peach-orbit { width: 21rem; }
  .peach-orbit--inner { width: 18rem; }
  .mascot-visual { width: 19rem; }
}

@media (max-width: 620px) {
  .nav-bar { padding-inline: 0.8rem; }
  .nav-links { gap: 0; }
  .nav-links a { padding-inline: 0.5rem; font-size: 0.72rem; }
  .nav-links a:first-child { display: none; }
  .hero { padding-inline: 1.15rem; }
  .hero h1 { font-size: clamp(4.25rem, 21vw, 6.5rem); }
  .hero-art { min-height: 20rem; }
  .peach-orbit { width: 18rem; }
  .peach-orbit--inner { width: 15.5rem; }
  .mascot-visual { width: 16.5rem; }
  .feature-list { grid-template-columns: 1fr; }
  .page-shell { padding: 1.5rem 0.8rem; }
  .page-content { padding: 2rem 1.25rem; }
  .site-footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
