@font-face {
  font-family: "Instrument Serif";
  src: url("assets/instrument-serif-n4.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("assets/instrument-serif-i4.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter var";
  src: url("assets/inter-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f2ede3;
  --paper-deep: #e9e2d6;
  --ink: #171512;
  --muted: #6d665b;
  --line: #d8d0c3;
  --accent: #b4432c;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Inter var", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }

.wrap { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
.top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  width: 34px; height: 34px; border: 1px solid var(--ink);
  display: grid; place-items: center; font-family: var(--serif);
  font-size: 21px; line-height: 1;
}
.brand-name {
  font-family: var(--sans); font-size: 11px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
}
.nav { display: flex; gap: 28px; align-items: center; }
.nav a { text-decoration: none; font-size: 13px; color: var(--muted); }
.nav a:hover { color: var(--ink); }
.nav .cta { color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 2px; }

.hero { padding: 80px 0 64px; display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 64px; align-items: center; }
.eyebrow {
  font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--muted); display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 30px; height: 1px; background: var(--accent); display: block; }
h1 {
  font-family: var(--serif); font-weight: 400; font-size: clamp(52px, 6.4vw, 92px);
  line-height: 0.94; letter-spacing: -0.02em; margin: 26px 0 26px;
}
h1 em { font-style: italic; color: var(--accent); }
.lead { font-size: 18px; line-height: 1.65; color: #3d3830; max-width: 50ch; margin: 0 0 34px; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border: 1px solid var(--ink);
  background: var(--ink); color: var(--paper); text-decoration: none;
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }
.note { font-size: 12px; color: var(--muted); margin-top: 14px; }

.showcase { border: 1px solid var(--ink); padding: 10px; background: var(--paper-deep); }
.showcase img { width: 100%; height: auto; }
.showcase-cap {
  display: flex; justify-content: space-between; gap: 20px;
  padding: 12px 2px 2px; font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted);
}

.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 24px 26px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat strong { display: block; font-family: var(--serif); font-size: 42px; font-weight: 400; line-height: 1; }
.stat span { display: block; margin-top: 8px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

section { padding: 92px 0; }
.section-head { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 46px; }
.section-head h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 4vw, 58px); line-height: 1; margin: 14px 0 0; letter-spacing: -0.015em; }
.section-head p { max-width: 40ch; color: var(--muted); margin: 0; font-size: 15px; }

.languages { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
.language { border-right: 1px solid var(--line); padding: 26px 22px 30px; min-height: 190px; }
.language:last-child { border-right: 0; }
.language .num { font-size: 10px; letter-spacing: 0.18em; color: var(--accent); }
.language h3 { font-family: var(--serif); font-size: 28px; font-weight: 400; margin: 20px 0 10px; }
.language p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.6; }

.section-list { border-top: 1px solid var(--line); }
.section-row { display: grid; grid-template-columns: 54px 1.2fr 1fr auto; gap: 24px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.section-row .idx { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--muted); }
.section-row h3 { font-size: 15px; margin: 0; font-weight: 600; }
.section-row p { font-size: 13px; color: var(--muted); margin: 3px 0 0; }
.section-row .langs { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.section-row .tag { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; border: 1px solid var(--line); padding: 5px 8px; white-space: nowrap; }
.section-row .tag.pro { border-color: var(--accent); color: var(--accent); }

.pricing { background: #1c1915; color: var(--paper); }
.pricing .section-head p { color: #b8b0a3; }
.pricing .section-head h2 { color: var(--paper); }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.plan { border: 1px solid #3b352c; padding: 34px; display: flex; flex-direction: column; gap: 18px; }
.plan.pro { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.plan-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
.plan-head h3 { font-family: var(--serif); font-size: 32px; font-weight: 400; margin: 0; }
.plan-price { font-family: var(--serif); font-size: 28px; white-space: nowrap; }
.plan-price small { font-family: var(--sans); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.plan ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.plan li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.plan.pro li { border-color: #d8d0c3; }
.plan .btn { align-self: flex-start; margin-top: auto; }
.plan small { color: var(--muted); font-size: 11px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.step { background: var(--paper); padding: 30px 28px 34px; }
.step .num { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--accent); }
.step h3 { font-family: var(--serif); font-size: 26px; font-weight: 400; margin: 16px 0 8px; }
.step p { font-size: 13px; color: var(--muted); margin: 0; }

.faq { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; }
.faq h2 { font-family: var(--serif); font-size: clamp(36px, 4vw, 54px); font-weight: 400; margin: 14px 0 0; line-height: 1; }
.faq-item { border-top: 1px solid var(--line); padding: 20px 0; }
.faq-item h3 { font-size: 15px; margin: 0 0 8px; }
.faq-item p { font-size: 14px; color: var(--muted); margin: 0; }

footer { border-top: 1px solid var(--line); padding: 36px 0 50px; }
.foot { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: center; }
.foot-links { display: flex; gap: 24px; font-size: 12px; color: var(--muted); }

.page { max-width: 820px; margin: 0 auto; padding: 70px 0 100px; }
.page h1 { font-size: clamp(44px, 6vw, 70px); margin-bottom: 16px; }
.page h2 { font-family: var(--serif); font-weight: 400; font-size: 30px; margin: 44px 0 10px; }
.page p, .page li { color: #3d3830; font-size: 15px; }
.page ul { padding-left: 20px; }
.page .meta { font-size: 12px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 36px; padding-top: 54px; }
  .showcase { order: -1; }
  .languages { grid-template-columns: 1fr 1fr; }
  .language { border-bottom: 1px solid var(--line); }
  .section-row { grid-template-columns: 36px 1fr auto; }
  .section-row .langs { display: none; }
  .plans { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; gap: 28px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 560px) {
  .wrap { width: min(100% - 32px, 1200px); }
  .nav { gap: 14px; }
  .nav a:not(.cta) { display: none; }
  .languages { grid-template-columns: 1fr; }
  .language { border-right: 0; }
  .section-head { display: block; }
  .section-head p { margin-top: 18px; }
  h1 { font-size: 54px; }
}
