
/* ==========================================================================
   Marketing site styles (home, pricing, about, auth)
   Appended 2026-08-31. The public pages previously referenced classes that
   were never defined, so they rendered unstyled.
   ========================================================================== */

.button {
  display: inline-block;
  padding: 11px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.button:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
}

.topbar .brandline {
  display: flex;
  align-items: center;
  gap: 14px;
}

.topbar .brandline img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  flex: none;
}

.topnav .nav-cta {
  background: var(--brand);
  color: #ffffff;
  padding: 9px 16px;
  border-radius: 6px;
}

.topnav .nav-cta:hover {
  background: var(--brand-dark);
}

.topnav .nav-user {
  color: #94a3b8;
  font-weight: 400;
  font-size: 13px;
  padding: 8px 4px;
}

/* ---------- shared page shell ---------- */

.site-shell {
  max-width: 1080px;
  margin: 0 auto;
  padding: 48px 24px 72px;
}

.site-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  margin-bottom: 48px;
}

.site-hero h2 {
  margin: 10px 0 16px;
  font-size: 34px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.site-hero p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 17px;
  max-width: 60ch;
}

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

.hero-proof {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.hero-proof img {
  width: 88px;
  height: 88px;
  border-radius: 12px;
  object-fit: cover;
  margin-bottom: 14px;
}

.hero-proof strong {
  display: block;
  font-size: 18px;
}

.hero-proof span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  margin-top: 2px;
}

/* ---------- content grids ---------- */

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 8px;
}

.info-grid .panel {
  margin-bottom: 0;
}

.site-shell .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.site-shell .grid .panel {
  margin-bottom: 20px;
}

.timeline {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.timeline div {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.timeline strong {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.timeline span {
  color: var(--muted);
  padding-top: 3px;
}

/* ---------- pricing ---------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  align-items: stretch;
}

.plan {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.plan.featured {
  border-color: var(--brand);
  box-shadow: 0 4px 16px rgba(15, 118, 110, 0.12);
}

.plan h3 {
  margin: 8px 0 4px;
  font-size: 21px;
}

.plan .price {
  font-size: 32px;
  font-weight: 700;
  margin: 12px 0 2px;
}

.plan .price small {
  font-size: 15px;
  font-weight: 400;
  color: var(--muted);
}

.plan .plan-note {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 18px;
}

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

.plan li {
  padding-left: 24px;
  position: relative;
  color: var(--muted);
  font-size: 15px;
}

.plan li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 700;
}

.plan .plan-action {
  margin-top: auto;
}

.plan .plan-action .button {
  width: 100%;
  text-align: center;
}

/* ---------- about ---------- */

.fact-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
}

.fact-table th,
.fact-table td {
  text-align: left;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  font-size: 15px;
}

.fact-table th {
  width: 200px;
  color: var(--muted);
  font-weight: 700;
}

.fact-table tr:last-child th,
.fact-table tr:last-child td {
  border-bottom: none;
}

/* ---------- auth forms ---------- */

.auth-shell {
  max-width: 460px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

.auth-shell .panel {
  padding: 32px;
}

.auth-shell h2 {
  margin: 0 0 6px;
  font-size: 26px;
}

.auth-shell .lede {
  margin: 0 0 24px;
  color: var(--muted);
}

.auth-shell label {
  display: block;
  margin-bottom: 16px;
  font-weight: 700;
  font-size: 14px;
}

.auth-shell input {
  margin-top: 6px;
  font-weight: 400;
  font-size: 15px;
}

.auth-shell .button.primary {
  width: 100%;
  text-align: center;
  padding: 12px;
  font-size: 16px;
}

.auth-alt {
  margin: 20px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

.form-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: var(--danger);
  border-radius: 8px;
  padding: 12px 14px;
  margin: 0 0 20px;
  font-size: 14px;
}

/* ---------- faq ---------- */

.faq {
  display: grid;
  gap: 4px;
  margin-top: 10px;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.faq details:last-child {
  border-bottom: none;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
}

.faq p {
  margin: 10px 0 0;
  color: var(--muted);
}

/* ---------- footer ---------- */

.site-footer {
  background: #0a0a0a;
  color: #cbd5e1;
  padding: 40px 32px;
}

.site-footer .footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-start;
}

.site-footer a {
  color: #e5e7eb;
  text-decoration: none;
  margin-right: 16px;
  font-size: 14px;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer small {
  display: block;
  margin-top: 12px;
  color: #94a3b8;
}

@media (max-width: 820px) {
  .site-hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .site-hero h2 {
    font-size: 27px;
  }

  .site-shell {
    padding: 32px 18px 56px;
  }
}

/* ---------- workspace: upload + empty states ---------- */

.upload-form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px;
  padding: 18px;
  margin-bottom: 20px;
  background: #f8fafc;
  border: 1px dashed var(--line);
  border-radius: 10px;
}

.upload-form label {
  flex: 1 1 320px;
  margin: 0;
  font-weight: 700;
  font-size: 14px;
}

.upload-form input[type="file"] {
  display: block;
  margin-top: 6px;
  width: 100%;
  font-weight: 400;
  font-size: 14px;
}

.upload-form .hint {
  flex-basis: 100%;
  margin: 0;
}

.empty-state {
  margin: 0;
  padding: 28px 20px;
  text-align: center;
  color: var(--muted);
  background: #f8fafc;
  border: 1px dashed var(--line);
  border-radius: 10px;
}

.publish-form select:disabled {
  background: #f3f4f6;
  color: var(--muted);
}

/* ---------- real product imagery ---------- */

.hero-shot {
  margin: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.hero-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-shot figcaption {
  padding: 14px 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  border-top: 1px solid var(--line);
}

.upload-progress {
  display: none;
  flex-basis: 100%;
  margin: 4px 0 0;
  padding: 10px 14px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 8px;
  color: var(--ok);
  font-size: 14px;
}

.upload-form.is-uploading .upload-progress {
  display: block;
}

.upload-form.is-uploading .hint {
  display: none;
}
