/* --- Variables --- */
:root {
  --color-primary: #2d5a3f;
  --color-primary-soft: #3a7352;
  --color-accent: #ffb800;
  --color-accent-hover: #e5a600;
  --color-body: #1a1a1a;
  --color-muted: #5c5c5c;
  --color-white: #ffffff;
  --color-footer-bg: #0f1419;
  --color-strip-bg: #264a36;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --radius-lg: 24px;
  --radius-md: 12px;
  --shadow-float: 0 20px 50px rgba(0, 0, 0, 0.15);
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-body);
  background: var(--color-white);
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
}

.scroll-anchor {
  scroll-margin-top: calc(var(--header-h) + 0.5rem);
}

#partners,
#company,
#community {
  scroll-margin-top: calc(var(--header-h) + 0.5rem);
}

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  border-bottom: 1px solid rgba(45, 90, 63, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1.25rem;
}

.header-primary {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-width: 0;
  flex: 1;
}

.header-secondary {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--color-primary);
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
}

.nav-main ul {
  display: flex;
  gap: 1.35rem;
}

.nav-main a {
  font-weight: 500;
  font-size: 0.93rem;
  white-space: nowrap;
  color: var(--color-body);
  transition: color 0.2s;
}

.nav-main a:hover {
  color: var(--color-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.link-signin {
  font-weight: 500;
  color: var(--color-muted);
  line-height: 1;
}

.link-signin:hover {
  color: var(--color-primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9375rem;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn-signup {
  background: var(--color-accent);
  color: #1a1a1a;
  line-height: 1;
}

.btn-signup:hover {
  background: var(--color-accent-hover);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.875rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-body);
  border-radius: 1px;
}

.mobile-nav {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding: 1rem;
  background: var(--color-white);
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-nav a {
  font-weight: 500;
}

.header-translate {
  border: 1px solid rgba(45, 90, 63, 0.15);
  border-radius: 999px;
  padding: 0.3rem 0.45rem 0.3rem 0.55rem;
  background: #f9fbfa;
}

.mobile-translate {
  width: 100%;
  border: 1px solid rgba(45, 90, 63, 0.12);
  border-radius: var(--radius-md);
  padding: 0.6rem;
  background: #f9fbfa;
}

.mobile-translate .gt-controls {
  width: 100%;
}

/* --- Hero --- */
.hero {
  background: var(--color-primary);
  color: var(--color-white);
  padding: clamp(3rem, 8vw, 5rem) 0 clamp(4rem, 10vw, 6rem);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  margin-bottom: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-copy h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-lead {
  margin: 0 0 1.75rem;
  font-size: 1.0625rem;
  opacity: 0.92;
  max-width: 36ch;
}

.btn-hero {
  background: #1a2e24;
  color: var(--color-white);
  padding: 0.85rem 1.75rem;
  margin-bottom: 2rem;
}

.btn-hero:hover {
  background: #0f1f16;
  transform: translateY(-1px);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.proof-label {
  width: 100%;
  margin: 0;
  font-size: 0.875rem;
  opacity: 0.85;
}

.proof-avatars {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.proof-avatars img {
  width: 40px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

.link-accent {
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.9375rem;
}

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

/* Dashboard mock */
.hero-visual {
  position: relative;
  min-height: 320px;
}

.dashboard-mock {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin-left: auto;
  aspect-ratio: 1 / 1;
}

.mock-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 1rem;
  box-shadow: var(--shadow-float);
}

.mock-stats {
  top: 8%;
  left: 0;
  width: 45%;
}

.mock-dot {
  display: block;
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  margin-bottom: 0.75rem;
}

.mock-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 64px;
}

.mock-bars span {
  flex: 1;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 4px;
  min-height: 20%;
}

.mock-profile {
  top: 0;
  right: 0;
  width: 48%;
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.mock-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent), #fff);
  flex-shrink: 0;
}

.mock-lines span {
  display: block;
  height: 8px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 4px;
  margin-bottom: 6px;
}

.mock-lines span:last-child {
  width: 60%;
  margin-bottom: 0;
}

.mock-chart {
  bottom: 12%;
  left: 8%;
  width: 55%;
  color: var(--color-accent);
}

.mini-chart {
  width: 100%;
  height: auto;
}

.mock-float {
  position: absolute;
  bottom: 28%;
  right: 5%;
  background: var(--color-accent);
  color: #1a1a1a;
  font-weight: 700;
  font-size: 0.8125rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  box-shadow: var(--shadow-float);
}

/* --- Partner strip --- */
.strip-partners {
  background: var(--color-strip-bg);
  color: var(--color-white);
  padding: 2.5rem 0;
  margin-top: -1px;
}

.strip-text {
  text-align: center;
  margin: 0 0 1.75rem;
  font-size: 1rem;
  opacity: 0.95;
}

.partner-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem 2.5rem;
}

.partner-logos img {
  height: 36px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.88;
  transition: opacity 0.2s, transform 0.2s;
}

.partner-logos img:hover {
  opacity: 1;
  transform: scale(1.04);
}

/* --- Feature cards (green section) --- */
.feature-cards {
  background: var(--color-primary);
  color: var(--color-white);
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  border-radius: var(--radius-lg);
  margin: 2rem auto;
  width: min(1120px, calc(100% - 2rem));
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--color-primary-soft);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.tag {
  display: inline-block;
  color: var(--color-accent);
  font-weight: 700;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.feature-card h2 {
  margin: 0;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 700;
  line-height: 1.3;
}

.feature-card > p {
  margin: 0;
  opacity: 0.9;
  font-size: 0.9375rem;
}

.card-visual {
  margin-top: auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.card-visual img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

/* --- Detail sections --- */
.detail {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.detail-reverse {
  direction: rtl;
}

.detail-reverse > * {
  direction: ltr;
}

.detail-media {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(45, 90, 63, 0.12);
}

.detail-media img {
  width: 100%;
  object-fit: cover;
}

.eyebrow {
  display: block;
  color: var(--color-accent);
  font-weight: 700;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.detail-text h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-body);
}

.detail-text p {
  margin: 0 0 1rem;
  color: var(--color-muted);
}

.detail-list {
  margin: 0;
  padding-left: 1.25rem;
  list-style: disc;
  color: var(--color-muted);
}

.detail-list li {
  margin-bottom: 0.5rem;
}

/* --- Steps --- */
.steps-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: #fafafa;
}

.steps-title {
  text-align: center;
  margin: 0 0 3rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--color-body);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.step {
  position: relative;
  background: var(--color-white);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.step-num {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  font-size: 4rem;
  font-weight: 800;
  color: rgba(45, 90, 63, 0.08);
  line-height: 1;
  pointer-events: none;
}

.step-icon {
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.step h3 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
}

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

/* --- Testimonials --- */
.testimonials {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.testimonials-header .eyebrow {
  color: var(--color-accent);
}

.testimonials-header h2 {
  margin: 0.25rem 0 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
}

.testimonials-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
  align-items: start;
}

.testimonial-featured {
  margin: 0;
  padding: 2rem;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-float);
}

.testimonial-featured p {
  margin: 0 0 1.5rem;
  font-size: clamp(1.125rem, 2vw, 1.35rem);
  font-weight: 500;
  line-height: 1.5;
  font-style: italic;
}

.testimonial-featured cite {
  font-style: normal;
  font-weight: 700;
  display: block;
}

.cite-role {
  display: block;
  font-size: 0.875rem;
  opacity: 0.85;
  margin-top: 0.25rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.testimonial-card-photo {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e8ece9;
}

.testimonial-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-card-body {
  padding: 1rem 1.1rem 1.15rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.testimonial-card-body p {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.45;
}

.testimonial-card-body footer {
  margin-top: auto;
}

.testimonial-card-body cite {
  font-style: normal;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-body);
  display: block;
}

.testimonial-card-body .cite-role {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--color-muted);
  margin-top: 0.2rem;
}

@media (max-width: 600px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Pre-footer --- */
.prefooter-cta {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 2.5rem 0;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  margin-top: 2rem;
  scroll-margin-top: calc(var(--header-h) + 0.5rem);
}

.prefooter-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.prefooter-inner p {
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
  max-width: 28ch;
  text-align: right;
  margin-left: auto;
}

.btn-inline {
  flex-shrink: 0;
}

/* --- Footer --- */
.site-footer {
  background: var(--color-footer-bg);
  color: rgba(255, 255, 255, 0.75);
  padding: 2rem 0;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.logo-footer {
  color: var(--color-white);
}

.logo-footer .logo-icon {
  box-shadow: none;
}

.copyright {
  margin: 0;
  font-size: 0.875rem;
  opacity: 0.7;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .header-primary {
    gap: 1rem;
  }

  .nav-main ul {
    gap: 1rem;
  }

  .header-secondary {
    gap: 0.6rem;
  }

  .header-translate .gt-text-mode span {
    display: none;
  }

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

  .hero-visual {
    order: -1;
    min-height: 260px;
  }

  .dashboard-mock {
    margin-inline: auto;
  }

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

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

  .detail-reverse {
    direction: ltr;
  }

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

  .testimonials-layout {
    grid-template-columns: 1fr;
  }

  .prefooter-inner {
    flex-direction: column;
    text-align: center;
  }

  .prefooter-inner p {
    text-align: center;
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  .nav-main,
  .header-secondary {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .mobile-nav:not([hidden]) {
    display: block;
  }

  .partner-logos {
    gap: 1.25rem;
  }

  .partner-logos img {
    height: 28px;
  }
}

@media (min-width: 769px) {
  .mobile-nav {
    display: none !important;
  }
}

/* --- Auth pages (Laravel Breeze) --- */
.auth-page-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--color-white);
}

.auth-section {
  flex: 1;
  padding: clamp(2rem, 5vw, 4rem) 0 clamp(3rem, 8vw, 5rem);
  background: linear-gradient(180deg, #f4f7f5 0%, #ffffff 45%);
}

.auth-shell {
  max-width: 560px;
  margin-inline: auto;
}

.auth-shell--wide {
  max-width: 720px;
}

.auth-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(45, 90, 63, 0.12);
  box-shadow: var(--shadow-float);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  animation: authFadeIn 0.5s ease-out both;
}

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

.auth-card__title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-body);
  line-height: 1.2;
}

.auth-card__lead {
  margin: 0 0 1.75rem;
  font-size: 0.9375rem;
  color: var(--color-muted);
  line-height: 1.55;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.auth-form-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .auth-form-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .auth-form-grid--2 .auth-field--full {
    grid-column: 1 / -1;
  }
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.auth-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-body);
}

.auth-input,
.auth-select {
  width: 100%;
  padding: 0.65rem 0.9rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-body);
  background: var(--color-white);
  border: 1px solid rgba(45, 90, 63, 0.22);
  border-radius: var(--radius-md);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-input::placeholder {
  color: #9ca3af;
}

.auth-input:hover,
.auth-select:hover {
  border-color: rgba(45, 90, 63, 0.35);
}

.auth-input:focus,
.auth-select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(45, 90, 63, 0.15);
}

.auth-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%235c5c5c'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1.1rem;
  padding-right: 2.5rem;
}

.auth-hint {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--color-muted);
  line-height: 1.4;
}

.auth-password-wrap {
  position: relative;
}

.auth-password-wrap .auth-input {
  padding-right: 4rem;
}

.auth-toggle-vis {
  position: absolute;
  top: 50%;
  right: 0.5rem;
  transform: translateY(-50%);
  padding: 0.35rem 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.auth-toggle-vis:hover {
  color: var(--color-primary);
}

.auth-checkbox-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.auth-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-body);
  cursor: pointer;
}

