:root {
  --color-bg: #0b0b13;
  --color-surface: rgba(15, 15, 27, 0.82);
  --color-card: rgba(18, 18, 32, 0.92);
  --color-muted: rgba(230, 232, 255, 0.68);
  --color-text: #f5f6ff;
  --color-accent: #ff6b4a;
  --color-accent-soft: rgba(255, 107, 74, 0.24);
  --color-accent-2: #6f5bff;
  --shadow-xl: 0 40px 90px rgba(3, 3, 12, 0.55);
  --shadow-lg: 0 28px 60px rgba(3, 3, 12, 0.35);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-pill: 999px;
  --container-max: 1180px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Poppins", "Helvetica Neue", Arial, sans-serif;
  background: radial-gradient(circle at top left, #16162a 0%, #070712 40%, #03030a 80%);
  color: var(--color-text);
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

.container {
  width: min(100% - 2.8rem, var(--container-max));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(22px);
  background: rgba(4, 4, 12, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.topbar .container {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  padding: 1rem 0;
}

.brand {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--color-text);
}

.brand span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--color-accent);
  color: #050509;
  font-weight: 700;
  font-size: 1.1rem;
}

.main-nav {
  margin-left: auto;
}

.main-nav ul {
  display: flex;
  gap: 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  color: rgba(245, 246, 255, 0.76);
  font-size: 0.95rem;
  transition: var(--transition);
}

.main-nav a:hover,
.main-nav a:focus {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-text);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.4rem;
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  border-radius: 4px;
  background: var(--color-text);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent), #ff8b5f);
  color: #050509;
  box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-text);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.09);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.hero {
  position: relative;
  padding: clamp(4rem, 12vw, 7.5rem) 0 clamp(3rem, 8vw, 5rem);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 107, 74, 0.18), rgba(111, 91, 255, 0.18));
  filter: blur(60px);
  transform: scale(1.15);
  z-index: -2;
}

.hero-inner {
  display: grid;
  gap: 2.8rem;
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.hero-copy {
  display: grid;
  gap: 1.6rem;
}

.hero h1 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.6rem, 6vw, 3.8rem);
  letter-spacing: -0.02em;
  margin: 0;
}

.hero p {
  margin: 0;
  color: var(--color-muted);
  font-size: 1.05rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.5rem;
}

.quick-links a {
  padding: 0.6rem 1.15rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.07);
  font-weight: 600;
  color: rgba(245, 246, 255, 0.8);
}

.hero-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1) brightness(0.92);
}

.section {
  padding: clamp(3.8rem, 9vw, 6.5rem) 0;
}

.section-header {
  display: grid;
  gap: 0.8rem;
  margin-bottom: clamp(2.4rem, 6vw, 3.5rem);
}

.section-header h2 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.section-header p {
  margin: 0;
  max-width: 70ch;
  color: var(--color-muted);
}

.card-grid {
  display: grid;
  gap: 1.6rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: var(--color-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.12);
}

.card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
  font-family: "Montserrat", sans-serif;
}

.card p {
  margin: 0;
  color: var(--color-muted);
}

.card ul {
  margin: 1.4rem 0 0;
  padding: 0 0 0 1.1rem;
  color: var(--color-muted);
}

.badge-link {
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-accent);
  font-weight: 600;
}

.badge-link::after {
  content: "\2192";
  transition: transform 0.2s ease;
}

.badge-link:hover::after {
  transform: translateX(4px);
}

.tools-grid {
  display: grid;
  gap: 1.6rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.tool-card {
  padding: 2.1rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255, 107, 74, 0.16), rgba(111, 91, 255, 0.16));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-lg);
}

.tool-card h3 {
  margin: 0 0 0.6rem;
}

.tool-card p {
  margin: 0 0 1.2rem;
  color: var(--color-text);
}

.tool-card__header {
  margin-bottom: 1.25rem;
}

.budget-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.budget-label {
  font-weight: 600;
}

