:root {
  color-scheme: light;
  --trial-ink: #071426;
  --trial-brand: #1768ed;
  --trial-border: #dbe3ef;
  --trial-muted: #64748b;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
}

button,
input,
textarea {
  font: inherit;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #60a5fa;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: -5rem;
  left: 1rem;
  z-index: 100;
  border-radius: 8px;
  background: #fff;
  padding: 12px 16px;
  color: var(--trial-ink);
  font-weight: 800;
  transition: top 180ms ease;
}

.skip-link:focus {
  top: 1rem;
}

.trial-layout {
  display: grid;
  min-height: 100vh;
  grid-template-columns: minmax(360px, 35%) minmax(0, 65%);
  background: #fff;
}

.trial-story {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  background: #071426;
  color: #fff;
}

.trial-story-image,
.trial-story-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.trial-story-image {
  object-fit: cover;
  object-position: center;
}

.trial-story-overlay {
  background:
    linear-gradient(180deg, rgba(7, 20, 38, .72) 0%, rgba(7, 20, 38, .5) 38%, rgba(7, 20, 38, .92) 100%),
    linear-gradient(90deg, rgba(7, 20, 38, .5), rgba(7, 20, 38, .15));
}

.trial-story-content {
  position: relative;
  z-index: 1;
  display: grid;
  height: 100%;
  grid-template-rows: auto 1fr auto;
  gap: 26px;
  padding: 36px 42px;
}

.trial-story-main {
  align-self: center;
}

.trial-kicker,
.trial-eyebrow {
  display: block;
  color: #bfdbfe;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.trial-story-main h1 {
  max-width: 520px;
  margin: 18px 0 0;
  font-size: 46px;
  font-weight: 800;
  line-height: 1.04;
}

.trial-story-main h1 span {
  color: #60a5fa;
}

.trial-story-main > p {
  max-width: 500px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.75;
}

.trial-benefits {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.trial-benefits li {
  display: flex;
  align-items: center;
  gap: 14px;
}

.trial-benefit-icon {
  display: grid;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 14px;
  background: rgba(255, 255, 255, .12);
  color: #dbeafe;
  backdrop-filter: blur(12px);
}

.trial-benefit-icon svg {
  width: 21px;
  height: 21px;
}

.trial-benefits strong,
.trial-benefits small {
  display: block;
}

.trial-benefits strong {
  font-size: 14px;
  font-weight: 800;
}

.trial-benefits small {
  margin-top: 3px;
  color: rgba(255, 255, 255, .68);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}

.trial-testimonial {
  margin: 0;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 18px;
  background: rgba(8, 24, 45, .55);
  padding: 18px;
  box-shadow: 0 20px 46px rgba(2, 8, 23, .2);
  backdrop-filter: blur(18px);
}

.trial-testimonial blockquote {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, .9);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.65;
}

.trial-testimonial figcaption {
  margin-top: 10px;
  color: rgba(255, 255, 255, .6);
  font-size: 11px;
  font-weight: 700;
}

.trial-form-panel {
  display: flex;
  min-width: 0;
  align-items: center;
  background: #fff;
  padding: 64px 72px;
}

.trial-form-wrap {
  width: 100%;
  max-width: 920px;
  margin: auto;
}

.trial-form-header {
  display: flex;
  align-items: center;
  gap: 20px;
}

.trial-header-icon {
  display: grid;
  flex: 0 0 auto;
  width: 68px;
  height: 68px;
  place-items: center;
  border-radius: 20px;
  background: #eff6ff;
  color: var(--trial-brand);
  box-shadow: inset 0 0 0 1px #dbeafe;
}

.trial-header-icon svg {
  width: 30px;
  height: 30px;
  stroke-width: 1.8;
}

.trial-eyebrow {
  margin: 0 0 7px;
  color: #1768ed;
}

.trial-form-header h2 {
  margin: 0;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.15;
}

.trial-form-header p:last-child {
  margin: 8px 0 0;
  color: var(--trial-muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
}

.trial-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 28px;
  padding-bottom: 26px;
  border-bottom: 1px solid #e8edf4;
}

.trial-trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
}

.trial-trust-row svg {
  width: 16px;
  height: 16px;
  color: #16a34a;
  stroke-width: 2.5;
}

.trial-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 24px;
  border: 1px solid #fecdd3;
  border-radius: 12px;
  background: #fff1f2;
  padding: 14px 16px;
  color: #9f1239;
  font-size: 14px;
  font-weight: 700;
}

.trial-form {
  margin-top: 30px;
}

.trial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 20px;
}

.trial-field {
  min-width: 0;
}

.trial-field > label {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
  color: #243552;
  font-size: 13px;
  font-weight: 800;
}

.trial-field > label span {
  color: #dc2626;
}

.trial-field > label small {
  color: #94a3b8;
  font-size: 11px;
  font-weight: 600;
}

.trial-control {
  display: flex;
  min-height: 56px;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--trial-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(7, 20, 38, .035);
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.trial-control:hover {
  border-color: #bfccdc;
}

.trial-control:focus-within {
  border-color: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, .11), 0 10px 24px rgba(7, 20, 38, .06);
  transform: translateY(-1px);
}

.trial-control-icon {
  display: grid;
  flex: 0 0 52px;
  place-items: center;
  border-right: 1px solid #e5ebf3;
  background: #f8fafc;
  color: #1768ed;
}

.trial-control-icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.8;
}

.trial-control input,
.trial-control textarea {
  min-width: 0;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--trial-ink);
  outline: 0;
  font-size: 14px;
  font-weight: 600;
}

