/* /assets/css/style.css
   Base styles for: header (with burger), hero, cards ("islands"), footer
   Minimal, friendly, modern look.
*/

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

html, body { height: 100%; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.45;
  color: #0f172a; /* slate-900 */
  background: #f6f8ff;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

:root{
  --bg: #f6f8ff;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --primary: #1d4ed8;    /* blue-700 */
  --primary-2: #2563eb;  /* blue-600 */
  --border: rgba(15, 23, 42, 0.10);
  --shadow: 0 10px 25px rgba(2, 6, 23, 0.08);
  --shadow-soft: 0 6px 18px rgba(2, 6, 23, 0.06);
  --radius: 18px;
  --radius-lg: 24px;
  --container: 1120px;
}

/* -----------------------------
   Helpers
------------------------------ */
.container{
  width: min(var(--container), calc(100% - 32px));
  margin-inline: auto;
}

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

.section{
  padding: 56px 0;
}

.card-surface{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  box-shadow: 0 10px 18px rgba(29, 78, 216, 0.20);
}

.btn:hover{
  background: var(--primary-2);
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(29, 78, 216, 0.25);
}

.btn:active{ transform: translateY(0); }

.btn--ghost{
  background: transparent;
  color: var(--primary);
  border-color: rgba(29, 78, 216, 0.25);
  box-shadow: none;
}

.btn--ghost:hover{
  background: rgba(29, 78, 216, 0.08);
  box-shadow: none;
}

.badge{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(29, 78, 216, 0.10);
  color: var(--primary);
  font-weight: 600;
  font-size: 12px;
}

/* -----------------------------
   Header
------------------------------ */
.site-header{
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(246, 248, 255, 0.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

body.nav-open{
  overflow: hidden;
  overscroll-behavior: none;
}

.mobile-nav{
  display: none;
}

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

.brand{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 14px;
  transition: background .15s ease;
}

.brand:hover{ background: rgba(29, 78, 216, 0.06); }

.brand__logo{
  width: 42px;
  height: 34px;
  display: grid;
  place-items: center;
}

.brand__logo img{
  width: 54px;
  max-width: none;
  height: auto;
  filter: drop-shadow(0 8px 12px rgba(29, 78, 216, 0.18));
}

.brand__text{
  font-weight: 800;
  letter-spacing: 0.2px;
  color: var(--text);
}

/* nav */
.nav{
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__link{
  padding: 10px 12px;
  border-radius: 14px;
  color: #0f172a;
  transition: background .15s ease, color .15s ease;
  font-weight: 600;
  font-size: 14px;
  -webkit-tap-highlight-color: transparent;
}

.nav__link:hover{ background: rgba(29, 78, 216, 0.08); }

.nav__link:focus{
  outline: none;
}

.nav__link:focus-visible{
  outline: 2px solid rgba(29, 78, 216, 0.24);
  outline-offset: 2px;
}

.nav__link.is-active{
  background: rgba(29, 78, 216, 0.12);
  color: var(--primary);
}

.nav-dropdown{
  position: relative;
}

.nav-dropdown::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 12px;
}

.nav-dropdown__summary{
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  -webkit-tap-highlight-color: transparent;
}

.nav-dropdown__summary::after{
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .15s ease;
}

.nav-dropdown:hover .nav-dropdown__summary::after,
.nav-dropdown:focus-within .nav-dropdown__summary::after,
.nav-dropdown.is-opened-from-home .nav-dropdown__summary::after{
  transform: rotate(225deg) translateY(-2px);
}

.nav-dropdown__menu{
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 280px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(15, 23, 42, 0.10);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  display: grid;
  gap: 4px;
  z-index: 1100;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity .16s ease, transform .16s ease;
}

.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu,
.nav-dropdown.is-opened-from-home .nav-dropdown__menu{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-dropdown__menu a,
.nav-dropdown__menu span{
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 10px;
  border-radius: 13px;
  color: var(--text);
  font-weight: 650;
  font-size: 13.5px;
}

.nav-dropdown__menu a:hover{
  background: rgba(29, 78, 216, 0.08);
  color: var(--primary);
}

.nav-dropdown__menu a.is-active{
  background: rgba(29, 78, 216, 0.10);
  color: var(--primary);
}

.nav-dropdown__menu span{
  color: rgba(100, 116, 139, 0.78);
}

.nav-dropdown__menu small{
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(100, 116, 139, 0.10);
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

/* burger */
.burger{
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255,255,255,0.65);
  border-radius: 14px;
  cursor: pointer;
  position: relative;
}

.burger__bar{
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: #0f172a;
  border-radius: 2px;
  transition: transform .2s ease, top .2s ease, opacity .2s ease;
}

.burger__bar:nth-child(1){ top: 14px; }
.burger__bar:nth-child(2){ top: 21px; }
.burger__bar:nth-child(3){ top: 28px; }

/* When nav is open (toggle via JS adding class .is-open on .nav and .is-open on .burger) */
.burger.is-open .burger__bar:nth-child(1){ top: 21px; transform: rotate(45deg); }
.burger.is-open .burger__bar:nth-child(2){ opacity: 0; }
.burger.is-open .burger__bar:nth-child(3){ top: 21px; transform: rotate(-45deg); }

/* -----------------------------
   Shared Page Shell / Hero
------------------------------ */
.page-shell{
  position: relative;
}

.page-hero{
  position: relative;
  padding: 54px 0 44px;
  overflow: hidden;
}

.page-hero::before{
  content: "";
  position: absolute;
  inset: 0 -200px auto -200px;
  height: 380px;
  background:
    radial-gradient(900px 260px at 20% 20%, rgba(96, 165, 250, 0.40), transparent 70%),
    radial-gradient(700px 260px at 70% 10%, rgba(29, 78, 216, 0.35), transparent 65%),
    radial-gradient(700px 300px at 50% 100%, rgba(147, 197, 253, 0.25), transparent 70%);
  pointer-events: none;
}

.page-hero--section::before{
  background:
    linear-gradient(180deg, rgba(219, 234, 254, 0.82) 0%, rgba(219, 234, 254, 0.38) 22%, rgba(246, 248, 255, 0) 64%),
    radial-gradient(900px 260px at 20% 20%, rgba(96, 165, 250, 0.40), transparent 70%),
    radial-gradient(700px 260px at 70% 10%, rgba(29, 78, 216, 0.35), transparent 65%),
    radial-gradient(700px 300px at 50% 100%, rgba(147, 197, 253, 0.25), transparent 70%);
}

.page-hero::after{
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.8), rgba(255,255,255,0) 60%),
              linear-gradient(135deg, rgba(29,78,216,.35), rgba(96,165,250,.22));
  pointer-events: none;
}

.hero-inner{
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 28px;
}

.hero-title{
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.hero-subtitle{
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
  max-width: 56ch;
}

.hero-trust{
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 18px;
  max-width: 100%;
}

.hero-trust__item{
  color: var(--primary);
  font-size: 14px;
  line-height: 1.35;
  white-space: nowrap;
  cursor: default;
}

.hero-trust__item:hover,
.hero-trust__item:active{
  transform: none;
}

.hero-illustration{
  justify-self: end;
  width: min(360px, 100%);
  aspect-ratio: 1 / 1;
  border-radius: 28px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.85), rgba(255,255,255,0) 60%),
    linear-gradient(135deg, rgba(29,78,216,.25), rgba(96,165,250,.18));
  border: 1px solid rgba(255,255,255,0.55);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-illustration::before{
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.15));
  border: 1px solid rgba(15, 23, 42, 0.08);
}

