:root {
  color-scheme: light;
  --ink: #16211c;
  --muted: #60716a;
  --line: #dbe4df;
  --surface: #ffffff;
  --page: #f3f7f6;
  --accent: #0f4c81;
  --accent-2: #d97c2b;
  --accent-3: #2e75b6;
  --soft: #e8f1f6;
  --warm-soft: #fff3df;
  --success: #146c5f;
}

* {
  box-sizing: border-box;
}

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 12% 8%, rgba(217, 124, 43, 0.13), transparent 28%),
    radial-gradient(circle at 92% 0%, rgba(46, 117, 182, 0.14), transparent 30%),
    linear-gradient(180deg, #fbfdfc 0%, var(--page) 100%);
}

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

button {
  border: 0;
  border-radius: 6px;
  min-height: 44px;
  padding: 0 18px;
  color: white;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-3) 100%);
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 18px rgba(15, 76, 129, 0.18);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  box-shadow: none;
}

button.secondary {
  border: 1px solid var(--line);
  color: var(--ink);
  background: white;
  box-shadow: none;
}

button.link-button {
  justify-self: start;
  min-height: auto;
  padding: 0;
  color: var(--accent);
  background: transparent;
  box-shadow: none;
  font-weight: 800;
}

.app-shell {
  width: 100%;
  min-height: 100vh;
  margin: 0 auto;
  padding: 0 0 40px;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 0;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(191, 212, 228, 0.85);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 34px rgba(15, 76, 129, 0.1);
  backdrop-filter: blur(12px);
}

.logo-container {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  margin-left: clamp(12px, 1.4vw, 20px);
  border: none;
  padding: 0;
  color: #071b3a;
  background: transparent;
  box-shadow: none;
  text-decoration: none !important;
  -webkit-text-decoration: none;
}

.logo-container:hover,
.logo-container:focus,
.logo-container:visited,
.logo-container:active {
  color: #071b3a;
  text-decoration: none !important;
}

.logo-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  font-family: Montserrat, Inter, Arial, sans-serif;
  font-size: clamp(1.55rem, 2.3vw, 2.05rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0;
  white-space: nowrap;
  text-decoration: none !important;
}

.logo-word {
  color: #071b3a;
  text-decoration: none !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

.logo-pro {
  color: #45b84e;
  text-decoration: none !important;
  filter: drop-shadow(0 0 8px rgba(69, 184, 78, 0.22));
}

.site-links {
  display: flex;
  gap: 6px;
  align-items: center;
}

.site-links a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  padding: 0 12px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
}

.site-links a:hover,
.site-links a.is-active {
  color: var(--accent);
  background: var(--soft);
}

.site-links .nav-sign-out {
  min-height: 38px;
  padding: 0 12px;
  color: var(--muted);
  background: transparent;
  box-shadow: none;
  font-size: 0.92rem;
}

.site-links .nav-sign-out:hover {
  color: var(--accent);
  background: var(--soft);
}

.page {
  display: grid;
  gap: 18px;
  width: 100%;
  padding: clamp(20px, 4vw, 56px);
}

.is-hidden {
  display: none;
}

.review-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  padding: 10px 0;
}

.page-header {
  padding: 8px 0 4px;
}

.landing-page {
  gap: 22px;
}

.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 520px);
  gap: 28px;
  align-items: center;
  min-height: calc(100vh - 150px);
  padding: clamp(28px, 5vw, 72px);
  border: 1px solid rgba(191, 212, 228, 0.9);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(232, 241, 246, 0.82)),
    repeating-linear-gradient(45deg, transparent, transparent 18px, rgba(15, 76, 129, 0.035) 18px, rgba(15, 76, 129, 0.035) 36px);
  box-shadow: 0 20px 48px rgba(15, 76, 129, 0.11);
}

.landing-copy {
  display: grid;
  gap: 18px;
  align-content: center;
}

.landing-copy h1 {
  color: var(--accent);
  font-size: clamp(2.6rem, 6vw, 5.5rem);
  line-height: 0.96;
}

.landing-copy > p:not(.eyebrow) {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.55;
}

.landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 4px;
}

.landing-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 16px;
  color: var(--accent);
  background: white;
  font-weight: 800;
  text-decoration: none;
}

.landing-visual {
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff, #f6faf8);
  box-shadow: inset 0 0 0 1px rgba(191, 212, 228, 0.72), 0 18px 38px rgba(15, 76, 129, 0.1);
}

.landing-visual svg {
  display: block;
  width: 100%;
  height: auto;
}

.ai-value-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  width: min(1240px, 100%);
  margin: 0 auto;
  border: 1px solid rgba(191, 212, 228, 0.9);
  border-radius: 8px;
  background: rgba(191, 212, 228, 0.9);
  box-shadow: 0 14px 30px rgba(36, 55, 47, 0.06);
}

.ai-value-strip div {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.94);
}

.ai-value-strip strong {
  color: var(--accent);
  font-size: 0.98rem;
}

.ai-value-strip span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.business-panels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: min(1240px, 100%);
  margin: 0 auto;
}

.business-panels article {
  min-height: 174px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 30px rgba(36, 55, 47, 0.07);
}

