/* humanTTS — 2005-era Web 2.0 stylesheet
   Gradients, gel buttons, rounded corners, Trebuchet everywhere.
   If you remember del.icio.us, this will feel correct. */

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0;
  font-family: "Trebuchet MS", "Lucida Grande", Verdana, Tahoma, sans-serif;
  font-size: 13px;
  color: #333;
  background: #e9eef3;
  background-image: linear-gradient(to bottom, #e9eef3 0%, #c8d4e0 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

.inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
}

/* -------- Top bar -------- */

#top-bar {
  background: linear-gradient(to bottom, #fff4d6 0%, #ffd36e 100%);
  border-bottom: 1px solid #d4a200;
  font-size: 11px;
  padding: 5px 0;
  color: #5a4200;
}
#top-bar .inner { display: flex; align-items: center; gap: 16px; }
.beta-bar {
  font-weight: bold;
  color: #cc0000;
  background: rgba(255,255,255,0.5);
  padding: 1px 6px;
  border-radius: 3px;
  border: 1px solid #d4a200;
}
.status { color: #4a3800; }
.right-links { margin-left: auto; }
.right-links a { color: #2a6fb5; text-decoration: none; }
.right-links a:hover { text-decoration: underline; }

/* -------- Masthead -------- */

#masthead {
  background: linear-gradient(to bottom, #ffffff 0%, #e0e8f0 100%);
  border-bottom: 2px solid #3a7dd4;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  padding: 20px 0 16px 0;
}
#masthead .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  font-size: 44px;
  margin: 0;
  font-weight: bold;
  letter-spacing: -1.5px;
  color: #2a6fb5;
  text-shadow: 0 1px 0 rgba(255,255,255,1), 0 2px 4px rgba(0,0,0,0.06);
}
.logo .accent { color: #f58220; }
.beta-badge {
  display: inline-block;
  background: linear-gradient(to bottom, #ff6060 0%, #cc0000 100%);
  color: white;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 10px;
  vertical-align: super;
  margin-left: 6px;
  font-weight: bold;
  letter-spacing: 0.5px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 1px 2px rgba(0,0,0,0.3);
  text-shadow: 0 -1px 0 rgba(0,0,0,0.3);
  border: 1px solid #8a0000;
}
#masthead nav a {
  color: #2a6fb5;
  text-decoration: none;
  margin-left: 20px;
  font-weight: bold;
  font-size: 13px;
}
#masthead nav a:hover { text-decoration: underline; }

/* -------- Gel button -------- */

.gel-button {
  display: inline-block;
  background: linear-gradient(to bottom,
    #5a9ee8 0%,
    #3a7dd4 48%,
    #2a6fb5 52%,
    #1e5296 100%);
  border: 1px solid #14437f;
  border-radius: 8px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.55),
    inset 0 -1px 0 rgba(0,0,0,0.15),
    0 2px 4px rgba(0,0,0,0.22);
  color: white;
  text-decoration: none;
  text-shadow: 0 -1px 0 rgba(0,0,0,0.35);
  padding: 8px 18px;
  font-weight: bold;
  font-size: 13px;
  position: relative;
  cursor: pointer;
}
.gel-button::before {
  content: "";
  position: absolute;
  top: 1px; left: 1px; right: 1px;
  height: 45%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.55), rgba(255,255,255,0.05));
  border-radius: 7px 7px 20px 20px / 7px 7px 12px 12px;
  pointer-events: none;
}
.gel-button.big {
  padding: 14px 34px;
  font-size: 17px;
  border-radius: 12px;
}
.gel-button.big::before { border-radius: 11px 11px 22px 22px / 11px 11px 14px 14px; }
.gel-button.gray {
  background: linear-gradient(to bottom,
    #f0f0f0 0%,
    #d4d4d4 48%,
    #bebebe 52%,
    #9e9e9e 100%);
  border-color: #707070;
  color: #2a2a2a;
  text-shadow: 0 1px 0 rgba(255,255,255,0.6);
}
.gel-button:hover { filter: brightness(1.06); }
.gel-button:active {
  box-shadow:
    inset 0 2px 4px rgba(0,0,0,0.35),
    0 1px 0 rgba(255,255,255,0.1);
  transform: translateY(1px);
}

/* -------- Hero -------- */

#hero {
  background: linear-gradient(to bottom, #f5faff 0%, #d8e8f5 100%);
  border-bottom: 1px solid #9ab8d0;
  padding: 56px 0;
}
#hero .inner {
  display: flex;
  align-items: center;
  gap: 40px;
}
.hero-text { flex: 2; }
.hero-art { flex: 1; text-align: center; }
.hero-text h2 {
  font-size: 44px;
  line-height: 1.08;
  margin: 0 0 18px 0;
  color: #1a3a5c;
  text-shadow: 0 1px 0 rgba(255,255,255,1);
  letter-spacing: -0.5px;
}
.hero-text h2 em {
  color: #f58220;
  font-style: italic;
  text-shadow: 0 1px 0 rgba(255,255,255,1), 0 2px 4px rgba(245,130,32,0.25);
}
.lede {
  font-size: 17px;
  line-height: 1.55;
  color: #445a70;
  margin: 0 0 26px 0;
  max-width: 560px;
}
.cta-row { margin-bottom: 16px; }
.cta-row .gel-button { margin-right: 12px; }
.tiny { font-size: 11px; color: #667889; }

/* -------- Starburst -------- */

.starburst {
  position: relative;
  display: inline-block;
  width: 200px;
  height: 200px;
  transform: rotate(-8deg);
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.25));
}
.starburst svg {
  width: 100%;
  height: 100%;
  display: block;
}
.starburst-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5a2000;
  font-weight: bold;
  font-size: 22px;
  line-height: 1.05;
  text-shadow: 0 1px 0 rgba(255,255,255,0.55);
  transform: rotate(0deg);
  letter-spacing: 0.5px;
}
.starburst-label span { display: inline-block; text-align: center; }