/* -----------------------------
   Islands / Cards grid
------------------------------ */
.islands{
  padding: 36px 0 64px;
}

.islands-panel{
  padding: 26px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow-soft);
}

.islands-head{
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.islands-title{
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.2px;
}

.islands-note{
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

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

.home-sections-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.home-section-card{
  min-height: 100%;
  display: block;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.home-section-card:hover{
  transform: translateY(-2px);
  border-color: rgba(29, 78, 216, 0.18);
  box-shadow: var(--shadow);
}

.home-section-card__summary{
  list-style: none;
  cursor: pointer;
}

.home-section-card__summary::-webkit-details-marker{
  display: none;
}

.home-section-card__summary,
.home-section-card--link{
  display: grid;
  grid-template-columns: 96px 1fr auto;
  align-items: center;
  gap: 16px;
  color: inherit;
}

.home-section-card__body{
  display: grid;
  gap: 8px;
  min-width: 0;
}

.home-section-card__title{
  display: block;
  font-size: 21px;
  line-height: 1.2;
}

.home-section-card__text{
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.home-section-card__media{
  width: 96px;
  height: 96px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.85), rgba(255,255,255,0) 60%),
    linear-gradient(135deg, rgba(29,78,216,.16), rgba(96,165,250,.12));
  border: 1px solid rgba(255,255,255,0.55);
  box-shadow: var(--shadow-soft);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.home-section-card__media img{
  width: 86%;
  height: 86%;
  object-fit: contain;
  filter: drop-shadow(0 16px 24px rgba(29, 78, 216, 0.16));
}

.home-section-card__menu{
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 8px;
}

.home-section-card__item{
  min-height: 40px;
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(29, 78, 216, 0.05);
  color: var(--text);
  font-size: 14px;
  font-weight: 650;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}

.home-section-card__item:hover{
  background: rgba(29, 78, 216, 0.10);
  color: var(--primary);
  transform: translateX(2px);
}

.home-section-card__badge{
  align-self: flex-start;
  justify-self: end;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(100, 116, 139, 0.10);
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  text-transform: lowercase;
}

.home-section-card.is-soon{
  cursor: default;
}

.island{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 18px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.island:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(29, 78, 216, 0.18);
}

.island__icon{
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.8), rgba(255,255,255,0) 60%),
    linear-gradient(135deg, rgba(29,78,216,.22), rgba(96,165,250,.18));
  border: 1px solid rgba(29, 78, 216, 0.18);
  box-shadow: 0 12px 18px rgba(29, 78, 216, 0.12);
  display: grid;
  place-items: center;
  color: var(--primary);
}

.icon-svg{
  width: 26px;
  height: 26px;
}

.island__icon--image{
  padding: 4px;
  background:
    radial-gradient(circle at 50% 46%, rgba(255,255,255,.88), rgba(255,255,255,0) 58%),
    linear-gradient(135deg, rgba(29,78,216,.18), rgba(96,165,250,.12));
}

.island__icon--image img{
  width: 120%;
  max-width: none;
  height: 120%;
  object-fit: contain;
  filter: drop-shadow(0 8px 10px rgba(29, 78, 216, 0.16));
}

.island__content{
  display: grid;
  gap: 8px;
  align-content: start;
}

.island__title{
  margin: 0;
  font-size: 16px;
  letter-spacing: -0.2px;
}

.island__desc{
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
}

.island__actions{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 6px;
}

.island__more{
  color: var(--primary);
  font-weight: 700;
  font-size: 13px;
}

.island__more:hover{ text-decoration: underline; }

.page-hero--section .hero-title{
  font-size: clamp(22px, 3.2vw, 34px);
  margin-top: 10px;
}

.page-hero__eyebrow{
  margin: 0 0 10px;
  color: var(--primary);
  font-weight: 700;
  max-width: 70ch;
}

.hero-illustration--dashboard{
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 34px;
}

.hero-illustration--dashboard::before,
.hero-illustration--icon::before,
.hero-illustration--image::before{
  display: none;
}

.hero-card{
  border-radius: 18px;
  background: rgba(255,255,255,0.68);
  border: 1px solid rgba(255,255,255,0.72);
  box-shadow: var(--shadow-soft);
}

.hero-card--main{
  height: 88px;
}

.hero-card--small{
  width: 72%;
  height: 54px;
}

.hero-card--line{
  width: 88%;
  height: 16px;
  border-radius: 999px;
  background: rgba(29, 78, 216, 0.16);
}

.hero-illustration--icon{
  display: grid;
  place-items: center;
  color: var(--primary);
}

.hero-illustration--icon .icon-svg{
  width: min(156px, 46%);
  height: auto;
  filter: drop-shadow(0 18px 28px rgba(29, 78, 216, 0.18));
}

.hero-illustration--image{
  display: grid;
  place-items: center;
  padding: 12px;
}

.hero-illustration--image img{
  width: min(420px, 108%);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 22px 30px rgba(29, 78, 216, 0.16));
}