.business-panels span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  aspect-ratio: 1;
  margin-bottom: 16px;
  border-radius: 999px;
  color: white;
  background: var(--accent-2);
  font-weight: 900;
}

.business-panels h2 {
  margin-bottom: 8px;
  color: var(--accent);
}

.business-panels p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.home-disclaimer {
  width: min(1240px, 100%);
  margin: 8px auto 0;
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
  text-align: center;
}

.subscription-page {
  gap: 22px;
}

.convert-page {
  gap: 22px;
}

.convert-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: center;
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: 30px;
  border: 1px solid rgba(191, 212, 228, 0.9);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(232, 241, 246, 0.78)),
    repeating-linear-gradient(45deg, transparent, transparent 18px, rgba(15, 76, 129, 0.035) 18px, rgba(15, 76, 129, 0.035) 36px);
  box-shadow: 0 20px 48px rgba(15, 76, 129, 0.11);
}

.convert-hero h1 {
  color: var(--accent);
  font-size: clamp(2.4rem, 5vw, 4.8rem);
}

.convert-hero p:not(.eyebrow) {
  max-width: 620px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.55;
}

.convert-graphic {
  border-radius: 8px;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(191, 212, 228, 0.72), 0 18px 38px rgba(15, 76, 129, 0.1);
}

.convert-graphic svg {
  display: block;
  width: 100%;
  height: auto;
}

.converter-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: min(1240px, 100%);
  margin: 0 auto;
}

.converter-card {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 42px rgba(36, 55, 47, 0.08);
}

.converter-icon {
  display: grid;
  place-items: center;
  width: 52px;
  aspect-ratio: 1;
  border-radius: 12px;
  color: white;
  background: var(--accent);
  font-size: 1.25rem;
  font-weight: 900;
}

.converter-icon.photo-icon {
  background: var(--accent-2);
}

.converter-card h2 {
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 1.35rem;
}

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

.converter-upload {
  min-height: 92px;
  place-items: center;
  border: 1px dashed #7aa2be;
  border-radius: 8px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(232, 241, 246, 0.92), rgba(255, 243, 223, 0.66)),
    repeating-linear-gradient(45deg, transparent, transparent 12px, rgba(15, 76, 129, 0.04) 12px, rgba(15, 76, 129, 0.04) 24px);
  color: var(--accent);
  text-align: center;
  cursor: pointer;
}

.converter-upload input {
  display: none;
}

.camera-capture {
  display: none;
  min-height: 48px;
  place-items: center;
  border: 1px solid rgba(20, 108, 95, 0.28);
  border-radius: 6px;
  padding: 0 16px;
  color: white;
  background: linear-gradient(135deg, #146c5f 0%, #2e75b6 100%);
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 18px rgba(20, 108, 95, 0.16);
}

.camera-capture input {
  display: none;
}

.converter-hint {
  font-size: 0.9rem;
}

.converter-list {
  display: grid;
  gap: 8px;
}

.converter-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent-3);
  border-radius: 6px;
  background: #fbfdfb;
}

.converter-row span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.subscription-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: center;
  padding: 30px;
  border: 1px solid rgba(191, 212, 228, 0.9);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 243, 223, 0.7)),
    repeating-linear-gradient(45deg, transparent, transparent 18px, rgba(217, 124, 43, 0.04) 18px, rgba(217, 124, 43, 0.04) 36px);
  box-shadow: 0 20px 48px rgba(15, 76, 129, 0.11);
  width: min(1240px, 100%);
  margin: 0 auto;
}

.subscription-hero h1 {
  color: var(--accent);
  font-size: clamp(2.4rem, 5vw, 4.8rem);
}

.subscription-hero p:not(.eyebrow) {
  max-width: 620px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.55;
}

.subscription-graphic {
  border-radius: 8px;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(191, 212, 228, 0.72), 0 18px 38px rgba(15, 76, 129, 0.1);
}

.subscription-graphic svg {
  display: block;
  width: 100%;
  height: auto;
}

.compact-hero {
  grid-template-columns: minmax(0, 1fr);
}

.coupon-panel {
  display: grid;
  gap: 18px;
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 42px rgba(36, 55, 47, 0.08);
}

.coupon-summary {
  padding: 18px;
  border: 1px solid rgba(191, 212, 228, 0.82);
  border-radius: 8px;
  background: #f7fbfa;
}

.coupon-summary h2 {
  margin: 6px 0;
  color: var(--accent);
  font-size: 1.45rem;
}

.coupon-summary p:last-child {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.coupon-panel label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

.coupon-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.centered-status {
  width: min(1240px, 100%);
  margin: 0 auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
  width: min(1240px, 100%);
  margin: 0 auto;
}

.pricing-card {
  position: relative;
  display: grid;
  gap: 18px;
  align-content: start;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 42px rgba(36, 55, 47, 0.08);
}

.pricing-card.featured {
  border-color: rgba(46, 117, 182, 0.55);
  box-shadow: 0 22px 52px rgba(15, 76, 129, 0.14);
}

.plan-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  border-radius: 999px;
  padding: 6px 10px;
  color: white;
  background: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 900;
}

