:root{
  --bg:#ffffff;
  --fg:#0f172a; /* slate-900 */
  --muted:#475569; /* slate-600 */
  --soft:#f8fafc; /* slate-50 */
  --line:#e2e8f0; /* slate-200 */
  --card:#ffffff;
  --shadow: 0 10px 30px rgba(2,6,23,.08);
  --r: 18px;
  --max: 1120px;
  --brand1:#2563eb; /* blue-600 */
  --brand2:#ec4899; /* pink-500 */
  --brand3:#f97316; /* orange-500 */
  --focus: rgba(37,99,235,.35);
}

*{ box-sizing:border-box; }

html{ scroll-behavior:smooth; }

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--fg);
  background:var(--bg);
  line-height:1.55;
}

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

a:focus,
button:focus{
  outline:3px solid var(--focus);
  outline-offset:3px;
  border-radius:12px;
}

.wrap{
  max-width:var(--max);
  margin:0 auto;
  padding:0 20px;
}

/* Top bar */
.topbar{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,255,255,.82);
  backdrop-filter:saturate(180%) blur(10px);
  border-bottom:1px solid var(--line);
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:72px;
}

.brand{
  display:flex;
  gap:12px;
  align-items:center;
  font-weight:800;
  letter-spacing:-.02em;
}

.brand span{
  font-size:18px;
}

.brand--compact{
  gap:10px;
}

.logo{
  width:36px;
  height:36px;
  border-radius:12px;
  background: linear-gradient(135deg, var(--brand1), #1d4ed8 55%, #0b3aa6);
  position:relative;
  box-shadow: 0 8px 22px rgba(37,99,235,.22);
}

.logo::before{
  content:"";
  position:absolute;
  inset:9px 10px 9px 10px;
  border-radius:10px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.25);
}

.logo::after{
  content:"";
  position:absolute;
  left:14px;
  top:18px;
  width:18px;
  height:18px;
  border-radius:999px;
  background: radial-gradient(circle at 30% 30%, var(--brand2), var(--brand3));
  box-shadow: 14px -9px 0 0 rgba(255,255,255,.0);
  opacity:.95;
  transform: translate(-8px,-8px);
  filter: saturate(1.1);
  clip-path: circle(50%);
}

.logo--small{
  width:28px;
  height:28px;
  border-radius:10px;
}

.menu{
  display:flex;
  gap:18px;
  align-items:center;
}

.menu a{
  font-size:14px;
  color:var(--muted);
  padding:10px 10px;
  border-radius:12px;
}

.menu a:hover{
  background:var(--soft);
  color:var(--fg);
}

.cta{
  display:flex;
  gap:10px;
  align-items:center;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:11px 14px;
  border-radius:14px;
  border:1px solid var(--line);
  background:#fff;
  color:var(--fg);
  font-weight:650;
  font-size:14px;
  box-shadow: 0 6px 18px rgba(2,6,23,.06);
  cursor:pointer;
}

.btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(2,6,23,.10);
}

.btn.primary{
  border-color: transparent;
  background: linear-gradient(135deg, var(--brand1), var(--brand2) 55%, var(--brand3));
  color:#fff;
  box-shadow: 0 14px 40px rgba(236,72,153,.18);
}

/* Mobile menu */
.hamburger{
  display:none;
}

/* Sections */
section{
  padding:84px 0;
  scroll-margin-top:88px;
}

.section-title{
  font-size:14px;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:var(--muted);
}

h1{
  font-size: clamp(34px, 5vw, 58px);
  line-height:1.05;
  letter-spacing:-.035em;
  margin:14px 0 14px;
}

h2{
  font-size: clamp(26px, 3.2vw, 36px);
  line-height:1.15;
  letter-spacing:-.03em;
  margin:10px 0 12px;
}

h3{
  letter-spacing:-.02em;
}

p{
  margin:0 0 14px;
  color:var(--muted);
  font-size:16px;
}

