@font-face {
  font-family: "Noto Serif";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("/fonts/noto-serif-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: "Noto Serif";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("/fonts/noto-serif-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;
}

*, *::before, *::after { box-sizing: border-box; }
:root {
  --ink: #302019;
  --wine: #751b20;
  --paper: #fffbf1;
  --line: #e9d6b2;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.6 system-ui, sans-serif;
}
body { margin: 0; }
a { color: var(--wine); text-underline-offset: .2em; }
a:hover { color: #a12b29; }
a:focus-visible { outline: 3px solid #ad601d; outline-offset: 4px; }
.shell { width: min(1140px, 100% - 2.5rem); margin-inline: auto; }
.top, nav, .footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.top, .footer { padding-block: 1rem; }
.brand { color: var(--wine); font: bold 1.35rem "Noto Serif", Georgia, serif; text-decoration: none; }
nav a { text-decoration: none; font-weight: 600; }
.button { display: inline-block; border: 1px solid var(--wine); border-radius: .45rem; padding: .68rem 1rem; background: var(--wine); color: white; text-decoration: none; font-weight: 650; }
.button:hover { background: #501117; color: white; }
.button.outline { background: transparent; color: var(--wine); }
.button.outline:hover { background: #f2e2c9; }
.hero { background: #f7ead2; border-block: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1fr minmax(0, 1fr); align-items: center; gap: clamp(1.25rem, 5vw, 4.5rem); padding-block: clamp(2rem, 7vw, 5rem); }
h1, h2, h3 { color: var(--wine); font-family: "Noto Serif", Georgia, serif; line-height: 1.18; }
h1 { margin: 0; font-size: clamp(2.35rem, 5.2vw, 4.45rem); }
h2 { margin: 0 0 1.5rem; font-size: clamp(1.9rem, 3vw, 2.7rem); }
h3 { margin: 0; font-size: 1.35rem; }
.hero p { max-width: 43ch; margin: 1.25rem 0; }
.actions { display: flex; gap: .7rem; flex-wrap: wrap; }
figure { margin: 0; }
img { width: 100%; height: auto; border: 1px solid #bb8a3f; border-radius: .5rem; display: block; box-shadow: 0 12px 30px #4c220528; }
figcaption { margin-top: .55rem; text-align: center; font-size: .85rem; }
.section { padding-block: clamp(2.2rem, 6vw, 4.5rem); }
article { border-radius: .6rem; padding: 1.2rem; border: 1px solid var(--line); background: #fffdf8; }
article p { margin: .65rem 0; }
article a { font-weight: 650; }
.features, .price-grid { display: grid; gap: 1.1rem; }
.features { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.prices { background: #f8edd7; border-block: 1px solid var(--line); }
.price-nav { justify-content: flex-start; gap: .55rem; margin-bottom: 1.35rem; }
.price-nav a { border: 1px solid #d8bb88; border-radius: 1.5rem; padding: .38rem .9rem; background: #fffaf0; }
.price-nav a:hover { background: #f1dfbd; }
.price-group {
  display: flex;
  flex-direction: column;
  border-top: 4px solid var(--wine);
  padding: clamp(1rem, 2.5vw, 1.65rem);
  scroll-margin-top: 1rem;
}
.price-group:target { outline: 2px solid #ad601d; outline-offset: 3px; }
.price-group h3 { font-size: clamp(1.32rem, 2.2vw, 1.75rem); }
.price-group h4 { margin: 0; color: var(--wine); font-size: 1.05rem; }
.price-description { margin: .7rem 0 1rem; }
.free-plan {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: .25rem 1rem;
  margin-bottom: 1rem;
  padding: .65rem .85rem;
  border-radius: .35rem;
  background: #f8edd7;
}
.free-plan p { grid-column: 1 / -1; margin: 0; }
.free-plan strong, .rates dd { color: var(--wine); font-weight: 750; font-variant-numeric: tabular-nums; }
.rates { margin: 0; }
.rates > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(6.35rem, auto);
  align-items: baseline;
  gap: .5rem 1rem;
  padding: .65rem 0;
  border-bottom: 1px solid var(--line);
}
.rates dt { font-weight: 650; }
.rates dd { margin: 0; text-align: right; }
.rates small { display: block; margin-top: .15rem; color: #634637; font-size: .82rem; font-weight: 400; line-height: 1.45; }
.rate-note { color: #634637; font-size: .9rem; }
.price-action { align-self: flex-start; margin-top: auto; padding-top: .4rem; }
.note { max-width: 75ch; margin: 1.3rem 0 0; }
@media (max-width: 760px) {
  .hero-grid, .features, .price-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 390px) {
  .shell { width: calc(100% - 1.5rem); }
  .rates > div { column-gap: .5rem; }
}
