:root {
  --bg-main: #ffffff;
  --bg-alt: #f5f6f8;

  --text-main: #171717;
  --text-muted: rgba(11, 12, 16, 0.68);

  --border: #e5e7eb;

  --primary: #fd774e;
  --primary-soft: rgba(253, 119, 78, 0.14);
  --primary-soft-hex: #ffeeea;
  --accent-brown: #7A290C;
  --accent-beige: #f6d2b5;

  --shadow: 0 10px 30px rgba(0,0,0,.06);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
}

a { color: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-header {
  width: 100%;
  margin: 0 auto;
  padding: 0 36px;
}

.center { text-align: center; }
.hero-cta-center { display: flex; justify-content: center; }

.muted { color: var(--text-muted); }

.narrow {
  max-width: 760px;
  margin: 0 auto;
}

.section {
  padding: 96px 0;
  background: var(--bg-main);
}

.section.alt { background: var(--bg-alt); }

.section.colored { background: #f5d2b5; }

/* --- Header --- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.logo img {
  height: 28px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav a {
  text-decoration: none;
  font-weight: 500;
  color: rgba(11, 12, 16, 0.82);
}

.nav a:hover { color: rgba(11, 12, 16, 1); }

/* Mobile toggle */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 10px 12px;
  cursor: pointer;
  gap: 6px;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: rgba(11, 12, 16, 0.75);
  border-radius: 99px;
}

.mobile-nav {
  display: none;
  padding: 12px 24px 18px;
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,.95);
}

.mobile-nav a {
  display: block;
  padding: 10px 0;
  text-decoration: none;
  font-weight: 600;
  color: rgba(11, 12, 16, 0.9);
}

.mobile-nav.open { display: block; }

/* --- Typography --- */
h1 {
  font-size: clamp(28px, 3.3vw, 44px);
  letter-spacing: -0.02em;
  margin: 0 0 22px;
  color:#7A290C;
}

p {
  margin: 0 0 14px;
  line-height: 1.75;
  color: rgba(11, 12, 16, 0.82);
}

/* --- Buttons --- */
/* --- Buttons (Uiverse-based, Merdeqa colors) --- */
.btn {
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s;
  padding: 12px 18px;
  border-radius: 999px;
  border: 3px solid transparent;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 10px;
  font-size: 16px;
  text-decoration: none;
  user-select: none;

  /* ensure <a> and <button> look identical */
  font-family: "Poppins", sans-serif;
  line-height: 1;
}

.btn-whiteborder {
  border: 3px solid white;
}

.btn > span { display: inline-block; }

.btn > svg {
  width: 34px;
  height: 34px;
  transition: transform 0.3s ease-in-out;
  flex: 0 0 auto;
}

/* Primary (Merdeqa orange) */
.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 10px 24px rgba(253, 119, 78, 0.26);
  border: 3px solid white;
}

.btn-primary:hover {
  background: #f56f47; /* slightly darker orange */
  box-shadow: 0 14px 30px rgba(253, 119, 78, 0.32);
}

.btn-primary > svg circle { stroke: white; }
.btn-primary > svg path { fill: white; }

/* Secondary (white with subtle border, orange accents) */
.btn-secondary {
  background: #ffffff;
  color: rgba(11, 12, 16, 0.9);
  border-color: var(--border);
  box-shadow: var(--shadow);
}

.btn-secondary:hover {
  background: white;
  border-color: var(--accent-beige);
}

.btn-secondary > svg circle { stroke: rgba(11, 12, 16, 0.9); }
.btn-secondary > svg path { fill: rgba(11, 12, 16, 0.9); }

/* Shared hover motion */
.btn:hover > svg { transform: translateX(5px); }
.btn:active { transform: scale(0.95); }

.btn-flipped:hover > svg { transform: translateX(-5px); }

/* Size + width helpers */
.btn-small {
  padding: 10px 14px;
  font-size: 14px;
}

.btn-small > svg {
  width: 28px;
  height: 28px;
}

.w-full { width: 100%; }

/* Make full-width buttons not look weird */
.w-full { justify-content: center; }