.hero-illustration--home img{
  width: min(520px, 132%);
}

.product-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.product-card{
  min-height: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 20px;
  display: grid;
  align-content: start;
  gap: 12px;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.product-card:has(.product-card__image){
  grid-template-columns: minmax(240px, 340px) minmax(0, 1fr) max-content;
  grid-template-areas:
    "image title title"
    "image desc desc"
    "image meta meta"
    "image list actions";
  align-items: start;
  column-gap: 22px;
}

.product-card:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(29, 78, 216, 0.18);
}

.product-card__top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-card__icon{
  width: 52px;
  height: 52px;
  border-radius: 16px;
}

.product-card__image{
  grid-area: image;
  align-self: start;
  min-height: 150px;
  padding: 18px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 30%, rgba(96, 165, 250, 0.22), transparent 58%),
    linear-gradient(135deg, rgba(29, 78, 216, 0.08), rgba(96, 165, 250, 0.06));
  border: 1px solid rgba(29, 78, 216, 0.10);
  display: grid;
  place-items: center;
}

.product-card__image img{
  width: min(300px, 100%);
  height: auto;
  border-radius: 16px;
  box-shadow: 0 18px 28px rgba(15, 23, 42, 0.16);
}

.product-card__title{
  grid-area: title;
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.25px;
}

