:root {
  --ink: #171411;
  --muted: #625d55;
  --line: #e7ddd0;
  --paper: #fffdfa;
  --soft: #f8f2ea;
  --gold: #b46b12;
  --gold-soft: #f4dfc1;
  --emerald: #073f31;
  --emerald-2: #0c5945;
  --green: #073f31;
  --rose: #8e271e;
  --sage: #dce8df;
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(33, 24, 14, 0.12);
  --shadow-soft: 0 14px 44px rgba(33, 24, 14, 0.09);
  --shadow-strong: 0 34px 90px rgba(33, 24, 14, 0.16);
  --radius: 8px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

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

body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

@supports (overflow: clip) {
  html,
  body {
    overflow-x: clip;
  }
}

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

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

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(180, 107, 18, 0.36);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(22px, 5vw, 56px);
  background: rgba(255, 253, 250, 0.88);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(180, 107, 18, 0.16);
  box-shadow: 0 8px 36px rgba(46, 34, 18, 0.08);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand span {
  font-size: 30px;
  font-weight: 650;
  letter-spacing: 0;
}

.brand b {
  color: var(--gold);
  font-weight: 650;
}

.brand small {
  margin-top: 4px;
  color: var(--ink);
  font-size: 13px;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 32px;
  font-size: 14px;
  font-weight: 650;
}

.nav a,
.footer a {
  color: var(--muted);
}

.nav a:hover,
.footer a:hover {
  color: var(--gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
  min-width: 0;
}

.site-header.is-authenticated [data-login-button] {
  display: none !important;
}

.site-header.is-authenticated [data-account-menu] {
  display: inline-flex !important;
}

.site-header:not(.is-authenticated) [data-account-menu] {
  display: none !important;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
  text-align: center;
}

.button:hover {
  transform: translateY(-1px);
}

.button:disabled,
.provider-login:disabled {
  cursor: not-allowed;
  opacity: 0.62;
  transform: none;
}

.button-dark {
  color: var(--white);
  background: var(--emerald);
  box-shadow: 0 14px 30px rgba(7, 63, 49, 0.17);
}

.button-dark:hover {
  background: var(--emerald-2);
}

.button-light,
.button-ghost {
  color: var(--emerald);
  background: var(--white);
  border-color: #d6b785;
}

.button-ghost {
  border-color: #cfc7bc;
}

.button-large {
  min-height: 56px;
  padding-inline: 30px;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.account-menu {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
}

.user-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 5px 8px 5px 5px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
}

.account-menu[hidden],
.auth-modal[hidden] {
  display: none;
}

.user-chip span {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  color: var(--white);
  background: var(--emerald);
  background-position: center;
  background-size: cover;
  font-size: 13px;
  font-weight: 800;
}

.user-chip strong {
  max-width: 110px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 13px;
}

.account-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 80;
  width: 260px;
  max-width: min(260px, calc(100vw - 32px));
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.account-dropdown[hidden] {
  display: none;
}

.account-profile {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 10px;
  align-items: center;
  padding: 8px 8px 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 6px;
}

.account-profile > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--white);
  background: var(--emerald);
  background-position: center;
  background-size: cover;
  font-size: 15px;
  font-weight: 900;
}

.account-profile strong,
.account-profile small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-profile small {
  color: var(--muted);
  font-size: 12px;
}

.account-dropdown a,
.account-dropdown button {
  display: flex;
  width: 100%;
  min-height: 38px;
  align-items: center;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  text-align: left;
  white-space: nowrap;
}

.account-dropdown a:hover,
.account-dropdown button:hover {
  background: var(--soft);
  color: var(--gold);
}

.whatsapp-chatbot {
  display: none !important;
}

.whatsapp-float {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 120;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  box-shadow: 0 18px 42px rgba(37, 211, 102, 0.32), 0 6px 16px rgba(12, 79, 55, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 48px rgba(37, 211, 102, 0.42), 0 8px 20px rgba(12, 79, 55, 0.2);
}

.whatsapp-float svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

@media (max-width: 640px) {
  .whatsapp-float {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
    width: 54px;
    height: 54px;
  }
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(23, 20, 17, 0.42);
  backdrop-filter: blur(8px);
}

.auth-dialog {
  position: relative;
  width: min(460px, 100%);
  max-height: min(760px, calc(100vh - 36px));
  overflow-y: auto;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: 0 28px 90px rgba(20, 12, 6, 0.28);
}

.auth-dialog h2 {
  max-width: 360px;
  margin: 24px 0 0;
  font-size: clamp(30px, 5vw, 40px);
  line-height: 0.98;
}

.auth-dialog p {
  color: var(--muted);
}

.auth-brand span {
  font-size: 26px;
}

.auth-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
}

.auth-close::before,
.auth-close::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 17px;
  width: 14px;
  height: 2px;
  background: var(--ink);
}

.auth-close::before {
  transform: rotate(45deg);
}

.auth-close::after {
  transform: rotate(-45deg);
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 22px 0 18px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.auth-tabs button {
  min-height: 40px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
}

.auth-tabs button.is-active {
  color: var(--white);
  background: var(--emerald);
}

.auth-panel[hidden] {
  display: none !important;
}

.auth-panel {
  display: none;
}

.auth-panel.is-active {
  display: grid;
  gap: 12px;
}

.auth-panel label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.auth-panel input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #d9c7ad;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}

.auth-panel input::placeholder {
  color: #857d72;
}

.auth-panel input:focus {
  border-color: var(--gold);
}

.auth-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.auth-link-button {
  width: max-content;
  min-height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--emerald);
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  text-align: left;
}

.provider-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  margin-top: 12px;
  border: 1px solid #d6b785;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
}

.provider-login:hover {
  border-color: var(--gold);
}

.provider-login span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--white);
  background: var(--gold);
}

#recaptcha-container {
  min-height: 1px;
}

.auth-status {
  min-height: 22px;
  margin: 14px 0 0;
  color: var(--emerald);
  font-size: 14px;
  font-weight: 800;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  min-height: 760px;
  padding: 72px clamp(22px, 5vw, 56px) 40px;
  gap: 48px;
  align-items: center;
  overflow: hidden;
}

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

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

h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.03;
}

h1 {
  margin-bottom: 26px;
  font-size: clamp(54px, 6.7vw, 104px);
}

.hero-copy h1 {
  font-size: clamp(48px, 5.2vw, 82px);
}

h1 em {
  display: block;
  color: var(--gold);
  font-style: italic;
}

.hero-copy > p {
  max-width: 610px;
  color: var(--muted);
  font-size: 18px;
}

.hero-list,
.check-list {
  display: grid;
  gap: 13px;
  margin: 30px 0;
  padding: 0;
  list-style: none;
}

.hero-list li,
.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #302b25;
  font-weight: 650;
}

.hero-list li::before,
.check-list li::before {
  content: "";
  width: 18px;
  height: 18px;
  border: 1px solid var(--gold);
  border-radius: 5px;
  background: linear-gradient(135deg, rgba(180, 107, 18, 0.08), rgba(180, 107, 18, 0.22));
  flex: 0 0 auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.gallery-code-lookup,
.public-code-form,
.gallery-code-panel form {
  display: grid;
  gap: 10px;
}

.hero-code-lookup {
  grid-template-columns: minmax(190px, 1fr) auto;
  align-items: end;
  max-width: 560px;
  margin-top: 18px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.gallery-code-lookup label,
.public-code-form label,
.gallery-code-panel label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.gallery-code-lookup input,
.public-code-form input,
.gallery-code-panel input {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #d9c7ad;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  text-transform: uppercase;
}

.gallery-code-lookup span,
.public-code-form span,
.gallery-code-panel .form-status {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.trust-line {
  margin-top: 30px;
  color: var(--muted);
  font-size: 14px;
}

.trust-line span {
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 12px 3px;
  border-radius: 50%;
  background: var(--gold);
}

.hero-media {
  position: relative;
  min-height: 650px;
  border-radius: 0 0 0 120px;
  overflow: visible;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: -80px -56px -40px 10%;
  background: linear-gradient(90deg, rgba(255, 253, 250, 0.72), rgba(255, 253, 250, 0.06) 28%), var(--soft);
  z-index: -1;
}

.hero-media > img {
  width: 100%;
  height: 650px;
  object-fit: cover;
  border-radius: 0 0 0 90px;
  box-shadow: var(--shadow);
}

.phone-preview {
  position: absolute;
  right: clamp(16px, 4vw, 56px);
  bottom: 60px;
  width: min(330px, 45%);
  min-width: 300px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 28px 70px rgba(20, 12, 6, 0.22);
  backdrop-filter: blur(20px);
}

.preview-title,
.preview-subhead strong {
  font-size: 15px;
  font-weight: 800;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  font-size: 13px;
  background: transparent;
}

.icon-search {
  width: 13px;
  height: 13px;
  border: 2px solid #a9a196;
  border-radius: 50%;
  position: relative;
}

.icon-search::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: -4px;
  width: 7px;
  height: 2px;
  background: #a9a196;
  transform: rotate(45deg);
}

.face-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.face {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 11px;
}

.face span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 0 auto 4px;
  border-radius: 50%;
  color: var(--white);
  background: var(--gold);
}

.face.is-active span {
  outline: 3px solid rgba(7, 63, 49, 0.2);
  background: var(--emerald);
}

.preview-subhead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0 10px;
}

.preview-subhead button {
  border: 0;
  background: transparent;
  color: var(--emerald);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.mini-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.mini-gallery article {
  min-width: 0;
}

.mini-gallery img {
  width: 100%;
  aspect-ratio: 1 / 0.82;
  object-fit: cover;
  border-radius: 7px;
}

.mini-gallery b,
.mini-gallery small {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 11px;
}

.mini-gallery small {
  color: var(--muted);
}

.highlight-card {
  position: relative;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 12px;
}

.highlight-card img {
  width: 100%;
  height: 110px;
  object-fit: cover;
}

.highlight-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.45), transparent);
}

.highlight-card span {
  position: absolute;
  right: 12px;
  bottom: 8px;
  z-index: 2;
  color: var(--white);
  font-size: 12px;
}

.play-button {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 52px;
  height: 52px;
  margin: auto;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.38);
  cursor: pointer;
}

.play-button::after {
  content: "";
  position: absolute;
  left: 21px;
  top: 15px;
  border-left: 15px solid var(--white);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

section:not(.hero) {
  padding: 70px clamp(22px, 5vw, 56px);
}

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

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading p,
.section-label {
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 4vw, 58px);
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.2;
}

.workflow {
  border-top: 1px solid rgba(180, 107, 18, 0.16);
  background: linear-gradient(180deg, #fffdfa, #fffbf5);
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto;
}

.steps article {
  position: relative;
  min-height: 204px;
  padding: 28px 22px;
  text-align: center;
}

.steps article:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 30px;
  right: -18px;
  width: 28px;
  height: 1px;
  background: #d6b785;
}

.steps article:nth-child(5n)::after {
  display: none;
}

.steps span,
.feature-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  color: var(--gold);
  background: #f8ead8;
  font-weight: 850;
}

.steps p,
.feature-grid p,
.split-copy p,
.price-card p,
.custom-card p,
.testimonial-grid span,
.contact-copy p {
  color: var(--muted);
}