/* Hero */
.hero{
  padding-top:60px;
  padding-bottom:96px;
  background:
    radial-gradient(900px 420px at 20% 10%, rgba(37,99,235,.12), rgba(255,255,255,0) 60%),
    radial-gradient(820px 420px at 80% 30%, rgba(236,72,153,.12), rgba(255,255,255,0) 62%),
    radial-gradient(820px 420px at 60% 80%, rgba(249,115,22,.10), rgba(255,255,255,0) 62%);
  border-bottom:1px solid var(--line);
}

.hero-grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:28px;
  align-items:center;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.7);
  padding:8px 12px;
  border-radius:999px;
  font-size:13px;
  color:var(--muted);
}

.dot{
  width:10px;
  height:10px;
  border-radius:999px;
  background: radial-gradient(circle at 30% 30%, var(--brand2), var(--brand3));
  box-shadow: 0 0 0 6px rgba(236,72,153,.08);
}

.hero p{
  font-size:18px;
  max-width:54ch;
}

.hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:18px;
}

.hero-fine{
  margin-top:14px;
}

/* Mock card */
.mock{
  border:1px solid var(--line);
  background:linear-gradient(180deg, #ffffff, #fbfdff);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  overflow:hidden;
}

.mock-top{
  height:44px;
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 14px;
  background:rgba(248,250,252,.9);
  color:var(--muted);
  font-size:12px;
}

.mock-dots{
  display:flex;
  gap:7px;
  align-items:center;
}

.mock-dots i{
  width:10px;
  height:10px;
  border-radius:999px;
  display:inline-block;
  background:var(--line);
}

.mock-body{
  padding:18px 18px 20px;
}

.mock h3{
  margin:0 0 10px;
  font-size:16px;
}

.mock .line{
  height:10px;
  background:var(--soft);
  border-radius:999px;
  margin:10px 0;
}

.mock .line.w80{ width:80%; }
.mock .line.w65{ width:65%; }
.mock .line.w92{ width:92%; }

.mock .pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:12px;
  font-size:12px;
  color:var(--muted);
  border:1px solid var(--line);
  border-radius:999px;
  padding:6px 10px;
  background:#fff;
}

.mock .pill b{
  color:var(--fg);
}

/* Cards / grids */
.grid2{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}

.grid2--center{
  align-items:center;
}

.grid3{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:18px;
}

.card{
  border:1px solid var(--line);
  background:var(--card);
  border-radius: var(--r);
  box-shadow: 0 10px 26px rgba(2,6,23,.06);
  padding:18px 18px;
}

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

.card p{
  margin:0;
  font-size:14px;
}

.card--p20{
  padding:20px;
}

.card--gradient{
  margin-top:14px;
  background:linear-gradient(
    135deg,
    rgba(37,99,235,.06),
    rgba(236,72,153,.06),
    rgba(249,115,22,.06)
  );
}

.step{
  display:flex;
  gap:12px;
}

.badge{
  width:34px;
  height:34px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  color:#fff;
  background: linear-gradient(135deg, var(--brand1), var(--brand2) 55%, var(--brand3));
  box-shadow: 0 10px 20px rgba(37,99,235,.16);
  flex:0 0 auto;
}

/* FAQ */
.faq-list{
  margin-top:18px;
  max-width:820px;
}

details{
  border:1px solid var(--line);
  border-radius: var(--r);
  padding:14px 16px;
  background:#fff;
  box-shadow: 0 10px 26px rgba(2,6,23,.05);
}

details + details{
  margin-top:12px;
}

summary{
  cursor:pointer;
  font-weight:700;
  color:var(--fg);
  list-style:none;
}

summary::-webkit-details-marker{
  display:none;
}

summary .chev{
  float:right;
  color:var(--muted);
}

details[open] summary .chev{
  transform: rotate(180deg);
}

details p{
  margin-top:10px;
}

/* Footer */
footer{
  padding:34px 0 46px;
  border-top:1px solid var(--line);
  background: var(--soft);
}

.footer-grid{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:20px;
  flex-wrap:wrap;
}

.footer-description{
  margin-top:10px;
  max-width:60ch;
}

.footer-heading{
  margin-bottom:8px;
}

.fine{
  font-size:12px;
  color:var(--muted);
}

