:root {
        color-scheme: light;
        --ink: #1A1F3D;
        --muted: #5f6477;
        --soft: #8a8fa3;
        --coral: #FF6B6B;
        --sun: #FFC845;
        --lavender: #A78BFA;
        --navy: #1A1F3D;
        --cream: #FFF5E6;
        --violet: var(--lavender);
        --violet-dark: #8B6EF2;
        --pink: var(--coral);
        --cyan: #00d1b2;
        --amber: var(--sun);
        --paper: #fffdf8;
        --surface: rgba(255, 255, 255, 0.76);
        --line: rgba(20, 22, 45, 0.09);
        --brand-gradient: linear-gradient(150deg, var(--coral) 4%, #ff7f68 42%, var(--sun) 94%);
        --shadow: 0 24px 70px rgba(82, 57, 125, 0.16);
        --radius: 8px;
      }

      * {
        box-sizing: border-box;
      }

      html {
        min-width: 320px;
        background: var(--cream);
        scroll-behavior: smooth;
      }

      body {
        margin: 0;
        min-height: 100vh;
        font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        color: var(--ink);
        background:
          radial-gradient(circle at 83% 12%, rgba(255, 200, 69, 0.26), transparent 30%),
          radial-gradient(circle at 14% 18%, rgba(255, 107, 107, 0.18), transparent 29%),
          radial-gradient(circle at 84% 84%, rgba(167, 139, 250, 0.16), transparent 28%),
          linear-gradient(132deg, #fff5e6 0%, #fffdf8 43%, #fff7ed 100%);
      }

      body::before {
        position: fixed;
        inset: 0;
        z-index: -1;
        pointer-events: none;
        content: "";
        background-image:
          linear-gradient(rgba(255, 107, 107, 0.045) 1px, transparent 1px),
          linear-gradient(90deg, rgba(255, 200, 69, 0.052) 1px, transparent 1px);
        background-size: 44px 44px;
        mask-image: radial-gradient(circle at 78% 45%, #000 0 34%, transparent 72%);
      }

      body::after {
        position: fixed;
        inset: auto -12% -24% 34%;
        z-index: -1;
        height: 46vh;
        pointer-events: none;
        content: "";
        background: radial-gradient(ellipse, rgba(255, 200, 69, 0.22), transparent 62%);
        filter: blur(26px);
      }

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

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

      .sr-only {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
      }

      .page {
        position: relative;
        overflow: hidden;
        min-height: 100vh;
        padding: 28px clamp(20px, 4.8vw, 72px) 30px;
      }

      .page::before,
      .page::after {
        position: absolute;
        z-index: 0;
        pointer-events: none;
        content: "";
      }

      .page::before {
        top: 132px;
        left: -54px;
        width: 230px;
        height: 230px;
        border: 1px solid rgba(255, 107, 107, 0.12);
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.18);
      }

      .page::after {
        right: clamp(18px, 7vw, 120px);
        top: 128px;
        width: 42px;
        height: 42px;
        background: linear-gradient(135deg, var(--pink), var(--amber));
        clip-path: polygon(50% 0, 61% 38%, 100% 50%, 61% 62%, 50% 100%, 39% 62%, 0 50%, 39% 38%);
        filter: drop-shadow(0 16px 28px rgba(255, 107, 107, 0.22));
        transform: rotate(12deg);
      }

      .skip-link {
        position: absolute;
        top: 12px;
        left: 12px;
        z-index: 20;
        transform: translateY(-140%);
        padding: 10px 14px;
        border-radius: var(--radius);
        background: var(--ink);
        color: #fff;
        font-weight: 700;
      }

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

      .site-header {
        position: relative;
        z-index: 3;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 28px;
        max-width: 1540px;
        margin: 0 auto;
      }

      .brand {
        display: inline-flex;
        align-items: center;
        gap: 13px;
        color: var(--navy);
        font-family: Poppins, Inter, sans-serif;
        font-weight: 800;
        letter-spacing: 0;
        font-size: 29px;
      }

      .brand-mark {
        position: relative;
        display: grid;
        width: 46px;
        height: 46px;
        place-items: center;
        flex: 0 0 auto;
        border: 1px solid rgba(255, 255, 255, 0.86);
        border-radius: 14px;
        background:
          linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 245, 230, 0.9)),
          radial-gradient(circle at 78% 16%, rgba(255, 200, 69, 0.35), transparent 34%);
        box-shadow: 0 14px 28px rgba(255, 107, 107, 0.14);
      }

      .brand-mark::before {
        position: absolute;
        inset: 0;
        content: "S";
        color: transparent;
        background: var(--brand-gradient);
        background-clip: text;
        -webkit-background-clip: text;
        filter: drop-shadow(0 8px 12px rgba(255, 107, 107, 0.14));
        font-family: Poppins, Inter, sans-serif;
        font-size: 38px;
        font-weight: 900;
        line-height: 46px;
        text-align: center;
      }

      .brand-mark span {
        position: absolute;
        z-index: 1;
        display: block;
      }

      .brand-mark span:nth-child(1),
      .brand-mark span:nth-child(2) {
        border-radius: 999px;
      }

      .brand-mark span:nth-child(1) {
        top: 8px;
        right: 5px;
        width: 12px;
        height: 12px;
        background: var(--sun);
        clip-path: polygon(50% 0, 61% 38%, 100% 50%, 61% 62%, 50% 100%, 39% 62%, 0 50%, 39% 38%);
      }

      .brand-mark span:nth-child(2) {
        right: 8px;
        bottom: 11px;
        width: 5px;
        height: 5px;
        background: var(--lavender);
      }

      .brand-mark span:nth-child(3) {
        display: none;
      }

      .nav {
        display: flex;
        align-items: center;
        gap: clamp(22px, 4vw, 58px);
        font-size: 15px;
        font-weight: 700;
      }

      .nav a {
        color: rgba(26, 31, 61, 0.88);
      }

      .header-actions {
        display: flex;
        align-items: center;
        gap: 22px;
        font-size: 15px;
        font-weight: 700;
      }

      .privacy-pill {
        display: inline-flex;
        align-items: center;
        min-height: 38px;
        padding: 0 14px;
        border: 1px solid rgba(26, 31, 61, 0.08);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.54);
        color: var(--muted);
      }

      .button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        min-height: 54px;
        border: 0;
        border-radius: var(--radius);
        background: var(--brand-gradient);
        color: #fff;
        box-shadow: 0 18px 38px rgba(255, 107, 107, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.32);
        font: inherit;
        font-weight: 800;
        cursor: pointer;
      }

      .button.header-cta {
        min-height: 50px;
        padding: 0 24px;
      }

      .hero {
        position: relative;
        z-index: 1;
        display: grid;
        grid-template-columns: minmax(0, 0.9fr) minmax(530px, 1.1fr);
        align-items: center;
        gap: clamp(20px, 4vw, 70px);
        max-width: 1540px;
        min-height: calc(100vh - 138px);
        margin: 0 auto;
        padding-top: clamp(24px, 4.5vh, 60px);
      }

      body.has-pdf .hero {
        display: none;
      }

      .hero-copy {
        position: relative;
        z-index: 2;
        max-width: 650px;
      }

      .hero-copy::after {
        position: absolute;
        right: min(8%, 36px);
        bottom: 18px;
        width: 112px;
        height: 42px;
        pointer-events: none;
        content: "";
        border-bottom: 3px solid rgba(255, 107, 107, 0.28);
        border-radius: 50%;
        transform: rotate(-12deg);
      }

      .eyebrow {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 18px;
        padding: 12px 18px;
        border: 1px solid rgba(255, 107, 107, 0.16);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.72);
        color: #d84f4f;
        box-shadow: 0 12px 36px rgba(255, 107, 107, 0.09);
        font-weight: 700;
      }

      .eyebrow svg {
        flex: 0 0 auto;
        width: 22px;
        height: 22px;
        color: var(--coral);
      }

      h1 {
        margin: 0;
        max-width: 710px;
        font-family: Poppins, Inter, sans-serif;
        font-size: clamp(50px, 5.8vw, 92px);
        line-height: 1.02;
        letter-spacing: 0;
      }

      .gradient-word {
        display: block;
        padding-bottom: 0.08em;
        color: transparent;
        background: linear-gradient(120deg, var(--coral) 5%, #ff8f6b 45%, var(--sun) 92%);
        background-clip: text;
        -webkit-background-clip: text;
      }

      .lead {
        max-width: 570px;
        margin: 22px 0 0;
        color: var(--muted);
        font-size: clamp(18px, 1.45vw, 23px);
        line-height: 1.52;
      }

      .trust-row {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1px;
        width: min(100%, 580px);
        margin: 24px 0 28px;
        overflow: hidden;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: var(--line);
      }

      .trust-item {
        display: grid;
        grid-template-columns: 38px 1fr;
        align-items: center;
        gap: 12px;
        min-width: 0;
        padding: 13px 15px;
        background: rgba(255, 255, 255, 0.6);
        backdrop-filter: blur(14px);
      }

      .trust-item svg {
        width: 38px;
        height: 38px;
        padding: 9px;
        border-radius: 50%;
        background: rgba(255, 107, 107, 0.1);
        color: var(--coral);
      }

      .trust-item strong {
        display: block;
        margin-bottom: 3px;
        font-size: 14px;
      }

      .trust-item span {
        display: block;
        color: var(--muted);
        font-size: 13px;
        line-height: 1.25;
      }

      .upload-box {
        display: grid;
        gap: 12px;
        width: min(100%, 330px);
      }

      .upload-button {
        position: relative;
        overflow: hidden;
        width: 100%;
        padding: 0 28px;
        font-size: 20px;
      }

      .upload-button::after {
        position: absolute;
        inset: 0;
        content: "";
        background: linear-gradient(110deg, transparent 0 32%, rgba(255, 255, 255, 0.26) 48%, transparent 64% 100%);
        transform: translateX(-120%);
      }

      .upload-button:hover::after {
        transform: translateX(120%);
        transition: transform 0.8s ease;
      }

      .upload-hint {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        color: var(--soft);
        font-size: 14px;
      }

      .rating {
        display: flex;
        align-items: center;
        gap: 18px;
        margin-top: 58px;
      }

      .faces {
        display: flex;
        flex: 0 0 auto;
      }

      .face {
        display: grid;
        width: 46px;
        height: 46px;
        margin-left: -10px;
        place-items: center;
        border: 3px solid #fff;
        border-radius: 50%;
        background: linear-gradient(140deg, #f2d2c6, #9ec7ed);
        box-shadow: 0 10px 24px rgba(14, 20, 48, 0.14);
        color: var(--ink);
        font-size: 18px;
        font-weight: 800;
      }

      .face:first-child {
        margin-left: 0;
      }

      .face:nth-child(2) {
        background: linear-gradient(140deg, #ffd5cf, #FF6B6B);
        color: #fff;
      }

      .face:nth-child(3) {
        background: linear-gradient(140deg, #fff1bf, #FFC845);
        color: #fff;
      }

      .stars {
        color: var(--amber);
        font-size: 20px;
        letter-spacing: 0;
      }

      .rating p {
        margin: 4px 0 0;
        color: var(--muted);
        line-height: 1.5;
      }

      .hero-art {
        position: relative;
        min-width: 0;
        align-self: stretch;
        display: grid;
        align-items: center;
        isolation: isolate;
      }

      .hero-art::before {
        position: absolute;
        inset: 13% -8% 16% 3%;
        z-index: -2;
        content: "";
        border: 1px solid rgba(255, 255, 255, 0.7);
        border-radius: 34px;
        background:
          linear-gradient(135deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.16)),
          radial-gradient(circle at 76% 24%, rgba(255, 200, 69, 0.24), transparent 38%),
          radial-gradient(circle at 34% 76%, rgba(255, 107, 107, 0.14), transparent 34%);
        box-shadow: 0 34px 100px rgba(255, 107, 107, 0.13);
        backdrop-filter: blur(16px);
      }

      .hero-art::after {
        position: absolute;
        right: 4%;
        top: 23%;
        z-index: -1;
        width: min(62vw, 660px);
        aspect-ratio: 1.9;
        content: "";
        border: 2px solid rgba(255, 107, 107, 0.16);
        border-top-color: rgba(255, 200, 69, 0.42);
        border-left-color: transparent;
        border-radius: 50%;
        transform: rotate(-12deg);
      }

      .hero-workflow {
        position: relative;
        display: grid;
        gap: 22px;
        min-height: 560px;
        margin-right: clamp(-40px, -3vw, -16px);
        padding: clamp(22px, 3vw, 34px);
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.76);
        border-radius: 24px;
        background:
          linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.54)),
          radial-gradient(circle at 84% 12%, rgba(255, 200, 69, 0.22), transparent 30%),
          radial-gradient(circle at 18% 88%, rgba(255, 107, 107, 0.14), transparent 28%);
        box-shadow: 0 34px 90px rgba(255, 107, 107, 0.14);
        backdrop-filter: blur(18px);
        transform: translateY(10px);
      }

      .hero-workflow::before,
      .hero-workflow::after {
        position: absolute;
        pointer-events: none;
        content: "";
      }

      .hero-workflow::before {
        right: -11%;
        top: 13%;
        width: 62%;
        aspect-ratio: 1;
        border: 2px solid rgba(255, 107, 107, 0.14);
        border-left-color: transparent;
        border-radius: 50%;
        transform: rotate(-18deg);
      }

      .hero-workflow::after {
        left: 8%;
        bottom: 8%;
        width: 70%;
        height: 30%;
        background: radial-gradient(ellipse, rgba(255, 200, 69, 0.2), transparent 68%);
        filter: blur(22px);
      }

      .workflow-top,
      .workflow-main,
      .workflow-result {
        position: relative;
        z-index: 1;
      }

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

      .workflow-file {
        display: grid;
        grid-template-columns: 42px 1fr;
        align-items: center;
        gap: 12px;
        min-width: 0;
      }

      .workflow-file svg {
        width: 42px;
        height: 42px;
        padding: 10px;
        border-radius: 12px;
        background: var(--brand-gradient);
        color: #fff;
        box-shadow: 0 14px 26px rgba(255, 107, 107, 0.22);
      }

      .workflow-file strong,
      .workflow-file span,
      .workflow-result strong,
      .workflow-result span {
        display: block;
      }

      .workflow-file strong {
        overflow: hidden;
        font-size: 16px;
        text-overflow: ellipsis;
        white-space: nowrap;
      }

      .workflow-file span,
      .workflow-step,
      .workflow-result span {
        color: var(--muted);
        font-size: 13px;
        font-weight: 700;
      }

      .workflow-step {
        padding: 10px 13px;
        border: 1px solid rgba(26, 31, 61, 0.08);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.68);
        white-space: nowrap;
      }

      .workflow-main {
        display: grid;
        grid-template-columns: minmax(190px, 0.82fr) minmax(250px, 1.18fr);
        gap: clamp(18px, 3vw, 30px);
        align-items: center;
      }

      .workflow-sheet {
        position: relative;
        min-height: 360px;
        padding: 22px;
        border: 1px solid rgba(26, 31, 61, 0.08);
        border-radius: 14px;
        background: #fff;
        box-shadow: 0 24px 50px rgba(64, 46, 128, 0.15);
        transform: rotate(-3deg);
      }

      .workflow-sheet::before {
        position: absolute;
        right: 18px;
        top: 18px;
        padding: 5px 7px;
        border-radius: 6px;
        background: #ff4f68;
        color: #fff;
        content: "PDF";
        font-size: 11px;
        font-weight: 800;
      }

      .sheet-number {
        display: block;
        margin-bottom: 18px;
        color: var(--coral);
        font-family: Poppins, Inter, sans-serif;
        font-size: 54px;
        font-weight: 800;
        line-height: 1;
      }

      .sheet-image {
        height: 118px;
        margin: 18px 0;
        border-radius: 10px;
        background:
          linear-gradient(135deg, rgba(255, 200, 69, 0.12), rgba(255, 107, 107, 0.1)),
          linear-gradient(145deg, transparent 45%, rgba(255, 107, 107, 0.56) 46% 70%, transparent 71%),
          linear-gradient(35deg, transparent 38%, rgba(255, 200, 69, 0.7) 39% 68%, transparent 69%);
      }

      .sheet-lines {
        display: grid;
        gap: 9px;
      }

      .sheet-lines span {
        height: 8px;
        border-radius: 999px;
        background: rgba(255, 107, 107, 0.12);
      }

      .sheet-lines span:nth-child(2) {
        width: 78%;
      }

      .sheet-lines span:nth-child(3) {
        width: 56%;
      }

      .workflow-pages {
        display: grid;
        gap: 14px;
      }

      .page-selection {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        gap: 12px;
        padding: 13px 14px;
        border: 1px solid rgba(26, 31, 61, 0.08);
        border-radius: var(--radius);
        background: rgba(255, 255, 255, 0.72);
        box-shadow: 0 16px 34px rgba(64, 46, 128, 0.1);
      }

      .page-selection strong {
        display: block;
        margin-bottom: 3px;
        font-size: 15px;
      }

      .page-selection span {
        color: var(--muted);
        font-size: 13px;
      }

      .selection-count {
        display: grid;
        min-width: 46px;
        min-height: 46px;
        place-items: center;
        border-radius: 14px;
        background: rgba(255, 200, 69, 0.18);
        color: #088b78;
        font-weight: 800;
      }

      .mini-pages {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 12px;
      }

      .mini-page {
        position: relative;
        min-height: 128px;
        padding: 12px 10px;
        border: 1px solid rgba(26, 31, 61, 0.08);
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.78);
        box-shadow: 0 18px 36px rgba(64, 46, 128, 0.1);
      }

      .mini-page strong {
        display: block;
        color: var(--coral);
        font-size: 24px;
        line-height: 1;
      }

      .mini-page span {
        display: block;
        height: 6px;
        margin-top: 10px;
        border-radius: 999px;
        background: rgba(255, 200, 69, 0.2);
      }

      .mini-page span:nth-child(3) {
        width: 72%;
      }

      .mini-page span:nth-child(4) {
        width: 52%;
      }

      .mini-page.is-kept {
        border-color: rgba(255, 107, 107, 0.28);
        box-shadow: 0 18px 36px rgba(255, 107, 107, 0.12);
      }

      .mini-page.is-kept::after,
      .mini-page.is-removed::after {
        position: absolute;
        right: 10px;
        top: 10px;
        display: grid;
        width: 22px;
        height: 22px;
        place-items: center;
        border-radius: 50%;
        color: #fff;
        font-size: 13px;
        font-weight: 900;
      }

      .mini-page.is-kept::after {
        background: #15c59e;
        content: "✓";
      }

      .mini-page.is-removed {
        opacity: 0.58;
      }

      .mini-page.is-removed::after {
        background: #ff4f68;
        content: "×";
      }

      .workflow-result {
        display: grid;
        grid-template-columns: 52px 1fr auto;
        align-items: center;
        gap: 14px;
        width: min(100%, 520px);
        margin-left: auto;
        padding: 15px 16px;
        border: 1px solid rgba(255, 255, 255, 0.72);
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.76);
        box-shadow: var(--shadow);
        backdrop-filter: blur(18px);
      }

      .workflow-result svg {
        width: 52px;
        height: 52px;
        padding: 13px;
        border-radius: 50%;
        background: rgba(255, 200, 69, 0.18);
        color: #09a98f;
      }

      .result-action {
        padding: 11px 14px;
        border: 1px solid rgba(255, 255, 255, 0.4);
        border-radius: var(--radius);
        background: var(--brand-gradient);
        color: #fff;
        font-size: 13px;
        font-weight: 800;
        box-shadow: 0 12px 26px rgba(255, 107, 107, 0.22);
        white-space: nowrap;
      }

      .feature-strip {
        position: relative;
        z-index: 4;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1px;
        max-width: 900px;
        margin: 18px 0 0 auto;
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.68);
        border-radius: var(--radius);
        background: rgba(26, 31, 61, 0.08);
        box-shadow: 0 18px 60px rgba(255, 107, 107, 0.1);
      }

      .feature-card {
        display: grid;
        grid-template-columns: 44px 1fr;
        align-items: center;
        gap: 14px;
        min-height: 96px;
        padding: 16px 22px;
        background: rgba(255, 255, 255, 0.64);
        backdrop-filter: blur(18px);
      }

      .feature-card svg {
        width: 44px;
        height: 44px;
        padding: 11px;
        border-radius: 50%;
        background: rgba(255, 107, 107, 0.1);
        color: var(--ink);
      }

      .feature-card strong {
        display: block;
        margin-bottom: 3px;
        font-size: 15px;
      }

      .feature-card span {
        color: var(--muted);
        font-size: 14px;
      }

      .workspace {
        position: relative;
        z-index: 5;
        max-width: 1540px;
        margin: clamp(28px, 5vw, 64px) auto 0;
      }

      body.has-pdf .workspace {
        max-width: 1680px;
        min-height: calc(100vh - 118px);
        margin-top: clamp(26px, 4vh, 46px);
      }

      .workspace[hidden] {
        display: none;
      }

      .workspace-shell {
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.72);
        border-radius: 18px;
        background:
          linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.62)),
          radial-gradient(circle at 84% 10%, rgba(255, 200, 69, 0.13), transparent 32%);
        box-shadow: 0 28px 90px rgba(255, 107, 107, 0.11);
        backdrop-filter: blur(20px);
      }

      body.has-pdf .workspace-shell {
        min-height: calc(100vh - 150px);
      }

      .workspace-top {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 22px;
        align-items: center;
        padding: clamp(18px, 3vw, 30px);
        border-bottom: 1px solid var(--line);
        background: rgba(255, 255, 255, 0.42);
      }

      .file-kicker {
        margin: 0 0 7px;
        color: #d84f4f;
        font-size: 13px;
        font-weight: 800;
        text-transform: uppercase;
      }

      .workspace-title {
        margin: 0;
        font-family: Poppins, Inter, sans-serif;
        font-size: clamp(26px, 3vw, 42px);
        line-height: 1.05;
      }

      .workspace-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin: 14px 0 0;
        color: var(--muted);
        font-weight: 600;
      }

      .meta-pill {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        min-height: 34px;
        padding: 0 12px;
        border: 1px solid rgba(255, 107, 107, 0.13);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.58);
      }

      .process-feedback {
        width: min(100%, 620px);
        margin-top: 16px;
        padding: 12px 14px;
        border: 1px solid rgba(255, 107, 107, 0.13);
        border-radius: 12px;
        background:
          linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 245, 230, 0.7)),
          radial-gradient(circle at 8% 50%, rgba(255, 200, 69, 0.15), transparent 34%);
      }

      .process-feedback[hidden] {
        display: none;
      }

      .process-feedback-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        margin-bottom: 9px;
        font-size: 13px;
        font-weight: 900;
      }

      .process-feedback-top span:first-child {
        color: var(--ink);
      }

      .process-feedback-top span:last-child {
        color: var(--muted);
        text-align: right;
      }

      .process-track {
        overflow: hidden;
        height: 8px;
        border-radius: 999px;
        background: rgba(255, 107, 107, 0.11);
      }

      .process-track span {
        display: block;
        width: 0%;
        height: 100%;
        border-radius: inherit;
        background: linear-gradient(90deg, var(--coral), var(--sun));
        transition: width 0.22s ease;
      }

      .workspace-actions {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 10px;
        max-width: 620px;
      }

      .tool-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-height: 44px;
        padding: 0 15px;
        border: 1px solid rgba(26, 31, 61, 0.1);
        border-radius: var(--radius);
        background: rgba(255, 255, 255, 0.72);
        color: var(--ink);
        box-shadow: 0 10px 28px rgba(64, 46, 128, 0.08);
        font: inherit;
        font-weight: 800;
        cursor: pointer;
      }

      .tool-button:disabled,
      .button:disabled {
        cursor: not-allowed;
        opacity: 0.48;
        box-shadow: none;
      }

      .save-button {
        min-height: 44px;
        padding: 0 18px;
      }

      .workspace-body {
        padding: clamp(18px, 3vw, 30px);
      }

      body.has-pdf .workspace-body {
        padding-top: clamp(20px, 2.5vw, 34px);
      }

      .drop-panel {
        display: grid;
        min-height: 210px;
        place-items: center;
        border: 1.5px dashed rgba(255, 107, 107, 0.32);
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.48);
        text-align: center;
      }

      .drop-panel.is-hidden {
        display: none;
      }

      .drop-panel.is-dragging,
      body.is-dragging .drop-panel:not(.is-hidden) {
        border-color: var(--coral);
        background: rgba(255, 107, 107, 0.08);
      }

      .drop-panel svg {
        width: 46px;
        height: 46px;
        margin: 0 auto 12px;
        padding: 10px;
        border-radius: 50%;
        background: rgba(255, 107, 107, 0.1);
        color: var(--coral);
      }

      .drop-panel strong {
        display: block;
        margin-bottom: 6px;
        font-size: 20px;
      }

      .drop-panel span {
        color: var(--muted);
      }

      .editor-panel {
        display: none;
      }

      .editor-panel.is-active {
        display: block;
      }

      .editor-status {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 16px;
        align-items: center;
        margin-bottom: 20px;
      }

      .status-line {
        margin: 0;
        color: var(--muted);
        font-weight: 600;
      }

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

      .edit-recap {
        display: flex;
        flex-wrap: wrap;
        grid-column: 1 / -1;
        gap: 8px;
      }

      .edit-recap[hidden] {
        display: none;
      }

      .edit-recap span {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        min-height: 32px;
        padding: 0 10px;
        border: 1px solid rgba(26, 31, 61, 0.07);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.62);
        color: var(--muted);
        font-size: 13px;
        font-weight: 800;
      }

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

      .quick-actions {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 10px;
      }

      .edit-hint {
        margin: 0;
        color: var(--muted);
        font-size: 14px;
        font-weight: 800;
        line-height: 1.45;
      }

      .pages-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 22px;
      }

      .page-card {
        position: relative;
        display: grid;
        gap: 10px;
        min-width: 0;
        padding: 12px;
        border: 1px solid rgba(26, 31, 61, 0.09);
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.72);
        box-shadow: 0 14px 34px rgba(64, 46, 128, 0.08);
        cursor: pointer;
        transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, opacity 0.16s ease;
      }

      .page-card:hover {
        transform: translateY(-2px);
        border-color: rgba(167, 139, 250, 0.28);
        box-shadow: 0 20px 42px rgba(64, 46, 128, 0.12);
      }

      .page-card.is-dragging {
        opacity: 0.52;
        transform: scale(0.98);
      }

      .order-card {
        cursor: grab;
      }

      .order-card:active {
        cursor: grabbing;
      }

      .page-card.is-removed {
        border-color: rgba(239, 68, 68, 0.18);
        background: rgba(255, 255, 255, 0.48);
        opacity: 0.62;
      }

      .page-card.is-removed::after {
        position: absolute;
        inset: 10px;
        display: grid;
        place-items: center;
        border-radius: 10px;
        background: linear-gradient(180deg, rgba(26, 31, 61, 0.42), rgba(26, 31, 61, 0.5));
        color: #fff;
        content: "Fuera del PDF final";
        font-weight: 900;
        text-align: center;
      }

      .page-thumb {
        display: grid;
        height: 330px;
        place-items: center;
        overflow: hidden;
        border-radius: 9px;
        background:
          linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(247, 244, 255, 0.92)),
          radial-gradient(circle at 50% 12%, rgba(167, 139, 250, 0.12), transparent 44%);
        box-shadow: inset 0 0 0 1px rgba(167, 139, 250, 0.08);
        padding: 14px;
      }

      .page-thumb canvas {
        display: block;
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        border-radius: 4px;
        background: #fff;
        box-shadow: 0 16px 32px rgba(64, 46, 128, 0.14);
      }

      .page-card.is-landscape .page-thumb {
        height: 238px;
      }

      .page-preview-fallback {
        display: grid;
        width: min(100%, 148px);
        min-height: 190px;
        place-items: center;
        padding: 16px 10px;
        border: 1px solid rgba(167, 139, 250, 0.13);
        border-radius: 8px;
        background: #fff;
        box-shadow: 0 16px 32px rgba(64, 46, 128, 0.1);
        color: var(--violet);
        font-family: Poppins, Inter, sans-serif;
        font-size: 40px;
        font-weight: 800;
      }

      .page-paper {
        display: grid;
        width: min(100%, 142px);
        min-height: 174px;
        place-items: center;
        padding: 16px 10px;
        border: 1px solid rgba(167, 139, 250, 0.13);
        border-radius: 8px;
        background:
          linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 244, 255, 0.95)),
          repeating-linear-gradient(180deg, transparent 0 22px, rgba(167, 139, 250, 0.08) 23px 24px);
        box-shadow: 0 16px 32px rgba(64, 46, 128, 0.1);
      }

      .page-paper span {
        justify-self: start;
        align-self: start;
        padding: 4px 7px;
        border-radius: 5px;
        background: #ef4444;
        color: #fff;
        font-size: 11px;
        font-weight: 900;
      }

      .page-paper strong {
        color: var(--violet);
        font-family: Poppins, Inter, sans-serif;
        font-size: 42px;
        line-height: 1;
      }

      .page-paper small {
        align-self: end;
        color: var(--soft);
        font-size: 11px;
        font-weight: 800;
      }

      .page-loading {
        color: var(--soft);
        font-size: 13px;
        font-weight: 800;
        text-align: center;
      }

      .page-foot {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px;
        align-items: center;
      }

      .page-name {
        min-width: 0;
        color: var(--ink);
        font-weight: 900;
      }

      .page-action {
        position: relative;
        z-index: 2;
        min-height: 34px;
        padding: 0 10px;
        border: 0;
        border-radius: var(--radius);
        background: rgba(167, 139, 250, 0.1);
        color: var(--violet-dark);
        font: inherit;
        font-size: 13px;
        font-weight: 900;
        cursor: pointer;
      }

      .page-card.is-removed .page-action {
        background: rgba(0, 209, 178, 0.14);
        color: #087b69;
      }

      .order-foot {
        align-items: stretch;
      }

      .order-actions {
        display: flex;
        gap: 6px;
        justify-content: flex-end;
      }

      .order-actions .page-action {
        min-width: 36px;
      }

      .order-actions .page-action:disabled {
        opacity: 0.42;
        cursor: not-allowed;
      }

      .empty-warning {
        display: none;
        margin: 18px 0 0;
        padding: 14px 16px;
        border: 1px solid rgba(255, 107, 107, 0.18);
        border-radius: var(--radius);
        background: rgba(255, 107, 107, 0.08);
        color: #8b1c52;
        font-weight: 800;
      }

      .empty-warning.is-visible {
        display: block;
      }

      .save-celebration {
        position: fixed;
        inset: 0;
        z-index: 30;
        display: grid;
        place-items: center;
        padding: 24px;
        background:
          radial-gradient(circle at 50% 46%, rgba(167, 139, 250, 0.18), transparent 34%),
          rgba(26, 31, 61, 0.22);
        backdrop-filter: blur(10px);
      }

      .save-celebration[hidden] {
        display: none;
      }

      .save-celebration-card {
        position: relative;
        display: grid;
        justify-items: center;
        width: min(100%, 470px);
        overflow: hidden;
        padding: 34px 28px 26px;
        border: 1px solid rgba(255, 255, 255, 0.74);
        border-radius: 22px;
        background:
          linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.74)),
          radial-gradient(circle at 82% 14%, rgba(167, 139, 250, 0.2), transparent 32%),
          radial-gradient(circle at 18% 92%, rgba(0, 209, 178, 0.16), transparent 34%);
        box-shadow: 0 34px 90px rgba(42, 27, 94, 0.28);
        text-align: center;
      }

      .save-celebration-card::before,
      .save-celebration-card::after {
        position: absolute;
        pointer-events: none;
        content: "";
      }

      .save-celebration-card::before {
        inset: 14px;
        border: 1px solid rgba(167, 139, 250, 0.09);
        border-radius: 18px;
      }

      .save-celebration-card::after {
        width: 170px;
        height: 170px;
        right: -52px;
        top: -58px;
        background:
          linear-gradient(135deg, var(--pink), var(--amber));
        clip-path: polygon(50% 0, 61% 38%, 100% 50%, 61% 62%, 50% 100%, 39% 62%, 0 50%, 39% 38%);
        opacity: 0.12;
        transform: rotate(18deg);
      }

      .celebration-mark {
        position: relative;
        display: grid;
        width: 96px;
        height: 96px;
        place-items: center;
        margin-bottom: 18px;
        border-radius: 28px;
        background:
          linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(247, 244, 255, 0.92)),
          radial-gradient(circle at 52% 68%, rgba(0, 209, 178, 0.2), transparent 42%);
        box-shadow: 0 20px 45px rgba(64, 46, 128, 0.16);
      }

      .mini-brand {
        width: 62px;
        height: 38px;
        transform: scale(0.94);
      }

      .celebration-check {
        position: absolute;
        right: 7px;
        bottom: 7px;
        display: grid;
        width: 32px;
        height: 32px;
        place-items: center;
        border: 3px solid #fff;
        border-radius: 50%;
        background: #12bf9c;
        color: #fff;
        font-size: 18px;
        font-weight: 900;
        box-shadow: 0 12px 24px rgba(0, 209, 178, 0.28);
      }

      .save-celebration.is-processing .celebration-check {
        background: var(--violet);
        color: transparent;
      }

      .save-celebration.is-processing .celebration-check::before {
        position: absolute;
        width: 13px;
        height: 13px;
        border: 3px solid rgba(255, 255, 255, 0.42);
        border-top-color: #fff;
        border-radius: 50%;
        content: "";
      }

      .save-celebration.is-error .celebration-check {
        background: #ff4f68;
        color: #fff;
      }

      .celebration-kicker {
        margin: 0 0 8px;
        color: var(--violet-dark);
        font-size: 13px;
        font-weight: 900;
        text-transform: uppercase;
      }

      .save-celebration h2 {
        margin: 0;
        font-family: Poppins, Inter, sans-serif;
        font-size: clamp(30px, 4vw, 42px);
        line-height: 1.04;
      }

      .celebration-text {
        max-width: 350px;
        margin: 12px 0 0;
        color: var(--muted);
        font-size: 16px;
        line-height: 1.48;
      }

      .celebration-meta {
        margin: 16px 0 0;
        padding: 9px 12px;
        border: 1px solid rgba(0, 209, 178, 0.18);
        border-radius: 999px;
        background: rgba(0, 209, 178, 0.1);
        color: #087b69;
        font-size: 13px;
        font-weight: 900;
      }

      .celebration-actions {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        width: 100%;
        margin-top: 24px;
      }

      .celebration-primary {
        min-height: 46px;
        padding: 0 18px;
      }

      .save-celebration.is-processing .celebration-actions {
        display: none;
      }

      .undo-toast {
        position: fixed;
        left: 50%;
        bottom: 22px;
        z-index: 32;
        display: flex;
        align-items: center;
        gap: 14px;
        max-width: min(calc(100vw - 28px), 520px);
        padding: 12px 13px 12px 16px;
        border: 1px solid rgba(255, 255, 255, 0.72);
        border-radius: 14px;
        background: rgba(26, 31, 61, 0.92);
        color: #fff;
        box-shadow: 0 22px 48px rgba(26, 31, 61, 0.24);
        transform: translateX(-50%);
        backdrop-filter: blur(14px);
      }

      .undo-toast[hidden] {
        display: none;
      }

      .undo-toast span {
        font-size: 14px;
        font-weight: 800;
      }

      .undo-toast button {
        min-height: 34px;
        padding: 0 11px;
        border: 0;
        border-radius: var(--radius);
        background: #fff;
        color: var(--violet-dark);
        font: inherit;
        font-size: 13px;
        font-weight: 900;
        cursor: pointer;
      }

      .merge-drop {
        display: grid;
        min-height: 270px;
        place-items: center;
        padding: 26px;
        border: 1px dashed rgba(255, 107, 107, 0.34);
        border-radius: 18px;
        background:
          linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 245, 230, 0.76)),
          radial-gradient(circle at 50% 0, rgba(255, 200, 69, 0.18), transparent 40%);
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42);
        color: var(--ink);
        cursor: pointer;
        text-align: center;
      }

      .merge-drop.is-dragging {
        border-color: var(--coral);
        box-shadow: inset 0 0 0 4px rgba(255, 107, 107, 0.12);
      }

      .merge-drop svg {
        width: 64px;
        height: 64px;
        margin-bottom: 16px;
        padding: 16px;
        border-radius: 18px;
        background: var(--brand-gradient);
        color: #fff;
        box-shadow: 0 20px 42px rgba(255, 107, 107, 0.22);
      }

      .merge-drop strong,
      .merge-drop span {
        display: block;
      }

      .merge-drop strong {
        font-family: Poppins, Inter, sans-serif;
        font-size: clamp(25px, 3vw, 36px);
        line-height: 1.08;
      }

      .merge-drop span {
        max-width: 430px;
        margin-top: 10px;
        color: var(--muted);
        line-height: 1.45;
      }

      .merge-list {
        display: grid;
        gap: 12px;
        margin-top: 18px;
      }

      .merge-card {
        display: grid;
        grid-template-columns: 48px minmax(0, 1fr) auto;
        align-items: center;
        gap: 14px;
        padding: 14px;
        border: 1px solid rgba(26, 31, 61, 0.08);
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.74);
        box-shadow: 0 16px 36px rgba(64, 46, 128, 0.08);
      }

      .merge-card-number {
        display: grid;
        width: 48px;
        height: 48px;
        place-items: center;
        border-radius: 15px;
        background: rgba(255, 107, 107, 0.12);
        color: var(--coral);
        font-family: Poppins, Inter, sans-serif;
        font-size: 20px;
        font-weight: 900;
      }

      .merge-card-body {
        min-width: 0;
      }

      .merge-card-body strong,
      .merge-card-body span {
        display: block;
      }

      .merge-card-body strong {
        overflow: hidden;
        color: var(--ink);
        font-weight: 900;
        text-overflow: ellipsis;
        white-space: nowrap;
      }

      .merge-card-body span {
        margin-top: 4px;
        color: var(--muted);
        font-size: 14px;
        font-weight: 700;
      }

      .merge-card-actions {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 8px;
      }

      .merge-card-actions button {
        min-height: 34px;
        padding: 0 11px;
        border: 0;
        border-radius: var(--radius);
        background: rgba(167, 139, 250, 0.1);
        color: var(--violet-dark);
        font: inherit;
        font-size: 13px;
        font-weight: 900;
        cursor: pointer;
      }

      .merge-card-actions button:disabled {
        opacity: 0.42;
        cursor: not-allowed;
      }

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

        .hero {
          grid-template-columns: 1fr;
          min-height: auto;
          padding-top: 54px;
        }

        .hero-copy {
          max-width: 780px;
        }

        .hero-workflow {
          margin: 0;
        }

        .feature-strip {
          margin: 18px auto 0;
        }

        .workspace-top {
          grid-template-columns: 1fr;
        }

        .workspace-actions,
        .quick-actions {
          justify-content: flex-start;
        }
      }

      @media (max-width: 760px) {
        .page {
          padding: 20px 18px 24px;
        }

        .page::after,
        .hero-copy::after {
          display: none;
        }

        .site-header {
          gap: 16px;
        }

        .brand {
          font-size: 23px;
        }

        .privacy-pill {
          display: none;
        }

        .button.header-cta {
          min-height: 44px;
          padding: 0 16px;
          font-size: 14px;
        }

        .hero {
          gap: 22px;
          padding-top: 42px;
        }

        .eyebrow {
          margin-bottom: 20px;
          padding: 10px 14px;
          font-size: 14px;
        }

        h1 {
          font-size: clamp(45px, 16vw, 72px);
        }

        .lead {
          margin-top: 22px;
        }

        .trust-row {
          grid-template-columns: 1fr;
          margin: 26px 0 30px;
        }

        .trust-item {
          padding: 13px 14px;
        }

        .rating {
          margin-top: 34px;
        }

        .hero-art {
          margin-inline: -18px;
        }

        .hero-art::before {
          inset: 12% 5% 12%;
          border-radius: 24px;
        }

        .hero-workflow {
          transform: none;
          min-height: auto;
          padding: 18px;
          border-radius: 20px;
        }

        .workflow-top {
          align-items: stretch;
          flex-direction: column;
        }

        .workflow-step {
          white-space: normal;
        }

        .workflow-main {
          grid-template-columns: 1fr;
        }

        .workflow-sheet {
          min-height: 230px;
          transform: none;
        }

        .sheet-image {
          height: 80px;
        }

        .mini-pages {
          grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .workflow-result {
          grid-template-columns: 44px 1fr;
          width: 100%;
        }

        .result-action {
          grid-column: 1 / -1;
          text-align: center;
        }

        .feature-strip {
          grid-template-columns: 1fr;
          margin-top: 16px;
        }

        .workspace {
          margin-top: 32px;
        }

        .workspace-shell {
          border-radius: 14px;
        }

        .workspace-actions,
        .quick-actions,
        .editor-status {
          display: grid;
          grid-template-columns: 1fr;
        }

        .process-feedback-top {
          display: grid;
          gap: 4px;
        }

        .process-feedback-top span:last-child {
          text-align: left;
        }

        .edit-recap {
          gap: 6px;
        }

        .edit-recap span {
          flex: 1 1 calc(50% - 6px);
          justify-content: center;
        }

        .tool-button,
        .save-button {
          width: 100%;
        }

        .pages-grid {
          grid-template-columns: repeat(2, minmax(0, 1fr));
          gap: 12px;
        }

        .page-card {
          padding: 8px;
        }

        .page-thumb {
          height: 238px;
        }

        .page-card.is-landscape .page-thumb {
          height: 168px;
        }

        .page-foot {
          grid-template-columns: 1fr;
        }

        .order-actions {
          justify-content: stretch;
        }

        .order-actions .page-action {
          flex: 1;
        }

        .merge-card {
          grid-template-columns: 44px minmax(0, 1fr);
        }

        .merge-card-actions {
          grid-column: 1 / -1;
          justify-content: stretch;
        }

        .merge-card-actions button {
          flex: 1 1 auto;
        }

        .undo-toast {
          bottom: 12px;
          display: grid;
          grid-template-columns: 1fr auto;
          width: calc(100vw - 24px);
        }
      }

      @media (max-width: 480px) {
        .pages-grid {
          grid-template-columns: 1fr;
          gap: 14px;
          max-width: 430px;
          margin-inline: auto;
        }

        .page-thumb {
          height: min(68vh, 430px);
          min-height: 330px;
          padding: 12px;
        }

        .page-card.is-landscape .page-thumb {
          height: min(54vw, 240px);
          min-height: 190px;
        }

        .brand-mark {
          width: 48px;
          transform: scale(0.9);
          transform-origin: left center;
        }

        .header-actions {
          gap: 10px;
        }

        .button.header-cta {
          padding: 0 13px;
        }

        .upload-box {
          width: 100%;
        }

        .rating {
          align-items: flex-start;
          gap: 12px;
        }

        .stars {
          font-size: 18px;
        }
      }

      @media (prefers-reduced-motion: no-preference) {
        .hero-workflow {
          animation: floatHero 7s ease-in-out infinite;
        }

        .workflow-result {
          animation: floatChip 5.8s ease-in-out infinite;
        }

        .save-celebration:not([hidden]) .save-celebration-card {
          animation: celebrationIn 0.34s cubic-bezier(0.2, 0.8, 0.2, 1);
        }

        .save-celebration:not([hidden]) .celebration-mark {
          animation: celebrationPop 0.62s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .save-celebration.is-processing .celebration-check::before {
          animation: celebrationSpin 0.78s linear infinite;
        }

        .save-celebration.is-success .celebration-check {
          animation: celebrationCheck 0.42s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .undo-toast:not([hidden]) {
          animation: undoIn 0.24s ease-out;
        }
      }

      @keyframes floatHero {
        0%,
        100% {
          transform: translateY(0);
        }

        50% {
          transform: translateY(-10px);
        }
      }

      @keyframes floatChip {
        0%,
        100% {
          transform: translateY(0) rotate(-1deg);
        }

        50% {
          transform: translateY(-8px) rotate(1deg);
        }
      }

      @keyframes celebrationIn {
        from {
          opacity: 0;
          transform: translateY(14px) scale(0.98);
        }

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

      @keyframes celebrationPop {
        0% {
          transform: scale(0.82) rotate(-4deg);
        }

        58% {
          transform: scale(1.06) rotate(2deg);
        }

        100% {
          transform: scale(1) rotate(0);
        }
      }

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

      @keyframes celebrationCheck {
        0% {
          transform: scale(0.72);
        }

        70% {
          transform: scale(1.12);
        }

        100% {
          transform: scale(1);
        }
      }

      @keyframes undoIn {
        from {
          opacity: 0;
          transform: translate(-50%, 10px);
        }

        to {
          opacity: 1;
          transform: translate(-50%, 0);
        }
      }

.home-hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(440px, 0.8fr);
  align-items: center;
  gap: clamp(28px, 6vw, 86px);
  max-width: 1540px;
  min-height: calc(100svh - 92px);
  margin: 0 auto;
  padding-top: clamp(36px, 7vh, 86px);
  padding-bottom: clamp(58px, 10vh, 120px);
}

.home-hero::after {
  position: absolute;
  left: 50%;
  bottom: clamp(14px, 2.8vh, 34px);
  width: 34px;
  height: 54px;
  border: 1px solid rgba(255, 107, 107, 0.22);
  border-radius: 999px;
  content: "";
  transform: translateX(-50%);
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 107, 107, 0.46) 0 4px, transparent 5px),
    rgba(255, 255, 255, 0.52);
  box-shadow: 0 12px 26px rgba(255, 107, 107, 0.08);
}

.home-copy {
  max-width: 760px;
}

.home-copy h1 {
  max-width: 820px;
}

.home-copy .lead {
  max-width: 650px;
}

.smart-panel {
  position: relative;
  display: grid;
  gap: 18px;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.56)),
    radial-gradient(circle at 84% 14%, rgba(255, 200, 69, 0.22), transparent 30%),
    radial-gradient(circle at 16% 92%, rgba(255, 107, 107, 0.15), transparent 30%);
  box-shadow: 0 34px 90px rgba(255, 107, 107, 0.14);
  backdrop-filter: blur(18px);
}

