:root {
  --bg: #ffffff;
  --ink: #17202a;
  --muted: #738195;
  --soft: #f4f7f8;
  --soft-2: #eef4f1;
  --line: #e2e9ed;
  --green: #31d17d;
  --green-dark: #0bbf70;
  --green-soft: #ddfaec;
  --yellow: #ffb21f;
  --shadow: 0 28px 90px rgba(25, 42, 61, 0.11);
  --page: 1180px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(221, 231, 236, 0.46) 1px, transparent 1px),
    linear-gradient(90deg, rgba(221, 231, 236, 0.46) 1px, transparent 1px),
    radial-gradient(circle at 50% 7%, rgba(49, 209, 125, 0.07), transparent 34%),
    #fff;
  background-size: 72px 72px, 72px 72px, 100% 720px, auto;
  color: var(--ink);
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.announcement {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 8px 18px;
  background: var(--green);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.announcement a {
  color: #0f7a4c;
  background: #fff;
  border-radius: 9px;
  padding: 8px 18px;
  font-size: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 24px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.header-actions,
.hero-actions,
.panel-head,
.panel-icons,
.trust,
.logo-track,
.stats {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 900;
  color: #111922;
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 9px;
  color: var(--green-dark);
  transform: rotate(-7deg);
}

.nav {
  gap: 34px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 650;
}

.nav a {
  color: #26313d;
}

.header-actions {
  gap: 12px;
}

.ghost-link,
.small-cta {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 800;
  background: #fff;
}

.small-cta {
  border-color: transparent;
  background: var(--ink);
  color: #fff;
}

.section-grid {
  max-width: var(--page);
  margin: 0 auto;
  padding: 96px 24px;
}

section[id] {
  scroll-margin-top: 92px;
}

.hero {
  padding-top: 62px;
  text-align: center;
  overflow: hidden;
}

.hero-copy {
  max-width: 800px;
  margin: 0 auto;
}

.muted-line,
.section-heading span {
  color: #a8b2be;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 900;
}

.hero h1,
.section-heading h2,
.final-cta h2 {
  margin: 0;
  color: var(--ink);
  letter-spacing: 0;
}

.hero h1 {
  margin-top: 18px;
  font-size: clamp(44px, 5.4vw, 78px);
  line-height: 0.98;
}

.hero h1 span,
.hero h1 strong {
  display: block;
}

.hero h1 strong,
.section-heading strong,
.testimonials h2 strong,
.faq h2 strong {
  color: var(--green-dark);
}

.hero-subtitle {
  max-width: 740px;
  margin: 26px auto 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.hero-actions {
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

.primary-button,
.secondary-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 0 22px;
  font-weight: 900;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.primary-button {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 12px 30px rgba(23, 32, 42, 0.16);
}

.secondary-button {
  border: 1px solid var(--line);
  background: #fff;
}

.primary-button:hover,
.secondary-button:hover,
.price-card a:hover {
  transform: translateY(-2px);
}

.editor-demo {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 56px auto 0;
  max-width: 1050px;
}

.editor-demo::before {
  content: "FAKETOHUMAN";
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: -85px;
  transform: translateX(-50%);
  color: transparent;
  -webkit-text-stroke: 1px #edf3f5;
  font-size: 156px;
  font-weight: 1000;
  letter-spacing: 0;
  white-space: nowrap;
}

.demo-panel {
  min-height: 420px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  text-align: left;
}

.panel-head {
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.panel-head strong,
.price-card h3,
.review-grid h3,
.use-list h3 {
  display: block;
  margin: 0;
  color: #1d2630;
}

.panel-head span {
  display: block;
  margin-top: 7px;
  color: #8896a8;
  font-size: 13px;
}

.panel-head button {
  min-height: 36px;
  border: 1px solid rgba(11, 191, 112, 0.38);
  border-radius: 8px;
  background: #fff;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.panel-icons {
  gap: 10px;
}

.panel-icons span {
  width: 22px;
  height: 22px;
  border: 2px solid #b7c3cf;
  border-radius: 6px;
}

.panel-icons span:last-child {
  border-color: var(--green);
}

.demo-input-shell {
  position: relative;
  display: block;
}

.text-box {
  position: relative;
  width: 100%;
  min-height: 310px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px;
  color: #415064;
  line-height: 1.65;
  background: #fff;
}

.source-text {
  color: #9aa7b3;
  display: block;
  resize: vertical;
  outline: none;
}

.source-text:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(49, 209, 125, 0.12);
}

.source-text::placeholder {
  color: #a4afbc;
}

.human-text p {
  color: #273341;
  background: linear-gradient(90deg, rgba(49, 209, 125, 0.16), transparent);
  border-radius: 7px;
  padding: 4px 6px;
}

.word-count,
.score {
  position: absolute;
  left: 18px;
  bottom: 16px;
  color: #8794a4;
  font-size: 13px;
}

.score {
  color: var(--green-dark);
  font-weight: 900;
}

.demo-generate-button {
  width: 100%;
  min-height: 52px;
  margin-top: 14px;
  border: 0;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(23, 32, 42, 0.14);
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.demo-generate-button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(23, 32, 42, 0.2);
}

.demo-generate-button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.result-panel {
  position: relative;
}

.demo-result-content {
  transition: filter 0.22s ease, opacity 0.22s ease, transform 0.22s ease;
}

.human-text.is-locked .demo-result-content {
  filter: blur(8px);
  opacity: 0.68;
  user-select: none;
}

.human-text.is-generating .demo-result-content,
.human-text.is-generating .demo-lock {
  opacity: 0;
  pointer-events: none;
}

.demo-loader {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.human-text.is-generating .demo-loader {
  opacity: 1 !important;
}

.demo-loader span {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 4px solid rgba(49, 209, 125, 0.18);
  border-top-color: var(--green);
  animation: demoSpin 0.78s linear infinite;
}

.demo-loader strong {
  font-size: 16px;
}

.demo-loader small {
  color: var(--muted);
  font-weight: 800;
}

.demo-lock {
  position: absolute;
  z-index: 2;
  left: 24px;
  right: 24px;
  top: 50%;
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 20px;
  border: 1px solid rgba(49, 209, 125, 0.32);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 55px rgba(25, 42, 61, 0.16);
  text-align: center;
  transform: translateY(-50%);
}

.demo-lock p {
  margin: 0 0 8px;
  color: var(--muted);
  background: none;
  padding: 0;
}

.lock-icon {
  width: 42px;
  height: 42px;
  position: relative;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 10px 28px rgba(49, 209, 125, 0.28);
}

.lock-icon::before {
  content: "";
  width: 16px;
  height: 13px;
  margin-top: 8px;
  border-radius: 3px;
  background: #fff;
}

.lock-icon::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 15px;
  top: 9px;
  border: 3px solid #fff;
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
}

.trust {
  flex-direction: column;
  gap: 16px;
  margin-top: 42px;
}

.trust-label {
  color: #6e7d90;
  font-size: 16px;
}

.trust-label::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.logo-marquee {
  width: min(100%, 940px);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.logo-track {
  width: max-content;
  gap: 18px;
  animation: logoRun 34s linear infinite;
}

.uni-logo {
  height: 58px;
  min-width: 136px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 18px;
  border: 1px solid #dde8ee;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 28px rgba(30, 55, 76, 0.08);
  color: #233241;
  font-size: 16px;
  font-weight: 900;
  white-space: nowrap;
}

.uni-logo img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: saturate(0.95);
}

.uni-logo-wide {
  min-width: 156px;
}

.uni-logo-wide img {
  width: 58px;
  height: 34px;
}

.use-cases {
  padding-top: 118px;
}

.section-heading {
  margin-bottom: 56px;
}

.section-heading h2 {
  margin-top: 16px;
  font-size: clamp(34px, 3.7vw, 52px);
  line-height: 1.04;
}

.section-heading p {
  max-width: 760px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.section-heading-center {
  text-align: center;
}

.use-layout {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  align-items: center;
  gap: 72px;
}

.use-list {
  display: grid;
  gap: 38px;
}

.use-list article {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
}

.use-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 2px dashed #1d2630;
  border-radius: 14px;
  color: var(--green-dark);
  font-weight: 1000;
}

.use-list p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.illustration-card {
  position: relative;
  min-height: 440px;
  border: 1px solid #dce8ee;
  border-radius: 24px;
  background:
    linear-gradient(90deg, rgba(220, 235, 244, 0.55) 1px, transparent 1px),
    linear-gradient(rgba(220, 235, 244, 0.55) 1px, transparent 1px),
    linear-gradient(135deg, #fbfffd 0%, #f5fbff 52%, #ecfff5 100%);
  background-size: 54px 54px, 54px 54px, auto;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.illustration-card::after {
  content: "HUMANIZED";
  position: absolute;
  right: -18px;
  bottom: 10px;
  color: rgba(29, 38, 48, 0.045);
  font-size: 78px;
  font-weight: 1000;
  letter-spacing: 0;
}

.rewrite-scene {
  position: relative;
  z-index: 1;
  min-height: 440px;
  perspective: 1400px;
  isolation: isolate;
}

.rewrite-scene::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 74px 8% 46px;
  border: 1px dashed rgba(11, 191, 112, 0.22);
  border-radius: 34px;
  background:
    radial-gradient(circle at 28% 32%, rgba(49, 209, 125, 0.16), transparent 34%),
    radial-gradient(circle at 70% 66%, rgba(72, 164, 255, 0.12), transparent 36%);
  opacity: 0.88;
  transform: rotate(-1.4deg);
  pointer-events: none;
}

.rewrite-scene::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 110px;
  bottom: 78px;
  left: 14%;
  width: 34%;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(11, 191, 112, 0.16), transparent);
  filter: blur(16px);
  opacity: 0.55;
  animation: rewriteBeam 3s ease-in-out infinite;
  pointer-events: none;
}

.rewrite-stage-label {
  position: absolute;
  z-index: 6;
  top: 28px;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 13px;
  border: 1px solid rgba(159, 177, 191, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: #5f7185;
  box-shadow: 0 12px 34px rgba(21, 38, 54, 0.08);
  font-size: 11px;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.rewrite-stage-label span {
  transition: color 0.35s ease;
}

.rewrite-scene.is-before-active .rewrite-stage-label span:first-child,
.rewrite-scene.is-after-active .rewrite-stage-label span:last-child {
  color: var(--green-dark);
}

.rewrite-stage-label i {
  width: 34px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(159, 177, 191, 0.34), var(--green));
}

.rewrite-card {
  position: absolute;
  z-index: 2;
  width: min(66%, 520px);
  min-height: 190px;
  padding: 22px;
  border: 1px solid rgba(159, 177, 191, 0.42);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 22px 50px rgba(21, 38, 54, 0.14);
  backdrop-filter: blur(12px);
  transform-style: preserve-3d;
  transform-origin: center center;
  transition:
    transform 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.42s ease,
    filter 0.42s ease,
    box-shadow 0.42s ease;
  will-change: transform;
}

.rewrite-card::before {
  content: "";
  display: block;
  height: 9px;
  width: 78%;
  margin-bottom: 20px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, #a9b7c2 0 38%, transparent 38% 44%, #ccd7de 44% 70%, transparent 70% 76%, #ccd7de 76%);
}

.rewrite-card strong {
  display: block;
  color: #17212d;
  font-size: 24px;
  line-height: 1.12;
  letter-spacing: 0;
}

.rewrite-card p {
  margin: 14px 0 0;
  color: #728295;
  line-height: 1.55;
}

.rewrite-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: #9aa7b3;
  font-size: 11px;
  font-weight: 1000;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rewrite-card-before {
  left: 7%;
  top: 96px;
  transform: translate3d(0, 0, 0) rotate(-2.5deg);
}

.rewrite-card-before strong {
  color: #334257;
}

.rewrite-card-after {
  right: 7%;
  bottom: 60px;
  transform: translate3d(0, 0, 0) rotate(1.8deg);
  border-color: rgba(11, 191, 112, 0.34);
}

.rewrite-scene.is-before-active .rewrite-card-before,
.rewrite-scene.is-after-active .rewrite-card-after {
  z-index: 4;
  opacity: 1;
  filter: none;
  box-shadow: 0 30px 75px rgba(21, 38, 54, 0.18);
}

.rewrite-scene.is-before-active .rewrite-card-before {
  transform: translate3d(34px, -10px, 92px) rotate(-0.6deg) scale(1.025);
}

.rewrite-scene.is-after-active .rewrite-card-after {
  transform: translate3d(-34px, -12px, 92px) rotate(0.6deg) scale(1.025);
}

.rewrite-scene.is-before-active .rewrite-card-after {
  z-index: 2;
  opacity: 0.7;
  filter: saturate(0.82) blur(0.2px);
  transform: translate3d(-34px, 22px, -80px) rotate(4deg) scale(0.94);
}

.rewrite-scene.is-after-active .rewrite-card-before {
  z-index: 2;
  opacity: 0.68;
  filter: saturate(0.82) blur(0.2px);
  transform: translate3d(34px, 20px, -80px) rotate(-5deg) scale(0.94);
}

.rewrite-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid transparent;
  background: linear-gradient(135deg, rgba(49, 209, 125, 0.26), transparent 44%) border-box;
  mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.rewrite-scene.is-before-active .rewrite-card-before::after,
.rewrite-scene.is-after-active .rewrite-card-after::after {
  opacity: 1;
}

.rewrite-card-after::before {
  background:
    linear-gradient(90deg, var(--green) 0 44%, transparent 44% 50%, #c9f1dc 50% 76%, transparent 76% 82%, #d9f8e8 82%);
}

.rewrite-card-after .rewrite-kicker {
  color: var(--green-dark);
}

.text-flags,
.score-pill {
  margin-top: 18px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.text-flags span,
.score-pill {
  width: fit-content;
  border-radius: 999px;
  padding: 8px 11px;
  font-size: 12px;
  font-weight: 900;
}

.text-flags span {
  background: #fff0ec;
  color: #d36144;
}

.score-pill {
  background: #d8ffe9;
  color: var(--green-dark);
}

.floating-note {
  position: absolute;
  z-index: 5;
  border: 1px solid rgba(11, 191, 112, 0.28);
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.9);
  color: #263543;
  box-shadow: 0 12px 28px rgba(21, 38, 54, 0.11);
  font-size: 13px;
  font-weight: 900;
}

.note-one {
  left: 10%;
  bottom: 42px;
}

.note-two {
  right: 11%;
  top: 92px;
}

.rewrite-progress {
  position: absolute;
  z-index: 6;
  left: 50%;
  bottom: 24px;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.rewrite-progress span {
  width: 28px;
  height: 5px;
  border-radius: 999px;
  background: rgba(159, 177, 191, 0.35);
  transition: background 0.3s ease, width 0.3s ease;
}

.rewrite-scene.is-before-active .rewrite-progress span:first-child,
.rewrite-scene.is-after-active .rewrite-progress span:last-child {
  width: 42px;
  background: var(--green);
}

@keyframes rewriteBeam {
  0%,
  100% {
    transform: translateX(-6%) rotate(-5deg);
  }
  50% {
    transform: translateX(138%) rotate(5deg);
  }
}

.generator-section {
  position: relative;
}

.generator-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 64px;
}

.generator-copy {
  display: grid;
  gap: 22px;
}

.generator-copy article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  align-items: start;
}

.generator-copy article > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #111a25;
  color: #fff;
  font-size: 13px;
  font-weight: 1000;
}

.generator-copy h3 {
  margin: 0;
  color: #1d2630;
  font-size: 22px;
}

.generator-copy p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.generator-copy .primary-button {
  justify-self: start;
  margin-top: 12px;
}

.generator-app {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid #dce8ee;
  border-radius: 26px;
  background:
    radial-gradient(circle at 88% 10%, rgba(49, 209, 125, 0.16), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(246, 253, 249, 0.92));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.generator-app::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(220, 235, 244, 0.42) 1px, transparent 1px),
    linear-gradient(rgba(220, 235, 244, 0.42) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, #000, transparent 72%);
}

.generator-app > * {
  position: relative;
  z-index: 1;
}

.generator-toolbar,
.result-head,
.result-actions {
  display: flex;
  align-items: center;
}

.generator-toolbar {
  justify-content: space-between;
  gap: 18px;
}

.generator-toolbar strong {
  display: block;
  color: #17212d;
  font-size: 24px;
}

.generator-toolbar span,
.generator-field span,
.generator-comment span,
.result-head span {
  color: #8b99a9;
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.token-chip {
  border-radius: 999px;
  padding: 10px 13px;
  background: #111a25;
  color: #fff !important;
  white-space: nowrap;
}

.generator-field,
.generator-comment,
.generator-result {
  border: 1px solid #dfe9ef;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
}

.generator-field {
  padding: 20px;
}

.generator-field p,
.generator-comment p,
.generator-result p {
  margin: 10px 0 0;
  color: #263543;
  line-height: 1.6;
}

.generator-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.generator-controls span,
.result-actions span {
  border-radius: 999px;
  padding: 9px 12px;
  background: #eefbf4;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
}

.generator-comment {
  padding: 18px 20px;
  background:
    linear-gradient(90deg, rgba(49, 209, 125, 0.1), transparent),
    rgba(255, 255, 255, 0.9);
}

.generator-result {
  padding: 20px;
  box-shadow: 0 16px 36px rgba(21, 38, 54, 0.08);
}

.result-head {
  justify-content: space-between;
  gap: 12px;
}

.result-head i {
  width: 26px;
  height: 26px;
  border: 3px solid #d8f7e6;
  border-top-color: var(--green);
  border-radius: 50%;
  animation: softSpin 1.1s linear infinite;
}

.result-actions {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.result-actions span:last-child {
  background: #111a25;
  color: #fff;
}

.proof-card {
  display: grid;
  grid-template-columns: 1fr 310px;
  max-width: 860px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.proof-doc {
  padding: 38px;
}

.proof-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
  color: #8090a4;
  font-size: 13px;
}

.proof-top strong {
  color: var(--green-dark);
}

.proof-doc h3 {
  margin: 0 0 12px;
  font-size: 34px;
}

.proof-doc p,
.proof-doc li {
  color: var(--muted);
  line-height: 1.65;
}

.proof-doc ul {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}

.proof-doc li::before {
  content: "✓";
  color: var(--green-dark);
  margin-right: 10px;
  font-weight: 900;
}

.proof-sidebar {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 38px 26px;
  background: linear-gradient(180deg, #f4fbf7, #f8fafb);
  border-left: 1px solid var(--line);
}

.proof-sidebar span {
  color: #8090a4;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.proof-sidebar button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 14px;
  background: #fff;
  color: #425064;
  text-align: left;
  font-weight: 800;
}

.proof-sidebar .active {
  border-color: var(--green);
  color: var(--green-dark);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.price-card {
  display: grid;
  gap: 18px;
  padding: 32px;
  border: 1px solid transparent;
  border-radius: 18px;
  background: #fff;
}

.price-card.featured {
  border-color: var(--green-dark);
  box-shadow: 0 18px 48px rgba(11, 191, 112, 0.12);
}

.price-tag {
  justify-self: start;
  border-radius: 8px;
  padding: 6px 10px;
  background: #eef2f5;
  color: #7f8c9b;
  font-size: 12px;
  font-weight: 900;
}

.featured .price-tag {
  background: var(--green-soft);
  color: var(--green-dark);
}

.price {
  color: var(--ink);
  font-size: 42px;
  font-weight: 1000;
  letter-spacing: 0;
}

.price-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.price-card ul {
  display: grid;
  gap: 12px;
  margin: 10px 0 0;
  padding: 20px 0 0;
  border-top: 1px dashed var(--line);
  list-style: none;
}

.price-card li::before {
  content: "✓";
  color: var(--green-dark);
  margin-right: 10px;
  font-weight: 900;
}

.price-card a {
  margin-top: 8px;
  border-radius: 9px;
  padding: 15px 18px;
  background: var(--ink);
  color: #fff;
  text-align: center;
  font-weight: 900;
  transition: transform 0.18s ease;
}

.testimonials {
  text-align: center;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  text-align: left;
}

.review-grid article {
  display: flex;
  min-height: 390px;
  flex-direction: column;
  padding: 22px;
  border: 1px solid #deebf0;
  border-radius: 22px;
  background:
    radial-gradient(circle at 20% 0%, rgba(11, 191, 112, 0.08), transparent 34%),
    #fff;
  box-shadow: 0 18px 45px rgba(25, 42, 61, 0.09);
}

.review-person {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 20px;
}

.review-person img {
  width: 56px;
  height: 56px;
  border: 3px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(26, 43, 58, 0.16);
}

.review-person strong {
  display: block;
  margin-bottom: 4px;
  color: #1d2630;
  font-size: 17px;
}

.review-person span {
  display: block;
  margin: 0;
  color: #758397;
  font-size: 13px;
  font-weight: 800;
}

.stars {
  color: var(--yellow);
  letter-spacing: 2px;
  font-size: 18px;
}

.review-grid h3 {
  margin-top: 12px;
  font-size: 21px;
  line-height: 1.16;
}

.review-grid p {
  color: #4d5d70;
  line-height: 1.65;
}

.review-result {
  display: grid;
  gap: 7px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed #dce8ee;
}

.review-result span,
.review-meta span {
  width: fit-content;
  border-radius: 999px;
  padding: 5px 8px;
  background: #eefbf4;
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 1000;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.review-result p {
  margin: 0;
  color: #748397;
  font-size: 13px;
  line-height: 1.45;
}

.review-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed #dce8ee;
}

.review-meta span {
  background: #f2f6f8;
  color: #647388;
}

.stats {
  justify-content: center;
  gap: 0;
  padding-top: 48px;
  padding-bottom: 48px;
}

.stats div {
  min-width: 280px;
  padding: 0 42px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.stats div:last-child {
  border-right: none;
}

.stats strong {
  display: block;
  font-size: 56px;
  letter-spacing: 0;
}

.stats span {
  color: #a4afba;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

details {
  border-radius: 14px;
  background: #fff;
}

details[open] {
  background: var(--soft);
}

summary {
  cursor: pointer;
  padding: 22px 26px;
  font-weight: 900;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  float: right;
}

details[open] summary::after {
  content: "-";
}

details p {
  margin: 0;
  padding: 0 26px 24px;
  color: #4f6072;
  line-height: 1.65;
}

.final-cta {
  padding: 86px 24px;
  text-align: center;
  background: linear-gradient(180deg, #f8fafb, #fff);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.final-cta h2 {
  font-size: 32px;
}

.final-cta p {
  color: var(--muted);
  margin: 16px 0 26px;
}

.footer {
  max-width: var(--page);
  margin: 0 auto;
  padding: 86px 24px 120px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 80px;
}

.footer p,
.footer a {
  color: #59697c;
  line-height: 1.7;
}

.footer > div {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer strong {
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
}

@keyframes logoRun {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

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

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

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .editor-demo,
  .use-layout,
  .generator-layout,
  .proof-card,
  .price-grid,
  .review-grid,
  .footer {
    grid-template-columns: 1fr;
  }

  .proof-sidebar {
    border-left: none;
    border-top: 1px solid var(--line);
  }

  .stats {
    display: grid;
    grid-template-columns: 1fr;
  }

  .stats div {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 26px 0;
  }

  .stats div:last-child {
    border-bottom: none;
  }
}

@media (max-width: 640px) {
  .announcement {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .site-header {
    min-height: 66px;
  }

  .header-actions {
    display: none;
  }

  .section-grid {
    padding: 72px 18px;
  }

  .hero {
    padding-top: 44px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .generator-copy .primary-button {
    justify-self: stretch;
  }

  .generator-copy article {
    grid-template-columns: 38px 1fr;
    gap: 14px;
  }

  .generator-app {
    padding: 18px;
    border-radius: 20px;
  }

  .generator-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .demo-panel {
    min-height: 340px;
    padding: 16px;
  }

  .text-box {
    min-height: 240px;
  }

  .demo-lock {
    left: 14px;
    right: 14px;
    padding: 16px;
  }

  .uni-logo {
    height: 50px;
    min-width: 116px;
    padding: 8px 14px;
    font-size: 14px;
  }

  .uni-logo img {
    width: 28px;
    height: 28px;
  }

  .uni-logo-wide img {
    width: 48px;
    height: 28px;
  }

  .rewrite-scene {
    min-height: 520px;
    perspective: none;
  }

  .rewrite-scene::before {
    inset: 54px 14px 18px;
    border-radius: 22px;
    transform: none;
  }

  .rewrite-scene::after {
    top: 98px;
    bottom: 54px;
    left: 6%;
    width: 42%;
    filter: blur(18px);
  }

  .rewrite-card {
    width: calc(100% - 32px);
    left: 16px;
    right: auto;
    min-height: 180px;
  }

  .rewrite-card-before {
    top: 72px;
  }

  .rewrite-card-after {
    bottom: 24px;
  }

  .rewrite-scene.is-before-active .rewrite-card-before,
  .rewrite-scene.is-after-active .rewrite-card-after,
  .rewrite-scene.is-before-active .rewrite-card-after,
  .rewrite-scene.is-after-active .rewrite-card-before {
    transform: none;
  }

  .rewrite-scene.is-before-active .rewrite-card-after,
  .rewrite-scene.is-after-active .rewrite-card-before {
    opacity: 0.72;
    filter: none;
    transform: translateY(14px) scale(0.97);
  }

  .rewrite-stage-label {
    top: 22px;
    width: calc(100% - 32px);
    justify-content: center;
    gap: 8px;
    font-size: 10px;
  }

  .rewrite-stage-label i {
    width: 24px;
  }

  .floating-note {
    display: none;
  }

  .rewrite-progress {
    bottom: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .logo-track {
    animation: none;
    transform: translateX(0);
  }

  .rewrite-scene::after {
    animation: none;
  }

  .rewrite-card {
    transition: none;
  }
}
