:root {
  --bg: #041123;
  --bg-soft: rgba(7, 24, 44, 0.7);
  --card: rgba(11, 33, 57, 0.78);
  --text: #e8f4ff;
  --muted: #9ec3de;
  --accent: #83ffd2;
  --accent-strong: #53e8b5;
  --line: rgba(139, 214, 255, 0.28);
  --max: min(1120px, 92vw);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Sora", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% -10%, rgba(120, 255, 199, 0.28), transparent 55%),
    radial-gradient(circle at 85% 0%, rgba(89, 140, 255, 0.23), transparent 45%),
    linear-gradient(180deg, #020712 0%, #06162c 44%, #020914 100%);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-strong);
}

.site-header,
.site-footer,
.section {
  width: var(--max);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 1rem 0.65rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(9px);
  background: rgba(2, 9, 20, 0.55);
}

.brand {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

nav {
  display: flex;
  gap: 1rem;
  align-items: center;
}

nav a {
  font-size: 0.95rem;
  color: #d6ebff;
}

.nav-cta {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
}

.section {
  padding: 4rem 0 2rem;
}

.legal-page {
  width: var(--max);
  margin: 0 auto;
}

.legal-doc {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.2rem;
}

.legal-doc h2 {
  margin-top: 2rem;
}

.legal-doc h3 {
  margin-top: 1.2rem;
}

.legal-doc ul {
  margin: 0.5rem 0 1rem;
  padding-left: 1.25rem;
}

.legal-back {
  margin-top: 2rem;
}

.withdrawal-form {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 0.8rem;
  border: 1px solid var(--line);
  background: rgba(5, 20, 36, 0.75);
}

.withdrawal-form .line {
  display: inline-block;
  width: 100%;
  border-bottom: 1px solid rgba(232, 244, 255, 0.55);
  transform: translateY(-2px);
}

.withdrawal-form .line.short {
  width: min(220px, 60%);
}

.legal-actions {
  margin-top: 1rem;
}

.hero {
  padding-top: 3rem;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  font-size: 0.82rem;
}

h1,
h2,
h3 {
  margin: 0 0 0.8rem;
  line-height: 1.1;
  font-family: "Space Grotesk", sans-serif;
}

h1 {
  font-size: clamp(2rem, 5vw, 4.2rem);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

h2 {
  font-size: clamp(1.5rem, 3.3vw, 2.3rem);
}

.lead {
  max-width: 56ch;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin: 1.2rem 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.1rem;
  border-radius: 0.8rem;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s ease;
}

.btn-primary {
  background: linear-gradient(115deg, #58efc2, #6dc7ff);
  color: #041123;
}

.btn-primary:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: #e7f3ff;
}

.quick-facts {
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  display: grid;
  gap: 0.25rem;
}

.quick-facts .price-highlight {
  color: #ffffff;
}

.hero-cover {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.hero-copy .availability-note {
  margin-top: 1rem;
}

.highlights,
.author {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.highlights article,
.contact-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.2rem;
}

.contact-card {
  display: grid;
  gap: 0.75rem;
  align-content: start;
}

.contact-photo {
  margin: 0;
  width: 100%;
  max-width: 310px;
  justify-self: center;
  border-radius: 0.85rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(5, 20, 36, 0.82);
}

.contact-photo img {
  width: 100%;
  height: auto;
}

.author > div {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.2rem;
}

.author p {
  margin: 0 0 1rem;
}

.author p:last-child {
  margin-bottom: 0;
}

.availability-note {
  background: linear-gradient(135deg, rgba(14, 44, 66, 0.88), rgba(10, 40, 58, 0.82));
  border: 1px solid rgba(131, 255, 210, 0.5);
  border-radius: 1rem;
  padding: 1.2rem;
}

.availability-note p {
  margin: 0 0 0.55rem;
}

.availability-note p:last-child {
  margin-bottom: 0;
}

.availability-note .promo {
  color: #d9fff2;
}

.dest-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.dest-grid article {
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: rgba(9, 27, 46, 0.6);
  padding: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: "Space Grotesk", sans-serif;
}

.section-head p {
  margin-top: 0;
  color: var(--muted);
}

.sample-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.sample-stack figure {
  margin: 0;
  background: var(--card);
  border-radius: 0.85rem;
  border: 1px solid var(--line);
  overflow: hidden;
}

.sample-stack img {
  width: 100%;
  height: auto;
}

.sample-stack figcaption {
  padding: 0.8rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.order form {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--card);
  padding: 1.2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

label {
  display: grid;
  gap: 0.35rem;
  color: #d6edff;
  font-size: 0.94rem;
}

label.full {
  grid-column: 1 / -1;
}

.shipping-set {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  padding: 0.7rem 0.8rem;
}

.shipping-set legend {
  padding: 0 0.4rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.radio-option {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
}

.radio-option strong {
  margin-left: auto;
  white-space: nowrap;
}

.radio-option.is-hidden {
  display: none;
}

.radio-option input {
  width: auto;
  margin-top: 0.26rem;
}

.shipping-info {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  margin-left: 0.15rem;
  margin-right: 0.35rem;
  vertical-align: middle;
}

.shipping-info__trigger {
  width: 1.15rem;
  height: 1.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(131, 255, 210, 0.6);
  background: #0b1e31;
  color: #f2fbff;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  cursor: help;
}

.shipping-info__tooltip {
  display: none;
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.7rem);
  transform: translateX(-50%);
  width: min(320px, 80vw);
  padding: 0.85rem 0.95rem;
  border-radius: 0.8rem;
  border: 1px solid rgba(131, 255, 210, 0.45);
  background: #081623;
  color: #f2fbff;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.38);
  font-size: 0.86rem;
  line-height: 1.45;
  pointer-events: none;
  z-index: 30;
  white-space: normal;
}

.shipping-info:hover .shipping-info__tooltip,
.shipping-info:focus-within .shipping-info__tooltip {
  display: block;
}

.radio-option-pickup {
  align-items: center;
}

.radio-option-pickup .shipping-option-text {
  flex: 0 1 auto;
}

.packeta-point {
  border: 1px dashed var(--line);
  border-radius: 0.7rem;
  padding: 0.8rem;
}

#packeta-picker-btn {
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(83, 232, 181, 0.25);
}

.packeta-point.is-hidden {
  display: none;
}

.packeta-point small {
  color: var(--muted);
  font-size: 0.8rem;
}

.packeta-selected {
  margin: 0.6rem 0 0.2rem;
  color: #d6edff;
  font-size: 0.95rem;
}

input,
textarea,
select {
  width: 100%;
  background: rgba(2, 17, 34, 0.82);
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  color: #f2fbff;
  font: inherit;
  padding: 0.72rem 0.8rem;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(94, 232, 191, 0.45);
  outline-offset: 1px;
}

.checkbox {
  margin: 1rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--muted);
}

.checkbox input {
  width: auto;
  margin-top: 0.25rem;
}

.total {
  font-size: 1.05rem;
  margin: 0 0 1rem;
}

#form-status {
  margin-top: 0.8rem;
  min-height: 1.4rem;
  color: var(--muted);
}

#form-status.success {
  color: #79ffc5;
}

#form-status.error {
  color: #ff9db0;
}