.pricing-top span {
  color: var(--accent-2);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.pricing-top h2 {
  margin-top: 6px;
  color: var(--accent);
  font-size: 1.3rem;
}

.price-line {
  display: flex;
  gap: 8px;
  align-items: baseline;
}

.price-line strong {
  color: var(--ink);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
}

.price-line span {
  color: var(--muted);
  font-weight: 800;
}

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

.pricing-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pricing-card li {
  position: relative;
  padding-left: 24px;
  color: var(--ink);
  line-height: 1.45;
}

.pricing-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--success);
}

.auth-page {
  gap: 22px;
}

.auth-hero,
.account-panel {
  width: min(1240px, 100%);
  margin: 0 auto;
}

.auth-hero {
  padding: 30px;
  border: 1px solid rgba(191, 212, 228, 0.9);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(232, 241, 246, 0.78)),
    repeating-linear-gradient(45deg, transparent, transparent 18px, rgba(15, 76, 129, 0.035) 18px, rgba(15, 76, 129, 0.035) 36px);
  box-shadow: 0 20px 48px rgba(15, 76, 129, 0.11);
}

.auth-hero h1 {
  color: var(--accent);
  font-size: clamp(2.4rem, 5vw, 4.8rem);
}

.auth-hero p:not(.eyebrow) {
  max-width: 620px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.55;
}

.auth-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: min(1240px, 100%);
  margin: 0 auto;
}

.auth-single {
  width: min(560px, 100%);
  margin: 0 auto;
}

.auth-link {
  justify-self: start;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.auth-link:hover {
  text-decoration: underline;
}

.auth-card,
.account-panel,
.admin-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 42px rgba(36, 55, 47, 0.08);
}

.auth-card {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 24px;
}

.auth-card h2,
.account-summary h2,
.admin-heading h2 {
  color: var(--accent);
  font-size: 1.35rem;
}

.account-panel {
  display: grid;
  gap: 16px;
  padding: 20px;
}

.account-summary,
.admin-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

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

.account-summary p:not(.eyebrow) {
  margin: 6px 0 0;
  color: var(--muted);
}

.admin-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  box-shadow: none;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1240px;
}

.admin-table th,
.admin-table td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.admin-table th {
  color: var(--accent);
  background: #f7fbfa;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.admin-table td {
  color: var(--ink);
  font-size: 0.92rem;
}

.admin-table td span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.admin-table button {
  min-height: 36px;
  padding: 0 12px;
  box-shadow: none;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 240px;
}

.admin-actions button {
  flex: 0 0 auto;
}

.admin-users {
  display: grid;
  gap: 8px;
}

.admin-user-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent-3);
  border-radius: 6px;
  background: #fbfdfb;
}

.admin-user-row span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.user-status {
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--accent-2);
  background: var(--warm-soft);
  text-transform: capitalize;
}

.user-status.is-active-user {
  color: var(--success);
  background: #e6f4f0;
}

.admin-user-row button {
  min-height: 36px;
  box-shadow: none;
}

.entry-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
  gap: 24px;
  align-items: center;
  width: min(1240px, 100%);
  margin: 0 auto;
}

.hero-copy {
  display: grid;
  gap: 12px;
}

.hero-copy p {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.5;
}

.seller-visual {
  overflow: hidden;
  border: 1px solid rgba(191, 212, 228, 0.9);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff 0%, #edf5f3 100%);
  box-shadow: 0 18px 40px rgba(15, 76, 129, 0.12);
}

.seller-visual svg {
  display: block;
  width: 100%;
  height: auto;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--accent-2);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
}

h2 {
  margin-bottom: 0;
  font-size: 1.1rem;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(36, 55, 47, 0.08);
}

.form-panel {
  display: grid;
  gap: 0;
  overflow: hidden;
  width: min(1240px, 100%);
  margin: 0 auto;
}

.form-section {
  display: grid;
  gap: 16px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, #fbfdfc 100%);
}

.section-title {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
}

.section-title span {
  display: grid;
  place-items: center;
  width: 34px;
  aspect-ratio: 1;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-3) 100%);
  font-weight: 900;
}

.section-title p,
.status-copy,
.form-status,
.file-count,
.download-status {
  color: var(--muted);
  line-height: 1.45;
}

.section-title p,
.form-status,
.file-count,
.download-status {
  margin-bottom: 0;
}

.form-grid {
  display: grid;
  gap: 14px;
}

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

.span-all {
  grid-column: 1 / -1;
}

.business-name-field,
.business-address-field {
  align-self: stretch;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
  color: var(--ink);
  background: #fbfdfb;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent-3);
  box-shadow: 0 0 0 3px rgba(46, 117, 182, 0.14);
  outline: 0;
}

textarea {
  resize: vertical;
}

.upload-zone {
  min-height: 112px;
  place-items: center;
  border: 1px dashed #7aa2be;
  border-radius: 8px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(232, 241, 246, 0.92), rgba(255, 243, 223, 0.8)),
    repeating-linear-gradient(45deg, transparent, transparent 12px, rgba(15, 76, 129, 0.04) 12px, rgba(15, 76, 129, 0.04) 24px);
  color: var(--accent);
  text-align: center;
  cursor: pointer;
}