.smart-upload {
  display: grid;
  min-height: 250px;
  place-items: center;
  padding: 28px;
  border: 1px dashed rgba(255, 107, 107, 0.42);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 245, 230, 0.82)),
    radial-gradient(circle at 50% 0, rgba(255, 200, 69, 0.15), transparent 42%);
  cursor: pointer;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.smart-upload:hover,
.smart-upload.is-dragging {
  border-color: var(--coral);
  box-shadow: inset 0 0 0 3px rgba(255, 107, 107, 0.12);
  transform: translateY(-2px);
}

.smart-upload svg {
  width: 62px;
  height: 62px;
  padding: 16px;
  border-radius: 18px;
  background: var(--brand-gradient);
  color: #fff;
  box-shadow: 0 20px 42px rgba(255, 107, 107, 0.24);
}

.smart-upload strong,
.smart-upload span {
  display: block;
  text-align: center;
}

.smart-upload strong {
  margin-top: 18px;
  font-family: Poppins, Inter, sans-serif;
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.05;
}

.smart-upload span {
  max-width: 360px;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.45;
}

.smart-suggestions {
  display: grid;
  gap: 12px;
}

.smart-suggestions[hidden] {
  display: none;
}

.suggestion-card {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 15px;
  border: 1px solid rgba(26, 31, 61, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 42px rgba(64, 46, 128, 0.1);
}

.suggestion-card svg {
  width: 52px;
  height: 52px;
  padding: 13px;
  border-radius: 16px;
  background: rgba(167, 139, 250, 0.12);
  color: var(--violet);
}

.suggestion-card strong,
.suggestion-card span {
  display: block;
}

.suggestion-card span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 14px;
}

