:root{
  --bg1:#f7f9ff;
  --bg2:#fff6fb;
  --card:#ffffff;
  --text:#14151a;
  --muted:#5b6270;
  --line:#e7e8ee;

  --primary:#e6659e;
  --primary-hover:#d05089;

  --link:#2f6fe4;
  --link-hover:#214fad;

  --radius:18px;
  --radius-sm:12px;

  --shadow: 0 10px 30px rgba(15,23,42,.08);
  --shadow-soft: 0 8px 24px rgba(15,23,42,.06);

  --maxw: 1120px;
}

*{ box-sizing:border-box; }

html,body{ height:100%; }

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background: linear-gradient(180deg,var(--bg1),var(--bg2));
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img{ max-width:100%; height:auto; }

.container{
  max-width:var(--maxw);
  margin:0 auto;
  padding: 0 16px;
}

a{
  color:var(--link);
  text-decoration:none;
}
a:hover{ color:var(--link-hover); text-decoration:underline; }

.skip-link{
  position:absolute;
  left:-999px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}
.skip-link:focus{
  left:16px;
  top:16px;
  width:auto;
  height:auto;
  padding:10px 12px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:10px;
  z-index:9999;
}

/* Header */
.site-header{
  position:sticky;
  top:0;
  z-index:1000;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(12px);
  border-bottom:1px solid var(--line);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding: 12px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width: 220px;
}

.brand-title{
  margin:0;
  font-size: 1.05rem;
  font-weight:700;
  letter-spacing:.2px;
}
.brand-subtitle{
  margin:2px 0 0;
  font-size:.86rem;
  color:var(--muted);
}

.main-nav{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
}

.nav-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: #2a2f3a;
  font-weight: 600;
  font-size: .92rem;
  line-height: 1;
  text-decoration:none;
}
.nav-link:hover{
  text-decoration:none;
  background:#f4f6ff;
  border-color:#dfe6ff;
  color:#1b2550;
}

.nav-link.primary{
  background: var(--primary);
  color:#fff;
}
.nav-link.primary:hover{
  background: var(--primary-hover);
  border-color: transparent;
  color:#fff;
}

/* Main */
main{ padding: 18px 0 32px; }

.card{
  background:var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 18px;
  margin: 14px 0;
}

.card h2{
  margin:0 0 10px;
  font-size: 1.25rem;
  letter-spacing: .1px;
}
.card h3{
  margin:0 0 10px;
  font-size: 1.05rem;
}

.lead{
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--text);
}
.muted{ color: var(--muted); }

.hero{
  padding: 20px;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--line);
  background:
    radial-gradient(900px 220px at 10% 0%, rgba(47,111,228,.16), transparent 60%),
    radial-gradient(900px 240px at 90% 0%, rgba(230,101,158,.16), transparent 60%),
    #fff;
  box-shadow: var(--shadow);
}

.hero-grid{
  display:grid;
  gap:18px;
}

.hero h1{
  margin:0 0 8px;
  font-size: 1.55rem;
  letter-spacing: .2px;
}
.trustline{
  margin: 6px 0 12px;
  color: var(--muted);
  font-weight: 700;
  letter-spacing:.4px;
}

.cta-row{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top: 12px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration:none;
  cursor:pointer;
  line-height: 1.1;
}

.btn-primary{
  background: var(--primary);
  color:#fff;
}
.btn-primary:hover{
  background: var(--primary-hover);
  color:#fff;
  text-decoration:none;
}

.btn-secondary{
  background: #f5f6fa;
  border-color: #e4e6ef;
  color:#222;
}
.btn-secondary:hover{
  background:#eef0f6;
  text-decoration:none;
}

.media{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid #f0f0f4;
}

.hero-media{
  max-height: 340px;
}

.grid-2{
  display:grid;
  gap:14px;
}

ul{
  margin: 10px 0 0;
  padding-left: 18px;
}
li{ margin: 6px 0; }

details{
  border:1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  background:#fff;
  margin: 10px 0;
}
summary{
  cursor:pointer;
  font-weight: 800;
}
details p{
  margin: 10px 0 0;
  color: var(--text);
  line-height:1.6;
}

.form{
  display:grid;
  gap: 12px;
  margin-top: 10px;
}
label{
  display:grid;
  gap: 6px;
  font-weight: 700;
  font-size: .95rem;
}
input, textarea, select{
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #d9dbe6;
  font: inherit;
  background:#fff;
}
input:focus, textarea:focus, select:focus{
  outline:none;
  border-color:#b9c8ff;
  box-shadow: 0 0 0 4px rgba(47,111,228,.12);
}

.form-hint{
  font-size:.9rem;
  color: var(--muted);
  line-height: 1.5;
}

.site-footer{
  padding: 28px 0 36px;
  text-align:center;
  color: var(--muted);
  font-size: .92rem;
}

/* Action buttons on thank-you pages */
.action-buttons{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top: 12px;
}
.action-button{
  flex:1;
  min-width: 220px;
  text-align:center;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--primary);
  color:#fff;
  font-weight: 800;
  text-decoration:none;
}
.action-button:hover{
  background: var(--primary-hover);
  text-decoration:none;
  color:#fff;
}

/* Cookie banner */
.cookie-banner{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 14px;
  z-index: 9999;
  display: none;
  padding: 0 14px;
}
.cookie-card{
  max-width: 980px;
  margin: 0 auto;
  background: rgba(20,21,26,.92);
  color: #fff;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 14px 14px;
  display:flex;
  gap:12px;
  align-items:center;
  justify-content:space-between;
}
.cookie-card p{
  margin:0;
  font-size:.92rem;
  line-height:1.35;
  color: rgba(255,255,255,.92);
}
.cookie-buttons{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.cookie-buttons button{
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor:pointer;
}
.cookie-accept{
  background: var(--primary);
  color:#fff;
}
.cookie-accept:hover{ background: var(--primary-hover); }
.cookie-decline{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.22);
  color:#fff;
}
.cookie-decline:hover{ background: rgba(255,255,255,.16); }

/* Responsive */
@media (min-width: 900px){
  .hero-grid{
    grid-template-columns: 1.15fr .85fr;
    align-items:center;
  }
  .grid-2{
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px){
  .header-inner{
    flex-direction: column;
    align-items: center;
    justify-content:center;
    text-align:center;
    padding: 12px 0 14px;
  }
  .brand{
    min-width:auto;
    flex-direction: column;
    gap: 2px;
  }
  .main-nav{
    justify-content:center;
  }
  .hero h1{
    font-size: 1.4rem;
  }
  .cookie-card{
    flex-direction: column;
    align-items: flex-start;
  }
  .cookie-buttons{
    width:100%;
    justify-content:flex-start;
  }
}