.upload-zone.is-dragover,
.converter-upload.is-dragover {
  border-color: var(--accent-2);
  background:
    linear-gradient(135deg, rgba(255, 243, 223, 0.96), rgba(232, 241, 246, 0.92)),
    repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(217, 124, 43, 0.08) 10px, rgba(217, 124, 43, 0.08) 20px);
  box-shadow: inset 0 0 0 2px rgba(217, 124, 43, 0.22), 0 14px 28px rgba(217, 124, 43, 0.12);
}

.upload-zone input {
  display: none;
}

.form-footer,
.save-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 20px 24px;
}

.review-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 18px;
  align-items: start;
  width: min(1480px, 100%);
  margin: 0 auto;
}

.review-sidebar {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 12px;
  padding: 18px;
}

.score-ring {
  display: grid;
  place-items: center;
  width: 76px;
  aspect-ratio: 1;
  border: 8px solid var(--soft);
  border-top-color: var(--accent-2);
  border-radius: 999px;
  font-weight: 900;
}

.master-packet-panel {
  border-color: #b7d0e4;
  overflow: hidden;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 20px 20px 0;
  margin-bottom: 14px;
}

.section-heading span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.document-order-panel {
  display: grid;
  gap: 12px;
  margin: 0 20px 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(232, 241, 246, 0.72), rgba(255, 255, 255, 0.96));
}

.document-order-heading {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: end;
}

.document-order-heading h3 {
  margin: 0;
  color: var(--accent);
  font-size: 1rem;
}

.document-order-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.document-order-list {
  display: grid;
  gap: 8px;
}

.document-order-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent-3);
  border-radius: 6px;
  background: white;
}

.document-order-row span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.document-order-actions {
  display: flex;
  gap: 6px;
}

.document-order-actions button {
  display: grid;
  place-items: center;
  width: 34px;
  min-height: 34px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--accent);
  background: #ffffff;
  box-shadow: none;
  font-size: 1rem;
}

.document-order-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}

.master-packet {
  display: grid;
  gap: 16px;
  padding: 0 20px 20px;
}

.packet-cover {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #f9fcfa 0%, #eef7f2 100%);
}

.packet-cover h3 {
  margin: 0;
  font-size: 1.45rem;
}

.packet-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 10px;
}

.packet-meta div,
.packet-section {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfdfb;
}

.packet-meta span,
.packet-section span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.packet-section p {
  color: #222222;
  font-family: Inter, Arial, sans-serif;
  font-size: 11pt;
  line-height: 1.4;
}

.letter-page {
  position: relative;
  min-height: 792px;
  padding: 54px;
  background: white;
}

.letter-header h2 {
  margin: 0 0 14px;
  color: #0f4c81;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 24pt;
  font-weight: 600;
  line-height: 1.15;
}

.letter-rule {
  width: 100%;
  height: 2px;
  margin-bottom: 22px;
  background: #2e75b6;
}

.letter-meta {
  display: grid;
  gap: 5px;
  margin-bottom: 28px;
  color: #2e75b6;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 13pt;
  font-weight: 600;
  line-height: 1.4;
}

.letter-body p {
  margin: 0 0 15px;
}

.letter-footer {
  position: absolute;
  left: 54px;
  right: 54px;
  bottom: 24px;
  border-top: 1px solid #2e75b6;
  padding-top: 8px;
  color: #222222;
  font-family: Inter, Arial, sans-serif;
  font-size: 8pt;
}

.packet-section ul {
  margin: 0;
  padding-left: 20px;
}

.packet-section li {
  margin-bottom: 6px;
}

.packet-document {
  margin: 14px 0 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
}

