:root {
  --bg: #f3e7dd;
  --card: rgba(255, 250, 245, 0.9);
  --text: #21160f;
  --muted: #725d4c;
  --brown-900: #2c1d12;
  --brown-800: #3b2617;
  --brown-700: #56341d;
  --brown-600: #774719;
  --line: rgba(91, 60, 34, 0.18);
  --shadow: 0 26px 80px rgba(60, 38, 22, 0.18);
  --radius-xl: 34px;
  --radius-md: 16px;
  --focus: 0 0 0 4px rgba(119, 71, 25, 0.18);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  overflow-x: hidden;
  background: var(--bg);
}

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  -webkit-text-size-adjust: 100%;
  background:
    radial-gradient(circle at 78% 12%, rgba(142, 93, 52, 0.23), transparent 34%),
    radial-gradient(circle at 8% 18%, rgba(255, 255, 255, 0.72), transparent 36%),
    linear-gradient(135deg, #fffaf4 0%, #f2e2d4 52%, #ead8c8 100%);
}

button,
input,
select {
  min-width: 0;
  font: inherit;
}

button {
  cursor: pointer;
  touch-action: manipulation;
}

img,
svg {
  max-width: 100%;
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  min-height: calc(100vh - 104px);
  min-height: calc(100svh - 104px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 28px;
  align-items: center;
  padding: 36px 0;
}

.hero-panel,
.form-card {
  border: 1px solid rgba(255, 255, 255, 0.68);
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-panel {
  min-height: 720px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: auto -12% -18% 24%;
  height: 58%;
  background:
    linear-gradient(180deg, rgba(250, 245, 239, 0.18), rgba(80, 47, 22, 0.12)),
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.76), transparent 22%),
    linear-gradient(135deg, rgba(96, 58, 30, 0.14), rgba(255, 255, 255, 0.32));
  border-radius: 44% 0 0 0;
  transform: rotate(-2deg);
}

.hero-panel::after {
  content: "";
  position: absolute;
  right: 40px;
  bottom: 178px;
  width: min(360px, 48%);
  aspect-ratio: 1 / 1;
  border-radius: 46% 54% 45% 55%;
  background:
    linear-gradient(160deg, rgba(44, 29, 18, 0.88), rgba(138, 96, 59, 0.68)),
    url("assets/physio-pattern.svg") center / cover no-repeat;
  opacity: 0.22;
}

.brand-bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand-lockup,
.web-link,
.footer-lockup,
.footer-web-link {
  color: inherit;
  text-decoration: none;
}

.brand-lockup,
.web-link {
  display: inline-flex;
  align-items: center;
}

.brand-lockup {
  gap: 14px;
}

.brand-mark {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--brown-900);
  box-shadow: 0 12px 28px rgba(44, 29, 18, 0.18);
  flex: 0 0 auto;
}

.brand-mark img,
.footer-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-name,
.brand-tagline,
.footer-brand,
.footer-tagline {
  display: block;
}

.brand-name {
  font-size: 1.65rem;
  font-weight: 860;
  line-height: 1;
  letter-spacing: 0;
}

.brand-tagline {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 560;
}

.web-link {
  gap: 8px;
  color: var(--brown-800);
  font-weight: 650;
  white-space: nowrap;
}

.web-link svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
  padding: 80px 0 8px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brown-600);
  font-weight: 820;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.eyebrow.compact {
  margin-bottom: 6px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: 5rem;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 470px;
  margin-bottom: 34px;
  color: #463424;
  font-size: 1.08rem;
  line-height: 1.7;
}

.benefit-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.benefit-pills span {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(86, 52, 29, 0.16);
  border-radius: 999px;
  padding: 0 14px;
  color: var(--brown-800);
  background: rgba(255, 250, 246, 0.74);
  box-shadow: 0 10px 26px rgba(66, 41, 24, 0.08);
  font-size: 0.93rem;
  font-weight: 760;
}

.event-details {
  display: grid;
  gap: 12px;
  width: min(100%, 520px);
  margin: 0 0 28px;
}

.event-details div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 18px;
  padding: 12px 16px;
  background: rgba(255, 250, 246, 0.7);
  box-shadow: 0 14px 36px rgba(66, 41, 24, 0.09);
}