/* -------- Sections -------- */

section {
  padding: 48px 0;
  border-bottom: 1px solid #c8d4e0;
}
section h2 {
  font-size: 30px;
  color: #1a3a5c;
  margin: 0 0 12px 0;
  text-shadow: 0 1px 0 rgba(255,255,255,1);
  letter-spacing: -0.3px;
}
.section-lede {
  font-size: 15px;
  color: #445a70;
  margin: 0 0 22px 0;
  max-width: 720px;
  line-height: 1.5;
}
section p {
  line-height: 1.6;
  max-width: 740px;
  margin: 0 0 14px 0;
}
.pitch-question {
  font-size: 22px;
  color: #2a6fb5;
  margin: 18px 0 22px 0;
}

section code {
  background: #f0f4f8;
  border: 1px solid #c8d4e0;
  padding: 1px 6px;
  border-radius: 3px;
  font-family: "Monaco", "Consolas", "Lucida Console", monospace;
  font-size: 12px;
  color: #1a3a5c;
}

/* Alternating section backgrounds */
#pitch { background: #f4f7fa; }
#how { background: #ffffff; }
#voices { background: #f4f7fa; }
#pricing { background: #ffffff; }
#errors { background: #f4f7fa; }
#testimonials { background: #ffffff; }
#faq { background: #f4f7fa; }
#signup {
  background: linear-gradient(to bottom, #ffedc4 0%, #ffd36e 100%);
  border-top: 2px solid #d4a200;
  border-bottom: 2px solid #d4a200;
}

/* -------- Steps -------- */