.auth-checkbox input {
  width: 1rem;
  height: 1rem;
  border-radius: 4px;
  border: 1px solid rgba(45, 90, 63, 0.35);
  accent-color: var(--color-primary);
  cursor: pointer;
}

.auth-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
}

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

.auth-link-muted {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-muted);
  text-align: center;
}

.auth-link-muted:hover {
  color: var(--color-primary);
}

@media (min-width: 640px) {
  .auth-link-muted {
    text-align: left;
  }
}

.auth-actions {
  display: flex;
  flex-direction: column-reverse;
  align-items: stretch;
  gap: 1rem;
  padding-top: 0.5rem;
  margin-top: 0.25rem;
  border-top: 1px solid rgba(45, 90, 63, 0.08);
}

.auth-actions--solo {
  flex-direction: row !important;
  justify-content: flex-end;
}

@media (min-width: 640px) {
  .auth-actions {
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
  }

  .auth-actions .auth-link-muted {
    margin-right: auto;
  }

  .auth-actions--solo {
    justify-content: flex-end;
  }
}

.auth-card .btn-signup.auth-submit-btn {
  width: 100%;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
}

@media (min-width: 640px) {
  .auth-card .btn-signup.auth-submit-btn {
    width: auto;
    min-width: 10rem;
  }
}

