@font-face {
  font-family: 'Polonium';
  src: url('../assets/fonts/Polonium.otf') format('truetype');
  font-weight: 400; font-style: normal;
}

:root{
  --bg:            #262626;
  --bg-soft:       #2c2c2c;
  --surface:       #383838;
  --surface-2:     #414141;
  --border:        rgba(255,255,255,.09);
  --border-strong: rgba(255,255,255,.18);
  --text:          #ffffff;
  --text-muted:    #b3b3b3;
  --text-faint:    #8a8a8a;

  --accent:        #a068eb;
  --accent-2:      #7a4fd1;
  --accent-soft:   rgba(160,104,235,.16);
  --on-accent:     #ffffff;

  --gradient-brand: linear-gradient(90deg,#563BA2 0%, #A068EB 25%, #563BA2 50%, #A068EB 75%, #563BA2 100%);
  --gradient-card: linear-gradient(#A068EB 0%,#A068EB 90%, #6248A8 100%);
  --gradient-glow:  radial-gradient(60% 60% at 50% 40%, rgba(160,104,235,.35), transparent 70%);

  --shadow-card: 109px 126px 47px #A068EB00, 70px 80px 643px #A068EB01,
                 39px 45px 36px #A068EB05, 17px 20px 27px #A068EB09,
                 4px 5px 15px #A068EB10;
  --shadow-lg: 0 24px 60px -20px rgba(0,0,0,.55);
  --shadow-md: 0 12px 30px -12px rgba(0,0,0,.5);
  --shadow-glow: 0 0 0 1px rgba(139,92,246,.25), 0 20px 50px -18px rgba(139,92,246,.45);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --header-h: clamp(84px, 9vw, 156px);
  --container: 1728px;

  --font-unbounded: "Unbounded", sans-serif;
  --font-onest: "Onest", sans-serif;
  --font-polonium: "Polonium", sans-serif;

  color-scheme: dark;
}

[data-theme="light"]{
  --bg:            #f6f4fb;
  --bg-soft:       #efedf7;
  --surface:       #ffffff;
  --surface-2:     #f4f1fa;
  --border:        rgba(24,15,45,.09);
  --border-strong: rgba(24,15,45,.16);
  --text:          #17151d;
  --text-muted:    #5c576b;
  --text-faint:    #8b8697;

  --accent:        #7c4feb;
  --accent-2:      #3f6fe0;
  --accent-soft:   rgba(124,79,235,.10);
  --on-accent:     #ffffff;

  --gradient-brand: linear-gradient(135deg, #8b5cf6 0%, #7c4feb 45%, #3f6fe0 100%);
  --gradient-glow:  radial-gradient(60% 60% at 50% 40%, rgba(124,79,235,.16), transparent 70%);

  --shadow-lg: 0 24px 60px -24px rgba(30,20,60,.18);
  --shadow-md: 0 12px 30px -14px rgba(30,20,60,.16);
  --shadow-glow: 0 0 0 1px rgba(124,79,235,.18), 0 20px 50px -20px rgba(124,79,235,.30);

  color-scheme: light;
}


*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body{
  margin:0;
  background: var(--bg) url("../assets/main_page/main_bkg.svg") center / cover no-repeat;
  color: var(--text);
  font-family: var(--font-unbounded);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  transition: background-color .25s ease, color .25s ease;
}
[data-theme="light"] body{ background: var(--bg); }

a{ color: inherit; text-decoration: none}
ul{ margin:0; padding:0; list-style: none;}
button{ font: inherit; color: inherit; }
h1,h2,h3,h4{ margin:0; font-family: var(--font-unbounded); font-weight: 600; letter-spacing: -0.01em; }
p{ margin:0; }
section{ position: relative; }

::selection{ background: var(--accent); color:#fff; }

:focus-visible{
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

.container{
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.visually-hidden{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

.eyebrow{
  display:inline-flex; 
  align-items:center;
  font-size: clamp(1.5rem, 1rem + 2vw, 2.5rem); 
  font-weight: 400;
  color: var(--text);
}
.eyebrow svg{
  display:inline-flex;
  margin-top: -1.625em;
  margin-right: -0.25em;
}

.text-purple{
  color: var(--accent);
}

/* ---------------------------------------------------------
   Buttons
   --------------------------------------------------------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding: 1.3em 1.8em;
  border-radius: var(--radius-pill);
  font-weight: 400; font-size: clamp(0.85rem, 0.7rem + 0.5vw, 0.9375rem);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.btn:active{ transform: scale(.97); }

.btn-primary{
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: var(--shadow-glow);
}

.btn-outline{
  background-color: #fff;
  border-color: var(--border-strong);
  color: #262626;
}

.btn-block{ width:100%; }
.btn-sm{ padding: 0.8em 1.4em; font-size: 0.875rem; }

/* ===========================================================
   HEADER
   =========================================================== */
.site-header{
  position: fixed;
  inset-inline: 0;
  top: 0;
  height: var(--header-h);
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.site-header .container{
  height: 100%;
  padding: clamp(16px, 3.5vw, 60px);
  display:flex; 
  align-items:center; 
  justify-content:space-between;
}

.brand{ display:flex; align-items:center; gap:10px; flex-shrink:0; }
.brand-logo{ height: 30px; width:auto; }
.brand-logo .sy-wordmark{ fill: var(--text); }
.brand-logo .sy-mark-bg{ fill: var(--text); }
.brand-logo .sy-mark-fg{ fill: var(--accent); }
[data-theme="light"] .brand-logo .sy-mark-bg{ fill: #17151d; }

.main-nav{ display:flex; }
.main-nav ul{ display:flex; align-items:center; gap: clamp(16px, 3vw, 50px); }
.main-nav a{
  display:inline-flex; 
  align-items:center;
  border-radius: var(--radius-pill);
  font-weight: 400;
  color: var(--on-accent);
  transition: color .18s ease, background-color .18s ease;
}
.main-nav a:hover{ color: var(--text); background: var(--surface-2); }
.main-nav a[aria-current="page"]{ color: var(--text); background: var(--surface-2); }

.header-actions{ display:flex; align-items:center; gap: 10px; flex-shrink:0; }

.header-phone{
  display:flex; 
  align-items:center; 
  font-size: 1rem; 
  font-weight: 700;
  padding: 0.4em 1em;
  background: var(--text);
  border-radius: var(--radius-pill);
  color: var(--bg);
}

/* ===========================================================
   HERO
   =========================================================== */
.hero{
  padding-top: calc(var(--header-h) + clamp(32px, 5vw, 84px));
  overflow: clip;
}
.hero::before{
  content:"";
  position:absolute; top: calc(-1 * var(--header-h)); left:50%;
  width: min(1200px, 90vw); height: min(900px, 68vw);
  transform: translateX(-42%);
  background: var(--gradient-glow);
  filter: blur(10px);
  pointer-events:none;
  z-index:-1;
}
.hero-grid{
  display:grid;
  grid-template-columns: minmax(0,1.4fr) minmax(0,1.06fr);
  align-items:center;
}

.hero-title{
  font-family: var(--font-polonium);
  font-size: clamp(2.75rem, 1.5rem + 7vw, 8rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-bottom: clamp(12px, 2vw, 22px);
  background-image: url("/assets/main_page/whale.svg");
  background-repeat: no-repeat;
  background-position: 0% 50%;
  background-size: contain;
  padding-top: clamp(16px, 2.5vw, 32px);
}
.hero-title span{ display:block; }
.hero-lede{
  font-size: clamp(1.25rem, 1rem + 1.5vw, 2rem);
  font-family: var(--font-onest);
  color: var(--text);
  margin-bottom: clamp(18px, 3vw, 34px);
}
.hero-actions{ display:flex; flex-wrap:wrap; gap: clamp(12px, 2vw, 25px); margin-top: clamp(32px, 8vw, 96px); }

.hero-note{
  margin-top: clamp(32px, 10vw, 131px);
}
.hero-note svg{ flex-shrink:0; color: var(--accent); }

.hero-visual{ position:relative; top: -120px;}

.hero-caption{
  margin: 10px 114px;
  font-size: clamp(0.9rem, 0.75rem + 0.8vw, 1.25rem);
  color: var(--text);
  font-family: var(--font-onest);
  font-weight: 200;
}

.hero-badge{
  position:absolute;
  left: 4%;
  bottom: 6%;
  display:flex; align-items:center; gap:10px;
  padding: 10px 16px 10px 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  max-width: 260px;
}
.hero-badge img{ width:34px; height:34px; border-radius:50%; flex-shrink:0; object-fit:contain; background:#fff; padding:3px; }
.hero-badge span{ font-size: 0.75rem; font-weight:600; line-height:1.25; color: var(--text); }
.hero-caption-div{display: flex; justify-content: space-between; padding-right: 36px;}
.hero-caption-div img{position: relative; top: -100px}

@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-visual{ order:-1; max-width: 460px; margin-inline:auto; }
}

/* ===========================================================
   SECTION HEADERS (shared)
   =========================================================== */
.section{ padding-block: clamp(48px, 10vw, 108px); }
.section-head{margin-bottom: clamp(28px, 5vw, 56px); }
.section-head.centered{ margin-inline:auto; text-align:center; }
.section-head.left{display: flex; justify-content: space-between; font-family: var(--font-unbounded); margin-inline:left; text-align:left; }
.section.features{padding: 0 clamp(20px, 10vw, 186px) 0 clamp(20px, 11vw, 213px) }

span.num{
  font-family: var(--font-onest);
  font-size: clamp(1rem, 0.85rem + 0.5vw, 1.25rem);
  font-weight: 100;
  color: var(--text);
  text-align: right;
  align-self: flex-end;
}
.section-title{
  font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
  line-height: 1.12;
  margin-top: 16px;
}
.section-title.semibold{
  font-weight: 500;
}
.section-sub{
  font-family: var(--font-onest);
  margin-top: clamp(18px, 3vw, 36px);
  font-size: clamp(1rem, 0.85rem + 0.5vw, 1.25rem);
  font-weight: 200;
  color: var(--text);
}
.section-head.centered .section-sub{ margin-inline:auto; }

/* ===========================================================
   HOW IT WORKS
   =========================================================== */
.section#how{padding: 0 50px 206px 50px;}
.how-head{ position:relative; margin-bottom: 97px;}
.how-atom{
  position:absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  opacity: .85;
}

.how-body{
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  align-items:center;
}
.how-col{ display:flex; flex-direction:column; gap: 18px; }
.how-num-row{
  display:flex; align-items:center; justify-content:space-between;
  margin-bottom: 4px;
}
.how-dot{ width:21px; height:21px; border-radius:50%; background: var(--accent); flex-shrink:0; }
.how-num{
  font-family: var(--font-onest);
  font-size: 1rem; font-weight:200;
  color: var(--text);
}
.how-heading{
  font-family: var(--font-unbounded);
  font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  font-weight:600;
  color: var(--text);
}
.how-list{ display:flex; flex-direction:column;}
.how-list li{
  display:flex; align-items:flex-start; gap: 10px;
  font-family: var(--font-onest); font-weight: 200;
  font-size: 20px; color: var(--text);
}
.how-list li::before{ content:"•"; color: var(--text); flex-shrink:0; }

.how-col:last-child{ margin-top: 100px;}
.how-col:last-child .how-num-row{ flex-direction:row; }
.how-col:last-child .how-list li{ flex-direction:row;  }

.how-device{ display:flex; flex-direction:column; align-items:center; }

.how-switcher{
  display:flex; align-items:center; gap: 14px;
  margin-top: 8px;
  color: var(--accent);
}
.how-switcher button{
  border:none;
  background: none;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer; color: var(--accent);
  padding: 0;
  transition: opacity .18s ease;
}
.how-switcher button:hover{ opacity:.7; }
.how-switcher-label{ font-weight:700; letter-spacing:.05em; text-align:center; font-family: var(--font-unbounded); font-size:1.5rem; color: var(--text);}

@media (max-width: 900px){
  .how-body{ grid-template-columns: 1fr; }
  .how-col:last-child, .how-col:last-child .how-num-row, .how-col:last-child .how-list li{
    text-align:left; flex-direction:row;
  }
  .how-device{ order:-1; }
  .how-atom{ position:static; transform:none; margin: 24px auto 0; }
}

/* ===========================================================
   FEATURE CARDS (spiral / dodecaedr / infinity)
   =========================================================== */
.feature-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 6vw, 86px);
}
.feature-card{
  padding: clamp(18px, 3vw, 27px) clamp(16px, 3vw, 25px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 30px;
  box-shadow: var(--shadow-card);
}
.feature-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.feature-card img{ margin-bottom:22px; }
.feature-card p{ font-family: var(--font-onest); font-weight: 300; font-size: clamp(1rem, 0.85rem + 0.5vw, 1.25rem); line-height:1.33; color: var(--text); text-align:right; max-width: 300px; margin-inline-start:auto; }

@media (max-width: 860px){
  .feature-grid{ grid-template-columns: 1fr; }
}

/* ===========================================================
   AUDIENCE (Кому подходит)
   =========================================================== */
section#our-users h1 {
  margin: clamp(80px, 15vw, 220px) 0 clamp(40px, 8vw, 100px) 0;
  text-align: center;
  font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
}

section#our-users div#users {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 3vw, 27px) clamp(24px, 10vw, 180px);
  max-width: 1247px;
  margin: clamp(32px, 6vw, 58px) auto 0;
}

section#our-users div.user {
  font-family: var(--font-onest);
  font-weight: 400;
  font-size: clamp(1.1rem, 0.9rem + 0.8vw, 1.5625rem);
  display: flex;
  flex-direction: column;
  align-items: center;
}

section#our-users div.user p {
  text-align: center;
  border: 1px solid var(--text);
  border-radius: 20px;
  padding: clamp(40px, 8vw, 80px) clamp(24px, 5vw, 55px) clamp(20px, 3vw, 36px) clamp(24px, 5vw, 54px);
  margin: 0;
}

section#our-users div.user#CAT p {
  padding: clamp(56px, 10vw, 112px) clamp(24px, 5vw, 54px) clamp(20px, 3vw, 36px) clamp(24px, 5vw, 54px);
  align-self: stretch;
}

section#our-users div.user img {
  margin-bottom: clamp(-45px, -7vw, -90px);
  position: relative;
  z-index: 1;
}
/* ===========================================================
   PRICING
   =========================================================== */
.section#pricing{
   margin: 0 8% 0 8%;
}
.section#pricing .container{
   padding: 0;
}
.pricing-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 37px);
  align-items:stretch;
  margin-top: clamp(32px, 5vw, 60px);
}
.price-card{
  display:flex; flex-direction:column;
  padding: clamp(20px, 3vw, 29px) clamp(16px, 2.5vw, 20px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background-color: var(--surface);
}
.price-card.featured{
  background: var(--gradient-card);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-glow);
}
.price-plan{ font-size: 1rem; font-weight:200; color: var(--text); }
.price-amount{ font-family: var(--font-display); font-size: clamp(1.75rem, 1.3rem + 2vw, 2.5rem); font-weight:700; margin-bottom: 26px; }
.price-dot{margin-top: 28px;}
.price-list{ display:flex; flex-direction:column; gap:8px; margin-bottom: clamp(32px, 6vw, 10px); flex:1; }
.price-list li{ display:flex; align-items:flex-start; gap:16px; font-size:clamp(1rem, 0.85rem + 0.5vw, 1.25rem); font-family: var(--font-onest); font-weight: 200;}
.price-list li::before{
  content:"";
  width:10px; height:10px;
  border-radius:50%;
  background: #fff;
  margin-top:10px;
  flex-shrink:0;
}

