:root {
  color-scheme: light;
  --ink: #211d30;
  --muted: #605c6b;
  --accent: #513bb3;
  --line: #dedbe4;
  --paper: #fbfaf8;
  --sans: "Satr Sans", Tahoma, Arial, sans-serif;
  --shell: 1184px;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 82px; }
body { margin: 0; min-width: 320px; line-height: 1.65; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
[hidden] { display: none !important; }
::selection { color: #251842; background: #dfd5ff; }
:focus-visible { outline: 3px solid #785cdf; outline-offset: 3px; }
.shell { width: min(var(--shell), calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: fixed; top: 0; inset-inline-start: 12px; z-index: 100; padding: 8px 16px; background: white; transform: translateY(-140%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--line); background: var(--paper); }
.nav-inner, .brand, .main-nav, .button, .hero-actions, .viewer-bar, .viewer-label, .switch, .viewer-caption, .sample-head, .hero-timing { display: flex; align-items: center; }
.nav-inner { min-height: 72px; justify-content: space-between; gap: 24px; }
.brand { gap: 9px; text-decoration: none; color: var(--ink); }
.brand strong { font-weight: 650; font-size: 21px; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px 10px 3px 10px; background: var(--accent); color: white; }
.brand-mark span { font-family: "Satr Serif", Georgia, serif; font-size: 23px; font-weight: 600; line-height: 1; transform: translateY(-2px); }
.main-nav { gap: 28px; }
.main-nav a, .sample-link { text-decoration: none; }
.main-nav a { font-size: 14px; color: var(--muted); }
.main-nav a:hover, .sample-link:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 5px; }
.button { width: fit-content; gap: 12px; justify-content: center; border: 1px solid transparent; border-radius: 8px; padding: 12px 20px; min-height: 48px; background: var(--accent); color: white; text-decoration: none; cursor: pointer; font-weight: 550; transition: background .15s ease; }
.button:hover { background: #402791; }
.button:active { background: #352174; }
.header-cta { min-height: 40px; padding: 8px 15px; color: var(--ink); border-color: #cbc7d1; background: transparent; font-size: 13px; }
.header-cta:hover { background: #eeebf3; }
.hero { display: grid; grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr); align-items: center; gap: clamp(40px,6vw,96px); padding-block: clamp(48px,5vw,76px); }
.hero-copy { max-width: 536px; }
.hero h1 { margin: 0; color: var(--ink); font-size: clamp(39px,4.55vw,68px); font-weight: 600; line-height: 1.46; }
.hero h1 span { color: var(--accent); }
.hero-intro { max-width: 440px; margin: 20px 0 0; color: var(--muted); font-size: clamp(16px,1.2vw,18px); line-height: 1.92; }
.hero-actions { margin-block-start: 28px; flex-wrap: wrap; gap: 20px; }
.hero-cta { min-height: 52px; font-size: 16px; }
.cta-price { border-inline-start: 1px solid #9e8bd4; padding-inline-start: 12px; }
.sample-link { font-size: 14px; font-weight: 500; }
.sample-link span { margin-inline-start: 4px; }
.hero-timing { gap: 8px; color: var(--muted); margin: 16px 0 0; font-size: 13px; }
.clock-icon { position: relative; width: 15px; height: 15px; flex: none; border: 1.5px solid currentColor; border-radius: 50%; }
.clock-icon::after { content: ""; position: absolute; left: 6px; top: 2px; width: 3px; height: 5px; border-left: 1.5px solid; border-bottom: 1.5px solid; }
.viewer { width: 100%; border-radius: 18px; padding: 16px clamp(20px,2.6vw,40px) 12px; background: #e9e4f3; border: 1px solid #dfd8eb; }
.viewer-bar { justify-content: space-between; margin: 0 auto 14px; gap: 8px; }
.viewer-label { gap: 8px; font-size: 13px; font-weight: 550; color: #40354e; }
.sheet-icon { width: 14px; height: 18px; border: 1.5px solid currentColor; border-radius: 2px; position: relative; }
.sheet-icon::after { content: ""; position: absolute; width: 7px; height: 3px; top: 5px; left: 2px; border-block: 1px solid currentColor; }
.switch { width: fit-content; padding: 3px; gap: 2px; border: 1px solid #d4cddf; border-radius: 8px; background: #f3f0f7; }
.switch button { min-height: 32px; padding: 3px 11px; border: 0; border-radius: 5px; background: transparent; color: #514b60; cursor: pointer; font-size: 13px; }
.switch button[aria-selected=true] { background: white; color: #352564; box-shadow: 0 1px 4px #211d301f; font-weight: 600; }
.cv-page { background: white; border: 1px solid #ded9e6; box-shadow: 0 6px 18px #251a3810; min-height: 378px; }
.cv-letterhead { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 25px 28px 20px; background: #302645; color: white; }
.cv-letterhead h2 { margin: 0; font: 600 36px/1.3 "Satr Serif", Georgia, serif; }
.cv-letterhead p { margin: 4px 0 0; color: #e3ddee; font-size: 13px; }
.cv-monogram { display: grid; flex: none; place-items: center; width: 48px; height: 48px; border: 1px solid #9a8eab; border-radius: 50%; font: 400 25px/1 "Satr Serif", Georgia, serif; }
.cv-body { padding: 0 28px 22px; }
.cv-meta { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid #d8d5dd; color: var(--muted); font-size: 12px; }
.cv-meta span + span { border-inline-start: 1px solid #cbc4d5; padding-inline-start: 12px; }
.cv-body h3 { margin: 15px 0 4px; font-size: 13px; color: #4e3d72; font-weight: 600; }
.cv-body p { margin: 0; font-size: 13px; line-height: 1.82; color: #36303f; }
.cv-job { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 8px; margin-bottom: 3px; font-size: 13px; }
.cv-job span { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.cv-page[lang=en] { font-family: Arial, sans-serif; }
.cv-page[lang=en] h2 { font-family: Georgia, serif; font-size: 30px; }
.cv-page[lang=en] .cv-body p { font-size: 14px; line-height: 1.57; }
.viewer-caption { justify-content: space-between; margin-top: 10px; color: #595067; font-size: 12px; }
.sample-section { padding-block: clamp(48px,5vw,80px); border-block: 1px solid var(--line); background: white; }
.sample-head { justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.sample-head h2 { margin: 0; font-size: clamp(27px,3vw,43px); line-height: 1.45; font-weight: 550; }
.sample-head p { color: var(--muted); margin: 6px 0 0; font-size: 16px; }
.edit-pair { display: grid; grid-template-columns: 1fr 1.1fr; gap: 16px; }
.edit-pair > div { padding: clamp(22px,2.4vw,36px); border-radius: 12px; }
.edit-before { border: 1px solid #e6e1dc; background: #f7f5f1; }
.edit-after { border: 1px solid #ddd5ec; background: #f5f1fc; }
.edit-pair h3 { margin: 0 0 12px; font-size: 13px; color: var(--muted); font-weight: 500; }
.edit-after h3 { color: var(--accent); }
.edit-pair p { margin: 0; font-size: clamp(18px,1.7vw,24px); line-height: 1.78; }
.edit-before p { color: #5e5854; }
.edit-after mark { background: #e0d4f7; color: inherit; padding: 0 2px; }
.edit-after p[lang=en] { font: 400 clamp(18px,1.6vw,23px)/1.55 Arial, sans-serif; }
@media (max-width: 900px) {
  .shell { width: calc(100% - 48px); }
  .main-nav { gap: 16px; }
  .hero { gap: 24px; }
  .viewer { padding-inline: 14px; }
  .cv-letterhead { padding: 18px 20px; }
  .cv-body { padding-inline: 20px; }
}
@media (max-width: 740px) {
  html { scroll-padding-top: 70px; }
  .shell { width: calc(100% - 40px); }
  .main-nav { display: none; }
  .nav-inner { min-height: 60px; }
  .brand strong { font-size: 18px; }
  .brand-mark { width: 32px; height: 32px; }
  .hero { grid-template-columns: minmax(0,1fr); gap: 26px; padding-block: 32px; }
  .hero h1 { font-size: clamp(35px,8.3vw,48px); line-height: 1.45; }
  .hero-intro { margin-top: 12px; line-height: 1.75; }
  .hero-actions { margin-top: 18px; gap: 12px; }
  .hero-cta { min-height: 48px; padding-inline: 13px; gap: 8px; font-size: 15px; }
  .hero-cta .cta-price { padding-inline-start: 8px; }
  .sample-link { font-size: 13px; }
  .hero-timing { margin-top: 12px; font-size: 12px; }
  .viewer { max-width: 500px; justify-self: center; border-radius: 12px; }
  .cv-page { min-height: 345px; }
  .sample-head { align-items: start; flex-direction: column; gap: 14px; margin-bottom: 16px; }
  .edit-pair { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 385px) {
  .shell { width: calc(100% - 28px); }
  .hero-actions { gap: 9px; }
  .hero-cta { gap: 7px; font-size: 14px; }
  .sample-link { font-size: 13px; }
  .cv-body { padding-inline: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