.steps h3 {
  min-height: 44px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.feature-grid article {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.feature-grid .feature-icon {
  width: 42px;
  height: 42px;
  margin: 0 0 18px;
  border-radius: var(--radius);
}

.comparison {
  background: linear-gradient(180deg, #fffdfa, #fbf4ea);
}

.comparison-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 22px;
  width: min(1180px, 100%);
  margin: 0 auto;
  align-items: stretch;
}

.comparison-lead,
.comparison-grid {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.comparison-lead {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: clamp(24px, 4vw, 38px);
  color: var(--white);
  background: var(--emerald);
}

.comparison-lead span {
  margin-bottom: 14px;
  color: #f5be69;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.comparison-lead h3 {
  margin-bottom: 14px;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.05;
  color: var(--white);
}

.comparison-lead p {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

.comparison-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
}

.comparison-points strong {
  padding: 9px 11px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  color: var(--white);
  font-size: 12px;
}

.comparison-lead .button {
  border-color: var(--white);
  color: var(--emerald);
  background: var(--white);
}

.comparison-grid {
  overflow: hidden;
  background: var(--white);
}

.comparison-row {
  display: grid;
  grid-template-columns: 0.82fr 1.1fr 1.28fr;
  border-bottom: 1px solid var(--line);
}

.comparison-row:last-child {
  border-bottom: 0;
}

.comparison-row span {
  min-width: 0;
  padding: 16px 18px;
  color: var(--muted);
  line-height: 1.55;
  border-right: 1px solid var(--line);
}

.comparison-row span:last-child {
  border-right: 0;
  color: var(--emerald);
  font-weight: 800;
}

.comparison-head {
  background: #fff6e8;
}

.comparison-head span {
  color: var(--emerald);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.platform-stack {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(22px, 4vw, 42px);
  align-items: start;
  background: #fffdfa;
}

.platform-stack-copy {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 18px;
}

.platform-stack-copy h2 {
  max-width: 620px;
  font-size: clamp(34px, 5vw, 66px);
  line-height: 0.98;
}

.platform-stack-copy > p {
  max-width: 560px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

.platform-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.platform-kpis article,
.platform-stack-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.platform-kpis article {
  padding: 16px;
}

.platform-kpis strong,
.platform-kpis span,
.platform-stack-grid span,
.platform-stack-grid h3,
.platform-stack-grid p {
  display: block;
}

.platform-kpis strong {
  margin-bottom: 4px;
  color: var(--emerald);
  font-size: 22px;
}

.platform-kpis span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.platform-stack-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.platform-stack-grid article {
  min-height: 230px;
  padding: 24px;
}

.platform-stack-grid span {
  width: max-content;
  margin-bottom: 48px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--emerald);
  background: #e8eadb;
  font-size: 12px;
  font-weight: 900;
}

.platform-stack-grid h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.platform-stack-grid p {
  color: var(--muted);
  line-height: 1.62;
}

.split-section {
  display: grid;
  grid-template-columns: 0.74fr 1.26fr;
  gap: clamp(34px, 5vw, 70px);
  align-items: center;
}

.split-section.reverse {
  grid-template-columns: 0.86fr 1.14fr;
}

.split-section.reverse .split-copy {
  order: -1;
}

.split-copy {
  max-width: 430px;
}

.split-copy .button {
  margin-top: 4px;
}

.dashboard-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.dashboard-top,
.project-row,
.metric-row {
  display: grid;
  align-items: center;
}

.dashboard-top {
  grid-template-columns: 1fr auto;
  padding-bottom: 18px;
}

.dashboard-top b {
  color: var(--gold);
}

.dashboard-top button,
.project-row button {
  min-height: 36px;
  border: 0;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--emerald);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  padding: 0 14px;
}

.metric-row {
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.metric-row article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.metric-row strong {
  display: block;
  font-size: 24px;
}

.metric-row span,
.project-row span {
  color: var(--muted);
  font-size: 13px;
}

.project-table {
  display: grid;
  gap: 10px;
}

.project-row {
  grid-template-columns: 1.5fr 0.9fr 1fr 0.8fr auto;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.project-row strong {
  font-size: 14px;
}

.project-status {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}

.gallery-showcase {
  display: grid;
  gap: 18px;
}

.wide-gallery {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.wide-gallery img {
  width: 100%;
  height: 330px;
  object-fit: cover;
}

.wide-gallery::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.54), transparent 55%);
}

.wide-gallery div {
  position: absolute;
  left: 24px;
  bottom: 22px;
  z-index: 1;
  color: var(--white);
}

.wide-gallery strong,
.wide-gallery span {
  display: block;
}

.gallery-filter,
.billing-toggle {
  display: inline-flex;
  width: max-content;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.gallery-filter button,
.billing-toggle button {
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  padding: 9px 14px;
}

.gallery-filter button.is-active,
.billing-toggle button.is-active {
  color: var(--white);
  background: var(--emerald);
}

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

.photo-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  transition: opacity 160ms ease, transform 160ms ease;
}

.photo-grid img.is-hidden {
  opacity: 0.2;
  transform: scale(0.96);
}

.workspace-page {
  background: #fbf7f0;
}

.workspace-page-main {
  min-height: calc(100vh - 80px);
  background: #fbf7f0;
}

.workspace-page:not(.is-workspace-ready) .workspace {
  visibility: hidden;
}

.workspace {
  background: #fbf7f0;
}

.workspace[hidden] {
  display: none !important;
}

.workspace-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  max-width: 1220px;
  margin: 0 auto;
}

.workspace-sidebar {
  position: sticky;
  top: 96px;
  align-self: start;
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.workspace-sidebar strong {
  margin-bottom: 8px;
  font-size: 15px;
}

.workspace-sidebar button,
.workspace-sidebar a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
  text-align: left;
}

.workspace-sidebar button.is-active,
.workspace-sidebar a.is-active {
  color: var(--white);
  background: var(--emerald);
}

.workspace-content {
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.workspace-panel {
  display: none;
}

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

.workspace-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 28px;
}

.workspace-head.slim {
  margin-top: 28px;
  margin-bottom: 12px;
}

.workspace-head.slim h2 {
  font-size: clamp(24px, 2.4vw, 34px);
}

.workspace-title-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  margin-bottom: 0;
  padding-bottom: 12px;
  color: var(--gold);
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 0.95;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.workspace-title-label::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(92px, 46%);
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--emerald));
}

.billing-section-label {
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: 900;
}

.workspace-head h1,
.workspace-head h2 {
  max-width: 620px;
  margin-bottom: 0;
  font-size: clamp(28px, 3vw, 44px);
}

.workspace-metrics,
.billing-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}

.workspace-metrics article,
.billing-summary article,
.workspace-gallery-list article,
.workspace-list article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdfa;
}

.workspace-metrics strong,
.billing-summary strong {
  display: block;
  margin-bottom: 4px;
  font-size: 26px;
}

.workspace-metrics span,
.billing-summary span,
.billing-summary small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.storage-card {
  display: grid;
  gap: 10px;
  margin: 0 0 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdfa;
}

.storage-card.compact {
  margin-top: -6px;
}

.storage-card span,
.storage-card small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.storage-card strong {
  display: block;
  margin-top: 4px;
  font-size: 22px;
}

.storage-meter {
  overflow: hidden;
  height: 10px;
  border-radius: 999px;
  background: #eadfce;
}

.storage-meter span {
  display: block;
  width: var(--storage-percent, 0%);
  height: 100%;
  border-radius: inherit;
  background: var(--emerald);
  transition: width 200ms ease;
}

.upgrade-card {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin: 0 0 22px;
  padding: 18px;
  border: 1px solid #d7aa63;
  border-radius: var(--radius);
  background: #fff7e8;
}

.upgrade-card[hidden] {
  display: none;
}

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

.upgrade-card span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.workspace-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 12px;
}

.workspace-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.workspace-form input,
.workspace-form select {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid #d9c7ad;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}

.workspace-form button {
  align-self: end;
}

.gallery-workflow-panel {
  display: grid;
  gap: 16px;
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdfa;
}

.gallery-code-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
  gap: 18px;
  align-items: end;
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.gallery-code-panel h2 {
  margin: 0 0 6px;
  font-size: clamp(22px, 2vw, 30px);
}

.gallery-code-panel span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.gallery-code-panel form {
  grid-template-columns: minmax(180px, 1fr) auto;
  align-items: end;
}

.gallery-section-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-end;
}

.gallery-section-head h2 {
  margin: 0;
  font-size: clamp(22px, 2vw, 30px);
}

.gallery-section-head > span {
  max-width: 410px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
  text-align: right;
}

.gallery-library-head {
  margin-top: 22px;
  margin-bottom: 12px;
}

.gallery-create-form {
  margin-bottom: 0;
}

.avatar-uploader {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdfa;
}

.avatar-preview {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  color: var(--white);
  background: var(--emerald);
  background-position: center;
  background-size: cover;
  font-weight: 900;
}

.avatar-uploader strong,
.avatar-uploader span {
  display: block;
}

.avatar-uploader span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.avatar-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.share-note {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin: 0 0 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdfa;
}

.share-note strong,
.share-note span {
  display: block;
}

.share-note span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.bulk-upload {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin: 0;
  padding: 18px;
  border: 1px dashed #cda876;
  border-radius: var(--radius);
  background: #fbf7ef;
}

.bulk-upload.is-dragover {
  border-color: var(--gold);
  background: #fff5e6;
}

.bulk-upload strong,
.bulk-upload span {
  display: block;
}

.bulk-upload span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

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

.upload-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 0 0 14px;
}

.upload-preview[hidden] {
  display: none;
}

.upload-preview article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdfa;
}

.upload-preview img,
.upload-preview video,
.file-preview-badge {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--soft);
}

.file-preview-badge {
  display: grid;
  place-items: center;
  color: var(--emerald);
  font-size: 22px;
  font-weight: 900;
}

.upload-preview article > div:not(.file-preview-badge) {
  padding: 9px;
}

.upload-preview strong,
.upload-preview small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upload-preview small {
  color: var(--muted);
  font-size: 12px;
}

.workspace-status {
  min-height: 22px;
  margin: 0 0 16px;
  color: var(--emerald);
  font-size: 14px;
  font-weight: 800;
}

.workspace-gallery-list,
.workspace-list {
  display: grid;
  gap: 12px;
}

.workspace-gallery-list article,
.workspace-list article {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 150px 120px auto;
  gap: 12px;
  align-items: center;
}

.workspace-gallery-list .gallery-row {
  position: relative;
  grid-template-columns: minmax(240px, 1fr) 160px 130px auto;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.workspace-gallery-list strong,
.workspace-list strong {
  display: block;
}

.workspace-gallery-list span,
.workspace-list span,
.workspace-gallery-list small,
.workspace-list small {
  color: var(--muted);
  font-size: 13px;
}

.gallery-row-title {
  min-width: 0;
}

.gallery-row-title strong,
.gallery-row-title span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gallery-row-meta {
  font-weight: 800;
}

.status-pill {
  display: inline-flex;
  width: max-content;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--emerald) !important;
  background: #edf6f0;
  font-size: 12px !important;
  font-weight: 900;
}

.ai-badge {
  display: inline-flex;
  width: max-content;
  margin-top: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--emerald);
  background: #eaf4ef;
  font-size: 11px !important;
  font-weight: 900;
}

.workspace-gallery-list button,
.workspace-list button {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--emerald);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.workspace-gallery-list .empty-gallery-state,
.workspace-list .empty-gallery-state {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  border-style: dashed;
  background: #fffaf2;
}

.empty-gallery-state strong {
  font-size: 20px;
}

.empty-gallery-state span {
  display: block;
  max-width: 560px;
  margin-top: 4px;
  line-height: 1.5;
}

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

.gallery-row-actions .danger {
  color: #a93424;
  border-color: #e5b8b0;
}

.gallery-row-actions input[hidden] {
  display: none;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(27, 23, 18, 0.55);
  backdrop-filter: blur(12px);
}

