/* Product Photo Studio Pro: support and privacy pages. Colours come from the app's Studio colour sets. */
:root {
  --background: #f7f6f2;
  --surface: #ffffff;
  --ink: #192c23;
  --muted: #667269;
  --accent: #205744;
  --tint: #e8eee7;
  --line: #e1e6de;
  --gold: #b58545;
  --serif: "New York", ui-serif, "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --thai: "Sukhumvit Set", Thonburi, "Noto Sans Thai", "Leelawadee UI", Tahoma, -apple-system, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #111c18;
    --surface: #1b2922;
    --ink: #f5f5ee;
    --muted: #aab8ae;
    --accent: #a6d0b5;
    --tint: #263e30;
    --line: #34483c;
  }
}

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

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

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font: 17px/1.6 var(--sans);
  overflow-wrap: break-word;
}

:lang(th) body, body:lang(th) { font-family: var(--thai); line-height: 1.75; }

a { color: var(--accent); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 44rem; margin: 0 auto; padding: 0 16px; }

header.site {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
header.site .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  min-width: 0;
}
.brand img { width: 36px; height: 36px; border-radius: 9px; flex: none; }
nav.links { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 15px; }
nav.links a { text-decoration: none; }
nav.links a[aria-current="page"] { color: var(--ink); font-weight: 600; }

main { padding: 36px 0 56px; }
main .wrap > * { max-width: 68ch; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.25; color: var(--ink); }
:lang(th) h1, :lang(th) h2, :lang(th) h3 { font-family: var(--thai); line-height: 1.45; }
h1 { font-size: 2rem; margin: 0 0 8px; }
h2 { font-size: 1.35rem; margin: 40px 0 10px; padding-top: 20px; border-top: 1px solid var(--line); }
h3 { font-size: 1.08rem; margin: 24px 0 6px; }

p, ul, ol, dl { margin: 0 0 14px; }
ul, ol { padding-left: 1.3em; }
li { margin: 4px 0; }

.updated { color: var(--muted); font-size: 15px; margin-bottom: 24px; }
.lead { font-size: 1.1rem; }

.summary {
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
  margin: 20px 0 8px;
}
.summary h2 { margin-top: 0; padding-top: 0; border-top: 0; font-size: 1.1rem; }
.summary ul { margin-bottom: 0; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
  margin: 16px 0;
}
.card p:last-child { margin-bottom: 0; }

.providers { list-style: none; padding: 0; }
.providers li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  margin: 10px 0;
}
.providers strong { display: block; }

details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  margin: 10px 0;
}
details[open] { padding-bottom: 4px; }
summary { cursor: pointer; font-weight: 600; }
summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
details > p, details > ul { margin-top: 10px; }

.hero { text-align: left; }
.hero img { width: 74px; height: 74px; border-radius: 17px; margin-bottom: 16px; }
.pill-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; padding: 0; list-style: none; }
.pill-links a {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--background);
  text-decoration: none;
  font-weight: 600;
}
.pill-links a.secondary { background: var(--surface); color: var(--accent); border: 1px solid var(--line); }

footer.site { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer.site .wrap { padding-top: 18px; padding-bottom: 28px; }
footer.site p { margin: 4px 0; }

.eyebrow:lang(en) { letter-spacing: 0.08em; }
.eyebrow { text-transform: uppercase; font-size: 13px; font-weight: 600; color: var(--gold); margin-bottom: 6px; }
:lang(th) .eyebrow, :lang(th) * { letter-spacing: normal; text-transform: none; }

@media (max-width: 420px) {
  body { font-size: 16px; }
  h1 { font-size: 1.65rem; }
  main { padding-top: 24px; }
}