.price-card .btn-outline{ background-color: #383838; color:#A068EB; border-color: #A068EB; border-width: 3px; margin-bottom: 10px; font-size: clamp(1rem, 0.85rem + 0.5vw, 1.25rem); font-weight: 600;}
.price-card.featured .btn-outline{ background-color: #262626; color:#fff; }

@media (max-width: 1180px){
  .pricing-grid{ grid-template-columns: 1fr; }
  .price-card.featured{ transform:none; order:-1; }
}

/* ===========================================================
   CONTACT
   =========================================================== */
section#form {
  display: flex;
  align-items: center;
  align-self: center;
  justify-content: space-between;
  background-color: var(--surface);
  border-radius: 30px;
  margin: 0 7%;
  box-sizing: border-box;
}

section#form form {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: clamp(20px, 4vw, 40px) 0 clamp(20px, 4vw, 40px) clamp(16px, 3vw, 32px);
  width: 100%;
  max-width: 870px;
}

section#form form .consent-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
}

section#form form input[type="checkbox"] {
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--accent);
  width: 19px;
  height: 19px;
}

section#form form input[type="checkbox"]:not(:checked) {
  accent-color: var(--surface);
  border-color: #ccc;
}

section#form form input::placeholder {
  color: var(--text);
  font-family: var(--font-onest);
  font-weight: 200;
  font-size: clamp(0.9rem, 0.75rem + 0.7vw, 1.25rem);
}