.trial-control input {
  min-height: 54px;
  padding: 0 16px;
}

.trial-control textarea {
  min-height: 136px;
  resize: vertical;
  padding: 16px;
  line-height: 1.65;
}

.trial-control input::placeholder,
.trial-control textarea::placeholder {
  color: #9aa8ba;
  font-weight: 500;
  opacity: 1;
}

.trial-control-textarea {
  align-items: flex-start;
  margin-top: 0;
}

.trial-control-textarea .trial-control-icon {
  align-self: stretch;
  padding-top: 17px;
  place-items: start center;
}

.trial-field-help {
  margin: 7px 0 0;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
}

.trial-grid + .trial-field {
  margin-top: 24px;
}

.trial-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.trial-button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0 24px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease, background-color 200ms ease;
}

.trial-button svg {
  width: 18px;
  height: 18px;
}

.trial-button-secondary {
  flex: 0 0 142px;
  border-color: #dbe3ef;
  background: #fff;
  color: #334155;
}

.trial-button-secondary:hover {
  border-color: #aebccd;
  background: #f8fafc;
  transform: translateY(-2px);
}

.trial-button-primary {
  flex: 1 1 auto;
  background: linear-gradient(135deg, #2878ff, #1453c4);
  color: #fff;
  box-shadow: 0 16px 30px rgba(23, 104, 237, .22);
}

.trial-button-primary:hover {
  box-shadow: 0 20px 38px rgba(23, 104, 237, .3);
  transform: translateY(-2px);
}

.trial-button-primary:disabled {
  cursor: wait;
  opacity: .72;
  transform: none;
}

.trial-security {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #f8fafc;
  padding: 15px 18px;
}

.trial-security-icon {
  display: grid;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 10px;
  background: #eff6ff;
  color: #1768ed;
}

.trial-security-icon svg {
  width: 20px;
  height: 20px;
}

.trial-security strong {
  color: #243552;
  font-size: 13px;
  font-weight: 800;
}

.trial-security p {
  margin: 3px 0 0;
  color: #718096;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
}

.trial-legal {
  margin: 20px 0 0;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.6;
}

.trial-legal a {
  color: #64748b;
  font-weight: 700;
}

.trial-reveal {
  animation: trial-slide-up 520ms ease both;
}

.trial-trust-row {
  animation-delay: 80ms;
}

.trial-alert,
.trial-form {
  animation-delay: 140ms;
}

@keyframes trial-slide-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1180px) {
  .trial-layout {
    grid-template-columns: minmax(330px, 42%) minmax(0, 58%);
  }

  .trial-story-content {
    padding: 32px;
  }

  .trial-story-main h1 {
    font-size: 40px;
  }

  .trial-form-panel {
    padding: 54px 38px;
  }

  .trial-form-header h2 {
    font-size: 28px;
  }
}

@media (max-width: 900px) {
  .trial-layout {
    grid-template-columns: minmax(300px, 45%) minmax(0, 55%);
  }

  .trial-story-content {
    padding: 28px 24px;
  }

  .trial-story-main h1 {
    font-size: 34px;
  }

  .trial-benefits small {
    display: none;
  }

  .trial-testimonial {
    padding: 15px;
  }

  .trial-form-panel {
    padding: 44px 28px;
  }

  .trial-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .trial-layout {
    display: block;
  }

  .trial-story {
    position: relative;
    height: auto;
    min-height: 720px;
  }

  .trial-story-content {
    min-height: 720px;
    padding: 28px 20px;
  }

  .trial-story-main {
    margin-top: 24px;
  }

  .trial-story-main h1 {
    max-width: 340px;
    font-size: 38px;
  }

  .trial-story-main > p {
    font-size: 14px;
  }

  .trial-benefits small {
    display: block;
  }

  .trial-testimonial {
    margin-top: 8px;
  }

  .trial-form-panel {
    padding: 52px 20px;
  }

  .trial-form-header {
    align-items: flex-start;
  }

  .trial-header-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
  }

  .trial-header-icon svg {
    width: 26px;
    height: 26px;
  }

  .trial-form-header h2 {
    font-size: 26px;
  }

  .trial-trust-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .trial-grid {
    gap: 20px;
  }

  .trial-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .trial-button-secondary,
  .trial-button-primary {
    flex: 1 1 auto;
    width: 100%;
  }
}

@media (max-width: 420px) {
  .trial-story {
    min-height: 760px;
  }

  .trial-story-content {
    min-height: 760px;
  }

  .trial-story-main h1 {
    font-size: 34px;
  }

  .trial-form-header {
    display: block;
  }

  .trial-header-icon {
    margin-bottom: 18px;
  }

  .trial-trust-row {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}


@media (min-width: 768px) and (max-height: 800px) {
  .trial-story-content {
    gap: 16px;
    padding: 26px 32px;
  }

  .trial-story-main h1 {
    margin-top: 12px;
    font-size: 38px;
  }

  .trial-story-main > p {
    margin-top: 12px;
    line-height: 1.55;
  }

  .trial-benefits {
    gap: 9px;
    margin-top: 18px;
  }

  .trial-benefit-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .trial-benefits small {
    margin-top: 1px;
    font-size: 11px;
  }

  .trial-testimonial {
    padding: 14px;
  }

  .trial-testimonial blockquote {
    margin-top: 8px;
    line-height: 1.5;
  }

  .trial-testimonial figcaption {
    margin-top: 6px;
  }
}