.packet-document figcaption {
  display: none;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.packet-document img {
  display: block;
  width: 100%;
  max-height: 980px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.packet-document object {
  width: 100%;
  height: 720px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #f8faf8;
}

.packet-file-line,
.document-row {
  display: grid;
  gap: 4px;
  margin-top: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.packet-file-line span,
.empty-copy,
.document-row span {
  color: var(--muted);
}

.document-index {
  display: grid;
  gap: 8px;
}

.selected-documents {
  display: grid;
  gap: 10px;
}

.selected-documents-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.selected-documents-heading h3 {
  margin: 0;
  font-size: 0.98rem;
}

.selected-documents-heading h3::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  border-radius: 2px;
  background: var(--accent-2);
  vertical-align: 1px;
}

.selected-documents-heading span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.document-row {
  grid-template-columns: 1fr auto auto;
  align-items: center;
  margin-top: 0;
  background: #fbfdfb;
  border-left: 4px solid var(--accent-3);
}

.empty-state {
  color: var(--muted);
  padding: 16px;
  border: 1px dashed var(--line);
  border-radius: 6px;
}

.checklist {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.checklist li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
  min-height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.badge {
  display: grid;
  place-items: center;
  min-width: 28px;
  width: 28px;
  aspect-ratio: 1;
  border-radius: 999px;
  color: white;
  background: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 900;
}

.checklist li.complete .badge {
  background: var(--success);
}

.checklist strong {
  display: block;
  margin-bottom: 2px;
}

.checklist p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* 2026 interface refresh: focused tools, clearer upload areas, calmer SaaS polish. */
:root {
  --ink: #111827;
  --muted: #637083;
  --line: #d9e2ec;
  --surface: #ffffff;
  --page: #f6f8fb;
  --accent: #173b67;
  --accent-2: #ef7d42;
  --accent-3: #2d7dd2;
  --soft: #edf6ff;
  --warm-soft: #fff4ea;
  --success: #16836b;
  --violet: #7057d2;
}

body {
  background:
    linear-gradient(180deg, rgba(246, 248, 251, 0.96) 0%, rgba(246, 248, 251, 1) 48%, #ffffff 100%),
    radial-gradient(circle at 18% 8%, rgba(239, 125, 66, 0.16), transparent 30%),
    radial-gradient(circle at 88% 6%, rgba(45, 125, 210, 0.14), transparent 32%);
}

button {
  min-height: 46px;
  border-radius: 8px;
  background: linear-gradient(135deg, #173b67 0%, #2d7dd2 100%);
  box-shadow: 0 14px 28px rgba(23, 59, 103, 0.18);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

button:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(23, 59, 103, 0.22);
}

button.secondary,
.landing-actions a {
  color: var(--accent);
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(23, 59, 103, 0.12);
}

.site-nav {
  padding: 12px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(217, 226, 236, 0.82);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 32px rgba(23, 59, 103, 0.08);
}

.logo-wordmark {
  gap: 4px;
  font-size: clamp(1.45rem, 2vw, 1.85rem);
}

.logo-word {
  color: #102a43;
}

.logo-pro {
  color: #1fa971;
  filter: none;
}

.site-links {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.site-links a {
  min-height: 36px;
  border-radius: 7px;
  color: #4b5565;
  font-size: 0.9rem;
}

.site-links a:hover,
.site-links a.is-active {
  color: #102a43;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(23, 59, 103, 0.08);
}

.page {
  gap: 24px;
  padding: clamp(20px, 4vw, 52px);
}

.landing-page,
.convert-page,
.subscription-page,
.auth-page {
  width: min(1440px, 100%);
  margin: 0 auto;
}

.landing-hero,
.convert-hero,
.subscription-hero,
.auth-hero,
.entry-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(217, 226, 236, 0.92);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(237, 246, 255, 0.92)),
    linear-gradient(90deg, rgba(239, 125, 66, 0.08), rgba(45, 125, 210, 0.08));
  box-shadow: 0 24px 60px rgba(23, 59, 103, 0.1);
}

.landing-hero {
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 560px);
  min-height: calc(100vh - 132px);
  padding: clamp(34px, 5vw, 74px);
}

.landing-copy {
  gap: 20px;
}

.landing-copy h1,
.convert-hero h1,
.subscription-hero h1,
.auth-hero h1 {
  color: #102a43;
  letter-spacing: 0;
}

.landing-copy h1 {
  max-width: 760px;
  font-size: clamp(3rem, 6.4vw, 6.3rem);
}

.landing-copy > p:not(.eyebrow),
.convert-hero p:not(.eyebrow),
.subscription-hero p:not(.eyebrow),
.auth-hero p:not(.eyebrow),
.hero-copy p {
  color: #526173;
}

.eyebrow {
  color: var(--accent-2);
  font-size: 0.78rem;
}

.landing-actions {
  margin-top: 8px;
}

.landing-actions button,
.landing-actions a {
  min-height: 50px;
  padding: 0 20px;
}

.landing-visual,
.convert-graphic,
.subscription-graphic,
.seller-visual {
  border: 1px solid rgba(217, 226, 236, 0.92);
  border-radius: 8px;
  background:
    linear-gradient(180deg, #ffffff, #f8fbff),
    repeating-linear-gradient(0deg, transparent, transparent 18px, rgba(45, 125, 210, 0.035) 18px, rgba(45, 125, 210, 0.035) 19px);
  box-shadow: 0 20px 46px rgba(23, 59, 103, 0.1);
}

.ai-value-strip {
  gap: 12px;
  border: none;
  background: transparent;
  box-shadow: none;
}

.ai-value-strip div,
.business-panels article,
.converter-card,
.pricing-card,
.auth-card,
.account-panel,
.admin-panel,
.panel,
.coupon-panel {
  border: 1px solid rgba(217, 226, 236, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 46px rgba(23, 59, 103, 0.08);
}

.ai-value-strip div {
  min-height: 110px;
  padding: 20px;
}

.ai-value-strip strong,
.business-panels h2,
.converter-card h2,
.pricing-top h2,
.auth-card h2,
.account-summary h2,
.admin-heading h2,
.section-title h2 {
  color: #102a43;
}

.business-panels {
  gap: 14px;
}

.business-panels article {
  min-height: 188px;
}

.business-panels span,
.converter-icon,
.section-title span {
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent-2), #f3aa52);
  box-shadow: 0 12px 24px rgba(239, 125, 66, 0.18);
}

.converter-icon.photo-icon {
  background: linear-gradient(135deg, #16836b, #2d7dd2);
}

.convert-hero,
.subscription-hero,
.auth-hero {
  padding: clamp(26px, 4vw, 46px);
}

.convert-hero {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
}

.converter-grid,
.pricing-grid,
.auth-grid,
.business-panels,
.ai-value-strip,
.form-panel,
.review-grid {
  width: min(1240px, 100%);
}

.converter-card,
.pricing-card,
.auth-card {
  padding: clamp(22px, 3vw, 30px);
}

.converter-upload,
.upload-zone {
  min-height: 136px;
  border: 2px dashed rgba(45, 125, 210, 0.38);
  border-radius: 8px;
  background:
    linear-gradient(180deg, #ffffff, #f7fbff),
    repeating-linear-gradient(45deg, transparent, transparent 16px, rgba(45, 125, 210, 0.045) 16px, rgba(45, 125, 210, 0.045) 32px);
  color: #173b67;
  font-size: 1rem;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

.converter-upload:hover,
.upload-zone:hover,
.converter-upload.is-dragover,
.upload-zone.is-dragover {
  border-color: var(--accent-2);
  background:
    linear-gradient(180deg, #ffffff, #fff8f2),
    repeating-linear-gradient(45deg, transparent, transparent 14px, rgba(239, 125, 66, 0.055) 14px, rgba(239, 125, 66, 0.055) 28px);
  box-shadow: inset 0 0 0 2px rgba(239, 125, 66, 0.16), 0 16px 34px rgba(239, 125, 66, 0.12);
}

.converter-list,
.document-index,
.document-order-list {
  gap: 10px;
}

.converter-row,
.document-row,
.document-order-row {
  border: 1px solid rgba(217, 226, 236, 0.9);
  border-left: 4px solid var(--accent-3);
  border-radius: 8px;
  background: #ffffff;
}

.form-panel {
  overflow: hidden;
}

.form-section {
  padding: clamp(22px, 3vw, 32px);
  background: #ffffff;
}

input,
select,
textarea {
  border-color: #d5dde8;
  border-radius: 8px;
  background: #ffffff;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent-3);
  box-shadow: 0 0 0 4px rgba(45, 125, 210, 0.13);
}

.review-sidebar,
.master-packet-panel,
.document-order-panel {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.97);
}

.score-ring {
  border-color: #e9eff6;
  border-top-color: var(--accent-2);
}

.letter-page {
  box-shadow: inset 0 0 0 1px #edf1f6;
}

.home-disclaimer {
  width: min(1240px, 100%);
  border-top: 1px solid rgba(217, 226, 236, 0.92);
  color: #6b7687;
}

@media (max-width: 920px) {
  .app-shell {
    padding: 0 0 28px;
  }

  .page-header,
  .site-nav,
  .review-header,
  .form-footer,
  .save-footer {
    display: grid;
  }

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

  .camera-capture {
    display: grid;
  }

  .logo-container {
    margin-left: 12px;
  }

  .logo-wordmark {
    font-size: 1.45rem;
  }

  .two-col,
  .landing-hero,
  .ai-value-strip,
  .business-panels,
  .auth-grid,
  .convert-hero,
  .converter-grid,
  .subscription-hero,
  .pricing-grid,
  .entry-hero,
  .review-grid,
  .packet-meta,
  .document-order-row,
  .document-row {
    grid-template-columns: 1fr;
  }

  .document-order-heading {
    display: grid;
  }

  .account-summary,
  .admin-heading,
  .admin-user-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .seller-visual {
    order: -1;
  }

  .review-sidebar {
    position: static;
  }
}

@media (max-width: 560px) {
  .logo-wordmark {
    font-size: 1.28rem;
  }
}

@media print {
  body {
    background: white;
  }

  .app-shell {
    padding: 0;
  }

  #entryPage,
  .review-header,
  .review-sidebar,
  .section-heading,
  .save-footer {
    display: none;
  }

  .review-grid {
    display: block;
  }

  .panel {
    border: 0;
    box-shadow: none;
  }

  .master-packet {
    display: block;
    padding: 0;
  }

  .packet-cover,
  .packet-section {
    border: 0;
    border-radius: 0;
    background: white;
  }

  .packet-page {
    break-before: page;
  }

  .packet-document,
  .packet-file-line {
    break-inside: avoid;
  }

  .packet-document object {
    height: 9in;
  }
}

/* Final polish layer: Smallpdf-inspired simplicity, UngatingPro-specific identity. */
.app-shell {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(246, 248, 251, 0.92)),
    radial-gradient(circle at 50% 0%, rgba(239, 125, 66, 0.09), transparent 36%);
}

.site-nav {
  min-height: 72px;
}

.page {
  max-width: 1480px;
  margin: 0 auto;
}

.landing-hero::before,
.convert-hero::before,
.subscription-hero::before,
.auth-hero::before,
.entry-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.74) 48%, rgba(255, 255, 255, 0) 100%),
    radial-gradient(circle at 86% 18%, rgba(239, 125, 66, 0.12), transparent 24%);
}

.landing-copy,
.landing-visual,
.convert-hero > *,
.subscription-hero > *,
.auth-hero > *,
.entry-hero > * {
  position: relative;
  z-index: 1;
}

.landing-copy h1::after {
  content: "AI packet builder";
  display: block;
  width: max-content;
  max-width: 100%;
  margin-top: 16px;
  border: 1px solid rgba(239, 125, 66, 0.22);
  border-radius: 999px;
  padding: 8px 12px;
  color: #9a4b22;
  background: #fff4ea;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1;
}

.landing-actions button::before,
#buildPacket::before,
#printPacket::before,
#convertWord::before,
#convertPhotos::before {
  content: "";
  display: inline-block;
  width: 10px;
  aspect-ratio: 1;
  margin-right: 8px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.9);
  vertical-align: 1px;
}

.landing-actions a::before,
.dashboard-actions .secondary::before {
  content: "";
  display: inline-block;
  width: 8px;
  aspect-ratio: 1;
  margin-right: 8px;
  border-radius: 999px;
  background: var(--accent-2);
}

.converter-card,
.pricing-card,
.auth-card,
.business-panels article {
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.converter-card:hover,
.pricing-card:hover,
.business-panels article:hover {
  transform: translateY(-2px);
  border-color: rgba(45, 125, 210, 0.32);
  box-shadow: 0 24px 58px rgba(23, 59, 103, 0.12);
}

.converter-upload span,
.upload-zone span {
  display: grid;
  gap: 8px;
  justify-items: center;
}

.converter-upload span::before,
.upload-zone span::before {
  content: "+";
  display: grid;
  place-items: center;
  width: 46px;
  aspect-ratio: 1;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent-2), #f1a64e);
  font-size: 1.55rem;
  line-height: 1;
  box-shadow: 0 12px 26px rgba(239, 125, 66, 0.2);
}

.camera-capture {
  border-radius: 8px;
}

.form-footer,
.save-footer {
  background: #fbfdff;
}

.section-heading {
  border-bottom: 1px solid rgba(217, 226, 236, 0.74);
  padding-bottom: 16px;
}

.document-order-panel {
  box-shadow: none;
}

.admin-table th:first-child,
.admin-table td:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  background: #ffffff;
}