section#form form label {
  cursor: pointer;
}

section#form form input[type="text"],
section#form form input[type="email"],
section#form form input[type="tel"] {
  background: transparent;
  font-family: var(--font-onest);
  font-weight: 200;
  font-size: clamp(0.9rem, 0.75rem + 0.7vw, 1.25rem);
  color: var(--text);
  border: none;
  border-bottom: 1px solid var(--text);
  max-width: 832px;
  width: 100%;
  margin-bottom: 25px;
}

section#form form input[type="text"],
section#form form input[type="email"] {
  margin-bottom: 51px;
}

section#form form input[type="checkbox"],
section#form form label {
  background: transparent;
  font-family: var(--font-onest);
  font-weight: 200;
  font-size: clamp(0.9rem, 0.8rem + 0.5vw, 1.25rem);
  color: var(--text);
  border: none;
  max-width: 832px;
  margin-bottom: 25px;
}

section#form form button {
  background-color: var(--accent);
  color: var(--text);
  border: none;
  border-radius: 10px;
  padding: clamp(12px, 2vw, 15px) clamp(24px, 4vw, 40px);
  max-width: 100%;
  font-family: var(--font-unbounded);
  font-weight: 400;
  font-size: clamp(1rem, 0.85rem + 0.5vw, 1.25rem);
}