.event-details dt {
  color: var(--brown-600);
  font-size: 0.75rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.event-details dd {
  margin: 0;
  color: var(--brown-900);
  font-size: 1rem;
  font-weight: 760;
  line-height: 1.35;
}

.hero-cta {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  padding: 0 24px;
  color: #fffaf5;
  background: linear-gradient(135deg, var(--brown-700), var(--brown-900));
  box-shadow: 0 18px 34px rgba(44, 29, 18, 0.24);
  text-decoration: none;
  font-weight: 840;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.hero-cta:hover {
  transform: translateY(-1px);
}

.form-panel {
  display: grid;
  gap: 18px;
}

.form-card {
  border-radius: var(--radius-xl);
  padding: 36px;
}

.form-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

h2 {
  margin-bottom: 0;
  font-size: 2.6rem;
  line-height: 1.04;
  letter-spacing: 0;
}

.form-copy {
  max-width: 430px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.secure-badge {
  border: 1px solid var(--line);
  background: #f6eadf;
  color: var(--brown-700);
  border-radius: 999px;
  padding: 9px 13px;
  font-size: 0.82rem;
  font-weight: 750;
  white-space: nowrap;
}

form {
  display: grid;
  gap: 20px;
}

.field-grid {
  display: grid;
  gap: 16px;
}

.two-column {
  grid-template-columns: 1fr 1fr;
}

.field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.field > span {
  color: #362417;
  font-size: 0.94rem;
  font-weight: 760;
}

.field strong {
  color: var(--brown-600);
}

input,
select {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(84, 54, 31, 0.2);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.62);
  color: var(--text);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

input::placeholder {
  color: rgba(73, 53, 40, 0.54);
}

input:focus,
select:focus {
  border-color: rgba(119, 71, 25, 0.58);
  box-shadow: var(--focus);
  background: #fffdf9;
}

input:hover,
select:hover {
  border-color: rgba(84, 54, 31, 0.36);
}

.field.invalid input,
.field.invalid select {
  border-color: #9d3e2f;
  box-shadow: 0 0 0 4px rgba(157, 62, 47, 0.11);
}

.error-message {
  min-height: 16px;
  color: #9d3e2f;
  font-size: 0.78rem;
  font-weight: 650;
}

.button-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 2px;
}

.primary-button {
  flex: 1;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  border-radius: 18px;
  padding: 0 22px;
  color: #fffaf5;
  background: linear-gradient(135deg, var(--brown-700), var(--brown-900));
  box-shadow: 0 18px 34px rgba(44, 29, 18, 0.24);
  font-weight: 820;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.primary-button svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}


.primary-button:hover,
.hero-cta:hover {
  transform: translateY(-1px);
}

.primary-button:focus-visible,
.web-link:focus-visible,
.brand-lockup:focus-visible,
.footer-lockup:focus-visible,
.footer-web-link:focus-visible,
.social-links a:focus-visible,
.hero-cta:focus-visible,
.toast button:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 30px;
  color: #fffaf5;
}

.footer-inner {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(44, 29, 18, 0.98), rgba(86, 52, 29, 0.96)), var(--brown-900);
  box-shadow: 0 28px 70px rgba(44, 29, 18, 0.24);
}

.footer-inner::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 250, 245, 0.72), transparent);
}

.footer-brand-panel,
.footer-social-panel {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  text-align: center;
  padding: 24px;
}

.footer-brand-panel {
  gap: 14px;
  padding-bottom: 20px;
  background: rgba(255, 255, 255, 0.035);
}

.footer-social-panel {
  gap: 18px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 250, 245, 0.1);
}

.footer-lockup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
}

.footer-logo {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--brown-900);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.26);
  flex: 0 0 auto;
}

.footer-brand {
  font-size: 1.18rem;
  font-weight: 860;
  line-height: 1.05;
}

.footer-tagline {
  margin-top: 3px;
  color: rgba(255, 250, 245, 0.68);
  font-size: 0.86rem;
  font-weight: 640;
}

.footer-brand-panel p {
  max-width: 520px;
  margin: 0 auto;
  color: rgba(255, 250, 245, 0.72);
  font-size: 0.94rem;
  line-height: 1.62;
}

.footer-social-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-social-heading h2 {
  margin: 0;
  color: rgba(255, 250, 245, 0.92);
  font-size: 1rem;
  line-height: 1.2;
  font-weight: 780;
  letter-spacing: 0;
}

.footer-web-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(255, 250, 245, 0.16);
  border-radius: 999px;
  color: rgba(255, 250, 245, 0.76);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.84rem;
  font-weight: 720;
}

.social-links {
  display: grid;
  grid-template-columns: repeat(5, 52px);
  justify-content: center;
  gap: 10px;
}

