


:root {
  
  --surface-base: #ffffff;
  --surface-raised: #faf5ff;
  --surface-sunken: #f3e8ff;
  --surface-inverse: #2e1065;
  --surface-overlay: rgba(46, 16, 101, 0.62);

  
  --content-primary: #2e1065;
  --content-secondary: #5b21b6;
  --content-muted: #8b5cf6;
  --content-inverse: #ffffff;

  
  --action-primary: #7c3aed;
  --action-hover: #6d28d9;
  --action-quiet: #f3e8ff;

  
  --intent-positive: #15803d;
  --intent-notice: #b45309;
  --intent-alert: #b91c1c;

  
  --edge-subtle: #e9d5ff;
  --edge-strong: #c4b5fd;
  --depth-soft: 0 2px 10px rgba(46, 16, 101, 0.08);
  --depth-lift: 0 12px 32px rgba(46, 16, 101, 0.16);

  
  --stack-hair: 0.5rem;
  --stack-line: 1rem;
  --stack-band: 1.5rem;
  --stack-gap: 2rem;
  --band-pad: clamp(1.5rem, 4.4vw, 3.5rem) clamp(1rem, 4vw, 2rem);

  
  --shell-width: clamp(320px, 92%, 1180px);
  --motion: 0.32s cubic-bezier(0.4, 0.14, 0.3, 1);
}


*,
::before,
::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: var(--edge-subtle);
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  tab-size: 4;
}

body {
  margin: 0;
  line-height: inherit;
}

hr {
  height: 0;
  color: inherit;
  border-top-width: 1px;
}

abbr[title] {
  text-decoration: underline dotted;
}

b,
strong {
  font-weight: 700;
}

small {
  font-size: 80%;
}

table {
  text-indent: 0;
  border-color: inherit;
  border-collapse: collapse;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
}

button,
select {
  text-transform: none;
}

button,
[type='button'],
[type='submit'] {
  -webkit-appearance: button;
  background-color: transparent;
  background-image: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
}

p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ol,
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

img,
svg,
video,
canvas {
  display: block;
  vertical-align: middle;
  max-width: 100%;
  height: auto;
}

[hidden] {
  display: none;
}


body {
  font-family: 'Roboto', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.7;
  background: var(--surface-base);
  color: var(--content-primary);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  flex: 1;
}

section {
  flex: 1 1 auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 700;
  color: var(--content-primary);
}

h1 {
  font-size: clamp(2rem, 5.4vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.3;
}

h4 {
  font-size: clamp(1rem, 1.4vw, 1.08rem);
  font-weight: 600;
}

p {
  font-size: clamp(1rem, 1.1vw, 1.05rem);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

a {
  color: var(--action-primary);
  text-decoration: none;
  transition: color var(--motion);
}

a:hover,
a:focus-visible {
  color: var(--action-hover);
}

:focus-visible {
  outline: 3px solid var(--action-primary);
  outline-offset: 2px;
}


.btn {
  display: inline-block;
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: clamp(0.92rem, 1.2vw, 1rem);
  font-weight: 600;
  padding: 0.85rem 1.8rem;
  cursor: pointer;
  text-align: center;
  transition: background var(--motion), box-shadow var(--motion), transform var(--motion), color var(--motion);
}

.btn > span {
  display: inline-block;
  transform: skewX(10deg);
}

.btn-primary {
  background: var(--action-primary);
  color: var(--content-inverse);
  border: none;
  font-weight: 700;
  transform: skewX(-10deg);
  box-shadow: var(--depth-soft);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--action-hover);
  color: var(--content-inverse);
  box-shadow: var(--depth-lift);
}

.btn-ghost {
  background: transparent;
  color: var(--content-inverse);
  border: 2px solid rgba(255, 255, 255, 0.72);
  transform: skewX(-10deg);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  color: var(--content-inverse);
}

.btn-quiet {
  background: var(--action-quiet);
  color: var(--content-secondary);
  transform: skewX(-10deg);
}

.btn-quiet:hover,
.btn-quiet:focus-visible {
  background: var(--edge-subtle);
  color: var(--content-primary);
}

.btn-large {
  padding: 1.05rem 2.4rem;
  font-size: clamp(1rem, 1.4vw, 1.1rem);
}

.btn-block {
  display: block;
  width: 100%;
}


.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--content-secondary);
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 0.82rem 1rem;
  background: var(--surface-base);
  border: 1px solid var(--edge-strong);
  border-radius: 0 8px 8px 0;
  font-size: 1rem;
  color: var(--content-primary);
  transition: border-color var(--motion), box-shadow var(--motion);
}

.form-input::placeholder {
  color: var(--content-muted);
}

.form-input:focus {
  outline: none;
  border-color: var(--action-primary);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.18);
}

.form-input.is-error {
  border-color: var(--intent-alert);
}

.form-hint {
  font-size: 0.85rem;
  color: var(--content-muted);
  margin-bottom: 0.5rem;
}

.form-consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--content-secondary);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.form-consent input {
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 2px;
  accent-color: var(--action-primary);
}

.form-alert {
  border-left: 5px solid var(--intent-alert);
  background: #fef2f2;
  color: #7f1d1d;
  padding: 0.85rem 1rem;
  font-size: 0.92rem;
  margin-bottom: 1rem;
  border-radius: 0 8px 8px 0;
}

.form-done {
  border-left: 5px solid var(--intent-positive);
  background: #f0fdf4;
  color: #14532d;
  padding: 1.25rem 1.5rem;
  border-radius: 0 10px 10px 0;
}

.form-done h3 {
  color: #14532d;
  margin-bottom: 0.5rem;
}


.is-hidden {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