.admin-table th:first-child {
  background: #f7fbfa;
}

.user-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
}

.empty-state {
  background: #fbfdff;
}

@media (max-width: 920px) {
  .site-nav {
    position: static;
    gap: 14px;
  }

  .site-links {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-links a {
    justify-content: center;
  }

  .landing-hero,
  .convert-hero,
  .subscription-hero,
  .auth-hero,
  .entry-hero {
    padding: 24px;
  }

  .landing-visual,
  .convert-graphic,
  .subscription-graphic,
  .seller-visual {
    max-width: 520px;
    margin: 0 auto;
  }

  .review-sidebar {
    top: auto;
  }
}

@media (max-width: 560px) {
  .page {
    padding: 16px;
  }

  .site-links {
    grid-template-columns: 1fr;
  }

  .landing-copy h1,
  .convert-hero h1,
  .subscription-hero h1,
  .auth-hero h1 {
    font-size: 2.45rem;
    line-height: 1.02;
  }

  .landing-actions,
  .coupon-actions,
  .dashboard-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .landing-actions a,
  .landing-actions button,
  .coupon-actions button,
  .dashboard-actions button,
  .form-footer button,
  .save-footer button {
    justify-content: center;
    width: 100%;
  }

  .converter-upload,
  .upload-zone {
    min-height: 120px;
  }
}

/* Premium animated SaaS layer. CSS-only motion, no new libraries. */
:root {
  --premium-navy: #0b1830;
  --premium-card: rgba(255, 255, 255, 0.74);
  --premium-border: rgba(255, 255, 255, 0.58);
  --premium-shadow: 0 24px 70px rgba(11, 24, 48, 0.14);
  --premium-amber: #f4b45f;
  --premium-mint: #38c792;
}

@keyframes floatSoft {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(0, -12px, 0) rotate(1.5deg);
  }
}