.product-card__desc{
  grid-area: desc;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.product-card__meta{
  grid-area: meta;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-card__meta span{
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(29, 78, 216, 0.08);
  border: 1px solid rgba(29, 78, 216, 0.12);
  color: var(--primary);
  font-size: 12.5px;
  font-weight: 700;
}

.product-card__list{
  grid-area: list;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.product-card__list li{
  position: relative;
  padding-left: 20px;
  color: #334155;
  font-size: 13.5px;
}

.product-card__list li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(29, 78, 216, 0.72);
  box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.10);
}

.product-card__actions{
  grid-area: actions;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex-wrap: wrap;
}

.product-card:has(.product-card__image) .product-card__actions{
  justify-self: end;
  align-self: end;
  flex-direction: column;
  align-items: stretch;
  min-width: 168px;
}

.product-card__details-btn{
  width: max-content;
  max-width: 100%;
  cursor: pointer;
  color: var(--primary);
  font-weight: 800;
  font-size: 13px;
  list-style: none;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
  border-radius: 12px;
  border: 1px solid rgba(29, 78, 216, 0.18);
  background: rgba(29, 78, 216, 0.06);
  transition: background .15s ease, border-color .15s ease;
}

.product-card:has(.product-card__image) .product-card__details-btn{
  width: 100%;
  justify-content: center;
  order: 1;
}

.product-card__details-btn:hover{
  background: rgba(29, 78, 216, 0.10);
  border-color: rgba(29, 78, 216, 0.26);
}

.product-card__btn{
  flex: 0 0 auto;
  margin-top: 0;
  min-height: 38px;
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1px;
  box-shadow: 0 10px 18px rgba(29, 78, 216, 0.18);
}

.product-card:has(.product-card__image) .product-card__btn{
  width: 100%;
  order: 2;
}

.modal-open{
  overflow: hidden;
}

.conditions-modal{
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}

.conditions-modal[aria-hidden="false"]{
  opacity: 1;
  pointer-events: auto;
}

.conditions-modal__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(6px);
}

.conditions-modal__dialog{
  position: relative;
  width: min(640px, 100%);
  max-height: min(680px, calc(100vh - 36px));
  overflow: auto;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255,255,255,0.72);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.24);
  padding: 24px;
}

.conditions-modal__close{
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 14px;
  background: rgba(246, 248, 255, 0.86);
  cursor: pointer;
  color: var(--text);
  font-size: 24px;
  line-height: 0;
  padding: 0 0 2px;
}

.conditions-modal__dialog h2{
  margin: 0 46px 14px 0;
  font-size: clamp(20px, 3vw, 26px);
  letter-spacing: -0.3px;
}

.conditions-modal__list{
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
  color: #334155;
}

.steps-panel{
  padding: 26px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 18px;
}

.steps-title{
  margin: 10px 0 0;
  font-size: clamp(22px, 3vw, 32px);
  letter-spacing: -0.4px;
}

.steps-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.step-card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-soft);
}

.step-card__num{
  color: var(--primary);
  font-weight: 800;
  font-size: 13px;
}

.step-card h3{
  margin: 8px 0 6px;
  font-size: 16px;
}

.step-card p{
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
}

/* -----------------------------
   Footer
------------------------------ */
.site-footer{
  position: relative;
  margin-top: 60px;
  padding-top: 46px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(246, 248, 255, 0.85);
}

.footer-bg{
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 260px at 20% 30%, rgba(96, 165, 250, 0.22), transparent 70%),
    radial-gradient(800px 260px at 80% 10%, rgba(29, 78, 216, 0.18), transparent 65%);
}

.footer-inner{
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr 0.8fr;
  gap: 18px;
  padding-bottom: 22px;
}

.footer-col{
  background: rgba(255,255,255,0.70);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 18px;
}

.footer-brand{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.footer-brand__logo{
  width: 38px;
  height: 30px;
  display: grid;
  place-items: center;
}

.footer-brand__logo img{
  width: 48px;
  max-width: none;
  height: auto;
  filter: drop-shadow(0 8px 12px rgba(29, 78, 216, 0.16));
}

.footer-brand__text{ font-weight: 800; }

.footer-title{
  margin: 0 0 10px;
  font-size: 14px;
  letter-spacing: -0.1px;
}

.footer-text{
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
}

.footer-links,
.footer-contacts{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.footer-steps{
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  gap: 12px;
  counter-reset: footer-step;
}

.footer-steps li{
  counter-increment: footer-step;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: center;
}

.footer-steps li::before{
  content: counter(footer-step);
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(219, 234, 254, 0.96), rgba(191, 219, 254, 0.96));
  border: 1px solid rgba(29, 78, 216, 0.14);
  color: var(--primary);
  font-weight: 800;
  font-size: 13px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.75);
}

