@font-face {
  font-family: "Baloo Local";
  src: url("./assets/fonts/baloo2-800.ttf") format("truetype");
  font-weight: 800;
}

@font-face {
  font-family: "Nunito Local";
  src: url("./assets/fonts/nunito-800.ttf") format("truetype");
  font-weight: 800;
}

:root {
  --yellow: #ffc83d;
  --green: #1f8f4e;
  --orange: #f59e0b;
  --cream: #fff7e1;
  --paper: #fffdf7;
  --ink: #2a211b;
  --muted: #76685d;
  --line: rgba(42, 33, 27, 0.14);
  --shadow: 0 24px 70px rgba(74, 46, 27, 0.16);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 8%, rgba(255, 200, 61, 0.32), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(31, 143, 78, 0.18), transparent 30%),
    linear-gradient(135deg, #fff4c8, #fffdf7 42%, #e9f8ef);
  font-family: "Nunito Local", "Segoe UI", sans-serif;
}

img {
  max-width: 100%;
  display: block;
}

.trial-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px min(5vw, 56px);
  background: rgba(255, 250, 240, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand,
.nav-link {
  color: inherit;
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Baloo Local", sans-serif;
  font-size: 1.35rem;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 14px;
}

.nav-link {
  padding: 10px 14px;
  border-radius: 999px;
  background: white;
  border: 1px solid var(--line);
  font-weight: 1000;
}

.trial-hero,
.trial-layout {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 58px min(5vw, 24px);
}

.trial-hero {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1,
h2 {
  margin: 0;
  font-family: "Baloo Local", sans-serif;
  line-height: 0.95;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  font-size: clamp(3rem, 8vw, 6.6rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.8rem);
}

.lead,
.trial-note p,
.hero-card p,
.privacy {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
  font-weight: 800;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-points span {
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 1000;
}

.hero-card,
.trial-note,
.trial-form {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 253, 247, 0.82);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 20px;
}

.hero-card img {
  width: 230px;
  margin: -30px auto -6px;
}

.hero-card strong {
  display: block;
  font-family: "Baloo Local", sans-serif;
  font-size: 1.8rem;
}

.trial-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 24px;
  align-items: start;
  padding-top: 16px;
}

.trial-note,
.trial-form {
  padding: 24px;
}

.trial-note {
  position: sticky;
  top: 92px;
}

.trial-note ul {
  padding-left: 20px;
  color: var(--muted);
  font-weight: 900;
  line-height: 1.65;
}

.form-head {
  margin-bottom: 20px;
}

.grid {
  display: grid;
  gap: 14px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

label,
legend {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  font-weight: 1000;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(42, 33, 27, 0.18);
  border-radius: 16px;
  background: white;
  color: var(--ink);
  padding: 12px 14px;
  font: inherit;
  font-weight: 800;
  outline: none;
}

textarea {
  min-height: 108px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(31, 143, 78, 0.12);
}

fieldset {
  margin: 8px 0 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff9df;
}

.check {
  grid-template-columns: 22px 1fr;
  align-items: start;
  margin-bottom: 10px;
  color: var(--muted);
}

.check input {
  min-height: auto;
  margin-top: 4px;
}

.submit {
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--green), #27ae60);
  color: white;
  box-shadow: 0 14px 30px rgba(31, 143, 78, 0.22);
  font: inherit;
  font-weight: 1000;
  cursor: pointer;
}

.submit:disabled {
  opacity: 0.65;
  cursor: wait;
}

.form-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--muted);
  font-weight: 1000;
  text-align: center;
}

.form-status[data-state="success"] {
  color: var(--green);
}

.form-status[data-state="error"] {
  color: #b42318;
}

@media (max-width: 860px) {
  .trial-nav {
    padding: 12px 14px;
  }

  .trial-hero,
  .trial-layout,
  .grid.two {
    grid-template-columns: 1fr;
  }

  .trial-hero,
  .trial-layout {
    padding: 42px 14px;
  }

  .trial-layout {
    padding-top: 0;
  }

  .trial-note {
    position: static;
  }
}