.gallery-dialog {
  position: relative;
  width: min(920px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow: auto;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.gallery-dialog-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.gallery-head-actions {
  display: grid;
  justify-items: end;
  gap: 10px;
  min-width: min(280px, 100%);
}

.gallery-private-code {
  display: grid;
  gap: 6px;
  min-width: 220px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fffdfa;
}

.gallery-private-code span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.gallery-private-code code {
  color: var(--emerald);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.gallery-private-code button {
  width: max-content;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--emerald);
  cursor: pointer;
  font-weight: 900;
}

.upload-progress-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(5, 79, 57, 0.22);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #f0fbf6, #fffdfa);
}

.upload-progress-panel[hidden] {
  display: none;
}

.upload-progress-panel strong,
.upload-progress-panel span {
  display: block;
}

.upload-progress-panel span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.upload-progress-track {
  grid-column: 1 / -1;
  overflow: hidden;
  height: 10px;
  border-radius: 999px;
  background: #dfe9e3;
}

.upload-progress-track span {
  display: block;
  width: var(--upload-progress, 0%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--emerald), var(--gold));
  transition: width 180ms ease;
}

.gallery-dialog h2 {
  margin-bottom: 4px;
  font-size: clamp(28px, 4vw, 44px);
}

.gallery-dialog-head span {
  color: var(--muted);
  font-weight: 800;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.gallery-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.gallery-analytics-panel {
  display: grid;
  gap: 16px;
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #fffdfa 0%, #f8f2ea 100%);
}

.gallery-analytics-panel strong,
.gallery-analytics-panel span {
  display: block;
}

.gallery-analytics-panel > div:first-child span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.analytics-summary {
  display: grid;
  grid-template-columns: repeat(7, minmax(90px, 1fr));
  gap: 10px;
}

.analytics-summary article {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.analytics-summary strong {
  font-size: 22px;
}

.analytics-summary span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.analytics-bars {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  min-height: 150px;
  align-items: end;
  padding-top: 6px;
}

.analytics-bar {
  display: grid;
  grid-template-rows: 110px auto auto;
  gap: 6px;
  align-items: end;
  text-align: center;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.analytics-bar span {
  width: 100%;
  min-height: 8px;
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(180deg, var(--gold) 0%, var(--emerald) 100%);
}

.analytics-bar em {
  color: var(--ink);
  font-style: normal;
}

.gallery-connect-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.gallery-connect-grid article {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdfa;
}

.gallery-connect-grid img {
  width: 160px;
  height: 160px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.gallery-connect-grid code {
  overflow: hidden;
  padding: 8px;
  border-radius: 6px;
  background: #f3eee5;
  color: var(--ink);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gallery-connect-grid button,
.workspace-list button {
  width: max-content;
}

.gallery-face-panel {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffaf2;
}

.gallery-face-panel strong,
.gallery-face-panel span {
  display: block;
}

.gallery-face-panel span,
.gallery-face-panel small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.gallery-face-panel .face-filter-row a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--emerald);
  background: var(--white);
  font-size: 13px;
  font-weight: 900;
}

.gallery-edit-panel,
.gallery-ai-workflow-panel {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f7fbf8;
}

.gallery-control-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.gallery-control-grid article {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdfa;
}

.gallery-control-grid strong,
.gallery-control-grid span,
.gallery-control-grid small,
.gallery-control-grid label {
  display: block;
}

.gallery-control-grid strong {
  color: var(--ink);
}

.gallery-control-grid span,
.gallery-control-grid small,
.gallery-control-grid label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.gallery-control-grid input:not([type="checkbox"]),
.gallery-control-grid select,
.gallery-control-grid textarea {
  width: 100%;
  min-height: 38px;
  margin-top: 6px;
  padding: 0 10px;
  border: 1px solid #d9c7ad;
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
}

.gallery-control-grid textarea {
  min-height: 76px;
  padding-top: 9px;
  resize: vertical;
}

.gallery-control-grid > .button {
  grid-column: 1 / -1;
  width: max-content;
}

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

.gallery-ai-workflow-panel {
  background: #fffaf2;
}

.gallery-edit-panel strong,
.gallery-edit-panel span,
.gallery-ai-workflow-panel strong,
.gallery-ai-workflow-panel span {
  display: block;
}

.gallery-edit-panel span,
.gallery-ai-workflow-panel span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.gallery-edit-actions,
.file-edit-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.gallery-edit-actions input,
.gallery-edit-actions select,
.file-edit-actions select {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid #d9c7ad;
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.gallery-edit-actions button,
.file-edit-actions button,
.file-edit-actions a {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--emerald);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.gallery-stats article,
.gallery-file-grid a,
.gallery-file-grid article,
.gallery-file-grid p {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdfa;
}

.gallery-stats strong,
.gallery-stats span,
.gallery-file-grid span,
.gallery-file-grid small {
  display: block;
}

.gallery-stats strong {
  font-size: 22px;
}

.gallery-stats span,
.gallery-file-grid small,
.gallery-file-grid p {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.gallery-file-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.gallery-file-grid a {
  min-width: 0;
  color: var(--ink);
}

.gallery-file-card {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.gallery-file-card img,
.gallery-file-card video,
.gallery-file-card .file-preview-badge {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  object-fit: cover;
  background: var(--soft);
}

.file-select-inline {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: var(--emerald);
  font-size: 12px;
  font-weight: 900;
}

.gallery-file-grid span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 900;
}

.file-ai-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.file-ai-badges em {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 0 8px;
  border: 1px solid #e2cfb5;
  border-radius: 999px;
  background: #fff7ea;
  color: var(--emerald);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.public-gallery-main {
  padding: 120px 32px 72px;
  background: linear-gradient(180deg, #fffdfa 0%, #f8f2ea 100%);
}

.public-gallery-hero,
.public-gallery-tools,
.public-gallery-grid {
  width: min(1180px, 100%);
  margin-inline: auto;
}

.public-gallery-hero {
  margin-bottom: 24px;
}

.public-gallery-hero h1 {
  max-width: 820px;
  margin-bottom: 10px;
  font-size: clamp(42px, 6vw, 82px);
}

.public-gallery-hero p:not(.section-label) {
  color: var(--muted);
  font-weight: 800;
}

.public-code-form {
  grid-template-columns: minmax(220px, 360px) auto;
  align-items: end;
  max-width: 560px;
  margin-top: 18px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.public-gallery-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: stretch;
  margin-bottom: 18px;
}

.face-search-panel,
.download-panel {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.face-search-panel {
  display: grid;
  gap: 14px;
}

.face-search-panel strong,
.download-panel strong {
  display: block;
  font-size: 18px;
}

.face-search-panel span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.face-search-panel input {
  width: 100%;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid #d9c7ad;
  border-radius: var(--radius);
  color: var(--ink);
}

.selfie-search {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.selfie-search [data-selfie-preview] {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 6px 10px 6px 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fffdfa;
}

.selfie-search [data-selfie-preview][hidden] {
  display: none;
}

.selfie-search img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.selfie-search [data-selfie-preview] span {
  color: var(--emerald);
  font-size: 12px;
  font-weight: 900;
}

.face-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.face-filter-row button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fffdfa;
  color: var(--emerald);
  cursor: pointer;
  font-weight: 900;
}

.face-filter-row button.is-active {
  border-color: var(--emerald);
  background: var(--emerald);
  color: var(--white);
}

.download-panel {
  display: grid;
  min-width: 280px;
  gap: 14px;
  align-content: center;
}

.download-panel div {
  display: flex;
  gap: 8px;
}

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

.public-file-card,
.public-empty {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.public-file-card {
  position: relative;
  display: grid;
  gap: 12px;
}

/* ── Watermark overlay (logo img or text) ── */
.wm-logo,
.wm-text {
  position: absolute;
  z-index: 4;
  pointer-events: none;
  user-select: none;
}

/* Logo watermark — bottom-right corner (default) */
.wm-logo {
  right: 12px;
  bottom: 52px;
  max-width: 110px;
  max-height: 44px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.78;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}

/* FliqaIndia forced watermark on Starter galleries —
   slightly larger and centred so it's clearly visible */
.wm-fliqa {
  right: auto;
  bottom: auto;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-width: 140px;
  max-height: 56px;
  opacity: 0.60;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.55));
}

/* Text watermark fallback — diagonal centre */
.wm-text {
  left: 50%;
  top: 44%;
  transform: translate(-50%, -50%) rotate(-18deg);
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(16px, 3.5vw, 26px);
  font-weight: 900;
  letter-spacing: 0.07em;
  text-shadow: 0 2px 14px rgba(0,0,0,0.45);
  white-space: nowrap;
}

.public-file-card img,
.public-file-card video,
.public-file-preview {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  object-fit: cover;
  background: var(--soft);
}

.public-file-preview {
  display: grid;
  place-items: center;
  color: var(--emerald);
  font-size: 30px;
  font-weight: 900;
}

.file-select {
  position: absolute;
  top: 24px;
  left: 24px;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 7px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--emerald);
  font-size: 12px;
  font-weight: 900;
}

.public-file-card strong,
.public-file-card span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-file-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.public-proof-panel {
  display: grid;
  gap: 8px;
}

.proof-buttons,
.public-file-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.proof-buttons button,
.public-proof-panel select,
.public-proof-panel input {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fffdfa;
  color: var(--emerald);
  font-size: 12px;
  font-weight: 900;
}

.proof-buttons button {
  cursor: pointer;
}

.proof-buttons button.is-active {
  border-color: var(--emerald);
  background: var(--emerald);
  color: var(--white);
}

.public-proof-panel input {
  width: 100%;
  color: var(--ink);
}

.public-file-actions .button {
  flex: 1 1 130px;
  justify-content: center;
}

.public-gallery-status {
  width: min(1180px, 100%);
  margin: 16px auto 0;
}

.guest-capture-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(18, 18, 16, 0.5);
  backdrop-filter: blur(9px);
}

.guest-capture-modal[hidden] {
  display: none;
}

.guest-capture-dialog {
  position: relative;
  display: grid;
  gap: 15px;
  width: min(450px, 100%);
  padding: clamp(28px, 5vw, 40px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 28px 80px rgba(20, 12, 6, 0.27);
}

.guest-capture-dialog h2 {
  max-width: 380px;
  margin: 0;
  font-size: clamp(38px, 7vw, 54px);
  line-height: 0.98;
}

.guest-capture-dialog > p:not(.section-label):not(.form-status) {
  margin-bottom: 4px;
  color: var(--muted);
  line-height: 1.6;
}

.guest-capture-dialog label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.guest-capture-dialog input {
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid #d9c7ad;
  border-radius: 7px;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
}

.guest-capture-dialog .button {
  margin-top: 6px;
  justify-content: center;
}

.guest-skip-link {
  min-height: 34px;
  border: 0;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-weight: 800;
}

.guest-skip-link:hover,
.guest-skip-link:focus-visible {
  color: var(--emerald);
}

.pricing {
  background: linear-gradient(180deg, #fffdfa, #fff7ed);
}

.trust-system {
  padding: 92px 32px;
  border-top: 1px solid rgba(180, 107, 18, 0.14);
  background:
    radial-gradient(circle at 10% 0%, rgba(6, 95, 70, 0.08), transparent 34%),
    linear-gradient(180deg, #fffdfa, #fbf4e9);
}

.trust-system .section-heading {
  margin-bottom: 34px;
}

.trust-system-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 1220px;
  margin: 0 auto;
}

.trust-system-grid article {
  min-height: 246px;
  padding: 28px;
  border: 1px solid rgba(222, 196, 158, 0.78);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 48px rgba(33, 24, 14, 0.065);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.trust-system-grid article:hover {
  transform: translateY(-3px);
  border-color: rgba(180, 107, 18, 0.36);
  box-shadow: var(--shadow-soft);
}

.trust-system-grid span {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  border-radius: 50%;
  color: var(--emerald);
  background: linear-gradient(135deg, #f9e8cc, #dce8df);
  font-size: 14px;
  font-weight: 950;
}

.trust-system-grid h3 {
  margin-bottom: 12px;
  font-size: 21px;
}

.trust-system-grid p {
  color: var(--muted);
}

.billing-toggle {
  display: flex;
  margin: 0 auto 24px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.price-card,
.custom-card {
  position: relative;
  padding: 28px;
  border: 1px solid #dec49e;
  border-radius: var(--radius);
  background: var(--white);
}

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

.credit-pack-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.credit-pack-grid strong {
  margin: 0 0 10px;
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1;
}

.credit-pack-grid small {
  color: var(--muted);
  font-weight: 800;
  line-height: 1.55;
}

.credit-pack-grid span {
  display: block;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.credit-pack-grid strong {
  display: block;
  color: var(--ink);
}

.price-card.featured {
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.price-card.featured > span,
.price-card.trial-card > span {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  min-width: 132px;
  padding: 5px 12px;
  border-radius: 999px;
  color: var(--white);
  background: var(--gold);
  text-align: center;
  font-size: 12px;
  font-weight: 800;
}

.price-card.trial-card > span {
  background: var(--green);
}

.price-card strong {
  display: block;
  margin: 24px 0;
  font-size: 32px;
}

.price-card strong::before {
  content: "₹";
}

.price-card strong.free-price::before {
  content: "";
}

.price-card small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.price-card strong small {
  display: block;
  margin-top: 8px;
  line-height: 1.2;
}

.price-card ul {
  display: grid;
  gap: 10px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
}

.price-card li::before {
  content: "o";
  color: var(--gold);
  font-weight: 900;
  margin-right: 9px;
}

.plan-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.plan-actions a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.payment-status {
  min-height: 22px;
  margin: 18px 0 0;
  color: var(--muted);
  text-align: center;
  font-size: 14px;
  font-weight: 700;
}

.billing-plan-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.upgrade-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 14px;
}

.upgrade-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
  margin-bottom: 4px;
}

.billing-plan-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  border: 1px solid #dec49e;
  border-radius: var(--radius);
  background: var(--white);
}

.billing-plan-card.is-highlighted {
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.billing-plan-card span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.billing-plan-card strong {
  font-size: 26px;
}

.billing-plan-card small,
.billing-plan-card li {
  color: var(--muted);
  font-weight: 800;
}

.billing-plan-card ul {
  flex: 1;
  margin: 0;
  padding-left: 18px;
}

.billing-plan-card li {
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.6;
}

.upgrade-plan-card strong {
  color: var(--emerald);
  font-size: 34px;
}

.upgrade-plan-card {
  position: relative;
}

.upgrade-plan-card .button {
  width: 100%;
  margin-top: auto;
}

.plan-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(190, 107, 20, 0.1);
  color: var(--gold);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.plan-price-note {
  color: var(--text);
}

.trial-expiry-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(180, 107, 18, 0.34);
  border-radius: var(--radius);
  background: #fff7ed;
}

.trial-expiry-card[hidden] {
  display: none;
}

.trial-expiry-card.is-expired {
  border-color: rgba(142, 39, 30, 0.35);
  background: #fff1ee;
}

.trial-expiry-card div {
  display: grid;
  gap: 5px;
}

.trial-expiry-card strong {
  font-size: 18px;
}

.trial-expiry-card span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.api-settings-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.api-gallery-endpoints {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.api-gallery-list {
  display: grid;
  gap: 12px;
}

.api-gallery-list article,
.api-gallery-empty {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdfa;
}

.api-gallery-list article {
  grid-template-columns: minmax(180px, 0.8fr) minmax(240px, 1.4fr) minmax(180px, 0.9fr) auto;
  align-items: center;
}

.api-gallery-list strong,
.api-gallery-list span,
.api-gallery-empty strong,
.api-gallery-empty span {
  display: block;
}

.api-gallery-list span,
.api-gallery-empty span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.api-gallery-list code {
  overflow: hidden;
  min-width: 0;
  padding: 10px;
  border-radius: 6px;
  background: #f3eee5;
  color: var(--ink);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.api-gallery-list article.is-locked {
  background: #fff7ed;
  opacity: 0.82;
}

.api-gallery-list article.is-locked code {
  color: var(--muted);
}

.api-settings-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border: 1px solid #dec49e;
  border-radius: var(--radius);
  background: var(--white);
}

.api-settings-card span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.api-settings-card strong {
  font-size: 24px;
  line-height: 1.15;
}

.api-settings-card code {
  min-height: 54px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbf7f0;
  color: var(--green);
  overflow-wrap: anywhere;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.api-settings-card p {
  flex: 1;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.55;
}

.api-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.referral-hero,
.referral-link-card,
.referral-rules article,
.referral-recent {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdfa;
}

.referral-hero {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin-bottom: 16px;
  padding: 24px;
  background: linear-gradient(135deg, #083f32 0%, #0b5c46 100%);
  color: var(--white);
}

.referral-hero span,
.referral-link-card span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.referral-hero strong {
  display: block;
  margin: 6px 0 8px;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1;
}

.referral-hero p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
  line-height: 1.6;
}

.referral-link-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 16px;
  padding: 18px;
}

.referral-link-card code {
  display: block;
  margin-top: 8px;
  padding: 14px;
  border-radius: 8px;
  background: #f3eee5;
  color: var(--green);
  font-weight: 900;
  overflow-wrap: anywhere;
}

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

.referral-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.referral-rules {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 16px;
}

.referral-rules article {
  padding: 18px;
}

.referral-rules strong,
.referral-recent > strong {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
}

.referral-rules ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.5;
}

.referral-rules p,
.referral-recent p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.6;
}

.referral-recent {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding: 18px;
}

.referral-recent article {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.referral-recent span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.referral-recent small {
  color: var(--muted);
  font-weight: 800;
}

/* Polished visual layer shared by marketing and workspace pages. */
body {
  background:
    radial-gradient(circle at top left, rgba(244, 223, 193, 0.46), transparent 34rem),
    linear-gradient(180deg, #fffdfa 0%, #fbf7f0 56%, #fffdfa 100%);
}

.site-header {
  width: min(100%, 1440px);
  margin: 0 auto;
  border-radius: 0 0 18px 18px;
  background: rgba(255, 253, 250, 0.9);
}

.brand span {
  font-weight: 800;
}

.brand small {
  color: var(--muted);
  font-weight: 700;
}

.nav a {
  position: relative;
  padding: 8px 0;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 2px;
  border-radius: 999px;
  background: var(--gold);
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.button {
  box-shadow: none;
}

.button-dark {
  background: linear-gradient(135deg, var(--emerald), #095f49);
  box-shadow: 0 16px 34px rgba(7, 63, 49, 0.18);
}

.button-light,
.button-ghost,
.user-chip,
.menu-button {
  background: rgba(255, 255, 255, 0.82);
}

.button-light:hover,
.button-ghost:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-soft);
}

.hero {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  padding-top: clamp(56px, 7vw, 96px);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 28px clamp(16px, 4vw, 44px) auto;
  height: 82%;
  border: 1px solid rgba(231, 221, 208, 0.74);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.62), rgba(248, 242, 234, 0.4));
  z-index: -2;
}

.hero-copy {
  padding: clamp(8px, 2vw, 18px) 0;
}

.hero-copy > p {
  color: #514b43;
}

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

.hero-list li,
.check-list li {
  align-items: flex-start;
  padding: 11px 12px;
  border: 1px solid rgba(231, 221, 208, 0.82);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.62);
}

.hero-media {
  min-height: 680px;
}

.hero-media::before {
  inset: -54px -36px -36px 8%;
  border-radius: 30px 0 0 120px;
  background:
    linear-gradient(115deg, rgba(255, 253, 250, 0.76), rgba(255, 253, 250, 0.04) 34%),
    linear-gradient(145deg, #f6e7d4, #eef3ed);
}

.hero-media > img {
  height: 680px;
  border-radius: 28px 0 0 110px;
  box-shadow: var(--shadow-strong);
}

.phone-preview {
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 30px 80px rgba(31, 21, 11, 0.22);
}

.workflow,
.pricing {
  background: linear-gradient(180deg, rgba(255, 253, 250, 0.86), rgba(255, 247, 237, 0.9));
}

.steps article,
.feature-grid article,
.dashboard-panel,
.price-card,
.testimonial-grid article,
.demo-form,
.workspace-content,
.workspace-sidebar,
.workspace-metrics article,
.billing-summary article,
.storage-card,
.workspace-gallery-list article,
.workspace-list article,
.billing-plan-card,
.api-settings-card,
.avatar-uploader,
.share-note,
.bulk-upload {
  border-color: rgba(222, 196, 158, 0.72);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 34px rgba(33, 24, 14, 0.055);
}

.feature-grid article,
.price-card,
.testimonial-grid article,
.billing-plan-card,
.api-settings-card,
.workspace-gallery-list article,
.workspace-list article {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.feature-grid article:hover,
.price-card:hover,
.testimonial-grid article:hover,
.billing-plan-card:hover,
.api-settings-card:hover,
.workspace-gallery-list article:hover,
.workspace-list article:hover {
  transform: translateY(-3px);
  border-color: rgba(180, 107, 18, 0.36);
  box-shadow: var(--shadow-soft);
}

.steps span,
.feature-icon {
  color: var(--emerald);
  background: linear-gradient(135deg, #f9e8cc, #dce8df);
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-grid article {
  min-height: 220px;
}

.product-demo {
  background: linear-gradient(180deg, #fff7ed 0%, #fffdfa 100%);
  overflow: hidden;
}

.product-demo-frame {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.32fr);
  gap: 22px;
  align-items: end;
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px;
  border: 1px solid rgba(222, 196, 158, 0.72);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 26px 70px rgba(33, 24, 14, 0.09);
}

.demo-screen,
.demo-phone-card,
.demo-floating-card,
.product-demo-steps article {
  border: 1px solid rgba(222, 196, 158, 0.74);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 42px rgba(33, 24, 14, 0.08);
}

.demo-screen {
  overflow: hidden;
  border-radius: 14px;
}

.demo-browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(222, 196, 158, 0.7);
  background: #fbf6ef;
}

.demo-browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d8c6ac;
}

.demo-browser-bar strong {
  margin-left: 8px;
  color: var(--muted);
  font-size: 13px;
}

.demo-dashboard {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  min-height: 410px;
}

.demo-dashboard aside {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 22px;
  border-right: 1px solid rgba(222, 196, 158, 0.64);
  background: #fffaf4;
}

.demo-dashboard aside strong,
.demo-work-area small,
.demo-floating-card span,
.product-demo-steps span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.demo-dashboard aside span {
  padding: 10px 12px;
  border-radius: 7px;
  color: var(--muted);
  font-weight: 900;
}

.demo-dashboard aside .is-active {
  color: var(--white);
  background: var(--emerald);
}

.demo-work-area {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.demo-title-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.demo-title-row h3 {
  margin: 5px 0 0;
  font-size: clamp(30px, 4vw, 50px);
}

.demo-title-row button,
.demo-phone-card button {
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  color: var(--white);
  background: var(--emerald);
  font-weight: 900;
}

.demo-upload-zone {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px dashed rgba(180, 107, 18, 0.48);
  border-radius: 12px;
  background: #fff8ee;
}

.demo-upload-zone span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.demo-progress {
  overflow: hidden;
  height: 9px;
  border-radius: 999px;
  background: #eadfcd;
}

.demo-progress i {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--emerald), var(--gold));
  animation: demo-progress 3.8s ease-in-out infinite;
}

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

.demo-file-grid article {
  overflow: hidden;
  border: 1px solid rgba(222, 196, 158, 0.72);
  border-radius: 12px;
  background: #fff;
}

.demo-file-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.demo-file-grid span {
  display: block;
  padding: 10px;
  font-weight: 900;
}

.demo-phone-card {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 14px;
  border-radius: 20px;
  animation: demo-float 4s ease-in-out infinite;
}

.demo-phone-top {
  width: 52px;
  height: 5px;
  margin: 0 auto 4px;
  border-radius: 99px;
  background: #dccdb8;
}

.demo-phone-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  object-fit: cover;
}

.demo-phone-card strong {
  font-size: 18px;
}

.demo-phone-card span {
  color: var(--muted);
  font-weight: 800;
}

.demo-floating-card {
  position: absolute;
  z-index: 3;
  display: grid;
  gap: 6px;
  min-width: 210px;
  padding: 14px 16px;
  border-radius: 12px;
  animation: demo-float 4.8s ease-in-out infinite;
}

.demo-floating-card-one {
  right: 250px;
  top: 78px;
}

.demo-floating-card-two {
  left: 44px;
  bottom: 34px;
  animation-delay: 900ms;
}

.demo-floating-card strong {
  color: var(--emerald);
  font-size: 15px;
}

.product-demo-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 1180px;
  margin: 18px auto 0;
}

.product-demo-steps article {
  display: grid;
  gap: 8px;
  min-height: 132px;
  padding: 18px;
  border-radius: 12px;
}

.product-demo-steps strong {
  font-size: 18px;
}

.product-demo-steps small {
  color: var(--muted);
  font-weight: 700;
}

@keyframes demo-progress {
  0%,
  100% {
    width: 38%;
  }
  50% {
    width: 92%;
  }
}

@keyframes demo-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.dashboard-panel,
.gallery-showcase,
.contact-image,
.wide-gallery {
  overflow: hidden;
}

.metric-row article {
  background: linear-gradient(180deg, #fffdfa, #f9f3eb);
}

.project-row {
  background: #fffdfa;
}

.workspace-page,
.workspace-page-main,
.workspace {
  background:
    radial-gradient(circle at 0 0, rgba(244, 223, 193, 0.42), transparent 28rem),
    #fbf7f0;
}

.workspace-page-main {
  padding-top: 0;
}

.workspace-shell {
  max-width: 1280px;
  gap: 28px;
}

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

.workspace-sidebar a {
  border: 1px solid transparent;
}

.workspace-sidebar a:hover {
  color: var(--emerald);
  background: #f6efe5;
}

.workspace-sidebar a.is-active {
  background: linear-gradient(135deg, var(--emerald), #095f49);
  box-shadow: 0 10px 20px rgba(7, 63, 49, 0.14);
}

.workspace-content {
  border-radius: 16px;
}

.workspace-head h1,
.workspace-head h2 {
  line-height: 1.02;
}

.workspace-form input,
.workspace-form select,
.auth-panel input,
.demo-form input,
.demo-form select,
.demo-form textarea {
  border-color: #d9c7ad;
  background: linear-gradient(180deg, #ffffff, #fffdfa);
}

.trial-expiry-card,
.upgrade-card {
  border-radius: 12px;
}

.api-settings-card code,
.gallery-connect-grid code {
  border-color: rgba(222, 196, 158, 0.82);
  background: #f7f0e6;
}

.contact {
  background:
    linear-gradient(90deg, rgba(255, 253, 250, 0.92), rgba(255, 255, 255, 0.96)),
    var(--white);
}

.footer {
  background:
    linear-gradient(180deg, #fffdfa, #f7efe4);
  border-top-color: rgba(180, 107, 18, 0.18);
}

.custom-card {
  align-self: center;
  border-color: transparent;
  background: transparent;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.partners {
  overflow: hidden;
  background: linear-gradient(180deg, #fffdfa 0%, #f8f2ea 100%);
}

.partner-marquee {
  width: min(1240px, 100%);
  max-width: calc(100vw - 36px);
  margin: 0 auto;
  overflow: hidden;
  contain: paint;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.partner-track {
  display: flex;
  width: max-content;
  gap: 14px;
  padding: 18px;
  animation: partner-scroll 34s linear infinite;
}

.partner-track span {
  display: inline-flex;
  min-width: 182px;
  min-height: 88px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  text-align: center;
  white-space: nowrap;
}

.partner-logo img {
  width: 148px;
  height: 60px;
  object-fit: contain;
  filter: none;
  mix-blend-mode: normal;
}

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

.testimonial-grid article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.testimonial-grid p {
  min-height: 110px;
}

.testimonial-grid strong,
.testimonial-grid span {
  display: block;
}

.testimonial-grid strong::before {
  content: "★★★★★";
  display: block;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 0.12em;
}

.contact {
  display: grid;
  grid-template-columns: 0.95fr 0.75fr 1fr;
  gap: 38px;
  align-items: center;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.contact-image {
  min-height: 360px;
  overflow: hidden;
  border-radius: 0 80px 0 0;
}

.contact-image img {
  width: 100%;
  height: 430px;
  object-fit: cover;
}

.contact-copy address {
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-style: normal;
}

.demo-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.demo-form label {
  display: grid;
  gap: 7px;
  color: #433d36;
  font-size: 13px;
  font-weight: 800;
}

.demo-form .full {
  grid-column: 1 / -1;
}

.demo-form input,
.demo-form select,
.demo-form textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid #dacfc1;
  border-radius: 6px;
  background: var(--white);
  padding: 10px 12px;
  color: var(--ink);
  font-size: 14px;
  outline: none;
}

.demo-form textarea {
  min-height: 92px;
  resize: vertical;
}

.demo-form input:focus,
.demo-form select:focus,
.demo-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(180, 107, 18, 0.12);
}

.form-status {
  align-self: center;
  margin: 0;
  color: var(--emerald);
  font-size: 14px;
  font-weight: 800;
}

.footer {
  display: grid;
  grid-template-columns: 1.35fr repeat(4, minmax(160px, 0.8fr));
  gap: 28px;
  padding: 34px clamp(22px, 5vw, 56px);
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.footer div {
  display: grid;
  gap: 8px;
  align-content: start;
  font-size: 14px;
}

.footer-brand p,
.footer-contact span,
.footer-contact a[target],
.footer-copy {
  color: var(--muted);
  font-size: 13px;
}

.footer-brand p {
  max-width: 280px;
  margin: 14px 0 0;
}

.footer-contact span,
.footer-contact a[target] {
  line-height: 1.45;
}

.footer-copy {
  grid-column: 1 / -1;
  align-self: end;
  margin: 0;
  padding-top: 4px;
}

.legal-main {
  padding: 132px clamp(18px, 5vw, 58px) 72px;
  background: linear-gradient(180deg, #fffdfa 0%, #fff7ed 100%);
}

.contact-page-main {
  padding: 132px clamp(18px, 5vw, 58px) 72px;
  background: linear-gradient(180deg, #fffdfa 0%, #f8f2ea 100%);
}

.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.85fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.contact-hero h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(48px, 7vw, 86px);
}

.contact-hero > div > p:not(.section-label) {
  max-width: 650px;
  color: var(--muted);
  font-size: 18px;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.contact-methods a,
.contact-page-form {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.contact-methods strong,
.contact-methods span {
  display: block;
}

.contact-methods strong {
  color: var(--emerald);
}

.contact-methods span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.contact-page-form {
  margin: 0;
}

.contact-faq {
  width: min(1180px, 100%);
  margin: clamp(36px, 6vw, 72px) auto 0;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.contact-faq .section-heading {
  margin-bottom: 24px;
}

.contact-faq .section-heading h2 {
  font-size: clamp(40px, 6vw, 72px);
}

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

.faq-grid details {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdfa;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.faq-grid details[open] {
  border-color: rgba(180, 107, 18, 0.38);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(33, 24, 14, 0.08);
}

.faq-grid summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 900;
  list-style-position: outside;
}

.faq-grid p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.legal-card {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.legal-card h1 {
  max-width: 760px;
  margin: 0 0 18px;
  font-size: clamp(42px, 6vw, 70px);
  line-height: 0.96;
}

.legal-card h2 {
  margin: 28px 0 10px;
  font-size: 24px;
}

.legal-card p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.75;
}

@media (max-width: 1180px) {
  .site-header {
    gap: 18px;
  }

  .nav {
    gap: 14px;
    font-size: 13px;
  }

  .header-actions .button {
    padding-inline: 16px;
  }

  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .pricing-grid,
  .credit-pack-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .contact-image {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav,
  .header-actions {
    display: none;
  }

  .site-header.is-open .nav,
  .site-header.is-open .header-actions {
    display: flex !important;
    grid-column: 1 / -1;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .site-header.is-open .nav {
    padding-top: 8px;
  }

  .menu-button {
    display: block;
  }
}

@media (max-width: 920px) {
  .hero,
  .split-section,
  .split-section.reverse,
  .platform-stack,
  .contact,
  .contact-hero {
    grid-template-columns: 1fr;
  }

  .platform-stack-copy {
    position: static;
  }

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

  .gallery-code-panel,
  .gallery-code-panel form {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    padding-top: 46px;
    overflow: visible;
  }

  .hero::before {
    inset: 18px 12px auto;
    height: calc(100% - 28px);
  }

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

  .hero-media {
    min-height: 560px;
    border-radius: 0 0 0 70px;
  }

  .hero-media > img {
    height: 560px;
    object-position: 70% center;
    border-radius: 24px 24px 24px 72px;
  }

  .phone-preview {
    width: min(390px, calc(100% - 32px));
    min-width: 0;
    right: 16px;
  }

  .steps,
  .feature-grid,
  .platform-stack-grid,
  .trust-system-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-demo-frame {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-demo-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps article:not(:last-child)::after {
    display: none;
  }

  .split-section.reverse .split-copy {
    order: 0;
  }

  .project-row {
    grid-template-columns: 1fr 1fr auto;
  }

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

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

  .workspace-sidebar {
    position: static;
    grid-template-columns: repeat(4, 1fr);
  }

  .workspace-sidebar strong {
    grid-column: 1 / -1;
  }

  .workspace-form,
  .workspace-metrics,
  .billing-summary,
  .billing-plan-grid,
  .upgrade-plan-grid,
  .api-settings-grid,
  .api-gallery-list article {
    grid-template-columns: 1fr 1fr;
  }

  .upload-preview {
    grid-template-columns: repeat(2, 1fr);
  }

  .workspace-gallery-list article,
  .workspace-list article {
    grid-template-columns: 1fr 1fr;
  }

  .workspace-gallery-list .gallery-row {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-stats,
  .analytics-summary,
  .gallery-file-grid,
  .gallery-connect-grid,
  .public-gallery-tools,
  .public-gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 620px) {
  body {
    font-size: 15px;
  }

  .site-header {
    padding: 14px 18px;
  }

  .brand span {
    font-size: 25px;
  }

  .hero {
    gap: 32px;
    padding-inline: 18px;
  }

  .hero-list {
    grid-template-columns: 1fr;
  }

  .hero-code-lookup,
  .public-code-form {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(46px, 15vw, 64px);
  }

  h2 {
    font-size: clamp(32px, 11vw, 44px);
  }

  .hero-actions,
  .header-actions,
  .site-header.is-open .header-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .site-header.is-open .nav {
    width: 100%;
    flex-direction: column;
    gap: 8px;
  }

  .site-header.is-open .nav a,
  .site-header.is-open .header-actions > a,
  .site-header.is-open .header-actions > button,
  .site-header.is-open .account-menu {
    width: 100%;
  }

  .site-header.is-open .nav a,
  .site-header.is-open .header-actions > a,
  .site-header.is-open .header-actions > button {
    justify-content: center;
  }

  .user-chip {
    justify-content: space-between;
  }

  .auth-dialog {
    padding: 28px 22px;
  }

  .trust-line span {
    display: none;
  }

  .hero-media {
    min-height: 520px;
  }

  .hero-media > img {
    height: 520px;
    border-radius: 0 0 0 52px;
  }

  .phone-preview {
    left: 14px;
    right: 14px;
    bottom: 28px;
    padding: 16px;
  }

  section:not(.hero) {
    padding: 52px 18px;
  }

  .public-gallery-main {
    padding: 96px 18px 54px;
  }

  .steps,
  .feature-grid,
  .platform-stack,
  .platform-stack-grid,
  .platform-kpis,
  .product-demo-frame,
  .product-demo-steps,
  .comparison-layout,
  .pricing-grid,
  .trust-system-grid,
  .credit-pack-grid,
  .testimonial-grid,
  .metric-row,
  .workspace-form,
  .workspace-metrics,
  .billing-summary,
  .billing-plan-grid,
  .upgrade-plan-grid,
  .api-settings-grid,
  .api-gallery-list article,
  .gallery-control-grid,
  .demo-form,
  .footer {
    grid-template-columns: 1fr;
  }

  .comparison-row {
    grid-template-columns: 1fr;
  }

  .comparison-row span {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .comparison-row span:last-child {
    border-bottom: 0;
  }

  .demo-dashboard {
    grid-template-columns: 1fr;
  }

  .demo-dashboard aside {
    display: none;
  }

  .demo-title-row {
    display: grid;
  }

  .demo-file-grid {
    grid-template-columns: 1fr;
  }

  .demo-floating-card {
    position: static;
    min-width: 0;
  }

  .dashboard-panel,
  .price-card,
  .custom-card,
  .demo-form,
  .workspace-content,
  .workspace-sidebar {
    padding: 20px;
  }

  .project-row {
    grid-template-columns: 1fr;
  }

  .workspace-content {
    padding: 18px;
  }

  .workspace-head {
    display: grid;
  }

  .gallery-section-head {
    display: grid;
    align-items: start;
  }

  .gallery-section-head > span {
    max-width: none;
    text-align: left;
  }

  .workspace-title-label {
    padding-bottom: 10px;
    font-size: clamp(28px, 10vw, 42px);
    line-height: 1;
  }

  .billing-toggle,
  .billing-toggle button {
    width: 100%;
  }

  .avatar-uploader {
    grid-template-columns: 1fr;
  }

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

  .bulk-upload {
    grid-template-columns: 1fr;
  }

  .bulk-upload-actions {
    justify-content: stretch;
  }

  .bulk-upload-actions .button {
    width: 100%;
  }

  .upload-preview {
    grid-template-columns: 1fr;
  }

  .workspace-gallery-list article,
  .workspace-list article {
    grid-template-columns: 1fr;
  }

  .workspace-gallery-list .gallery-row,
  .workspace-gallery-list .empty-gallery-state {
    grid-template-columns: 1fr;
  }

  .gallery-row-actions {
    justify-content: stretch;
  }

  .gallery-row-actions button,
  .empty-gallery-state button {
    width: 100%;
  }

  .gallery-dialog {
    padding: 22px;
  }

  .gallery-dialog-head,
  .gallery-stats,
  .analytics-summary,
  .analytics-bars,
  .gallery-file-grid,
  .gallery-connect-grid,
  .gallery-control-grid,
  .public-gallery-tools,
  .public-gallery-grid {
    grid-template-columns: 1fr;
  }

  .download-panel,
  .download-panel div,
  .download-panel .button {
    width: 100%;
  }

  .gallery-dialog-head {
    display: grid;
  }

  .gallery-head-actions {
    justify-items: stretch;
  }

  .gallery-private-code {
    min-width: 0;
  }

  .gallery-private-code button,
  .gallery-head-actions .button {
    width: 100%;
  }

  .upgrade-card {
    display: grid;
  }

  .trial-expiry-card {
    display: grid;
  }

  .project-row button {
    width: 100%;
  }

  .wide-gallery img,
  .contact-image img {
    height: 280px;
  }

  .photo-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .api-actions,
  .plan-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .api-actions .button,
  .plan-actions .button {
    width: 100%;
  }

  .gallery-filter {
    width: 100%;
    overflow-x: auto;
  }

  .gallery-filter button {
    white-space: nowrap;
  }

  .footer p {
    align-self: start;
  }

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

  .contact-methods {
    grid-template-columns: 1fr;
  }

  .partner-track span {
    min-width: 132px;
    min-height: 62px;
  }

}

@media (max-width: 420px) {
  .phone-preview {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: -130px;
  }

  .hero-media {
    min-height: 0;
  }

  .hero-media > img {
    height: 430px;
  }

  .face-row {
    gap: 4px;
  }

  .face span {
    width: 36px;
    height: 36px;
  }

  .mini-gallery {
    gap: 6px;
  }
}

@media (max-width: 760px) {
  .referral-hero,
  .referral-link-card,
  .referral-rules,
  .referral-recent article {
    grid-template-columns: 1fr;
  }

  .referral-hero {
    display: grid;
    align-items: start;
  }

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

  .referral-actions .button {
    width: 100%;
  }

  .referral-metrics {
    grid-template-columns: 1fr;
  }
}

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

/* ===== REDESIGN 2026-05-30 ===== */

/* New font stack */
:root {
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Plus Jakarta Sans', 'Inter', ui-sans-serif, system-ui, sans-serif;
  --emerald: #065f46;
  --emerald-2: #047857;
  --gold: #b45309;
  --gold-soft: #fef3c7;
  --ink: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --paper: #fffdf9;
  --soft: #f9fafb;
}

body {
  font-family: var(--sans);
}

h1, h2 {
  font-family: var(--serif);
}

/* Hero H1 italic em */
.hero-copy h1 em {
  display: inline;
  font-style: italic;
  color: var(--gold);
}

/* Plan badge */
.plan-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
  border: 1px solid var(--line);
}

.featured-badge {
  background: linear-gradient(135deg, #065f46, #047857);
  color: #ffffff;
  border-color: transparent;
}

/* Yearly save pill */
.yearly-save {
  display: none;
  font-size: 12px;
  font-weight: 700;
  color: var(--emerald);
  background: #d1fae5;
  border-radius: 999px;
  padding: 4px 10px;
  margin: -4px 0 12px;
  width: max-content;
}

[data-billing="yearly"] ~ .pricing-grid .yearly-save,
.is-yearly .yearly-save {
  display: block;
}

/* Improved pricing cards */
.price-card {
  display: grid;
  gap: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  transition: transform 180ms ease, box-shadow 180ms ease;
  align-content: start;
}

.price-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.price-card.featured {
  border-color: var(--emerald);
  background: linear-gradient(180deg, #f0fdf4, #fffdf9);
  box-shadow: 0 8px 32px rgba(6, 95, 70, 0.12);
  position: relative;
}

.price-card h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 6px;
  font-family: var(--sans);
}

.price-card > p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 18px;
  line-height: 1.6;
}

.price-card strong {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 20px;
  font-size: 42px;
  line-height: 1;
  font-family: var(--serif);
}

.price-card strong span {
  font-size: 42px;
  color: var(--ink);
}

.free-price span {
  font-size: 36px;
  color: var(--emerald);
}

.price-card strong small {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  font-family: var(--sans);
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: grid;
  gap: 9px;
}

.price-card ul li {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.5;
}

.price-card ul li:not(:has(✗)) {
  color: var(--ink);
}

.price-card .plan-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.price-card .plan-actions a:last-child {
  text-align: center;
  font-size: 13px;
  color: var(--emerald);
  font-weight: 700;
  padding: 6px;
}

.price-card .plan-actions a:last-child:hover {
  color: var(--gold);
}

/* Pricing grid responsive */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Billing toggle improvement */
.billing-toggle {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

/* Feature grid improvement */
.feature-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-grid article {
  border-radius: 12px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.feature-grid article:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

/* Testimonials improvement */
.testimonial-grid article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.testimonial-grid article p {
  font-style: italic;
  margin-bottom: 18px;
  line-height: 1.7;
  font-size: 15px;
}

.testimonial-grid article strong {
  display: block;
  font-weight: 800;
  font-size: 15px;
}

.testimonial-grid article span {
  font-size: 13px;
}

/* Steps improvement */
.steps article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: transform 160ms ease;
}

.steps article:hover {
  transform: translateY(-2px);
}

/* Section background alternation */
.workflow {
  background: linear-gradient(180deg, #f0fdf4 0%, #fffdf9 100%);
}

.comparison {
  background: linear-gradient(180deg, #fffdf9, #f0fdf4);
}

/* Hero improvements */
.hero::before {
  background: linear-gradient(135deg, rgba(240, 253, 244, 0.9), rgba(255, 253, 249, 0.4) 40%), #fef9ee;
}

/* Sticky header improvement */
.site-header {
  background: rgba(255, 253, 249, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* Burger active animation */
.menu-button span {
  transition: transform 200ms ease, opacity 200ms ease;
  transform-origin: center;
}

.site-header.is-open .menu-button span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-header.is-open .menu-button span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.site-header.is-open .menu-button span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Improved section spacing */
.pricing {
  background: linear-gradient(180deg, #f0fdf4 0%, #fffdf9 100%);
  padding-top: 80px;
  padding-bottom: 80px;
}

.pricing .section-heading {
  margin-bottom: 28px;
}

/* Payment status */
.payment-status {
  text-align: center;
  min-height: 24px;
  margin-top: 18px;
  font-weight: 700;
  font-size: 15px;
  color: var(--emerald);
}

/* Partner marquee improvement */
.partner-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
}

/* Demo form improvements */
.demo-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
}

.demo-form label {
  display: grid;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

.demo-form input,
.demo-form select,
.demo-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-size: 15px;
  transition: border-color 160ms ease;
}

.demo-form input:focus,
.demo-form select:focus,
.demo-form textarea:focus {
  outline: none;
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(6,95,70,0.1);
}

.demo-form textarea {
  min-height: 120px;
  padding: 12px 14px;
  resize: vertical;
}

/* Responsive: 1180px */
@media (max-width: 1180px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Responsive: 920px */
@media (max-width: 920px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Responsive: 620px */
@media (max-width: 620px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
  .price-card {
    padding: 22px;
  }
  .price-card strong {
    font-size: 34px;
  }
  .plan-badge {
    font-size: 10px;
  }
}

/* Responsive: 480px */
@media (max-width: 480px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .hero-copy h1 {
    font-size: clamp(38px, 10vw, 54px);
  }
}

/* ===== END REDESIGN 2026-05-30 ===== */

/* ===== PHOTO BUY / SELECTION FIX 2026-05-30 ===== */

/* Download panel — always visible, stacked layout */
.download-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
}

.sel-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 28px;
}

.sel-label {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
}

.sel-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.sel-actions .button {
  flex: 1 1 120px;
  justify-content: center;
}

/* Download panel when something is selected */
.download-panel.has-selection {
  background: linear-gradient(180deg, #f0fdf4, #fff);
  border-color: rgba(6,95,70,0.2);
}

/* Individual buy photo button improvements */

/* Public file card — Buy button area */
.public-file-actions {
  gap: 8px;
  align-items: stretch;
}

.public-file-actions .button {
  flex: 1 1 auto;
  min-height: 42px;
  font-size: 13px;
  font-weight: 800;
  justify-content: center;
}

/* Status message improvements */
.public-gallery-status {
  font-size: 14px;
  font-weight: 700;
  min-height: 24px;
  padding: 10px 0;
  color: var(--emerald);
}

/* Responsive fixes */
@media (max-width: 920px) {
  .download-panel {
    min-width: 200px;
  }
}

@media (max-width: 620px) {
  .public-gallery-tools {
    grid-template-columns: 1fr;
  }
  .download-panel {
    width: 100%;
  }
  .sel-actions {
    flex-direction: column;
  }
  .sel-actions .button {
    width: 100%;
  }
}

/* ===== END PHOTO BUY FIX ===== */

/* ===== CLIENT PROOF FEEDBACK PANEL ===== */

.gallery-proof-panel {
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.gallery-proof-panel > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gallery-proof-panel > div:first-child strong {
  font-size: 15px;
  font-weight: 800;
}

.gallery-proof-panel > div:first-child span {
  color: var(--muted);
  font-size: 13px;
}

.proof-feedback-lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.proof-section-label {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 10px;
}

.proof-comments-list,
.proof-visitors-list {
  display: grid;
  gap: 10px;
  max-height: 260px;
  overflow-y: auto;
  padding-right: 4px;
}

.proof-comment-row,
.proof-visitor-row {
  display: grid;
  gap: 2px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.proof-comment-row strong,
.proof-visitor-row strong {
  font-size: 13px;
  font-weight: 800;
  color: var(--emerald);
}

.proof-comment-row span {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.5;
}

.proof-visitor-row span {
  font-size: 13px;
  color: var(--gold);
  font-weight: 700;
}

.proof-comment-row small,
.proof-visitor-row small {
  font-size: 11px;
  color: var(--muted);
}

@media (max-width: 620px) {
  .proof-feedback-lists {
    grid-template-columns: 1fr;
  }
  .proof-comments-list,
  .proof-visitors-list {
    max-height: 180px;
  }
}

/* ===== END PROOF FEEDBACK PANEL ===== */


/* ===== WATERMARK UPLOAD UI ===== */

.watermark-upload-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
  padding: 12px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.watermark-logo-preview {
  max-height: 40px;
  max-width: 120px;
  width: auto;
  object-fit: contain;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 4px;
}

.watermark-no-logo {
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
}

.watermark-upload-btn {
  font-size: 13px;
  min-height: 36px;
  padding: 0 14px;
  cursor: pointer;
}

@media (max-width: 480px) {
  .watermark-upload-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .watermark-upload-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ===== END WATERMARK UPLOAD UI ===== */

/* ===== MOBILE-FIRST RESPONSIVE STABILIZATION 2026-06-02 ===== */

*, *::before, *::after {
  min-width: 0;
}

.site-header,
.workspace-shell,
.workspace-content,
.workspace-sidebar,
.gallery-dialog,
.public-gallery-hero,
.public-gallery-grid,
.footer,
section {
  max-width: 100%;
}

.site-header .brand,
.site-header .nav,
.site-header .header-actions {
  min-width: 0;
}

.site-header.is-open .menu-button {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  justify-self: end;
}

input,
select,
textarea,
button {
  max-width: 100%;
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }

  .site-header .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .site-header .menu-button {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .site-header.is-open .nav {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .site-header.is-open .header-actions {
    grid-column: 1 / -1;
    grid-row: 3;
  }
}

@media (max-width: 920px) {
  .workspace-shell,
  .contact-hero,
  .comparison-layout,
  .platform-stack,
  .public-gallery-hero {
    width: 100%;
  }

  .gallery-dialog {
    width: min(100%, calc(100vw - 24px));
  }
}

@media (max-width: 620px) {
  .site-header {
    gap: 12px;
    padding: 14px 16px;
  }

  .site-header.is-open .nav a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
  }

  .site-header.is-open .header-actions {
    margin-top: 2px;
  }

  .hero,
  section:not(.hero),
  .workspace-page-main,
  .public-gallery-main {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-copy h1,
  .section-heading h2,
  .contact-hero h1,
  .public-gallery-hero h1 {
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .hero-copy p,
  .section-heading p,
  .contact-hero p,
  .public-gallery-hero p,
  .legal-card p {
    overflow-wrap: anywhere;
  }

  .workspace-shell {
    gap: 16px;
  }

  .workspace-sidebar {
    position: static;
    width: 100%;
  }

  .workspace-sidebar a,
  .workspace-sidebar button {
    justify-content: flex-start;
    min-height: 44px;
  }

  .workspace-content {
    width: 100%;
    overflow: hidden;
  }

  .workspace-head {
    gap: 14px;
  }

  .workspace-head .button,
  .workspace-head button,
  .upgrade-card .button,
  .trial-expiry-card .button,
  .share-note .button {
    width: 100%;
  }

  .workspace-form button,
  .demo-form button,
  .contact-form button {
    width: 100%;
  }

  .share-note,
  .upgrade-card,
  .trial-expiry-card,
  .gallery-section-head {
    align-items: stretch;
  }

  .gallery-dialog {
    max-height: calc(100dvh - 24px);
    padding: 18px;
  }

  .gallery-dialog-head {
    gap: 14px;
  }

  .gallery-head-actions {
    width: 100%;
  }

  .gallery-stats article,
  .analytics-summary article,
  .workspace-metrics article,
  .billing-summary article {
    min-height: auto;
  }

  .gallery-connect-grid img {
    justify-self: start;
    width: min(160px, 100%);
  }

  .gallery-connect-grid code,
  .api-gallery-list code {
    white-space: normal;
    word-break: break-all;
  }

  .public-gallery-tools,
  .download-panel,
  .public-file-actions {
    align-items: stretch;
  }

  .public-file-actions .button,
  .public-gallery-tools .button {
    width: 100%;
  }

  .footer {
    gap: 22px;
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 420px) {
  .brand span {
    font-size: 24px;
  }

  .button {
    padding-inline: 16px;
  }

  .hero-copy h1 {
    font-size: clamp(36px, 12vw, 48px);
  }

  h1 {
    font-size: clamp(36px, 12vw, 52px);
  }

  h2 {
    font-size: clamp(28px, 10vw, 40px);
  }

  .workspace-title-label {
    font-size: clamp(26px, 9vw, 36px);
  }
}

/* ===== END MOBILE-FIRST RESPONSIVE STABILIZATION ===== */

/* ===== UX CONVERSION PASS 2026-06-02 ===== */

.demo-experience {
  background: linear-gradient(180deg, #fffdf9, #f4fbf5);
}

.demo-experience-grid,
.dashboard-action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.demo-experience-grid article,
.dashboard-action-grid a {
  display: grid;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.demo-experience-grid span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--emerald);
  background: #e9eadc;
  font-weight: 900;
}

.demo-experience-grid h3,
.dashboard-action-grid strong {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
}

.demo-experience-grid p,
.dashboard-action-grid span,
.dashboard-action-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.demo-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.dashboard-action-panel {
  display: grid;
  gap: 14px;
  margin: 0 0 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdfa;
}

.dashboard-action-panel .workspace-head {
  margin: 0;
}

.dashboard-action-grid {
  width: 100%;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dashboard-action-grid.compact {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.dashboard-action-grid a {
  padding: 16px;
  color: inherit;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.dashboard-action-grid a:hover {
  transform: translateY(-2px);
  border-color: rgba(180, 107, 18, 0.45);
  box-shadow: 0 14px 28px rgba(46, 34, 18, 0.08);
}

.mobile-find-photos-cta {
  display: none;
}

@media (max-width: 920px) {
  .demo-experience-grid,
  .dashboard-action-grid,
  .dashboard-action-grid.compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .demo-experience-grid,
  .dashboard-action-grid,
  .dashboard-action-grid.compact {
    grid-template-columns: 1fr;
  }

  .demo-cta-row .button {
    width: 100%;
  }

  .mobile-find-photos-cta {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 60;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 18px;
    border-radius: 999px;
    color: var(--white);
    background: var(--emerald);
    box-shadow: 0 18px 36px rgba(7, 63, 49, 0.26);
    font-size: 14px;
    font-weight: 900;
  }

  body:has(.auth-modal:not([hidden])) .mobile-find-photos-cta {
    display: none;
  }
}

/* ===== END UX CONVERSION PASS ===== */

/* ===== HOMEPAGE BEAUTIFICATION PASS 2026-06-02 ===== */
body {
  background: linear-gradient(180deg, #ffffff 0%, #fffdf9 48%, #f8f4ed 100%);
}

.site-header {
  border-bottom: 1px solid rgba(217, 199, 173, 0.72);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(22px);
}

.site-header .button-dark {
  box-shadow: 0 16px 36px rgba(6, 81, 62, 0.18);
}

.hero {
  grid-template-columns: minmax(0, 0.96fr) minmax(480px, 1.04fr);
  min-height: calc(100svh - 86px);
  padding-top: clamp(46px, 6vw, 74px);
  padding-bottom: clamp(28px, 4vw, 54px);
  gap: clamp(28px, 4vw, 58px);
}

.hero::before {
  display: none;
}

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

.hero-copy h1 {
  max-width: 760px;
  margin-bottom: 22px;
  color: #092f27;
  font-size: clamp(52px, 5.8vw, 88px);
  line-height: 0.98;
}

.hero-copy > p {
  max-width: 650px;
  color: #4d554f;
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.62;
}

.hero-list {
  max-width: 680px;
  margin: 26px 0 0;
}

.hero-list li {
  min-height: 58px;
  border-color: rgba(191, 112, 12, 0.22);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 50px rgba(54, 36, 18, 0.06);
}

.hero-list li::before {
  border-color: #ba6a05;
  background: #fff7e8;
}

.hero-actions {
  margin-top: 30px;
}

.hero-actions .button {
  min-width: 190px;
  min-height: 62px;
  border-radius: 10px;
  font-size: 16px;
}

.hero-actions .button-dark {
  background: linear-gradient(135deg, #07563f, #043f31);
  box-shadow: 0 22px 54px rgba(6, 81, 62, 0.22);
}

.hero-actions .button-light {
  background: rgba(255, 255, 255, 0.94);
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 610px;
  margin-top: 24px;
}

.proof-faces {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.proof-faces span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-left: -8px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #07563f;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(8, 41, 32, 0.16);
}

.proof-faces span:first-child {
  margin-left: 0;
  background: #b56a0b;
}

.proof-faces span:nth-child(2) {
  background: #0f6b52;
}

.proof-faces span:nth-child(3) {
  background: #d59b43;
}

.proof-faces span:last-child {
  background: #062f27;
}

.hero-social-proof p {
  margin: 0;
  color: #59615c;
  font-size: 14px;
  line-height: 1.55;
}

.hero-social-proof strong {
  display: block;
  color: #10372f;
}

.hero-code-lookup {
  max-width: 610px;
  border-color: rgba(217, 199, 173, 0.72);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 70px rgba(45, 31, 18, 0.08);
}

.hero-media {
  min-height: clamp(560px, 48vw, 690px);
  isolation: isolate;
}

.hero-media::before {
  display: none;
}

.hero-media > img {
  position: relative;
  z-index: 1;
  display: block;
  height: clamp(560px, 48vw, 690px);
  border-radius: 30px;
  object-position: 56% center;
  box-shadow: 0 34px 90px rgba(52, 31, 14, 0.18);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 30px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.16) 28%, rgba(255, 255, 255, 0) 56%),
    linear-gradient(0deg, rgba(6, 63, 49, 0.12), rgba(6, 63, 49, 0));
  pointer-events: none;
}

.phone-preview {
  z-index: 3;
  right: auto;
  left: 30px;
  bottom: 38px;
  width: min(366px, 50%);
  min-width: 320px;
  border: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 36px 90px rgba(23, 18, 11, 0.24);
}

.phone-preview::before {
  content: "";
  display: block;
  width: 72px;
  height: 5px;
  margin: -4px auto 15px;
  border-radius: 99px;
  background: #111;
  opacity: 0.8;
}

.preview-title {
  color: #092f27;
  font-size: 16px;
}

.search-box {
  border-color: rgba(217, 199, 173, 0.8);
  background: #fffaf3;
}

.face span {
  width: 44px;
  height: 44px;
}

.mini-gallery img,
.highlight-card {
  box-shadow: 0 10px 22px rgba(22, 14, 8, 0.12);
}

.hero-qr-card {
  position: absolute;
  right: 18px;
  bottom: 72px;
  z-index: 3;
  display: grid;
  gap: 8px;
  width: 190px;
  padding: 18px;
  border: 1px solid rgba(231, 221, 208, 0.92);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  color: #10372f;
  text-align: center;
  box-shadow: 0 28px 70px rgba(28, 19, 10, 0.18);
}

.hero-qr-card strong {
  font-size: 14px;
}

.hero-qr-card span {
  color: #605b53;
  font-size: 12px;
  font-weight: 800;
}

.hero-qr-card b {
  display: block;
  padding: 8px 10px;
  border: 1px solid rgba(180, 107, 18, 0.36);
  border-radius: 9px;
  color: #a55d08;
  font-size: 13px;
}

.qr-pattern {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  width: 82px;
  height: 82px;
  margin: 3px auto;
  padding: 7px;
  border: 2px solid #0a3f32;
  background: #fff;
}

.qr-pattern i {
  background: #0a3f32;
}

.qr-pattern i:nth-child(2),
.qr-pattern i:nth-child(5),
.qr-pattern i:nth-child(8) {
  background: #fff;
}

.proof-band {
  max-width: 1360px;
  margin: 0 auto;
  padding-top: 28px !important;
  padding-bottom: 28px !important;
  border-top: 1px solid rgba(217, 199, 173, 0.72);
  border-bottom: 1px solid rgba(217, 199, 173, 0.72);
  background: rgba(255, 255, 255, 0.7);
}

.proof-band article {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.proof-band article strong {
  color: #092f27;
}

.demo-experience {
  background: linear-gradient(180deg, #ffffff 0%, #fbf7ef 100%);
}

.demo-experience-grid article {
  border-color: rgba(217, 199, 173, 0.64);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 60px rgba(45, 31, 18, 0.08);
}

.workflow {
  background: #ffffff;
}

.workflow .steps article {
  background: rgba(255, 255, 255, 0.94);
}

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

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

  .hero-media {
    max-width: 820px;
    margin-inline: auto;
    width: 100%;
  }
}

@media (max-width: 720px) {
  .hero-copy h1 {
    font-size: clamp(44px, 13vw, 68px);
  }

  .hero-copy > p {
    font-size: 17px;
  }

  .hero-social-proof {
    align-items: flex-start;
  }

  .hero-media {
    min-height: 610px;
  }

  .hero-media > img {
    height: 610px;
    object-position: 64% center;
  }

  .phone-preview {
    left: 14px;
    right: 14px;
    bottom: 24px;
    width: auto;
    min-width: 0;
  }

  .hero-qr-card {
    top: 18px;
    right: 16px;
    bottom: auto;
    width: 158px;
    padding: 13px;
  }

  .qr-pattern {
    width: 64px;
    height: 64px;
  }
}

@media (max-width: 520px) {
  .hero {
    padding-top: 30px;
  }

  .hero-list {
    display: none;
  }

  .hero-actions .button {
    min-width: 0;
    width: 100%;
  }

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

  .hero-media {
    min-height: 560px;
  }

  .hero-media > img {
    height: 560px;
  }

  .hero-qr-card {
    display: none;
  }
}

/* ===== END HOMEPAGE BEAUTIFICATION PASS ===== */

/* ===== FULL-SITE BEAUTIFICATION PASS 2026-06-02 ===== */

main {
  background:
    radial-gradient(circle at 8% 0%, rgba(180, 107, 18, 0.08), transparent 28%),
    radial-gradient(circle at 94% 12%, rgba(7, 63, 49, 0.08), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #fffdf9 42%, #f8f4ed 100%);
}

section:not(.hero):not(.workspace):not(.legal-card) {
  position: relative;
}

.section-label,
.section-heading > p,
.split-copy > p,
.legal-card > p:first-child,
.contact-hero > p:first-child {
  color: #b46b12;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-heading {
  max-width: 880px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.split-copy h2,
.contact-hero h1,
.legal-card h1,
.public-gallery-hero h1 {
  color: #111827;
  text-wrap: balance;
}

.section-heading h2 {
  font-size: clamp(42px, 5vw, 72px);
}

.split-section,
.features,
.workflow,
.platform-stack,
.product-demo,
.comparison,
.trust-system,
.testimonials,
.partners,
.contact-section,
.demo-experience {
  padding-top: clamp(64px, 7vw, 104px);
  padding-bottom: clamp(64px, 7vw, 104px);
}

.feature-grid article,
.steps article,
.trust-system-grid article,
.testimonial-grid article,
.pricing-card,
.comparison-lead,
.comparison-grid,
.split-copy,
.contact-card,
.legal-card,
.workspace-content,
.public-gallery-hero,
.gallery-code-panel,
.public-gallery-tools,
.public-file-card {
  border-color: rgba(217, 199, 173, 0.74);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 253, 249, 0.9));
  box-shadow: 0 24px 70px rgba(45, 31, 18, 0.07);
}

.feature-grid article,
.steps article,
.testimonial-grid article,
.pricing-card,
.contact-card,
.public-file-card {
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.feature-grid article:hover,
.steps article:hover,
.testimonial-grid article:hover,
.pricing-card:hover,
.contact-card:hover,
.public-file-card:hover {
  transform: translateY(-3px);
  border-color: rgba(180, 107, 18, 0.34);
  box-shadow: 0 30px 80px rgba(45, 31, 18, 0.1);
}

.feature-icon,
.steps article > span,
.trust-system-grid span,
.demo-experience-grid span {
  background:
    radial-gradient(circle at 30% 20%, #fff8e9, transparent 46%),
    linear-gradient(135deg, #f4dfc1, #dce8df);
  color: #073f31;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.58);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
}

.split-section.reverse .split-media {
  order: 1;
}

.split-section.reverse .split-copy {
  order: 2;
}

.split-media {
  overflow: hidden;
  border: 1px solid rgba(217, 199, 173, 0.74);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(45, 31, 18, 0.1);
}

.split-media img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
}

.split-copy {
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid rgba(217, 199, 173, 0.74);
  border-radius: 22px;
}

.split-copy p:last-of-type {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.legal-main,
main:has(.legal-card) {
  padding: clamp(32px, 5vw, 72px) clamp(16px, 4vw, 48px);
}

.legal-card {
  width: min(1060px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid rgba(217, 199, 173, 0.74);
  border-radius: 24px;
}

.legal-card h1 {
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 78px);
}

.legal-card h2 {
  margin-top: 34px;
  color: #073f31;
  font-size: clamp(24px, 3vw, 34px);
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.contact-hero {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: clamp(54px, 7vw, 96px) clamp(18px, 4vw, 56px);
  border: 1px solid rgba(217, 199, 173, 0.74);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 249, 238, 0.82)),
    #fff;
  box-shadow: 0 30px 90px rgba(45, 31, 18, 0.08);
}

.contact-hero h1 {
  max-width: 780px;
  font-size: clamp(46px, 6vw, 84px);
}

.contact-hero p {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
}

.contact-grid,
.contact-section {
  gap: clamp(22px, 3vw, 40px);
}

.workspace-page-main {
  background:
    radial-gradient(circle at 6% 0%, rgba(180, 107, 18, 0.08), transparent 28%),
    linear-gradient(180deg, #fffdf9 0%, #f8f4ed 100%);
}

.workspace-shell {
  align-items: start;
}

.workspace-sidebar {
  border-color: rgba(217, 199, 173, 0.74);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 70px rgba(45, 31, 18, 0.07);
}

.workspace-sidebar a,
.workspace-sidebar button {
  border-radius: 10px;
}

.workspace-title-label {
  color: #b46b12;
  font-family: var(--sans);
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 950;
  letter-spacing: 0.1em;
  line-height: 1.05;
  text-transform: uppercase;
}

.workspace-content {
  border-radius: 24px;
}

.workspace-metrics article,
.billing-summary article,
.analytics-summary article,
.gallery-stats article,
.dashboard-action-panel,
.upgrade-card,
.trial-expiry-card,
.share-note,
.gallery-list article,
.receipt-list article,
.api-card {
  border-color: rgba(217, 199, 173, 0.74);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 44px rgba(33, 24, 14, 0.055);
}

.public-gallery-main {
  background:
    radial-gradient(circle at 14% 0%, rgba(7, 63, 49, 0.1), transparent 30%),
    linear-gradient(180deg, #fffdf9, #f8f4ed);
}

.public-gallery-hero {
  border-radius: 26px;
}

.public-gallery-hero h1 {
  font-size: clamp(42px, 6vw, 84px);
}

.public-gallery-grid {
  gap: 18px;
}

.pricing-card {
  border-radius: 20px;
}

.pricing-card.is-featured,
.pricing-card.featured {
  border-color: rgba(180, 107, 18, 0.66);
  box-shadow: 0 34px 90px rgba(180, 107, 18, 0.14);
}

.footer {
  border-top: 1px solid rgba(217, 199, 173, 0.8);
  background:
    radial-gradient(circle at 8% 0%, rgba(180, 107, 18, 0.08), transparent 30%),
    #fffdf9;
}

@media (max-width: 1040px) {
  .split-section,
  .split-section.reverse {
    grid-template-columns: 1fr;
  }

  .split-section.reverse .split-media,
  .split-section.reverse .split-copy {
    order: initial;
  }

  .split-media img {
    min-height: 340px;
  }
}

@media (max-width: 720px) {
  .split-section,
  .features,
  .workflow,
  .platform-stack,
  .product-demo,
  .comparison,
  .trust-system,
  .testimonials,
  .partners,
  .contact-section,
  .demo-experience {
    padding-top: 46px;
    padding-bottom: 46px;
  }

  .section-heading h2,
  .split-copy h2 {
    font-size: clamp(32px, 10vw, 48px);
  }

  .split-copy,
  .legal-card,
  .contact-hero,
  .workspace-content,
  .public-gallery-hero {
    border-radius: 18px;
  }

  .split-media {
    border-radius: 20px;
  }

  .split-media img {
    min-height: 260px;
  }

  .legal-card h1,
  .contact-hero h1,
  .public-gallery-hero h1 {
    font-size: clamp(36px, 12vw, 54px);
  }
}

@media (max-width: 520px) {
  .feature-grid article,
  .steps article,
  .trust-system-grid article,
  .testimonial-grid article,
  .pricing-card,
  .contact-card,
  .dashboard-action-panel,
  .workspace-metrics article,
  .billing-summary article,
  .gallery-stats article {
    padding: 18px;
  }

  .workspace-title-label {
    font-size: clamp(28px, 10vw, 40px);
    letter-spacing: 0.07em;
  }
}

/* ===== END FULL-SITE BEAUTIFICATION PASS ===== */

/* ===== COMPARISON CONTRAST FIX 2026-06-02 ===== */

.comparison-lead {
  color: var(--white);
  background:
    radial-gradient(circle at 92% 0%, rgba(244, 223, 193, 0.18), transparent 34%),
    linear-gradient(145deg, #073f31 0%, #092f27 100%);
  box-shadow: 0 30px 88px rgba(7, 63, 49, 0.18);
}

.comparison-lead span {
  color: #f5be69;
}

.comparison-lead h3,
.comparison-lead .comparison-points strong {
  color: var(--white);
}

.comparison-lead p {
  color: rgba(255, 255, 255, 0.82);
}

.comparison-lead .button {
  border-color: rgba(255, 255, 255, 0.88);
  color: var(--emerald);
  background: var(--white);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.16);
}

/* ===== END COMPARISON CONTRAST FIX ===== */
