/* Shared by the two pages that are still waiting for their tool. Same brand as thienan.app:
   deep red, gold, Philosopher for headings and Be Vietnam Pro for text. */

@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/be-vietnam-pro-400-vietnamese.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/be-vietnam-pro-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/be-vietnam-pro-600-vietnamese.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/be-vietnam-pro-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Philosopher';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/philosopher-700-vietnamese.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Philosopher';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/philosopher-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --red: #850c17;
  --red-dark: #5e0810;
  --cream: #fff8ef;
  --gold: #d8b25f;
  --paper: #fbf8f3;
  --ink: #221a16;
  --muted: #75685b;
  --border: #e8dece;
}

* { box-sizing: border-box; margin: 0; }

body {
  font-family: 'Be Vietnam Pro', ui-sans-serif, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.top {
  background: var(--red);
  color: var(--cream);
}
.top-inner {
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1rem;
  height: 4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.top img { height: 2.75rem; width: auto; display: block; }
.top nav { margin-left: auto; display: flex; gap: 0.25rem; font-size: 0.875rem; }
.top nav a { padding: 0.5rem 0.75rem; border-radius: 0.375rem; text-decoration: none; }
.top nav a:hover { background: rgb(255 255 255 / 0.12); }

.hero {
  background: radial-gradient(circle at 50% -20%, #a3131f 0%, var(--red) 55%, var(--red-dark) 100%);
  color: var(--cream);
  text-align: center;
  padding: 4.5rem 1rem 5rem;
  position: relative;
  overflow: hidden;
}
.hero .ring {
  position: absolute;
  left: 50%;
  translate: -50% 0;
  border: 1px solid rgb(255 255 255 / 0.08);
  border-radius: 50%;
  pointer-events: none;
}
.hero .inner { position: relative; max-width: 42rem; margin: 0 auto; }
.badge {
  display: inline-block;
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: 999px;
  padding: 0.3rem 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero h1 {
  font-family: Philosopher, Georgia, serif;
  font-size: clamp(2.25rem, 7vw, 3.25rem);
  line-height: 1.15;
  margin: 1.25rem 0 0;
}
.hero p { margin-top: 1.25rem; color: rgb(255 248 239 / 0.85); }

main { max-width: 48rem; margin: 0 auto; padding: 3.5rem 1rem 4rem; }
main h2 {
  font-family: Philosopher, Georgia, serif;
  color: var(--red);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}
main p + h2 { margin-top: 2.5rem; }
main p { color: var(--muted); margin-bottom: 1rem; }

.cards { display: grid; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 40rem) { .cards { grid-template-columns: 1fr 1fr; } }
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.25rem;
  text-decoration: none;
  display: block;
  transition: border-color 0.15s;
}
.card:hover { border-color: rgb(133 12 23 / 0.4); }
.card strong { font-family: Philosopher, Georgia, serif; color: var(--red); font-size: 1.125rem; }
.card span { display: block; color: var(--muted); font-size: 0.875rem; margin-top: 0.4rem; }

.cta {
  display: inline-block;
  background: var(--red);
  color: var(--cream);
  text-decoration: none;
  border-radius: 0.5rem;
  padding: 0.7rem 1.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  margin-top: 0.5rem;
}
.cta:hover { opacity: 0.9; }

footer {
  background: var(--red);
  color: rgb(255 248 239 / 0.8);
  font-size: 0.875rem;
}
footer div {
  max-width: 64rem;
  margin: 0 auto;
  padding: 1.75rem 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
}
footer a:hover { color: #fff; }
