:root{
  /* Palette (light, calm, B2B SaaS) */
  --bg: #f6f8ff;
  --surface: #ffffff;
  --text: #0d1b2a;
  --muted: #4d5b72;
  --line: #e4e9f5;

  --brand: #0ea5a4;     /* teal */
  --brand2: #4f46e5;    /* indigo */
  --shadow: 0 16px 40px rgba(15, 23, 42, .10);
}

*{ box-sizing: border-box; }

html, body{ margin: 0; padding: 0; }

body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans";
  color: var(--text);
  background:
    radial-gradient(900px 380px at 15% 0%, rgba(14,165,164,.18), transparent 60%),
    radial-gradient(900px 420px at 85% 0%, rgba(79,70,229,.16), transparent 60%),
    var(--bg);
}

a{ color: inherit; }
a:hover{ text-decoration: underline; }

.wrap{
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px;
}

/* Header / nav */
header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
}

.brand{
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .2px;
}

.logo{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: conic-gradient(from 220deg, var(--brand), var(--brand2), var(--brand));
  box-shadow: 0 10px 22px rgba(79, 70, 229, .20);
}

nav a{
  margin-left: 18px;
  text-decoration: none;
  color: var(--muted);
  font-weight: 650;
}

nav a[aria-current="page"]{
  color: var(--text);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

nav a:hover{
  color: var(--text);
}

/* Buttons */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 10px 25px rgba(15, 23, 42, .06);
  font-weight: 750;
}

.btn.primary{
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--brand2), var(--brand));
  box-shadow: 0 18px 36px rgba(79, 70, 229, .20);
}

.btn:hover{ transform: translateY(-1px); }

/* Sections / typography */
section{ padding: 22px 0; }

h1, h2, h3{ margin: 0; letter-spacing: -0.01em; }

h2{
  font-size: 26px;
  margin: 0 0 10px;
}

.muted{
  color: var(--muted);
  line-height: 1.7;
}

/* Panels and cards */
.panel{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.two{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}

.card{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
}

.card h3{
  margin: 2px 0 8px;
  font-size: 16px;
}

.card p{
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

/* Forms */
label{
  font-size: 13px;
  color: var(--muted);
  font-weight: 700;
}

input, textarea{
  width: 100%;
  margin: 6px 0 12px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  font: inherit;
}

input:focus, textarea:focus{
  outline: none;
  border-color: rgba(79,70,229,.55);
  box-shadow: 0 0 0 4px rgba(79,70,229,.12);
}

/* FAQ */
details{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .05);
}

details + details{ margin-top: 10px; }

summary{
  cursor: pointer;
  font-weight: 800;
}

/* Footer */
footer{
  margin-top: 22px;
  padding: 22px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.foot{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

/* Responsive */
@media (max-width: 900px){
  nav{ display: none; }
  .grid{ grid-template-columns: 1fr; }
  .two{ grid-template-columns: 1fr; }
}
