*, ::before, ::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #FFB6C1;
  --surface: #FFC0CB;
  --surface-alt: #FFB6C1;
  --ink: #1a1612;
  --muted: #1a1612;
  --line: #1a1612;
  --accent: #CD5C5C;
  --accent-soft: #d98e5c;
  --blue: #3b6fa0;
  --font: 'Space Grotesk', 'Avenir Next', sans-serif;
  --mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 500;
  min-height: 100vh;
  padding: clamp(1rem, 2vw, 2rem) 0 2.5rem;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; }
a:hover { color: var(--ink); }

.wrap {
  width: min(1080px, 93vw);
  margin: 0 auto;
}

/* ========= NAV ========= */
.nav {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.nav-pill {
  display: inline-flex;
  gap: 1.5rem;
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 1.25rem;
  box-shadow: 4px 4px 0 var(--line);
  font-family: var(--mono);
  font-size: 0.78rem;
}

.nav-pill a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}

.nav-pill a:hover { color: var(--ink); }

/* ========= CARDS ========= */
.card {
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: 18px;
  padding: 2rem;
  box-shadow: 8px 8px 0 var(--line);
}

.card-alt {
  background: var(--surface-alt);
  box-shadow: 10px 10px 0 var(--line);
  position: relative;
}


/* ========= HERO ========= */
.hero-full {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.5rem;
  min-height: 320px;
}

.hero-full h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.hero-full h1 .tg-big { font-size: 1.25em; }
.hero-full h1 .muted { color: #3d352c; }

.hero-desc {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 420px;
}

.hero-btns {
  display: flex;
  gap: 0.75rem;
  width: 100%;
}

.hero-btns .btn {
  flex: 1;
}

/* ========= BUTTONS ========= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 1.5rem;
  border-radius: 10px;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--line);
  cursor: pointer;
  transition: transform 0.1s, box-shadow 0.1s;
  box-shadow: 4px 4px 0 var(--line);
}

.btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 var(--line);
}

.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--line);
}

.btn-fill {
  background: var(--ink);
  color: var(--surface);
  border-color: var(--ink);
}

.btn-fill:hover {
  color: var(--surface);
}

.btn-outline {
  background: var(--surface);
  color: var(--ink);
}

.btn-outline.copy-ok {
  background: #d4edda;
  border-color: #3a7d44;
  color: #1e5128;
}

.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  flex-wrap: wrap;
}

/* ========= SECTIONS ========= */
.section-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.section-tag {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.card h2 {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.card p.text {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.card p.text:last-of-type { margin-bottom: 0; }

/* ========= STEPS ========= */
.steps { display: flex; flex-direction: column; gap: 1rem; }

.step {
  display: flex;
  gap: 12px;
  align-items: center;
}

.step-n {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--surface);
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step p {
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.4;
}

/* ========= VPN BLOCK ========= */
.vpn-card {
  background: var(--ink);
  color: var(--surface);
  box-shadow: 10px 10px 0 var(--accent);
}

.vpn-card .section-tag { color: var(--accent-soft); }
.vpn-card h2 { color: var(--surface); }
.vpn-card p.text { color: rgba(245,240,230,0.55); }

.vpn-btns {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.btn-white {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--surface);
  box-shadow: 4px 4px 0 rgba(255,255,255,0.2);
}

.btn-white:hover {
  box-shadow: 5px 5px 0 rgba(255,255,255,0.25);
}

.btn-glass {
  background: rgba(255,255,255,0.08);
  color: rgba(245,240,230,0.8);
  border-color: rgba(255,255,255,0.15);
  box-shadow: 4px 4px 0 rgba(255,255,255,0.05);
}

.btn-glass:hover {
  background: rgba(255,255,255,0.12);
  box-shadow: 5px 5px 0 rgba(255,255,255,0.08);
  color: rgba(245,240,230,0.8);
}

/* ========= FAQ ========= */
.faq-list {
  display: flex;
  flex-direction: column;
}

details.fq {
  border-top: 2px dashed var(--line);
}

details.fq:last-child {
  border-bottom: 2px dashed var(--line);
}

summary.fq-s {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  gap: 1rem;
  user-select: none;
}

summary.fq-s::-webkit-details-marker { display: none; }

.fq-icon {
  width: 20px; height: 20px;
  flex-shrink: 0;
  color: var(--muted);
  transition: transform 0.2s;
}

details[open] .fq-icon { transform: rotate(45deg); }

.fq-body {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.7;
  padding-bottom: 1rem;
  padding-right: 2rem;
}

.fq-body a { color: var(--accent); }

/* ========= FOOTER ========= */
.footer {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.footer-pill {
  display: inline-flex;
  gap: 1.5rem;
  align-items: center;
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 1.25rem;
  box-shadow: 4px 4px 0 var(--line);
  font-family: var(--mono);
  font-size: 0.72rem;
}

.footer-pill .copy { color: var(--muted); }

.footer-pill a {
  color: var(--muted);
  text-decoration: none;
}

.footer-pill a:hover { color: var(--ink); }

/* ========= MOBILE ========= */
@media (max-width: 768px) {
  .section-row { grid-template-columns: 1fr; }
  .hero-bottom { flex-direction: column; align-items: flex-start; }
  .hero-full h1 { font-size: 2.2rem; }
  .hero-btns { flex-direction: column; width: 100%; }
  .hero-btns .btn { width: 100%; flex: none; height: 56px; }
  .card { padding: 1.5rem; box-shadow: 6px 6px 0 var(--line); }
  .card-alt { box-shadow: 8px 8px 0 var(--line); }
  .vpn-card { box-shadow: 8px 8px 0 var(--accent); }
  .vpn-btns { flex-direction: column; }
  .vpn-btns .btn { width: 100%; }
}


/* ========= EMOJI PIG BACKGROUND ========= */
body {
  position: relative;
}

.wrap {
  position: relative;
  z-index: 1;
}

.bg-pig{
  position: fixed;
  inset: -100px;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.18;
  filter: blur(0.2px);
}

.bg-pig .layer{
  position: absolute;
  inset: 0;
  white-space: pre;
  user-select: none;
  transform: translate3d(0,0,0);
  will-change: transform;

  font-size: 72px;
  line-height: 88px;
  letter-spacing: -2px;

  animation: pigScroll 3s linear infinite;

  --pigStepX: 88px;
  --pigStepY: 88px;
}

@keyframes pigScroll {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(calc(-1 * var(--pigStepX)),
                                calc(-1 * var(--pigStepY)),
                                0); }
}

@media (max-width: 768px) {
  .bg-pig .layer {
    font-size: 56px;
    line-height: 70px;
  }
}
