:root {
  --bg-color: #050505;
  --text-main: #e0d2b4;
  --accent-pink: #ff0055;
  --accent-dim: #5c001f;
  --border-width: 3px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: "Space Mono", monospace;
  overflow-x: hidden;
  width: 100%;
  min-height: 100vh;
}

h1,
h2,
h3 {
  font-weight: normal;
}

.mechanic-type {
  font-family: "Archivo Black", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.organic-type {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 900;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px;
  position: relative;
  z-index: 2;
}

.vertical-rhythm {
  position: fixed;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 100px;
  z-index: 10;
  mix-blend-mode: exclusion;
}

.v-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  color: var(--accent-pink);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.8;
}

.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.curved-header {
  position: absolute;
  top: 16%;
  width: 100%;
  max-width: 800px;
  height: auto;
  aspect-ratio: 1;
  animation: spin-slow 60s linear infinite;
  pointer-events: none;
  z-index: 0;
}

.curved-header text {
  fill: var(--accent-pink);
  font-family: "Archivo Black", sans-serif;
  font-size: 44px;
  letter-spacing: 10px;
  text-transform: uppercase;
}

.title-cluster {
  position: relative;
  z-index: 5;
  text-align: center;
  mix-blend-mode: normal;
}

.big-calligraphy {
  font-size: clamp(8rem, 15vw, 16rem);
  line-height: 0.8;
  color: var(--text-main);
  transform: rotate(-5deg);
  display: block;
  text-shadow: 10px 10px 0px #000;
  margin-top: 12px;
}

.sub-calligraphy {
  font-size: clamp(2rem, 4vw, 5rem);
  color: var(--accent-pink);
  display: block;
  margin-top: -7px;
  margin-left: 100px;
  z-index: 6;
  position: relative;
}

.stamp-badge {
  border: var(--border-width) solid var(--accent-pink);
  border-radius: 20px;
  padding: 15px 30px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  color: var(--accent-pink);
  font-family: "Archivo Black", sans-serif;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  background: transparent;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.stamp-badge:hover {
  background: var(--accent-pink);
  color: var(--bg-color);
  transform: scale(1.05);
  box-shadow: 0 0 30px var(--accent-dim);
}

.stamp-badge span {
  font-size: 12px;
  font-family: "Space Mono", monospace;
  opacity: 0.8;
  margin-bottom: 5px;
}

.stamp-badge strong {
  font-size: 24px;
  line-height: 1;
}

.mockup-stage {
  position: relative;
  margin-top: 168px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

.mockup-glow {
  position: absolute;
  width: clamp(280px, 42vw, 520px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(255, 0, 85, 0.24) 0%, rgba(255, 0, 85, 0.08) 35%, rgba(255, 0, 85, 0) 70%);
  filter: blur(18px);
  transform: translateY(16px);
  z-index: 0;
  pointer-events: none;
}

.mockup-label {
  position: absolute;
  top: -34px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(224, 210, 180, 0.86);
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 0, 85, 0.45);
  border-radius: 999px;
  padding: 8px 14px;
  z-index: 4;
  white-space: nowrap;
  backdrop-filter: blur(3px);
}

.phone-frame {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --glare-x: 50%;
  --glare-y: 20%;
  --phone-scale: 1;
  width: clamp(280px, 30vw, 340px);
  aspect-ratio: 1170 / 2532;
  border-radius: 40px;
  position: relative;
  overflow: hidden;
  background: #000;
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.45),
    0 0 0 10px var(--bg-color),
    0 0 0 13px var(--accent-pink);
  transform: scale(var(--phone-scale)) rotateY(calc(-10deg + var(--tilt-x))) rotateX(calc(5deg + var(--tilt-y)));
  transform-style: preserve-3d;
  transition: transform 0.22s ease-out, box-shadow 0.35s ease;
  animation: mockup-enter 0.8s cubic-bezier(0.22, 1, 0.36, 1) backwards;
  animation-delay: 0.15s;
  z-index: 1;
  will-change: transform;
}