@keyframes shimmerSweep {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(120%);
  }
}

@keyframes loaderProgress {
  0% {
    transform: scaleX(0);
  }
  100% {
    transform: scaleX(1);
  }
}

@keyframes loaderFloat {
  0%, 100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-14px) rotate(2deg);
  }
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.app-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  gap: 24px;
  padding: 24px;
  background:
    radial-gradient(circle at 30% 18%, rgba(244, 180, 95, 0.2), transparent 30%),
    radial-gradient(circle at 72% 22%, rgba(56, 199, 146, 0.18), transparent 28%),
    linear-gradient(145deg, #f8fbff 0%, #eef4fb 100%);
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.app-loader.is-done {
  opacity: 0;
  visibility: hidden;
}

.loader-stage {
  position: relative;
  width: min(420px, 86vw);
  height: 230px;
}

.loader-card,
.loader-package {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: var(--premium-shadow);
}

.loader-card {
  display: grid;
  align-content: space-between;
  width: 138px;
  height: 166px;
  border-radius: 8px;
  padding: 16px;
  color: var(--premium-navy);
  animation: loaderFloat 2.1s ease-in-out infinite;
}

.loader-card span {
  color: #6b7687;
  font-size: 0.82rem;
  font-weight: 900;
}

.loader-card strong {
  color: var(--accent-2);
  font-size: 2rem;
}

.loader-card-a {
  left: 18px;
  top: 34px;
}

.loader-card-b {
  left: 142px;
  top: 10px;
  animation-delay: 0.2s;
}

.loader-card-c {
  right: 18px;
  top: 46px;
  animation-delay: 0.4s;
}

.loader-card-c strong {
  color: var(--premium-mint);
}

.loader-package {
  left: 50%;
  bottom: 0;
  width: 82px;
  aspect-ratio: 1;
  border-radius: 8px;
  transform: translateX(-50%) rotate(45deg);
  background:
    linear-gradient(135deg, rgba(244, 180, 95, 0.9), rgba(239, 125, 66, 0.82)),
    linear-gradient(45deg, transparent 47%, rgba(255, 255, 255, 0.54) 48%, rgba(255, 255, 255, 0.54) 52%, transparent 53%);
}

.loader-copy {
  display: grid;
  gap: 14px;
  justify-items: center;
  width: min(420px, 86vw);
}

.loader-logo {
  font-size: 1.9rem;
}

.loader-copy p {
  margin: 0;
  color: #4b5565;
  font-weight: 900;
}

.loader-progress {
  overflow: hidden;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(11, 24, 48, 0.08);
}

.loader-progress span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-2), var(--premium-mint), var(--accent-3));
  transform-origin: left;
  animation: loaderProgress 1.65s ease forwards;
}