.auth-footnote {
  margin: 1.5rem 0 0;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--color-muted);
  line-height: 1.5;
  max-width: 36rem;
  margin-inline: auto;
}

.auth-session-status {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-primary) !important;
  background: rgba(45, 90, 63, 0.08);
  border-radius: var(--radius-md);
  border: 1px solid rgba(45, 90, 63, 0.15);
}

.auth-field-error {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.8125rem;
  color: #b91c1c;
  line-height: 1.4;
}

.auth-banner {
  margin-bottom: 1.25rem;
  padding: 0.85rem 1rem;
  font-size: 0.875rem;
  color: var(--color-primary);
  background: rgba(45, 90, 63, 0.08);
  border: 1px solid rgba(45, 90, 63, 0.18);
  border-radius: var(--radius-md);
}

.auth-verify-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: stretch;
}

.auth-verify-actions .auth-submit-btn {
  width: 100%;
  justify-content: center;
}

@media (min-width: 640px) {
  .auth-verify-actions {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .auth-verify-actions .auth-submit-btn {
    width: auto;
  }
}

.auth-logout-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 0.25rem;
}

.auth-logout-link:hover {
  color: var(--color-body);
}

/* Toasts — match site palette */
.site-toast-wrap {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 200;
  width: min(100% - 2rem, 22rem);
  pointer-events: none;
}