.footer-steps span{
  display: block;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.45;
}

.footer-links a,
.footer-contacts a{
  color: var(--primary);
  font-weight: 650;
}

.footer-links a:hover,
.footer-contacts a:hover{
  text-decoration: underline;
}

.footer-bottom{
  position: relative;
  padding: 14px 0 26px;
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 12.5px;
}

/* -----------------------------
   Mobile / Responsive
------------------------------ */
@media (max-width: 960px){
  .hero-inner{ grid-template-columns: 1fr; }
  .hero-illustration{ justify-self: start; width: min(420px, 100%); }
  .footer-inner{ grid-template-columns: 1fr; }
  .steps-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 760px){
  .site-header{
    background: rgba(246, 248, 255, 0.96);
    backdrop-filter: none;
  }

  .header-inner{ height: 66px; }
  .nav--desktop{ display: none; }
  .burger{ display: inline-flex; }

  .mobile-nav{
    position: fixed;
    inset: var(--mobile-nav-top, 72px) 0 0 0;
    display: block;
    z-index: 1200;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease;
  }

  .mobile-nav.is-open{
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-nav__backdrop{
    position: absolute;
    inset: 0;
    border: 0;
    padding: 0;
    background: rgba(246, 248, 255, 0.94);
  }

  .mobile-nav__panel{
    position: relative;
    z-index: 1;
    height: 100%;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 12px 16px 24px;
    display: grid;
    align-content: start;
    gap: 8px;
  }

  .mobile-nav .nav__link,
  .mobile-nav .nav-dropdown__summary{
    display: flex;
    width: 100%;
    min-height: 46px;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
    appearance: none;
    -webkit-appearance: none;
  }

  .mobile-nav .nav__link.is-active,
  .mobile-nav .nav-dropdown__summary.is-active{
    background: rgba(29, 78, 216, 0.12);
    color: var(--primary);
    border-color: rgba(29, 78, 216, 0.12);
  }

  .mobile-nav .nav-dropdown::after{
    display: none;
  }

  .mobile-nav .nav-dropdown__summary::after{
    transform: rotate(45deg) translateY(-2px);
  }

  .mobile-nav .nav-dropdown.is-expanded .nav-dropdown__summary::after{
    transform: rotate(225deg) translateY(-2px);
  }

  .mobile-nav .nav-dropdown__menu{
    position: static;
    min-width: 0;
    margin-top: 8px;
    padding: 8px;
    display: none;
    gap: 4px;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    background: rgba(255,255,255,0.74);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    box-shadow: none;
    backdrop-filter: none;
  }

  .mobile-nav .nav-dropdown.is-expanded .nav-dropdown__menu{
    display: grid;
  }

  .mobile-nav .nav__link:active,
  .mobile-nav .nav-dropdown__summary:active{
    background: rgba(29, 78, 216, 0.12);
  }

  .grid{ grid-template-columns: 1fr; }
  .home-sections-grid{ grid-template-columns: 1fr; }
  .product-grid{ grid-template-columns: 1fr; }
  .home-section-card__summary,
  .home-section-card--link{
    grid-template-columns: 1fr;
  }
  .home-section-card__media{
    width: 88px;
    height: 88px;
  }
  .product-card:has(.product-card__image){
    grid-template-columns: 1fr;
    grid-template-areas:
      "image"
      "title"
      "desc"
      "meta"
      "list"
      "actions";
  }
  .product-card:has(.product-card__image) .product-card__actions{
    justify-self: stretch;
    min-width: 0;
  }
  .islands-panel{ padding: 18px; }
  .home-section-card{ padding: 18px; }
  .island{ grid-template-columns: 52px 1fr; padding: 16px; }
  .island__icon{ width: 52px; height: 52px; border-radius: 16px; }
  .steps-panel{ padding: 18px; }

  .islands-head{ flex-direction: column; align-items: start; gap: 6px; }
}

@media (max-width: 420px){
  .container{ width: min(var(--container), calc(100% - 24px)); }
  .page-hero{ padding: 46px 0 38px; }
  .btn{ width: 100%; }
  .hero-actions{ width: 100%; }
}

/* Optional: reduce motion for accessibility */
@media (prefers-reduced-motion: reduce){
  *{ transition: none !important; scroll-behavior: auto !important; }
}
