/* Fiona Pattaya — marketplace design tokens */
:root {
  --blue: #0754FF;
  --blue-hover: #0546D6;
  --navy: #071640;
  --navy-deep: #050D24;
  --deep-blue: #0A1F4A;
  --ivory: #F5F8FC;
  --white: #FFFFFF;
  --pale: #EAF3FF;
  --sand: #DCE5F0;
  --gold: #0754FF;
  --gold-soft: #3B74FF;
  --text: #071640;
  --muted: #60708A;
  --line: #DCE5F0;
  --success: #1E7A55;
  --error: #B33A3A;
  --warn: #C47A12;
  --shadow: 0 8px 24px rgba(7, 22, 64, 0.06);
  --shadow-soft: 0 2px 10px rgba(7, 22, 64, 0.04);
  --radius: 10px;
  --radius-sm: 8px;
  --header-h: 72px;
  --font-display: "Figtree", "Sarabun", "Segoe UI", sans-serif;
  --font-body: "Figtree", "Sarabun", "Segoe UI", sans-serif;
  --max: 1280px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.55;
  font-size: 16px;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.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;
}

.container {
  width: min(100% - 4rem, var(--max));
  margin-inline: auto;
}

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--navy);
}

.muted { color: var(--muted); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 46px;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
}
.btn-primary:hover { background: var(--blue-hover); }
.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}
.btn-secondary:hover { background: var(--pale); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-dark {
  background: var(--navy);
  color: var(--white);
}
.btn-ghost { background: transparent; color: var(--navy); }

.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.section { padding: 4.5rem 0; }
.section-tight { padding: 3rem 0; }
.section-head { max-width: 40rem; margin-bottom: 2rem; }
.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  margin: 0 0 0.55rem;
}
.section-head p { margin: 0; color: var(--muted); }

@media (max-width: 768px) {
  .container { width: min(100% - 2rem, var(--max)); }
  :root { --header-h: 62px; }
}

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