.social-links a {
  position: relative;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 250, 245, 0.14);
  border-radius: 50%;
  color: #fffaf5;
  background: rgba(255, 255, 255, 0.075);
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.social-links a:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 250, 245, 0.34);
  background: rgba(255, 250, 245, 0.14);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.social-links svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.social-links span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: min(420px, calc(100% - 32px));
  display: grid;
  grid-template-columns: 1fr 36px;
  gap: 12px;
  padding: 18px;
  border-radius: 22px;
  color: #fffaf5;
  background: linear-gradient(135deg, #3b2617, #774719);
  box-shadow: 0 24px 60px rgba(40, 23, 12, 0.28);
  z-index: 10;
  overflow-wrap: anywhere;
}

.toast[hidden] {
  display: none;
}

.toast strong,
.toast p {
  margin: 0;
}

.toast p {
  margin-top: 4px;
  color: rgba(255, 250, 245, 0.8);
  font-size: 0.92rem;
  line-height: 1.45;
}

.toast button {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  color: inherit;
  background: rgba(255, 255, 255, 0.12);
  font-size: 1.3rem;
}

.brand-lockup,
.field,
.form-panel,
.form-card,
.hero-content,
.benefit-pills span,
.event-details dd {
  min-width: 0;
}

h1,
h2,
h3,
p,
.field > span,
.toast,
.event-details dd {
  overflow-wrap: anywhere;
}

.primary-button:active,
.hero-cta:active {
  transform: translateY(0);
}

@media (max-width: 1180px) {
  h1 {
    font-size: 4.35rem;
  }

  h2 {
    font-size: 2.35rem;
  }
}

@media (max-width: 1040px) {
  .page-shell {
    grid-template-columns: 1fr;
    padding: 18px 0;
  }

  .hero-panel {
    min-height: auto;
  }

  .hero-content {
    padding-top: 70px;
  }
}

@media (max-width: 720px) {
  .page-shell,
  .site-footer {
    width: min(100% - 20px, 1180px);
  }

  .hero-panel,
  .form-card {
    border-radius: 26px;
    padding: 22px;
  }

  .brand-bar,
  .form-header,
  .button-row {
    align-items: stretch;
    flex-direction: column;
  }

  .secure-badge {
    width: fit-content;
  }

  .hero-content {
    padding-top: 48px;
  }

  h1 {
    font-size: 3.25rem;
  }

  h2 {
    font-size: 2.15rem;
  }

  .benefit-pills span {
    min-height: 38px;
  }

  .event-details div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .primary-button,
  .hero-cta {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  padding: 0 24px;
  color: #fffaf5;
  background: linear-gradient(135deg, var(--brown-700), var(--brown-900));
  box-shadow: 0 18px 34px rgba(44, 29, 18, 0.24);
  text-decoration: none;
  font-weight: 840;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
}

@media (max-width: 560px) {
  .page-shell,
  .site-footer {
    width: min(100% - 16px, 1180px);
  }

  .page-shell {
    padding: 8px 0 16px;
    gap: 12px;
  }

  .hero-panel,
  .form-card {
    border-radius: 18px;
    padding: 18px;
  }

  .hero-panel::before,
  .hero-panel::after {
    opacity: 0.12;
  }

  .brand-mark {
    width: 52px;
    height: 52px;
    border-radius: 14px;
  }

  .brand-name {
    font-size: 1.35rem;
  }

  .brand-tagline,
  .hero-copy,
  .social-links a {
    font-size: 0.92rem;
  }

  .hero-content {
    padding-top: 36px;
  }

  h1 {
    font-size: 2.55rem;
    line-height: 1.02;
  }

  h2 {
    font-size: 1.9rem;
  }

  input,
  select {
    height: 50px;
  }

  .footer-inner {
    border-radius: 20px;
  }

  .footer-brand-panel,
  .footer-social-panel {
    padding: 18px;
  }

  .footer-lockup,
  .footer-social-heading {
    display: grid;
    justify-items: center;
  }

  .social-links {
    grid-template-columns: repeat(5, 44px);
    gap: 8px;
  }

  .social-links a {
    width: 44px;
    height: 44px;
  }

  .social-links svg {
    width: 19px;
    height: 19px;
  }

  .toast {
    right: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
    border-radius: 16px;
  }
}

@media (max-width: 380px) {
  h1 {
    font-size: 2.2rem;
  }

  .benefit-pills span {
    gap: 10px;
    padding: 0 14px;
  }

  .social-links {
    grid-template-columns: repeat(5, 1fr);
    width: 100%;
  }

  .social-links a {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
  }
}

@media (hover: none) {
  .primary-button:hover,
  .hero-cta:hover,
  .social-links a:hover {
    transform: none;
  }
}

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