.steps {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 24px 0 0 0;
}
.steps li {
  background: white;
  border: 1px solid #c8d4e0;
  border-radius: 10px;
  padding: 20px 22px 18px 76px;
  position: relative;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.step-num {
  position: absolute;
  left: 16px;
  top: 18px;
  width: 44px;
  height: 44px;
  line-height: 44px;
  text-align: center;
  border-radius: 50%;
  background: linear-gradient(to bottom, #5a9ee8 0%, #1e5296 100%);
  color: white;
  font-size: 22px;
  font-weight: bold;
  text-shadow: 0 -1px 0 rgba(0,0,0,0.35);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.55),
    0 2px 4px rgba(0,0,0,0.22);
  border: 1px solid #14437f;
}
.steps h3 {
  margin: 0 0 6px 0;
  font-size: 16px;
  color: #2a6fb5;
}
.steps p {
  margin: 0;
  font-size: 13px;
  color: #445a70;
  line-height: 1.5;
}

/* -------- Tables -------- */

table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  background: white;
  border: 1px solid #c8d4e0;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 14px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
table th {
  background: linear-gradient(to bottom, #e6eef8 0%, #c8d8ea 100%);
  text-align: left;
  padding: 11px 16px;
  font-size: 12px;
  color: #1a3a5c;
  border-bottom: 1px solid #9ab8d0;
  text-shadow: 0 1px 0 rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
table td {
  padding: 11px 16px;
  border-bottom: 1px solid #e4eaf0;
  font-size: 13px;
  vertical-align: top;
  line-height: 1.5;
}
table tr:last-child td { border-bottom: none; }
table tr:nth-child(even) td { background: #fafcfe; }

.pricing-table tr.free td { background: linear-gradient(to bottom, #e6f9e0, #c8e8bd); }
.pricing-table tr.free strong { color: #2a7d1a; }
.voice-table code,
.error-table code {
  color: #b03000;
  background: #fff4e6;
  border-color: #ffd9a8;
}
.error-table td:first-child {
  width: 84px;
  text-align: center;
  font-weight: bold;
  font-size: 14px;
}

/* -------- Testimonials -------- */

.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 20px;
}
.quote-grid blockquote {
  margin: 0;
  background: white;
  border: 1px solid #c8d4e0;
  border-left: 4px solid #3a7dd4;
  border-radius: 8px;
  padding: 18px 22px 16px 22px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.quote-grid blockquote p {
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 10px 0;
  color: #333;
  font-style: italic;
}
.quote-grid cite {
  font-style: normal;
  font-size: 12px;
  color: #667889;
  font-weight: bold;
}
.quote-grid cite::before { content: "— "; color: #99a8b8; }

/* -------- FAQ -------- */

#faq dl {
  margin: 24px 0 0 0;
  max-width: 740px;
}
#faq dt {
  font-weight: bold;
  color: #2a6fb5;
  margin-top: 18px;
  font-size: 14px;
}
#faq dt:first-of-type { margin-top: 0; }
#faq dd {
  margin: 5px 0 0 0;
  color: #445a70;
  line-height: 1.6;
  font-size: 13px;
}
#faq dd em { color: #f58220; font-style: italic; }

/* -------- Signup -------- */

.signup-form {
  display: flex;
  gap: 12px;
  max-width: 540px;
  margin: 20px 0 10px 0;
  align-items: stretch;
}
.signup-form input[type=email] {
  flex: 1;
  padding: 12px 14px;
  font-size: 15px;
  border: 1px solid #a4a4a4;
  border-radius: 8px;
  background: linear-gradient(to bottom, #f0f0f0 0%, #ffffff 40%);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
  font-family: inherit;
  color: #333;
}
.signup-form input[type=email]:focus {
  outline: none;
  border-color: #3a7dd4;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.1), 0 0 0 3px rgba(58,125,212,0.25);
}

/* -------- Footer -------- */

#foot {
  background: linear-gradient(to bottom, #1a3a5c 0%, #0a1e32 100%);
  color: #b4c4d4;
  padding: 34px 0;
  text-align: center;
  font-size: 12px;
  border-bottom: none;
}
#foot p { margin: 6px 0; max-width: none; line-height: 1.55; }
#foot a { color: #8abde8; text-decoration: none; margin: 0 2px; }
#foot a:hover { text-decoration: underline; }
#foot .footer-links { color: #667889; }
#foot .tiny { color: #667889; }

/* -------- Responsive -------- */

@media (max-width: 760px) {
  .inner { padding: 0 16px; }
  #top-bar .inner { flex-wrap: wrap; gap: 8px; }
  .right-links { margin-left: 0; }
  #masthead .inner { flex-direction: column; gap: 14px; }
  #masthead nav a { margin: 0 8px; }
  .logo { font-size: 36px; }
  #hero .inner { flex-direction: column; text-align: center; }
  .lede { max-width: none; }
  .hero-text h2 { font-size: 32px; }
  .starburst { width: 160px; height: 160px; }
  .starburst-label { font-size: 18px; }
  .steps { grid-template-columns: 1fr; }
  .quote-grid { grid-template-columns: 1fr; }
  section h2 { font-size: 24px; }
  .signup-form { flex-direction: column; }
}