body {
  background:
    radial-gradient(circle at 14% 8%, rgba(244, 180, 95, 0.15), transparent 26%),
    radial-gradient(circle at 86% 12%, rgba(56, 199, 146, 0.11), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #f2f6fb 45%, #ffffff 100%);
}

.site-nav {
  border-bottom-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 18px 50px rgba(11, 24, 48, 0.08);
}

.site-links a {
  position: relative;
  overflow: hidden;
}

.site-links a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-2), var(--premium-mint));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.site-links a:hover::after,
.site-links a.is-active::after {
  transform: scaleX(1);
}

.landing-hero,
.convert-hero,
.subscription-hero,
.auth-hero,
.entry-hero,
.converter-card,
.pricing-card,
.auth-card,
.account-panel,
.admin-panel,
.form-panel,
.master-packet-panel,
.review-sidebar,
.business-panels article,
.ai-value-strip div {
  background: var(--premium-card);
  border-color: var(--premium-border);
  backdrop-filter: blur(18px);
  box-shadow: var(--premium-shadow);
}

.landing-hero {
  isolation: isolate;
}

.landing-visual,
.seller-visual,
.convert-graphic,
.subscription-graphic {
  animation: floatSoft 7s ease-in-out infinite;
}

.landing-visual svg,
.seller-visual svg,
.convert-graphic svg,
.subscription-graphic svg {
  filter: drop-shadow(0 18px 28px rgba(11, 24, 48, 0.08));
}

.pricing-card li::before,
.checklist li.complete .badge {
  animation: fadeSlideUp 0.28s ease both;
}

button,
.landing-actions a,
.auth-link,
.converter-upload,
.upload-zone,
input,
select,
textarea {
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

input:hover,
select:hover,
textarea:hover {
  border-color: rgba(45, 125, 210, 0.38);
}

input:focus,
select:focus,
textarea:focus {
  transform: translateY(-1px);
}

.converter-card,
.pricing-card,
.auth-card,
.account-panel,
.admin-panel,
.form-section,
.document-order-panel,
.packet-document {
  animation: fadeSlideUp 0.45s ease both;
}

.pricing-card.featured {
  position: relative;
  border-color: rgba(244, 180, 95, 0.58);
}

.pricing-card.featured::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(244, 180, 95, 0.42), rgba(56, 199, 146, 0.22), rgba(45, 125, 210, 0.24));
  filter: blur(18px);
  opacity: 0.52;
}

.plan-badge {
  background: linear-gradient(135deg, var(--premium-amber), var(--accent-2));
  box-shadow: 0 12px 24px rgba(239, 125, 66, 0.18);
}

.coupon-panel {
  position: relative;
  overflow: hidden;
}

.form-panel {
  position: relative;
}

.form-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--accent-2), var(--premium-mint), var(--accent-3));
}

.section-title span {
  position: relative;
}

.section-title span::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(244, 180, 95, 0.32);
  border-radius: inherit;
  animation: floatSoft 4.5s ease-in-out infinite;
}

.download-status,
.status-copy,
.form-status,
.centered-status {
  border-radius: 8px;
}

.download-status:not(:empty),
.status-copy:not(:empty),
.form-status:not(:empty),
.centered-status:not(:empty) {
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: inset 0 0 0 1px rgba(217, 226, 236, 0.72);
}

.document-order-actions button,
.admin-actions button {
  transform: none;
}

.document-order-actions button:hover:not(:disabled),
.admin-actions button:hover:not(:disabled) {
  transform: translateY(-1px);
}

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

@media (max-width: 920px) {
}

@media (max-width: 560px) {
  .app-loader {
    padding: 18px;
  }

  .loader-stage {
    height: 190px;
  }

  .loader-card {
    width: 116px;
    height: 142px;
  }

  .loader-card-b {
    left: 102px;
  }

}