.site-toast {
  pointer-events: auto;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  box-shadow: var(--shadow-float);
  padding: 0.85rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  animation: toastPop 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes toastPop {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.site-toast--success {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.2);
}

.site-toast--error {
  background: #b91c1c;
  color: var(--color-white);
  border-color: rgba(0, 0, 0, 0.08);
}

.site-toast--info {
  background: var(--color-footer-bg);
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.08);
}

.site-toast__inner {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}

.site-toast__inner p {
  margin: 0;
  flex: 1;
  line-height: 1.45;
}

.site-toast__close {
  flex-shrink: 0;
  padding: 0.15rem;
  margin: -0.15rem;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  opacity: 0.85;
  border-radius: 6px;
}

.site-toast__close:hover {
  opacity: 1;
}

.site-toast__close:focus {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

.site-toast__icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.1rem;
}

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

/* --- Logo image (customizable) --- */
.logo-image {
  max-height: 40px;
  width: auto;
  object-fit: contain;
}

.logo-image--footer {
  max-height: 32px;
}

/* --- Locale switcher --- */
.locale-form {
  display: flex;
  align-items: center;
}

.locale-select {
  font-family: var(--font);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(45, 90, 63, 0.2);
  background: var(--color-white);
  color: var(--color-body);
  cursor: pointer;
}

.locale-select--block {
  width: 100%;
  margin-top: 0.5rem;
}

@media (max-width: 900px) {
  .locale-form {
    display: none;
  }
}

/* --- Blink notification (important updates) --- */
.site-announcement {
  background: linear-gradient(90deg, #fff8f0 0%, #fff 50%, #f0f9ff 100%);
  border-bottom: 2px solid #c2410c;
  padding: 0.65rem 0;
}

.site-announcement-inner {
  text-align: center;
}

.site-announcement-title {
  display: block;
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #9a3412;
  margin-bottom: 0.25rem;
}

.site-announcement-body {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-body);
  line-height: 1.5;
}

.site-announcement--blink {
  animation: mall-blink-pulse 1.2s ease-in-out infinite;
}

@keyframes mall-blink-pulse {
  0%,
  100% {
    box-shadow: inset 0 0 0 0 rgba(194, 65, 12, 0.35);
    border-bottom-color: #ea580c;
    background: linear-gradient(90deg, #fff7ed 0%, #fff 50%, #eff6ff 100%);
  }
  50% {
    box-shadow: inset 0 0 24px 2px rgba(234, 88, 12, 0.45);
    border-bottom-color: #f97316;
    background: linear-gradient(90deg, #ffedd5 0%, #fffbeb 50%, #e0f2fe 100%);
  }
}

/* --- Integrated marketplaces trust section --- */
#marketplaces-trust {
  scroll-margin-top: calc(var(--header-h) + 0.5rem);
}

.marketplaces-trust {
  padding: 4rem 0;
  background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
  border-top: 1px solid rgba(45, 90, 63, 0.08);
  border-bottom: 1px solid rgba(45, 90, 63, 0.08);
}

.marketplaces-trust-header {
  text-align: center;
  max-width: 52rem;
  margin: 0 auto 2.5rem;
}

.marketplaces-trust-header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0.75rem 0;
  color: var(--color-body);
}

.marketplaces-trust-lead {
  margin: 0;
  color: var(--color-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.marketplaces-trust-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.marketplace-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-float);
  border: 1px solid rgba(45, 90, 63, 0.08);
}

.marketplace-card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.marketplace-card-icon img {
  width: 40px;
  height: 40px;
}

.marketplace-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  color: var(--color-primary);
}

.marketplace-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.55;
}

.marketplaces-trust-footnote {
  margin: 2rem 0 0;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--color-muted);
  max-width: 48rem;
  margin-inline: auto;
  line-height: 1.5;
}
