:root{
  --bg:#ffffff;
  --text:#202124;
  --muted:#5f6368;
  --line:#dadce0;

  --msa-blue:#35A3FD;
  --msa-orange:#FBA851;
  --msa-pink:#EF6B66;

  /* Bigger sizing */
  --base-font: 18px;

  /* Textarea sizing control */
  --ta-line: 24px;      /* bigger line height */
  --ta-max-lines: 7;
}

*{ box-sizing:border-box; }

body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: var(--base-font);
}

a{ color: var(--text); text-decoration: none; }
a:hover{ text-decoration: underline; }

.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 20px;
  background:#fff;
}

.brand{ display:flex; align-items:center; }
.brandLogo{
  height:42px;     /* larger */
  width:auto;
  display:block;
  object-fit:contain;
}

.nav a{
  margin-left:18px;
  font-weight:600;
  color: var(--muted);
  font-size: 16px;
}
.nav a:hover{ color: var(--text); text-decoration:none; }

/* Centered layout like Google, but bigger */
.container{
  max-width: 1100px;
  margin: 0 auto;
  padding: 70px 20px 30px;
}

.hero{
  display:flex;
  flex-direction:column;
  align-items:center;
}

.searchRow{
  width: min(920px, 100%);
  display:flex;
  gap:12px;
  align-items:flex-start;
}

/* Search box: default 2 lines; grows up to 7 lines then scrolls */
.searchBox{
  flex:1;
  width:100%;
  padding:14px 18px;
  border-radius: 26px;
  border: 1px solid var(--line);
  background:#fff;
  color: var(--text);
  font-size:18px;
  font-family:inherit;

  resize:none;
  line-height: var(--ta-line);

  min-height: calc(var(--ta-line) * 2 + 28px);
  max-height: calc(var(--ta-line) * var(--ta-max-lines) + 28px);

  overflow:auto;
  box-shadow: 0 1px 3px rgba(60,64,67,.10);
}

.searchBox:focus{
  outline:none;
  box-shadow: 0 3px 12px rgba(60,64,67,.16);
  border-color: #c6c6c6;
}

.searchBox::placeholder{ color:#80868b; }

/* Search button: standard-ish height (NOT tall like textarea) */
#searchBtn{
  height: 44px;
  margin-top: 6px; /* aligns visually with 2-line textarea */
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #f8f9fa;
  color: var(--text);
  cursor:pointer;
  font-weight:600;
  font-size: 16px;
}
#searchBtn:hover{ background:#f1f3f4; }

.engineSection{
  width: min(920px, 100%);
  margin-top: 18px;
}

.engineBar{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}

.engineRow{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:center;
}

/* Provider buttons: smaller/standard height */
.engineTile{
  height: 40px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.engineTile:hover{ background:#f8f9fa; }

.engineTile img{
  height: 20px;
  width:auto;
  max-width: 160px;
  object-fit: contain;
  display:block;
}

.moreBtn{
  height: 40px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background:#fff;
  color: var(--muted);
  font-weight:600;
  display:flex;
  align-items:center;
  gap:6px;
  cursor:pointer;
  font-size: 16px;
}
.moreBtn:hover{ background:#f8f9fa; color: var(--text); }
.chev{ opacity:.7; }

.hidden{ display:none !important; }

/* Log: clean text lines */
.log{
  margin-top: 14px;
  display:grid;
  gap:8px;
}

.logItem{
  font-size: 14px;
  color: var(--muted);
  line-height: 1.4;
}

.gradientText{
  background: linear-gradient(90deg, var(--msa-blue) 0%, var(--msa-orange) 55%, var(--msa-pink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* About/Privacy: plain page, no frames */
.page{
  max-width: 980px;
  margin: 0 auto;
  padding: 30px 20px 70px;
  font-size: 16px;
}

.muted{ color: var(--muted); }
.rule{ border:0; border-top:1px solid #eee; margin:18px 0; }

/* Mobile */
@media (max-width: 640px){
  .container{ padding-top: 34px; }

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

  #searchBtn{
    width:100%;
    height:44px;
    margin-top: 0;
  }

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

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

  .engineTile,
  .moreBtn{
    width:100%;
    justify-content:center;
  }

  .engineTile img{
    max-width: 240px;
  }
}
