@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700&display=swap");
:root {
  --ink: #0b201a;
  --green: #1b694c;
  --lime: #c9ef8c;
  --paper: #f3f4ed;
  --line: rgba(11, 32, 26, 0.13);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background:
    radial-gradient(circle at 9% 12%, #dff1d1 0, transparent 24rem),
    var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  min-height: 100vh;
}
header,
footer {
  height: 84px;
  padding: 0 clamp(24px, 6vw, 88px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
a {
  color: inherit;
  text-decoration: none;
}
.brand {
  font: 700 20px Manrope;
  display: flex;
  gap: 10px;
  align-items: center;
}
.brand span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--ink);
  color: var(--lime);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}
.menu-button {
  border: 0;
  background: var(--ink);
  color: white;
  border-radius: 100px;
  padding: 12px 17px;
  display: grid;
  grid-template-columns: 18px auto;
  gap: 3px 10px;
  cursor: pointer;
}
.menu-button i {
  grid-column: 1;
  width: 18px;
  border-top: 1.5px solid currentColor;
}
.menu-button b {
  grid-column: 2;
  grid-row: 1/4;
  font: 600 13px DM Sans;
  align-self: center;
}
main {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(420px, 1.05fr);
  gap: clamp(42px, 7vw, 110px);
  max-width: 1320px;
  margin: auto;
  padding: clamp(60px, 8vw, 116px) clamp(24px, 6vw, 88px);
}
.eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-weight: 700;
}
.eyebrow i {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #35a56f;
  border-radius: 50%;
  margin-right: 8px;
}
h1 {
  font: 600 clamp(55px, 7vw, 100px)/0.9 Manrope;
  margin: 27px 0;
}
h1 em {
  font-family: Georgia, serif;
  font-weight: 400;
  color: var(--green);
}
.lede {
  font-size: 18px;
  line-height: 1.65;
  max-width: 580px;
  color: #466057;
}
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 38px;
}
.facts span {
  border: 1px solid var(--line);
  border-radius: 50px;
  padding: 8px 12px;
  font-size: 12px;
}
.studio {
  background: #fff;
  border: 1px solid rgba(11, 32, 26, 0.08);
  border-radius: 30px;
  padding: clamp(25px, 4vw, 45px);
  box-shadow: 0 28px 80px rgba(12, 47, 36, 0.12);
}
.studio-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
}
.studio-head p {
  margin: 0;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}
.studio h2 {
  font: 600 27px Manrope;
  margin: 8px 0 28px;
}
.state {
  background: #ecf6e7;
  border-radius: 50px;
  padding: 8px 12px;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
}
label {
  font-size: 13px;
  font-weight: 700;
}
textarea {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 16px;
  resize: vertical;
  font: 16px/1.6 DM Sans;
  color: var(--ink);
  outline: none;
}
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(27, 105, 76, 0.09);
}
.under {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #71827c;
  font-size: 11px;
  margin: 9px 2px 21px;
}
.voice-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 16px 0;
}
.voice-row select,
.audio-tools select {
  max-width: 70%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px;
  background: white;
}
.speak {
  width: 100%;
  border: 0;
  border-radius: 15px;
  padding: 17px;
  background: var(--ink);
  color: white;
  font: 600 14px DM Sans;
  cursor: pointer;
}
.speak span {
  color: var(--lime);
  margin-right: 9px;
}
.speak:disabled {
  opacity: 0.45;
}
.result {
  border-top: 1px solid var(--line);
  margin-top: 25px;
  padding-top: 22px;
}
.ready {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ready > span {
  background: var(--lime);
  padding: 10px;
  border-radius: 10px;
}
.ready small {
  display: block;
  color: #71827c;
  margin-top: 3px;
}
audio {
  width: 100%;
  margin: 18px 0;
}
.audio-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.audio-tools a {
  font-weight: 700;
  color: var(--green);
}
.status {
  font-size: 13px;
  color: #9b352f;
}
.locale-menu {
  position: fixed;
  z-index: 20;
  right: 0;
  top: 0;
  height: 100dvh;
  width: min(520px, 94vw);
  background: #fbfcf7;
  padding: 35px;
  box-shadow: -30px 0 90px rgba(4, 24, 17, 0.2);
  overflow: auto;
}
.scrim {
  position: fixed;
  inset: 0;
  background: rgba(3, 20, 14, 0.52);
  backdrop-filter: blur(5px);
  z-index: 19;
}
.menu-head {
  display: flex;
  justify-content: space-between;
}
.menu-head small {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--green);
}
.menu-head h2 {
  font: 600 38px Manrope;
  margin: 5px 0 20px;
}
.menu-head button {
  border: 0;
  background: transparent;
  font-size: 34px;
  cursor: pointer;
}
.locale-menu input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  margin-bottom: 16px;
}
.locale-menu a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px;
  border-radius: 14px;
}
.locale-menu a:hover,
.locale-menu a.active {
  background: #eaf2e3;
}
.locale-menu a span {
  display: grid;
  gap: 3px;
}
.locale-menu a small {
  color: #6a7c75;
}
.locale-menu a > i {
  font-style: normal;
  font-size: 9px;
  text-transform: uppercase;
  padding: 5px 7px;
  border-radius: 8px;
  background: #e4e9e4;
}
.locale-menu a > i.released {
  background: #d7f3c4;
  color: #245f38;
}
footer {
  border-top: 1px solid var(--line);
  border-bottom: 0;
  height: auto;
  min-height: 84px;
  font-size: 13px;
}
.menu-open {
  overflow: hidden;
}
@media (max-width: 850px) {
  header {
    height: 72px;
  }
  .nav-actions > a {
    display: none;
  }
  main {
    grid-template-columns: 1fr;
    padding-top: 48px;
  }
  .intro {
    padding-bottom: 5px;
  }
  h1 {
    font-size: 57px;
  }
  .studio {
    border-radius: 23px;
  }
  .under {
    align-items: start;
    flex-direction: column;
  }
  .locale-menu {
    padding: 26px;
  }
  footer {
    gap: 20px;
    align-items: flex-start;
    flex-direction: column;
    padding-top: 25px;
    padding-bottom: 25px;
  }
}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.text-entry{position:relative}.text-entry textarea{padding-right:76px;padding-bottom:70px}.text-entry .speak{position:absolute;right:16px;bottom:16px;display:grid;place-items:center;width:52px;height:52px;padding:0;border:1px solid rgba(255,255,255,.2);border-radius:50%;background:linear-gradient(145deg,#236a4d,#08251b);color:white;box-shadow:0 10px 24px rgba(8,37,27,.28);transition:transform .18s ease,box-shadow .18s ease}.text-entry .speak:hover:not(:disabled){transform:translateY(-2px) scale(1.03);box-shadow:0 14px 28px rgba(8,37,27,.34)}.text-entry .speak svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}.text-entry .speak.is-speaking{background:linear-gradient(145deg,#d5a33e,#8a641c);animation:speaking-pulse 1s ease-in-out infinite alternate}.text-entry .speak:disabled{opacity:.45;cursor:not-allowed}@keyframes speaking-pulse{to{transform:scale(1.08)}}