.input-with-prefix {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-md);
  background: rgba(3, 3, 12, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.input-with-prefix input {
  flex: 1;
  background: transparent;
  border: none;
  color: inherit;
  font-size: 1rem;
  font-weight: 600;
}

.input-with-prefix input:focus,
.budget-row input:focus {
  outline: 2px solid rgba(255, 107, 74, 0.6);
  outline-offset: 0;
}

.budget-hint {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.budget-rows {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.budget-row {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) repeat(2, minmax(90px, 140px)) auto;
  gap: 0.6rem;
  padding: 0.8rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.budget-row input[type="text"],
.budget-row input[type="number"] {
  background: rgba(3, 3, 12, 0.35);
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0.55rem 0.8rem;
  color: var(--color-text);
  font: inherit;
}

.budget-row input[type="text"] {
  min-width: 0;
}

.budget-row input[type="number"] {
  text-align: right;
}

.budget-row .budget-remove {
  background: transparent;
  border: none;
  color: rgba(245, 246, 255, 0.6);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease;
}

.budget-row .budget-remove:hover {
  color: var(--color-accent);
}

.budget-row:first-child .budget-remove,
.budget-row:nth-child(2) .budget-remove,
.budget-row:nth-child(3) .budget-remove,
.budget-row:nth-child(4) .budget-remove,
.budget-row:nth-child(5) .budget-remove {
  display: none;
}

.budget-add-row {
  align-self: flex-start;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px dashed rgba(255, 255, 255, 0.3);
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  font-weight: 600;
}

.budget-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: rgba(3, 3, 12, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.budget-summary span {
  display: block;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.budget-summary strong {
  font-size: 1.2rem;
}

.budget-summary.is-over strong:last-child,
.budget-status.over {
  color: var(--color-accent);
}

.budget-status {
  min-height: 1.2rem;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.checklists-grid {
  display: grid;
  gap: 1.2rem;
}

.checklist-block {
  padding: 1.4rem;
  border-radius: var(--radius-md);
  background: rgba(3, 3, 12, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.checklist-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.checklist-head h4 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
}

.checklist-progress {
  min-width: 150px;
}

.checklist-progress span {
  font-size: 0.85rem;
  color: var(--color-muted);
}

.progress-track {
  position: relative;
  width: 100%;
  height: 6px;
  margin-top: 0.4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.progress-bar {
  position: absolute;
  inset: 0;
  width: 0;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-2));
  border-radius: 999px;
}

.checklist-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.checklist-list label {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.checklist-list input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-accent);
}

.checklist-list input:checked + span,
.checklist-list input:checked ~ span {
  text-decoration: line-through;
  color: var(--color-muted);
}

.checklist-list label:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

@media (max-width: 640px) {
  .budget-row {
    grid-template-columns: 1fr;
  }

  .budget-row input[type="number"] {
    text-align: left;
  }

  .checklist-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

.planner-hero {
  padding: clamp(4rem, 10vw, 6rem) 0 2rem;
}

.planner-hero .hero-copy {
  gap: 1rem;
}

.planner-intro {
  display: grid;
  gap: 1rem;
  margin-bottom: 3rem;
}

.planner-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

.planner-card {
  background: rgba(18, 18, 32, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: grid;
  gap: 1rem;
  box-shadow: var(--shadow-lg);
}

.planner-card header h3 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 1.25rem;
}

.planner-card header p {
  margin: 0.2rem 0 0;
  color: var(--color-muted);
}

.planner-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.print-btn {
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--color-text);
  font-weight: 600;
  cursor: pointer;
}

.planner-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(8, 8, 14, 0.85);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.planner-table thead {
  background: rgba(255, 255, 255, 0.06);
}

.planner-table th,
.planner-table td {
  padding: 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
}

.planner-table input,
.planner-table textarea,
.planner-table select {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0.45rem 0.6rem;
  color: var(--color-text);
  font: inherit;
}

.planner-table textarea {
  min-height: 80px;
  resize: vertical;
}

.table-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.table-actions button {
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px dashed rgba(255, 255, 255, 0.3);
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  font-weight: 600;
}

.planner-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
}

.planner-checklist label {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 0.65rem 0.8rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.planner-checklist input[type="checkbox"] {
  margin-top: 0.3rem;
  width: 18px;
  height: 18px;
  accent-color: var(--color-accent);
}

.planner-note {
  width: 100%;
  min-height: 120px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--color-text);
  padding: 0.9rem;
  font: inherit;
  resize: vertical;
}

.planner-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.planner-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.planner-meta svg {
  width: 16px;
  height: 16px;
}

.row-remove {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.2rem;
  cursor: pointer;
}

.row-remove:hover {
  color: var(--color-accent);
}

@media print {
  body {
    background: #fff;
    color: #000;
  }

  .topbar,
  .hero-media,
  .planner-actions,
  .footer,
  .btn,
  .hero-media img {
    display: none !important;
  }

  .planner-card,
  .planner-table,
  .planner-checklist label {
    background: #fff;
    color: #000;
    border-color: #ccc;
    box-shadow: none;
  }

  .planner-card header p,
  .planner-meta,
  .planner-hint,
  input,
  textarea {
    color: #000 !important;
  }

  input,
  textarea {
    border-color: #888 !important;
  }
}

.magazine-hero .hero-inner {
  align-items: flex-start;
  gap: 2rem;
}

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

.featured-grid .article-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.category-chips {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.category-chips a {
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-text);
  font-size: 0.85rem;
}

.category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.chip {
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: var(--color-text);
  font-weight: 600;
  cursor: pointer;
}

.chip.is-active {
  background: var(--color-accent);
  color: #050509;
  border-color: transparent;
}

.magazine-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.article-card.is-hidden {
  display: none;
}

.article-toolbox {
  margin-top: 2rem;
  padding: 1.2rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 0.6rem;
}

.article-toolbox h2 {
  margin: 0;
  font-size: 1.3rem;
}

.tool-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.article-list {
  display: grid;
  gap: 1.5rem;
}

.article-card {
  padding: 1.8rem 2rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: grid;
  gap: 0.8rem;
}

.article-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.article-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.footer {
  background: rgba(4, 4, 12, 0.92);
  padding: 3rem 0 2.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
  display: grid;
  gap: 2.4rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.footer nav {
  display: grid;
  gap: 0.75rem;
}

.footer small {
  color: rgba(190, 193, 220, 0.65);
}

@media (max-width: 960px) {
  .main-nav ul {
    position: absolute;
    top: 70px;
    right: 1.5rem;
    flex-direction: column;
    background: rgba(5, 5, 16, 0.92);
    border-radius: var(--radius-md);
    padding: 1.3rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.06);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: var(--transition);
  }

  .main-nav.open ul {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-toggle {
    display: flex;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .quick-links {
    gap: 0.6rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.visible {
  opacity: 1;
  transform: translateY(0);
}
.article-body {
  display: grid;
  gap: 1.4rem;
  margin-top: 1.6rem;
  color: var(--color-muted);
}

.article-body h2 {
  margin: 2.4rem 0 1rem;
  font-family: "Montserrat", sans-serif;
  color: var(--color-text);
}

.article-body ul,
.article-body ol {
  padding-left: 1.4rem;
}

.article-body blockquote {
  margin: 1.6rem 0;
  padding: 1.2rem 1.6rem;
  background: rgba(255, 255, 255, 0.06);
  border-left: 3px solid var(--color-accent);
  color: var(--color-text);
}
.article-meta-detail {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: rgba(245, 246, 255, 0.6);
}

.table-scroll {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 8, 18, 0.65);
  margin: 1.6rem 0;
}

.location-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

.location-table th,
.location-table td {
  padding: 0.8rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.location-table th {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(245, 246, 255, 0.75);
}

.location-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.05);
}

.inset-list {
  list-style: disc;
  padding-left: 1.4rem;
}

.faq-block {
  margin-top: 2.4rem;
}

.faq-block h2 {
  margin-bottom: 1.2rem;
}

.faq-block details {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.2rem 1.4rem;
  margin-bottom: 1rem;
}

.faq-block summary {
  font-weight: 600;
  cursor: pointer;
}

.faq-block summary::-webkit-details-marker {
  display: none;
}

.legal-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 30px rgba(13, 17, 40, 0.12);
}

.legal-card h2 {
  margin-bottom: 0.8rem;
}

.legal-card p {
  margin-bottom: 0.8rem;
}
