:root {
  --ink: #17122b;
  --soft: #4a4458;
  --bone: #f4eee3;
  --paper: #fffcf7;
  --orange: #ff5836;
  --rust: #a43725;
  --line: #dfd6c9;
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bone);
}
* { box-sizing: border-box }
body { margin: 0 }
a { color: inherit; text-underline-offset: .25em }
button { font: inherit }
img { display: block }
::selection { color: var(--ink); background: #ffc0a8 }
:focus-visible { outline: 3px solid var(--rust); outline-offset: 4px }
.wrap { width: min(1120px, calc(100% - 72px)); margin-inline: auto }
.skip { position: absolute; top: 8px; left: 8px; padding: 10px; background: var(--paper); transform: translateY(-160%); z-index: 1 }
.skip:focus { transform: none }
.header { border-bottom: 1px solid var(--line) }
.bar, .footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px }
.brand { display: inline-flex; gap: 8px; align-items: center; font-size: 23px; font-weight: 780; letter-spacing: -.035em; text-decoration: none }
nav { display: flex; gap: 32px }
nav a, .footer > a:last-child { color: var(--soft); text-decoration: none; font-weight: 600 }
nav a:hover, .footer > a:last-child:hover { text-decoration: underline }
.button { display: inline-flex; gap: 14px; align-items: center; background: var(--ink); color: var(--paper); text-decoration: none; border-radius: 999px; padding: 13px 22px; font-weight: 650 }
.button:hover { background: #382e53 }
.button.compact { padding: 8px 14px; font-size: 14px }
.hero { text-align: center; padding: 82px 0 46px }
h1, h2, h3, h4, p { margin: 0 }
h1 { font-size: clamp(52px, 7.1vw, 94px); line-height: .99; letter-spacing: -.04em; font-weight: 800; text-wrap: balance }
h1 span { display: block; color: var(--rust) }
.hero p { max-width: 37rem; margin: 27px auto 23px; font-size: clamp(17px, 2vw, 21px); color: var(--soft); text-wrap: pretty }
.preview { scroll-margin-block: 20px }
.gallery-title { font-size: 17px; text-align: center; margin-bottom: 10px }
.gallery-controls { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin-bottom: 14px }
.gallery-controls button { border: 1px solid var(--line); background: var(--paper); color: var(--ink); padding: 6px 12px; border-radius: 999px; cursor: pointer }
.gallery-controls button:hover { border-color: var(--rust) }
.gallery-controls button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink) }
.window { margin: 0; border: 1px solid #d5c9b9; border-radius: 14px; overflow: auto; background: var(--paper); box-shadow: 0 24px 60px -30px #4a384e77 }
.gallery-caption { margin-top: 10px; text-align: center; color: var(--soft); font-size: 13px }
.window img { width: 100%; min-width: 640px; height: auto }
.features, .faq { margin-top: 100px; scroll-margin-block: 20px }
.features h2, .faq h2 { font-size: clamp(32px, 5vw, 56px); letter-spacing: -.04em; line-height: 1.05; margin-bottom: 24px }
dl { margin: 0 }
dl > div { display: grid; grid-template-columns: 1fr 1.6fr; gap: 16px; padding: 23px 0; border-top: 1px solid var(--line) }
dt { font-size: 22px; font-weight: 740; letter-spacing: -.02em }
dd { margin: 0; color: var(--soft); max-width: 65ch }
details { border-top: 1px solid var(--line); padding: 15px 0 }
summary { font-weight: 680; cursor: pointer }
details p { color: var(--soft); margin-top: 9px }
.footer { margin-top: 62px; border-top: 1px solid var(--line) }
@media (max-width: 680px) {
  .wrap { width: calc(100% - 28px) }
  .bar, .footer { min-height: 62px }
  header nav { display: none }
  .hero { padding: 58px 0 34px }
  h1 { font-size: clamp(42px, 11vw, 62px) }
  .features, .faq { margin-top: 60px }
  dl > div { grid-template-columns: 1fr; gap: 5px }
}
@media (prefers-reduced-motion: no-preference) {
  .hero { animation: enter .55s cubic-bezier(.22, 1, .36, 1) both }
  @keyframes enter { from { transform: translateY(10px); opacity: .8 } to { transform: none; opacity: 1 } }
}
.header-actions { display: flex; align-items: center; gap: 12px }
.language { color: var(--soft); font-size: 13px; font-weight: 650; text-decoration: none }
.language:hover { text-decoration: underline }
@media (max-width: 380px) {
  .header .bar { gap: 8px }
  .header-actions { gap: 8px }
  .header .button.compact { padding-inline: 9px }
}