.suggestion-link {
  padding: 12px 15px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--violet), var(--violet-dark));
  color: #fff;
  font-weight: 900;
  white-space: nowrap;
}

.suggestion-link[aria-disabled="true"] {
  background: rgba(26, 31, 61, 0.1);
  color: var(--soft);
  pointer-events: none;
}

.tool-section {
  position: relative;
  z-index: 1;
  max-width: 1540px;
  margin: clamp(64px, 11vh, 130px) auto 0;
  padding-bottom: 54px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 18px;
}

.section-heading h2 {
  margin: 0;
  font-family: Poppins, Inter, sans-serif;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
}

.section-heading p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.tool-card {
  display: grid;
  min-height: 210px;
  padding: 22px;
  border: 1px solid rgba(26, 31, 61, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 18px 48px rgba(64, 46, 128, 0.1);
  backdrop-filter: blur(16px);
}

.tool-card svg {
  width: 48px;
  height: 48px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 107, 107, 0.1);
  color: var(--coral);
}

.tool-card h3 {
  margin: 18px 0 8px;
  font-family: Poppins, Inter, sans-serif;
  font-size: 24px;
}

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

.tool-card.is-disabled {
  opacity: 0.58;
}

.tool-tag {
  align-self: end;
  width: fit-content;
  margin-top: 22px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 200, 69, 0.18);
  color: #9c6110;
  font-size: 13px;
  font-weight: 900;
}