/* --- Hero --- */
.hero {
  padding: 72px 0 96px;
  background: linear-gradient(135deg, #f4f2ec, #f2ebdd, #f2e4cf, #f3dcc2, #f5d3b6, #f8caab, #fcc0a3, #ffb69c);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 52px;
  align-items: center;
}

.hero-left h1 {
  font-size: clamp(34px, 4.6vw, 56px);
  margin-bottom: 16px;
}

.lead {
  font-size: 16px;
  color: rgba(11, 12, 16, 0.75);
  margin-bottom: 22px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.hero-note {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pill {
  background: var(--primary-soft);
  border: 1px solid rgba(253, 119, 78, 0.22);
  color: rgba(11, 12, 16, 0.9);
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  white-space: nowrap;
  flex-shrink: 0;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 10px 0;
  color: rgba(11, 12, 16, 0.82);
}

.checklist li::before {
  content: "✔";
  color: var(--primary);
  font-weight: 800;
  line-height: 1.2;
  margin-top: 1px;
}

.hero-image {
  padding: 18px;
}

.hero-image img {
  width: 100%;
  height: min(70vh, 640px);
  object-fit: contain;
  display: block;
}

/* --- Placeholder images as real <img> --- */
.fullwidth-image {
  width: 100%;
  max-width: 1200px;
  display: block;
  margin: 0 auto 44px;
  border-radius: 34px;
  border: 3px solid var(--border);
  box-shadow: var(--shadow);
}

/* --- Stats --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.stat {
  padding: 26px;
  background: transparent;
  border: 3px solid white;
  border-radius: 34px;
  box-shadow: var(--shadow);
  text-align: center;
}

.icon {
  height: 40px;
  width: 40px;
  object-fit: contain;
  display: inline-block;
  margin-bottom: 14px;
}

.stat strong {
  display: block;
  font-size: 20px;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  color: #7A290C;
}

.stat span {
  display: block;
  color: rgba(11, 12, 16, 0.72);
  line-height: 1.55;
}

/* --- Features --- */
.features-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.feature {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 22px;
  background: #fff;
  border: 3px solid var(--border);
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.feature h3 {
  margin: 8px 0 8px;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: #7A290C;
}

.feature p {
  margin: 0;
  color: rgba(11, 12, 16, 0.72);
}

.feature img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* --- Audience --- */
.audience-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.audience-card {
  padding: 26px;
  background: transparent;
  border: 3px solid white;
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.audience-card h3 {
  margin: 10px 0 10px;
  font-size: 14px;
  letter-spacing: -0.01em;
}

.audience-card ul {
  margin: 0;
  padding-left: 18px;
  color: rgba(11, 12, 16, 0.78);
  line-height: 1.7;
}

/* --- Pricing --- */
.pricing-grid {
  position: relative;
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  align-items: start;
  padding: 48px 48px;
  background: #fff;
  border: 3px solid;
  border-radius: 34px;
  /* border-color: rgba(253, 119, 78, 0.35); */
  border-color: var(--accent-beige);
  box-shadow: 0 0px 40px var(--accent-beige);
}

.pricing-card {
  position: relative;
  padding: 0px;
}

.badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--primary-soft);
  border: 1px solid rgba(253, 119, 78, 0.22);
  color: rgba(11, 12, 16, 0.9);
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
}

.pricing-card h2 {
  margin: 0 0 10px;
  font-size: 20px;
  letter-spacing: -0.02em;
  font-weight: 500;
}

.pricing-sub {
  margin: 0 0 18px;
  color: rgba(11, 12, 16, 0.72);
}

.pricing-no-vat {
  margin: 0 0 18px;
  color: rgba(11, 12, 16, 0.72);
  font-size: 16px;
  color: rgba(11, 12, 16, 0.65);
  font-weight: 600;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 8px 0 12px;
}

.price {
  font-size: clamp(28px, 7.2vw, 38px);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.per {
  color: rgba(11, 12, 16, 0.65);
  font-weight: 600;
}

.pricing-list {
  margin: 0 0 0px;
  padding-left: 0px;
  color: rgba(11, 12, 16, 0.78);
  line-height: 1.7;
}

.pricing-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.callout {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 14px 16px;
  background: rgba(0,0,0,.02);
  margin: 16px 0 18px;
}

.callout strong { display: block; margin-bottom: 4px; }
.callout span { color: rgba(11, 12, 16, 0.72); }

.tiny-links {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  color: rgba(11, 12, 16, 0.72);
  font-weight: 600;
  flex-wrap: wrap;
}

.tiny-links a {
  text-decoration: none;
  border-bottom: 1px dashed rgba(11, 12, 16, 0.3);
}

.fineprint {
  margin-top: 10px;
  font-size: 12px;
  color: rgba(11, 12, 16, 0.6);
}

.pricing-highlight {
  position: absolute;
  top: -26px;
  left: 50%;
  transform: translateX(-50%);

  display: flex;
  align-items: center;
  gap: 10px;

  background: var(--accent-brown);
  border: 1.5px solid var(--accent-brown);
  color: white;

  padding: 10px 18px;
  border-radius: 999px;

  font-size: 18px;
  font-weight: 500;

  box-shadow: var(--shadow);
  
  white-space: nowrap;
}

.pricing-highlight img {
  height: 30px;
  width: auto;
}

.pricing-billing {
  display: flex;
  justify-content: center;
  margin-top: 18px;
  margin-bottom: 18px;
}

/* --- Add-on grid (below pricing) --- */
.addon-grid{
  margin-top: 22px;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 48px;
  align-items: center;

  padding: 26px 48px;
  background: #fff;

  border: 3px solid var(--border);
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.addon-image-wrap{
  width: 180px;
  height: 180px;
  border-radius: 22px;
  overflow: hidden;
  border: none;
  background: var(--accent-beige);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  align-self: flex-start;
}

.addon-image{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.addon-title{
  margin: 0 0 6px;
  font-size: 20px;
  letter-spacing: -0.02em;
  font-weight: 500; /* matches your pricing-card h2 */
}

.addon-text{
  margin: 0;
  color: rgba(11, 12, 16, 0.72);
  line-height: 1.7;
}

.addon-h2 {
  font-size: clamp(22px, 3.3vw, 28px);
  letter-spacing: -0.02em;
  margin: 48px 0 22px;
  color:#7A290C;
}

/* Responsive */
@media (max-width: 980px){
  .addon-grid{
    grid-template-columns: 180px 1fr;
    padding: 22px 26px;
    gap: 26px;
  }
  .addon-image-wrap{
    width: 180px;
    height: 180px;
    border-radius: 18px;
  }
}

@media (max-width: 560px){
  .addon-grid{
    grid-template-columns: 1fr;
    justify-items: start;
  }
}


/* From Uiverse.io by cbolson */
.switch {
  --_switch-bg-clr: #70a9c5;
  --_switch-padding: 4px; /* padding around button*/
  --_slider-txt-clr: #ffffff;
  --_label-padding: 1rem 2rem; /* padding around the labels -  this gives the switch it's global width and height */
  --_switch-easing: cubic-bezier(
    0.47,
    1.64,
    0.41,
    0.8
  ); /* easing on toggle switch */
  color: white;
  width: fit-content;
  display: flex;
  justify-content: center;
  position: relative;
  border-radius: 9999px;
  cursor: pointer;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  position: relative;
  isolation: isolate;
  border: 3px solid var(--border);
  box-shadow: var(--shadow);
  font-size: 16px;
  font-weight: 500;
}

.switch input[type="checkbox"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
.switch > span {
  display: grid;
  place-content: center;
  transition: opacity 300ms ease-in-out 150ms;
  padding: var(--_label-padding);
}
.switch::before,
.switch::after {
  content: "";
  position: absolute;
  border-radius: inherit;
  transition: inset 150ms ease-in-out;
}
/* switch slider */
.switch::before {
  background-color: var(--primary);
  inset: var(--_switch-padding) 50% var(--_switch-padding)
    var(--_switch-padding);
  transition:
    inset 500ms var(--_switch-easing),
    background-color 500ms ease-in-out;
  z-index: -1;
  /* box-shadow:
    inset 0 1px 1px rgba(0, 0, 0, 0.3),
    0 1px rgba(255, 255, 255, 0.3); */
}
/* switch bg color */
.switch::after {
  background-color: white;
  inset: 0;
  z-index: -2;
}
/* switch hover & focus */
/*.switch:focus-within::after {
  inset: -0.25rem;
} */
.switch:has(input:checked):hover > span:first-of-type,
.switch:has(input:not(:checked)):hover > span:last-of-type {
  opacity: 1;
  transition-delay: 0ms;
  transition-duration: 100ms;
}
/* switch hover */
.switch:has(input:checked):hover::before {
  inset: var(--_switch-padding) var(--_switch-padding) var(--_switch-padding)
    45%;
}
.switch:has(input:not(:checked)):hover::before {
  inset: var(--_switch-padding) 45% var(--_switch-padding)
    var(--_switch-padding);
}
/* checked - move slider to right */
.switch:has(input:checked)::before {
  background-color: var(--primary);
  inset: var(--_switch-padding) var(--_switch-padding) var(--_switch-padding)
    50%;
}
/* checked - set opacity */
.switch > span:last-of-type,
.switch > input:checked + span:first-of-type {
  opacity: 1;
  color: var(--text-main);
}
.switch > input:checked ~ span:last-of-type {
  opacity: 1;
  color: white;
}

/* --- Switch annual badge --- */
.annual-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.switch-badge {
  background: white;
  border: 1.5px solid var(--primary);
  color: var(--primary);
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  line-height: 1;
  white-space: nowrap;
}

/* Ensure Éves + badge stay on one row */
.switch > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
}

/* --- About --- */
.about-image {
  width: 100%;
  max-width: 680px;
  display: block;
  margin: 28px auto 22px;
  border-radius: 34px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

/* --- Founders row (below Rólunk image) --- */
.founders-row{
  max-width: 1200px;
  margin: 0 auto 44px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)); /* always 50% / 50% */
  gap: 14px;
  align-items: center;
}

.founder-col{
  height: 64px;
  padding: 14px 10px;
  background: #fff;
  border: 3px solid;
  border-color: var(--border);
  border-radius: 34px;
  box-shadow: var(--shadow);
  transition: all 0.2s;
  cursor: pointer;
  margin: 0 auto;
  width: 300px;
}

.founder-col:hover{
  border-color: var(--accent-beige);
}

.founder-inner{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.founder-icon img{
  width: 30px;
  height: 30px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  display: block;
}

.founder-name{
  font-weight: 600;
  color: rgba(11, 12, 16, 0.9);
}

.founder-col,
.founder-col:hover,
.founder-col:focus,
.founder-col:active{
  text-decoration: none;
  color: inherit;
}

@media (max-width:662px){
  .founder-col {
    width: 100%;
  }
}

@media (max-width:560px){
  .founder-col {
    height:98px;
  }
}

/* smaller screens: icon + name side-by-side (row) */
@media (max-width: 560px){
  .founder-inner{
    flex-direction: column;
    justify-content: center;
  }
}

/* --- Contact --- */
.contact-lead { margin-top: 10px; margin-bottom: 18px; }
.contact-email {
  font-weight: 800;
  text-decoration: none;
  border-bottom: 2px solid #7A290C;
}

.form {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.field label {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: rgba(11, 12, 16, 0.75);
  margin: 0 0 6px;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #fff;
  color: rgba(11, 12, 16, 0.9);
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  outline: none;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgba(253, 119, 78, 0.55);
  box-shadow: 0 0 0 4px rgba(253, 119, 78, 0.14);
}

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

/* --- Footer --- */
.footer {
  border-top: 1px solid var(--border);
  background: #fff;
  padding: 52px 0;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
}

.footer-left {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex-direction: column;
}

.footer-logo {
  height: 28px;
  width: auto;
}

.footer-right {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  flex-direction: row;
}

.footer-right a {
  text-decoration: none;
  color: rgba(11, 12, 16, 0.72);
  font-weight: 600;
}

.footer-right a:hover { color: rgba(11, 12, 16, 0.95); }

.footer-title {
  margin: 0 0 6px;
  font-size: 20px;
  letter-spacing: -0.02em;
  font-weight: 500; /* matches your pricing-card h2 */
}

.footer-socials {
  display: flex;
  gap: 15px;
  height: 28px;
}

.footer-socials img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.footer-links {
  flex-direction: row;
  font-size: 16px;
  color: var(--text-muted);
}

/* --- Responsive --- */
@media (max-width: 1340px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; flex-direction: column }
  
  .footer-links { flex-direction: column; align-items: center; text-align: center }
  .footer-inner { gap: 16px }
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 54px; }
  .hero-image img { height: min(60vh, 560px); }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .audience-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; padding: 48px 26px; }
}

@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .container-header { padding: 0 16px; }

  .stats-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }

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

/* --- Contract timeline: vertical steps, 2 divs per step --- */
.contract-timeline-vertical{
  margin-top: 36px;
  display: flex;
  flex-direction: column;
}

/* Each step = 2 main divs:
   1) .timeline-rail (circle + vertical line)
   2) .timeline-body (title + desc) */
.contract-timeline-vertical .timeline-step{
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: stretch; /* needed so .timeline-rail matches the step height */
}

/* add spacing between steps */
.contract-timeline-vertical .timeline-step:not(:last-child){
  padding-bottom: 32px;
}

.contract-timeline-vertical .timeline-rail{
  width: 56px;               /* keeps all circles aligned */
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 56px;

  gap: 10px;                 /* space so line does NOT touch the circle */
  align-self: stretch;       /* rail becomes as tall as the step */
  
  position: relative;
  overflow: visible;
}

/* Numbered circle */
.contract-timeline-vertical .timeline-circle{
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-brown);
  border: 3px solid white;
  outline: 3px solid rgba(122, 41, 12, 0.5);
  outline-offset: 0px;
  color: var(--accent-beige);

  display: flex;
  align-items: center;
  justify-content: center;

  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}

/* Right content block */
.contract-timeline-vertical .timeline-body{
  flex: 1 1 auto;
  max-width: 720px;
  text-align: left;
}

/* title + desc (2 divs inside .timeline-body) */
.contract-timeline-vertical .timeline-title{
  font-weight: 700;
  font-size: 16px;
  color: var(--accent-brown);
  margin: 2px 0 6px;
}

.contract-timeline-vertical .timeline-desc{
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

/* Real line div: stretches to bottom of the step */
/* Real line div: absolutely positioned and extends 5px downward */
.contract-timeline-vertical .timeline-line{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);

  top: calc(48px + 10px); /* circle height + gap (matches your gap: 10px) */
  bottom: -22px;           /* extend 5px beyond the parent */

  width: 3px;
  background: rgba(122, 41, 12, 0.5);;
  border-radius: 999px;
}


/* Last connecting line: true circular dots, only full dots visible, still extends -5px */
.contract-timeline-vertical
.timeline-step:nth-last-child(2)
.timeline-line{
  width: 6px;

  /* keep dots from clipping at the top/bottom */
  padding-top: 3px;
  padding-bottom: 3px;
  box-sizing: border-box;
  background-clip: content-box;

  background: radial-gradient(circle, rgba(122, 41, 12, 0.5) 2px, transparent 2px);
  background-size: 6px 10px;
  background-repeat: repeat-y;
  background-position: center 5px;
}

/* Mobile: keep it readable */
@media (max-width: 560px){
  .contract-timeline-vertical .timeline-step{
    gap: 14px;
  }
  .contract-timeline-vertical .timeline-body{
    max-width: 100%;
  }
}

.contract-timeline-vertical
.timeline-step:last-child
.timeline-circle{
  outline: 4px dotted rgba(122, 41, 12, 0.5);
}

/* --- Timeline meta (step 4 only) --- */
.timeline-meta {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-end; /* right-aligned text */
  gap: 6px;
}

.timeline-meta span {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-brown);
}

.timeline-meta-line {
  width: 100%;
  height: 1px;
  background: rgba(122, 41, 12, 0.5);
}

/* --- Legal pages (ÁSZF / Adatvédelem) --- */
.legal-card{
  background: #fff;
  border: 3px solid var(--border);
  border-radius: 34px;
  box-shadow: var(--shadow);
  padding: 26px;
}

.legal-card h2{
  margin: 22px 0 10px;
  font-size: 20px;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--accent-brown);
}

.legal-card p{
  margin: 0 0 14px;
  color: rgba(11, 12, 16, 0.78);
}

.legal-card ul{
  margin: 0 0 14px;
  padding-left: 18px;
  color: rgba(11, 12, 16, 0.78);
  line-height: 1.7;
}

.legal-divider{
  border: none;
  height: 1px;
  background: rgba(11, 12, 16, 0.10);
  margin: 18px 0 6px;
}

/* --- Legal pages (ÁSZF / Adatvédelem) --- */
.legal-toc{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.legal-toc a{
  display: inline-block;
  padding: 0;
  border: none;
  background: none;
  border-radius: 0;

  font-weight: 400;
  color: rgba(11, 12, 16, 0.78);

  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;

  cursor: pointer;
}

.legal-toc a:hover{
  text-decoration-thickness: 2px;
}

/* optional but recommended: visible keyboard focus */
.legal-toc a:focus-visible{
  outline: 3px solid rgba(253, 119, 78, 0.35);
  outline-offset: 3px;
  border-radius: 6px;
}

.legal-actions{
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

@media (max-width: 560px){
  .legal-card{ padding: 18px; }
}