.hidden-field {
  position: absolute;
  left: -100vw;
  opacity: 0;
  pointer-events: none;
}

.site-footer {
  padding: 2rem 0 3rem;
  color: var(--muted);
  text-align: center;
}

.cookie-consent {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  width: min(720px, calc(100vw - 1.4rem));
  z-index: 60;
  background: rgba(4, 17, 35, 0.94);
  border: 1px solid rgba(131, 255, 210, 0.35);
  border-radius: 0.85rem;
  padding: 0.85rem 0.95rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
}

.cookie-consent p {
  margin: 0;
  font-size: 0.92rem;
  color: #d7e8f8;
}

.cookie-actions {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.cookie-btn {
  appearance: none;
  border: 1px solid rgba(139, 214, 255, 0.35);
  background: rgba(6, 24, 42, 0.85);
  color: #e9f5ff;
  font: inherit;
  font-size: 0.9rem;
  border-radius: 0.6rem;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  transition: 0.2s ease;
}

.cookie-btn:hover {
  border-color: rgba(139, 214, 255, 0.6);
}

.cookie-btn-primary {
  background: linear-gradient(115deg, #58efc2, #6dc7ff);
  border-color: transparent;
  color: #041123;
  font-weight: 700;
}

.cookie-btn-primary:hover {
  filter: brightness(1.05);
}

.aurora {
  position: fixed;
  pointer-events: none;
  z-index: -1;
  width: 44vw;
  height: 44vw;
  filter: blur(45px);
  opacity: 0.5;
  border-radius: 50%;
  animation: drift 14s ease-in-out infinite alternate;
}

.aurora-one {
  background: radial-gradient(circle, rgba(98, 255, 188, 0.58), rgba(98, 255, 188, 0));
  left: -14vw;
  top: -12vw;
}

.aurora-two {
  background: radial-gradient(circle, rgba(64, 133, 255, 0.45), rgba(64, 133, 255, 0));
  right: -15vw;
  top: 10vh;
  animation-duration: 17s;
}

@keyframes drift {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(6vw, 4vh) scale(1.1);
  }
}

@media (max-width: 980px) {
  .hero,
  .highlights,
  .author {
    grid-template-columns: 1fr;
  }

  .site-header {
    flex-direction: column;
    gap: 0.75rem;
  }

  nav {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .cookie-consent {
    bottom: 0.65rem;
    border-radius: 0.75rem;
    padding: 0.75rem;
  }

  .cookie-actions {
    gap: 0.45rem;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 3rem 0 1.5rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}