@media (max-width: 1180px) {
  .home-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .tool-section {
    margin-top: clamp(58px, 9vh, 96px);
  }
}

@media (max-width: 760px) {
  .home-hero {
    gap: 20px;
    padding-top: 24px;
    padding-bottom: 54px;
  }

  .home-copy,
  .home-copy h1,
  .home-copy .lead,
  .trust-row,
  .smart-panel,
  .smart-upload {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .home-copy h1 {
    font-size: clamp(36px, 11.2vw, 46px);
    line-height: 1.12;
  }

  .gradient-word {
    overflow-wrap: anywhere;
  }

  .home-copy .lead {
    margin-top: 14px;
    font-size: 16px;
    line-height: 1.4;
  }

  .home-copy {
    display: contents;
  }

  .home-copy .eyebrow {
    order: 1;
  }

  .home-copy h1 {
    order: 2;
  }

  .home-copy .lead {
    order: 3;
  }

  .smart-panel {
    order: 4;
  }

  .trust-row {
    order: 5;
    margin: 0;
  }

  .tool-section {
    margin-top: 44px;
  }

  .smart-panel {
    padding: 10px;
    border-radius: 18px;
  }

  .smart-upload {
    min-height: 162px;
    padding: 18px 14px;
  }

  .smart-upload svg {
    width: 50px;
    height: 50px;
    padding: 13px;
  }

  .smart-upload strong {
    margin-top: 14px;
    font-size: clamp(22px, 6.8vw, 28px);
  }

  .smart-upload span {
    margin-top: 8px;
    font-size: 14px;
  }

  .suggestion-card {
    grid-template-columns: 44px 1fr;
  }

  .suggestion-link {
    grid-column: 1 / -1;
    text-align: center;
  }

  .section-heading {
    display: grid;
  }

  .tool-grid {
    grid-template-columns: 1fr;
  }
}