.phone-frame:hover {
  --phone-scale: 1.012;
  box-shadow:
    0 36px 90px rgba(0, 0, 0, 0.5),
    0 0 0 10px var(--bg-color),
    0 0 0 13px var(--accent-pink);
}

.phone-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 40px;
  background:
    radial-gradient(circle at var(--glare-x) var(--glare-y), rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 22%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.025) 0%, rgba(255, 255, 255, 0) 28%);
  pointer-events: none;
  z-index: 2;
  transition: background-position 0.4s ease-out;
}

.screen-content {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
  border-radius: 40px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.screen-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 80px;
  margin-top: 150px;
  margin-bottom: 150px;
  position: relative;
  content-visibility: auto;
  contain-intrinsic-size: 1px 1200px;
}

.feature-item {
  position: relative;
  padding: 20px;
  border-left: 1px solid var(--accent-pink);
}

.feature-title {
  font-family: "Archivo Black", sans-serif;
  font-size: 2rem;
  color: var(--text-main);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.feature-desc {
  font-size: 1rem;
  line-height: 1.6;
  color: #888;
  max-width: 300px;
}

.floating-seal {
  position: absolute;
  right: 5%;
  top: 20%;
  width: 120px;
  height: 120px;
  border: 4px solid var(--accent-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  transform: rotate(15deg);
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 20;
}

.seal-inner {
  border: 1px solid var(--accent-pink);
  width: 100px;
  height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: "Playfair Display", serif;
  color: var(--accent-pink);
  font-weight: bold;
  line-height: 1;
}

.seal-label {
  display: block;
  max-width: 90px;
  font-size: 19.9044px;
  line-height: 0.95;
}

@keyframes spin-slow {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.pink-text {
  color: var(--accent-pink);
}

.cream-text {
  color: var(--text-main);
}

.cta-container {
  margin-top: 60px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.privacy-pill {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #666;
}

.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(255, 0, 85, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 0, 85, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 1;
}

.email-signup {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.email-signup p {
  font-size: 14px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.email-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.email-form input {
  background: transparent;
  border: 2px solid var(--accent-pink);
  border-radius: 20px;
  padding: 12px 20px;
  color: var(--text-main);
  font-family: "Space Mono", monospace;
  font-size: 14px;
  min-width: 250px;
  outline: none;
}

.email-form input::placeholder {
  color: #666;
}

.email-form button {
  background: var(--accent-pink);
  border: none;
  border-radius: 20px;
  padding: 12px 30px;
  color: var(--bg-color);
  font-family: "Archivo Black", sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.email-form button:hover {
  background: var(--text-main);
  transform: scale(1.05);
}

.email-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.input-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
}

.email-form input.input-error {
  border-color: #ff6b35;
  box-shadow: 0 0 10px rgba(255, 107, 53, 0.3);
}

.error-message {
  display: none;
  color: #ff8c42;
  font-size: 12px;
  margin-top: 8px;
  text-align: left;
  padding-left: 5px;
}

.form-status {
  display: none;
  margin-top: 20px;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-family: "Space Mono", monospace;
  text-align: center;
  animation: fadeIn 0.3s ease;
}

.form-status--success {
  background: rgba(91, 141, 184, 0.15);
  border: 1px solid #5b8db8;
  color: #7eb8d6;
}

.form-status--error {
  background: rgba(255, 107, 53, 0.15);
  border: 1px solid #ff6b35;
  color: #ff8c42;
}

.form-status--warning {
  background: rgba(255, 193, 7, 0.15);
  border: 1px solid #ffc107;
  color: #ffd54f;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes mockup-enter {
  from {
    opacity: 0;
    transform: translateY(28px) rotateY(-14deg) rotateX(8deg);
  }
  to {
    opacity: 1;
    transform: rotateY(-10deg) rotateX(5deg);
  }
}

footer {
  border-top: 1px solid #333;
  padding-top: 40px;
  padding-bottom: 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links {
  flex: 1;
  min-width: 220px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 20px;
}

.footer-links a {
  color: #9a9a9a;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-links a:hover {
  color: var(--text-main);
  border-bottom-color: var(--accent-pink);
}

.site-footer {
  border-top: 1px solid #333;
  padding-top: 40px;
  padding-bottom: 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
}

body.legal-page-body > site-footer {
  display: block;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

site-footer {
  display: block;
  min-height: 190px;
}

.site-footer__brand h4 {
  font-size: 2rem;
  color: var(--text-main);
}

.site-footer__brand p {
  font-size: 0.8rem;
  color: #666;
  margin-top: 10px;
  max-width: 300px;
}

.site-footer__links {
  flex: 1;
  min-width: 220px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 20px;
}

.site-footer__links a {
  color: #9a9a9a;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.site-footer__links a:hover {
  color: var(--text-main);
  border-bottom-color: var(--accent-pink);
}

.site-footer__meta {
  text-align: right;
}

.site-footer__meta .mechanic-type {
  color: var(--accent-pink);
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.site-footer__meta div:last-child {
  font-family: "Space Mono", monospace;
  font-size: 0.8rem;
  color: #666;
}

.blog-page {
  max-width: 1200px;
  padding-top: 70px;
  padding-bottom: 90px;
}

.blog-header {
  margin-bottom: 72px;
}

.blog-page h1 {
  font-size: clamp(1.8rem, 3.6vw, 2.9rem);
  line-height: 1.02;
}

.blog-header .legal-meta {
  margin-bottom: 26px;
}

.blog-lede {
  color: #a5a5a5;
  font-size: clamp(0.78rem, 1.05vw, 1rem);
  line-height: 1.7;
  max-width: 1050px;
}

.blog-guides {
  margin-top: 16px;
  content-visibility: auto;
  contain-intrinsic-size: 1px 1000px;
}

.blog-guides .mechanic-type {
  font-size: clamp(1rem, 2vw, 1.5rem);
  letter-spacing: 0.07em;
  margin-bottom: 40px;
}

.blog-guide-list {
  display: grid;
  gap: 44px;
  padding-top: 10px;
}

.blog-guide-link {
  color: var(--accent-pink);
  text-decoration: none;
  font-size: clamp(0.85rem, 1.8vw, 1.6rem);
  line-height: 1.26;
  letter-spacing: 0.01em;
  display: inline-block;
  transition: transform 0.2s ease, color 0.2s ease;
}

.blog-guide-link:hover {
  color: #ff3d8b;
  transform: translateX(6px);
}

@media (max-width: 768px) {
  .vertical-rhythm {
    display: none;
  }

  .container {
    padding: 20px;
  }

  .big-calligraphy {
    font-size: clamp(4rem, 12vw, 8rem);
  }

  .sub-calligraphy {
    margin-left: 20px;
    font-size: clamp(1.5rem, 3vw, 3rem);
  }

  .floating-seal {
    right: 5px;
    top: 8%;
    width: 80px;
    height: 80px;
  }

  .seal-inner {
    width: 65px;
    height: 65px;
    font-size: 10px;
  }

  .seal-label {
    max-width: 58px;
    font-size: 13.2696px;
  }

  .phone-frame {
    width: clamp(220px, 64vw, 256px);
  }

  .mockup-label {
    top: -30px;
    font-size: 10px;
    padding: 7px 12px;
  }

  .features {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 80px;
    margin-bottom: 80px;
  }

  .curved-header {
    width: 200%;
    max-width: 550px;
    top: 9%;
  }

  footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-links {
    width: 100%;
    max-width: 100%;
    justify-content: center;
  }

  footer > div:last-child {
    text-align: center;
  }

  .site-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  site-footer {
    min-height: 260px;
  }

  body.legal-page-body > site-footer {
    padding: 0 20px;
  }

  .site-footer__links {
    width: 100%;
    max-width: 100%;
    justify-content: center;
  }

  .site-footer__meta {
    text-align: center;
  }

  .blog-page {
    padding-top: 52px;
    padding-bottom: 70px;
  }

  .blog-header {
    margin-bottom: 50px;
  }

  .blog-guide-list {
    gap: 30px;
  }
}

body.legal-page-body {
  min-height: 100vh;
}

.legal-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 56px 24px 72px;
}

.legal-page h1 {
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 0.95;
  margin-bottom: 14px;
}

.legal-page .legal-meta {
  color: #9a9a9a;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 30px;
}

.legal-nav {
  margin-bottom: 56px;
}

.legal-nav a {
  color: var(--accent-pink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.legal-nav a:hover {
  border-bottom-color: var(--accent-pink);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

site-nav {
  display: block;
  min-height: 32px;
}

.site-nav__sep {
  color: #757575;
  user-select: none;
}

.site-nav .site-nav__link {
  color: var(--accent-pink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.site-nav .site-nav__link:hover {
  border-bottom-color: var(--accent-pink);
}

.site-nav .site-nav__link.is-active {
  color: var(--text-main);
  border-bottom-color: var(--accent-pink);
}

.legal-back-row {
  margin-bottom: 34px;
}

.legal-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-pink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.legal-back-link::before {
  content: "\2190";
  font-size: 1rem;
  line-height: 1;
}

.legal-back-link:hover {
  border-bottom-color: var(--accent-pink);
}

.legal-section {
  margin-bottom: 24px;
  content-visibility: auto;
  contain-intrinsic-size: 1px 420px;
}

.legal-section h2 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--text-main);
}

.legal-section p {
  margin: 0;
  color: #b0b0b0;
  line-height: 1.65;
}

.post-page {
  max-width: 1200px;
  padding-top: 70px;
  padding-bottom: 96px;
}

.post-page .legal-nav {
  margin-bottom: 42px;
}

.post-page h1 {
  margin-bottom: 18px;
}

.post-page .legal-meta {
  margin-bottom: 56px;
}

.post-page .legal-section {
  margin-bottom: 90px;
}

.post-page .legal-section h2 {
  font-size: clamp(1.28rem, 1.95vw, 1.8rem);
  letter-spacing: 0.04em;
  line-height: 1.14;
  margin-bottom: 20px;
}

.post-page .legal-section p {
  max-width: 1180px;
  font-size: clamp(1.02rem, 1.22vw, 1.24rem);
  line-height: 1.8;
  letter-spacing: 0.01em;
}

.blog-post-image {
  display: block;
  width: min(100%, 980px);
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.faq-page .legal-section {
  margin-bottom: 52px;
}

.faq-page .legal-section h2 {
  margin-bottom: 14px;
}

.legal-section a {
  color: var(--accent-pink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.legal-section a:hover {
  border-bottom-color: var(--accent-pink);
}

@media (prefers-reduced-motion: reduce) {
  .curved-header {
    animation: none;
  }

  .phone-frame {
    animation: none;
    transition: none;
  }

  .phone-frame::after {
    transition: none;
  }
}

@media (min-width: 769px) {
  .sub-calligraphy {
    margin-top: -28px;
  }
}

@media (max-width: 768px) {
  site-nav {
    min-height: 56px;
  }

  .post-page {
    padding-top: 52px;
    padding-bottom: 70px;
  }

  .post-page .legal-meta {
    margin-bottom: 40px;
  }

  .post-page .legal-section {
    margin-bottom: 62px;
  }

  .post-page .legal-section h2 {
    margin-bottom: 14px;
  }

  .faq-page .legal-section {
    margin-bottom: 40px;
  }
}
