:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  /*
  color: #17241e;
  background: #f6f7f5;
  */
  background: #fff;
  color: #10264e;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }

body { min-width: 320px; min-height: 100vh; min-height: 100svh; margin: 0; }

.page-shell {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  padding: 28px 16px;
 /* background: radial-gradient(circle at 50% 12%, #e8efe9 0, #f6f7f5 48%);*/
}

.card {
  /*width: min(100%, 480px);*/
  padding: clamp(28px, 7vw, 48px);
  border: 0px; 
  width: 100%;
  min-width: 0;
  max-width: 480px;
  /*
  border: 1px solid #e5ebe5;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 70px rgb(27 55 39 / 7%), 0 3px 12px rgb(27 55 39 / 3%);
  */
}

.brand { display: flex; align-items: center; gap: 12px; min-height: 384px; }
.brand-logo { display: block; width: 100%; height: 100%; min-width: 0; max-width: 384px; max-height: 384px; object-fit: contain; flex: none; }
.brand-name { font-size: 16px; font-weight: 700; letter-spacing: -.025em; overflow-wrap: anywhere; }

.intro { margin: 52px 0 30px; }
h1 { margin: 0; font-size: clamp(29px, 6vw, 36px); line-height: 1.16; letter-spacing: -.055em; }
.intro p, .confirmation p { margin: 12px 0 0; color: #64736a; font-size: 15px; line-height: 1.6; }

#email-form {
	margin-top: 8px;
	width: 100%;
	min-width: 0;
	max-width: 480px;
}

.field-label { display: block; margin-bottom: 10px; font-size: 13px; font-weight: 650; }
input[type="email"] {
  display: block;
  width: 100%;
  height: 48px;
  padding: 0 8px;
  border: 1px solid #10264e; /*d6dfd8;*/
  border-radius: 12px;
  outline: none;
  background: #fff;
  color: #17241e;
  font: inherit;
  font-size: 15px;
  transition: border-color .15s, box-shadow .15s;
}

input[type="email"]::placeholder { color: #99a59c; }
input[type="email"]:focus { border-color: #365b47; box-shadow: 0 0 0 4px rgb(54 91 71 / 12%); }
input[type="email"][aria-invalid="true"] { border-color: #bf443f; }
input[type="email"][aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgb(191 68 63 / 12%); }

.field-error { margin: 9px 0 0; color: #a62f2a; font-size: 13px; line-height: 1.4; }
.field-error[hidden] { display: none; }

.primary-button {
  display: block;
  width: 100%;
  min-height: 48px;
  margin-top: 18px;
  border: 1px solid #234531;
  border-radius: 12px;
  background: #10264e;
  /*background: #234531;*/
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s, transform .15s;
}

.primary-button:hover { background: #0a2249; } /* 315c42 */
.primary-button:active { transform: translateY(1px); }
.primary-button:focus-visible { outline: 3px solid #0a2249; outline-offset: 3px; } /* 90ad98 */

.confirmation h1 { /*margin-top: 52px;*/ }
.confirmation p { margin-top: 18px; font-size: 17px; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 480px) {
  .card { border-radius: 20px; }
  .intro, .confirmation h1 { margin-top: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