/* Mobile drawer */
.drawer{
  position:fixed;
  inset:0;
  background: rgba(2,6,23,.45);
  display:none;
  z-index:60;
}

.drawer.open{
  display:block;
}

.panel{
  position:absolute;
  right:14px;
  top:14px;
  width:min(360px, calc(100% - 28px));
  background:#fff;
  border:1px solid var(--line);
  border-radius:20px;
  padding:14px;
  box-shadow: var(--shadow);
}

.panel a{
  display:block;
  padding:12px 12px;
  border-radius:14px;
  color:var(--fg);
  font-weight:650;
}

.panel a:hover{
  background: var(--soft);
}

.panel .row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:8px 8px 12px;
}

.x{
  border:1px solid var(--line);
  background:#fff;
  border-radius:12px;
  width:36px;
  height:36px;
  cursor:pointer;
}

/* Hero image */
.hero-image-wrapper{
  max-width:900px;
  margin:0 auto;
}

.hero-image{
  width:100%;
  height:auto;
  display:block;
}

/* Section variants */
.section-soft{
  background: var(--soft);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.section-light-gradient{
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  border-top:1px solid var(--line);
}

.section-soft-top{
  background: var(--soft);
  border-top:1px solid var(--line);
}

/* Utilities */
.mt-0{
  margin-top:0;
}

.mb-10{
  margin-bottom:10px;
}

.mt-18{
  margin-top:18px;
}

/* Responsive */
@media (max-width: 920px){
  .hero-grid{ grid-template-columns:1fr; }
  .grid3{ grid-template-columns:1fr; }
  .grid2{ grid-template-columns:1fr; }
}

@media (max-width: 860px){
  .menu{ display:none; }
  .hamburger{ display:inline-flex; }
  .btn{ padding:10px 12px; }
}

/* ---------------------------
   Takedown / legal page
---------------------------- */

.hero--legal{
  padding-top:56px;
  padding-bottom:74px;
}

.hero-grid--legal{
  align-items:start;
}

.legal-grid{
  display:grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap:24px;
  align-items:start;
}

.legal-sidebar{
  position:sticky;
  top:96px;
}

.legal-sidebar h3{
  margin:0 0 10px;
  font-size:18px;
}

.legal-list{
  margin:14px 0 0;
  padding-left:18px;
  color:var(--muted);
  font-size:14px;
}

.legal-list li + li{
  margin-top:8px;
}

.notice-box{
  margin-top:18px;
  padding:14px 16px;
  border-radius:16px;
  border:1px solid var(--line);
}

.notice-box--soft{
  background:linear-gradient(180deg, #ffffff, #fbfdff);
}

.notice-box strong{
  display:block;
  margin-bottom:6px;
  font-size:14px;
}

.notice-box p{
  margin:0;
  font-size:14px;
}

/* Main form card */
.takedown-card{
  padding:24px;
}

.takedown-form{
  margin-top:20px;
}

.form-section + .form-section{
  margin-top:26px;
  padding-top:24px;
  border-top:1px solid var(--line);
}

.form-section h3{
  margin:0 0 14px;
  font-size:18px;
}

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

.field{
  display:flex;
  flex-direction:column;
  gap:8px;
}

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

.field label{
  font-size:14px;
  font-weight:700;
  color:var(--fg);
}

.field input,
.field select,
.field textarea{
  width:100%;
  border:1px solid var(--line);
  background:#fff;
  color:var(--fg);
  border-radius:14px;
  padding:13px 14px;
  font:inherit;
  line-height:1.4;
  transition:border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.field textarea{
  resize:vertical;
  min-height:120px;
}

.field input[type="file"]{
  padding:10px 12px;
  background:var(--soft);
}

.field input:focus,
.field select:focus,
.field textarea:focus{
  outline:none;
  border-color:var(--brand1);
  box-shadow:0 0 0 4px rgba(37,99,235,.12);
}

.help{
  font-size:12px;
  color:var(--muted);
}

.check{
  display:flex;
  align-items:flex-start;
  gap:12px;
  padding:12px 14px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
}

.check + .check{
  margin-top:12px;
}

.check input{
  margin-top:2px;
  flex:0 0 auto;
}

.check span{
  font-size:14px;
  color:var(--muted);
}

.form-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:28px;
  padding-top:24px;
  border-top:1px solid var(--line);
}

/* Better logo image handling */
.logo-img{
  display:block;
  height:38px;
  width:auto;
}

.brand--compact .logo-img{
  height:32px;
}

/* Slightly calmer legal-page spacing */
.takedown-card h2{
  margin-bottom:10px;
}

/* Responsive */
@media (max-width: 980px){
  .legal-grid{
    grid-template-columns:1fr;
  }

  .legal-sidebar{
    position:static;
  }
}

.hp-field{
  position:absolute !important;
  left:-9999px !important;
  width:1px !important;
  height:1px !important;
  opacity:0 !important;
  pointer-events:none !important;
}

@media (max-width: 700px){
  .form-grid{
    grid-template-columns:1fr;
  }

  .takedown-card{
    padding:18px;
  }

  .form-actions{
    flex-direction:column;
    align-items:stretch;
  }

  .form-actions .btn{
    width:100%;
  }
}

/* ---------------------------
   Terms / legal rich text
---------------------------- */

.legal-meta{
  margin-top:10px;
}

.legal-toc{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-top:10px;
}

.legal-toc a{
  display:block;
  padding:10px 12px;
  border-radius:12px;
  font-size:14px;
  color:var(--muted);
  border:1px solid transparent;
}

.legal-toc a:hover{
  background:var(--soft);
  color:var(--fg);
  border-color:var(--line);
}

.legal-richtext{
  padding:28px;
}

.legal-richtext section + section{
  margin-top:28px;
  padding-top:28px;
  border-top:1px solid var(--line);
}

.legal-richtext h2{
  margin:0 0 12px;
  font-size:24px;
}

.legal-richtext p{
  margin:0 0 14px;
  font-size:15px;
  color:var(--muted);
}

.legal-richtext ul{
  margin:0 0 16px 0;
  padding-left:20px;
  color:var(--muted);
}

.legal-richtext li{
  margin:0 0 10px;
}

.legal-richtext a{
  color:var(--brand1);
  text-decoration:underline;
  text-underline-offset:2px;
}

.legal-richtext a:hover{
  color:#1d4ed8;
}

@media (max-width: 700px){
  .legal-richtext{
    padding:20px;
  }

  .legal-richtext h2{
    font-size:21px;
  }
}

/* ---------------------------
   Terms / Privacy rich text
---------------------------- */

.legal-meta{
  margin-top:10px;
}

.legal-toc{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-top:10px;
}

.legal-toc a{
  display:block;
  padding:10px 12px;
  border-radius:12px;
  font-size:14px;
  color:var(--muted);
  border:1px solid transparent;
}

.legal-toc a:hover{
  background:var(--soft);
  color:var(--fg);
  border-color:var(--line);
}

.legal-richtext{
  padding:28px;
}

.legal-richtext section + section{
  margin-top:28px;
  padding-top:28px;
  border-top:1px solid var(--line);
}

.legal-richtext h2{
  margin:0 0 12px;
  font-size:24px;
}

.legal-richtext p{
  margin:0 0 14px;
  font-size:15px;
  color:var(--muted);
}

.legal-richtext ul{
  margin:0 0 16px 0;
  padding-left:20px;
  color:var(--muted);
}

.legal-richtext li{
  margin:0 0 10px;
}

.legal-richtext a{
  color:var(--brand1);
  text-decoration:underline;
  text-underline-offset:2px;
}

.legal-richtext a:hover{
  color:#1d4ed8;
}

@media (max-width: 700px){
  .legal-richtext{
    padding:20px;
  }

  .legal-richtext h2{
    font-size:21px;
  }
}

.notice-box {
  padding: 16px 18px;
  border-radius: 10px;
  margin: 18px 0 22px;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Success message */
.notice-box--success {
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #065f46;
}

/* Error message */
.notice-box--error {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #7f1d1d;
}