:root {
  color-scheme: dark;
  color: #f5f0ff;
  background: #0c0c1a;
  font-family: "Avenir Next", Avenir, "Trebuchet MS", sans-serif;
  line-height: 1.65;
}

* { box-sizing: border-box; }
body, h1, h2, h3, p { margin: 0; }
a { color: #ddc5ff; text-underline-offset: .22em; }
.container { width: min(72rem, calc(100% - 3rem)); margin-inline: auto; }
.site-header { border-bottom: 1px solid #2d2443; }
.header-content { min-height: 4.65rem; display: flex; justify-content: space-between; align-items: center; gap: .75rem; }
.brand { display: flex; }
.brand img { max-width: 100%; height: auto; }
.hero, .guide-layout { display: grid; align-items: center; grid-template-columns: 1.25fr 1fr; gap: clamp(2rem, 8vw, 7rem); }
.hero { padding-block: clamp(4rem, 10vw, 8.5rem); }

.product-name { color: #ddc5ff; font-weight: 700; margin-bottom: .8rem; }
h1 { font-size: clamp(3rem, 8vw, 6.4rem); line-height: .96; letter-spacing: -.075em; max-width: 9ch; }
h2 { font-size: clamp(1.7rem, 4vw, 2.8rem); line-height: 1.08; letter-spacing: -.035em; }
h3 { font-size: 1.35rem; }
.intro, .guide-layout h2 + p { color: #d3cadf; margin-top: 1.25rem; max-width: 37rem; }
.hero .button, .app-link { margin: 1.5rem 1rem 0 0; }
.app-link { display: inline-block; }
.button { display: inline-block; padding: .65rem 1rem; border: 0; border-radius: .55rem; background: #d7b6ff; color: #24113c; font: inherit; font-weight: 750; text-decoration: none; cursor: pointer; }
.button:hover:not(:disabled) { background: #e8d4ff; }
.button:disabled { opacity: .7; cursor: default; }
:focus-visible { outline: 2px solid #ddc5ff; outline-offset: 4px; }

.exercise { border: 1px solid #483665; padding: clamp(1.5rem, 4vw, 2.6rem); border-radius: 1.1rem; background: linear-gradient(135deg, #26183b, #151223 70%); }
.exercise-label { color: #ddc5ff; font-weight: 700; margin-bottom: .8rem; }
.exercise ol { padding-left: 1.25rem; margin-bottom: 0; }
.exercise li { padding-left: .35rem; margin-top: .5rem; color: #ede3f8; }

.guide-section { background: #171126; border-block: 1px solid #2d2443; padding-block: clamp(3rem, 7vw, 6rem); }
.guide-card { border: 1px solid #483665; border-radius: 1rem; padding: clamp(1.25rem, 4vw, 2rem); background: #100e1d; }
.guide-card p { color: #d3cadf; }
form { display: grid; gap: .55rem; margin-top: 1rem; }
label { font-weight: 650; }
input { font: inherit; background: #211b32; color: inherit; padding: .65rem .8rem; border: 1px solid #7d6699; border-radius: .55rem; width: 100%; }
.form-privacy { font-size: .865rem; }
.guide-card .error:not(:empty) { margin-top: .85rem; color: #ffb9c9; }
#form-success { margin-top: 1rem; }
#form-success .button { margin-top: .85rem; }
[hidden] { display: none; }
.site-footer { padding-block: 1.5rem 2rem; color: #d3cadf; display: flex; flex-wrap: wrap; gap: .75rem 2rem; justify-content: space-between; }
.site-footer nav { display: flex; gap: 1rem; }

@media (max-width: 760px) {
  .hero, .guide-layout { grid-template-columns: 1fr; }
  .container { width: calc(100% - 2rem); }
}
