/* Scentrals marketing site — tokens aligned with app palette (constants/theme.ts).
   Headings: Fraunces via Google Fonts (link in HTML). Body: Satoshi from /fonts (app asset copies). */
@font-face {
  font-family: 'Satoshi';
  src: url('/fonts/Satoshi-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('/fonts/Satoshi-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('/fonts/Satoshi-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary: #0b26d5;
  --primary-hover: #091fb8;
  --text: #130a24;
  --muted: #6b7280;
  --bg: #fbfaff;
  --card: #ffffff;
  --border: #d4daff;
  --lavender: #e8ebff;
  --radius: 14px;
  --shadow: 0 12px 40px rgba(11, 38, 213, 0.08);
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Satoshi', system-ui, -apple-system, sans-serif;
  --max: 720px;
}

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

html {
  scroll-behavior: smooth;
}

#about,
#download,
#contact {
  scroll-margin-top: 5.5rem;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.35rem;
}

.site-header {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  background: rgba(251, 250, 255, 0.85);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.35rem;
  flex-wrap: wrap;
}

.header-end {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem 1.25rem;
  flex-wrap: wrap;
  flex: 1;
  min-width: 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.logo img {
  display: block;
  height: 40px;
  width: auto;
}

.lang-switch {
  display: inline-flex;
  border-radius: 10px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--card);
}

.lang-switch__btn {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.65rem;
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  line-height: 1.2;
}

.lang-switch__btn:hover {
  color: var(--text);
  background: var(--lavender);
}

.lang-switch__btn[aria-pressed='true'] {
  background: var(--primary);
  color: #fff;
}

.lang-switch__btn[aria-pressed='true']:hover {
  background: var(--primary-hover);
  color: #fff;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

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

.hero {
  padding: 3.5rem 0 2.5rem;
  text-align: center;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0 0 1rem;
  color: var(--text);
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  margin: 0 auto 2rem;
  max-width: 36rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.section {
  padding: 2rem 0 3rem;
}

.section h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
}

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

.section p:last-child {
  margin-bottom: 0;
}

.downloads {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

@media (min-width: 520px) {
  .downloads {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: 12px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--primary);
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(11, 38, 213, 0.35);
}

.btn-primary:hover {
  background: var(--primary-hover);
  color: #fff !important;
}

.btn-secondary {
  background: var(--card);
  color: var(--text) !important;
  border: 1px solid var(--border);
  box-shadow: none;
}

.btn-secondary:hover {
  background: var(--lavender);
  color: var(--text) !important;
}

.btn[disabled],
.btn.disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
}

.contact-section .contact-stack {
  width: 100%;
  max-width: none;
  margin: 0;
}

.contact-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.partner-outreach {
  margin: 0;
  padding: 1.35rem 1.5rem;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  width: 100%;
}

.partner-outreach h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.partner-outreach p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.contact-form {
  position: relative;
  margin: 0;
  padding: 1.5rem;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  width: 100%;
}

.form-field {
  margin-bottom: 1rem;
}

.form-field:last-of-type {
  margin-bottom: 1.15rem;
}

.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: var(--text);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
}

.form-field textarea {
  resize: vertical;
  min-height: 7rem;
  line-height: 1.5;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid rgba(11, 38, 213, 0.35);
  outline-offset: 1px;
  border-color: var(--primary);
}

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

.form-submit {
  width: 100%;
  margin-top: 0.25rem;
}

.form-error {
  margin: 0 0 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  font-size: 0.92rem;
  line-height: 1.45;
}

.form-error[hidden] {
  display: none;
}

.form-privacy {
  margin: 1rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

.form-privacy a {
  font-weight: 600;
}

.thank-you {
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}

.thank-you h1 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4vw, 2.1rem);
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: var(--text);
}

.thank-you p {
  margin: 0 0 1.25rem;
  color: var(--muted);
  max-width: 28rem;
}

.site-footer {
  margin-top: 3rem;
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--muted);
}

.site-footer .cols {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  justify-content: space-between;
}

.site-footer .cols--footer-two {
  max-width: 720px;
  margin: 0 auto;
  justify-content: flex-start;
  gap: 2.5rem 3rem;
}

@media (min-width: 640px) {
  .site-footer .cols--footer-two {
    flex-wrap: nowrap;
  }

  .site-footer .cols--footer-two > div:first-child {
    flex: 1 1 auto;
    min-width: 0;
  }

  .site-footer .cols--footer-two > div:last-child {
    flex: 0 0 auto;
  }
}

.site-footer strong {
  color: var(--text);
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-body);
  font-weight: 700;
}

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

.site-footer li {
  margin-bottom: 0.35rem;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--primary);
}

.legal {
  padding: 2.5rem 0 4rem;
}

.legal h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
}

.legal .updated {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 0 2rem;
}

.legal h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 2rem 0 0.5rem;
}

.legal p,
.legal li {
  color: var(--text);
}

.legal ul {
  padding-left: 1.25rem;
}

.note-box {
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  background: var(--lavender);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--muted);
}

[data-locale][hidden] {
  display: none;
}