.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.popup.hidden {
  display: none;
}

.popup-content {
  background: var(--white);
  margin: 0 clamp(16px, 5vw, 100px);
  padding: clamp(32px, 8vw, 95px) clamp(20px, 5vw, 60px);
  border-radius: 24px;
  color: #14131D;
}

.popup-content h2{
  font-family: var(--font-unbounded);
  font-size: clamp(1.5rem, 1rem + 2.5vw, 2.8125rem);
  font-weight: 400;
  line-height: 130%;
  margin-top: 0;
  margin-bottom: 40px;
}

.popup-content p{
  font-family: var(--font-onest);
  font-size: clamp(1.1rem, 0.8rem + 1.6vw, 1.5rem);
  font-weight: 400;
  line-height: 130%;
  margin-top: 0;
  margin-bottom: 40px;
}

.popup-content button {
  padding: clamp(16px, 3vw, 35px) clamp(24px, 6vw, 60px);
  background: linear-gradient(to right, #945EF1 0%, #714AB3 90%);
  border: none;
  border-radius: 35px;
  color: white;
  cursor: pointer;
  font-family: var(--font-onest);
  font-size: clamp(1.25rem, 1rem + 2vw, 2rem);
  font-weight: 500;
  width: 100%;
}

/* ===========================================================
   PARTNERS STRIP
   =========================================================== */
.partners{ padding-block: 64px; }
.partners-row{
  display:flex; flex-wrap:wrap; align-items:center; justify-content:center;
  gap: clamp(24px, 8vw, 105px);
}
.partner-badge{
  display:flex; align-items:center; justify-content:center;
}

/* ===========================================================
   FOOTER
   =========================================================== */
.site-footer{
  padding: clamp(28px, 4vw, 44px) clamp(20px, 5vw, 60px) clamp(20px, 3vw, 35px) clamp(20px, 5vw, 60px);
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  display:grid;
  grid-template-columns: 1fr 0.9fr 1fr;
  gap: 12%;
  justify-content: space-between;
  background: url(/assets/main_page/footer_bkg.svg) center / cover no-repeat;
}

.footer-brand{ max-width: 300px; }
.footer-brand .brand{ margin-bottom: clamp(32px, 8vw, 84px); }
.footer-brand p{ font-size:clamp(0.95rem, 0.8rem + 0.5vw, 1.25rem); color: var(--text); margin-bottom: 20px; font-weight:500; font-family: var(--font-onest);}
.footer-brand p:last-child{ font-size:clamp(0.95rem, 0.8rem + 0.5vw, 1.25rem); color: var(--text); margin-bottom: 0px;}

.footer-center{ margin-top:10%; display:flex; flex-direction:column; align-content: center;}
.footer-center p{ font-size: clamp(0.95rem, 0.8rem + 0.5vw, 1.25rem);color: var(--text); font-weight:300; margin-bottom: clamp(20px, 4vw, 37px);}
.footer-center p:first-child a{ align-self: flex-start; }
.footer-center p:last-child{ align-self: flex-end; }
.footer-center svg.left{
  position: relative;
  top: -0.2em;
  right: -0.25em;
}
.footer-center svg.right{
  position: relative;
  top: 0.9em;
  right: 0.25em;
}
.footer-right { display:flex; flex-direction:column; gap:112px; font-family: var(--font-unbounded);text-align: right;}
.footer-right .footer-contacts{display:flex; flex-direction:column; font-size:16px; font-weight:700; gap: 14px}
.footer-right .footer-policy{display:flex; flex-direction:column;  gap: 26px}
.footer-right .footer-policy a{font-size: 20px; text-decoration: underline;font-weight:400;}
.footer-right .footer-policy p{font-family: var(--font-onest);font-size: 12px;font-weight:300;}


.footer-nav a{ font-size:14.5px; color: var(--text-muted); }
.footer-nav a:hover{ color: var(--text); }


.footer-bottom a{ color: var(--text-faint); text-decoration: underline; text-underline-offset:2px; }
.footer-bottom a:hover{ color: var(--text-muted); }


/* ===========================================================
   MISC / STUB PAGE
   =========================================================== */

/* media placeholder (shows only if an asset fails to load) */
.media-slot{ position:relative; }
.media-slot.missing{
  min-height: 160px;
  display:flex; align-items:center; justify-content:center;
  background: repeating-linear-gradient(135deg, var(--surface-2), var(--surface-2) 10px, var(--surface) 10px, var(--surface) 20px);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
}
.media-slot.missing::before{
  content: attr(data-label);
  font-size: 12px; color: var(--text-faint); padding: 8px 14px; text-align:center;
}
.media-slot.missing img{ display:none; }

/* ===========================================================
   RESPONSIVE NAV (mobile)
   =========================================================== */
@media (max-width: 860px){
  .main-nav{
    position: fixed;
    top: var(--header-h); left:0; right:0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 12px 24px 24px;
    transform: translateY(-8px);
    opacity:0;
    pointer-events:none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .main-nav.open{ opacity:1; transform:translateY(0); pointer-events:auto; }
  .main-nav ul{ flex-direction:column; align-items:stretch; gap:4px; }
  .main-nav a{ padding: 12px 14px; }
  .nav-toggle{ display:flex; }
  .header-phone span{ display:none; }
}

@media (max-width: 640px){
  .section{ padding-block:72px; }
  .hero{ padding-top: calc(var(--header-h) + 56px); padding-bottom:64px; }
}
