.admin-bar header {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar header {
	top: 46px;
  }
}

/* ===========================================================
	 FONTS — load real PP-Formula and Tobias
	 =========================================================== */
  @font-face {
	font-family: 'PP-Formula';
	src: url('/wp-content/themes/welltower-ai-lp/assets/fonts/b66af518b181549ab501.woff2') format('woff2');
	font-weight: bold;
	font-style: normal;
	font-display: swap;
  }
  @font-face {
	font-family: 'Tobias';
	src: url('/wp-content/themes/welltower-ai-lp/assets/fonts/5eb33ac4b27de6edf3a4.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
  }

  /* ===========================================================
	 RESET + BASE (matches welltower.com tokens)
	 =========================================================== */
  *, *::before, *::after { box-sizing: border-box; }
  html, body {
	margin: 0;
	padding: 0;
	font-family: 'Tobias', 'Times New Roman', serif;
	/*height: 100%;*/
	min-height: 100vh;
	overflow-x: hidden;
	background: #fff;
	color: #000;
  }
  body { line-height: 1.4; }
  a { color: inherit; text-decoration: none; }
  ul { list-style: none; margin: 0; padding: 0; }
  button { font: inherit; cursor: pointer; background: none; border: none; padding: 0; color: inherit; }
  img { max-width: 100%; height: auto; display: block; }

  /* ===========================================================
	 HEADER (replicated from welltower.com)
	 =========================================================== */
  .header {
	position: fixed;
	top: 0; left: 0; right: 0;
	width: 100%;
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background-color: #fff;
	min-height: 6rem;
	max-height: 6rem;
	padding: 0 1rem;
  }
  .header .logo { display: flex; align-items: center; }
  .header .logo a { display: block; }
  .header .logo img {
	height: auto;
	max-width: 100%;
	width: 4.5rem;
  }

  .header__icons {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	margin-left: auto;
  }
  .header__icon {
	cursor: pointer;
	display: block;
	height: 2rem;
	width: 2rem;
  }
  .header__icon img { width: 100%; height: 100%; display: block; }

  /* Navigation — mobile (slide-down panel) */
  .navigation {
	position: fixed;
	top: 0; left: 0;
	width: 100%;
	height: 100%;
	background-color: #fff;
	display: none;
	flex-direction: column;
	align-items: flex-start;
	padding: 1.25rem 1rem;
	z-index: 1000;
  }
  .navigation.open { display: flex; }
  .navigation::before {
	content: "×";
	cursor: pointer;
	font-size: 2.5rem;
	line-height: 1;
	position: absolute;
	right: 1.125rem;
	top: 0.5625rem;
	z-index: 10;
	color: #000;
  }
  .navigation__list {
	width: 100%;
	margin-top: 3rem;
  }
  .navigation__item {
	cursor: pointer;
	font-family: 'PP-Formula', 'Arial Narrow', sans-serif;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.3125rem;
	padding-bottom: 0.9375rem;
	position: relative;
  }
  .navigation__item > a {
	display: inline-block;
	color: #000;
  }
  .navigation__item--has-children > a::after {
	content: "";
	display: inline-block;
	width: 0.55rem;
	height: 0.55rem;
	margin-left: 0.5rem;
	border-right: 2px solid #000;
	border-bottom: 2px solid #000;
	transform: rotate(45deg) translateY(-3px);
	vertical-align: middle;
	transition: transform 0.25s ease;
  }
  .navigation__item--has-children.navigation__item--open > a::after {
	transform: rotate(-135deg) translateY(0);
  }
  .navigation__sub-list {
	display: none;
	padding: 0.5rem 0 0 1rem;
  }
  .navigation__item--open .navigation__sub-list { display: block; }
  .navigation__sub-item {
	font-family: 'Tobias', serif;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.2rem;
	padding-bottom: 0.5rem;
  }
  .navigation__sub-item a:hover { color: #7E5FF6; }

  /* Navigation — DESKTOP (≥992px): inline horizontal */
  @media (min-width: 992px) {
	.header {
	  min-height: 7.25rem;
	  max-height: 7.25rem;
	  padding: 0 3.75rem;
	}
	.header .logo img { width: 5rem; }

	.header__icon--menu { display: none; }

	.navigation {
	  position: static;
	  display: flex;
	  flex-direction: row;
	  width: auto;
	  height: auto;
	  background: transparent;
	  padding: 0 0 0 6rem;
	  margin-left: auto;
	  margin-top: -1.25rem;
	  align-items: flex-start;
	}
	.navigation::before { content: none; }

	.navigation__list {
	  display: flex;
	  flex-wrap: wrap;
	  justify-content: flex-end;
	  gap: 0.9375rem 1.875rem;
	  margin-top: 0;
	  width: 100%;
	}
	.navigation__item {
	  padding: 0;
	  border: none;
	  position: relative;
	}
	.navigation__item--has-children > a::after { content: none; }
	.navigation__item:hover .navigation__sub-list { display: block; }

	.navigation__sub-list {
	  position: absolute;
	  right: 0;
	  top: 100%;
	  display: none;
	  background-color: #ECECEB;
	  box-shadow: rgba(0, 0, 0, 0.4) 0 0.1875rem 0.5625rem -0.3125rem;
	  padding: 0.75rem 0.75rem 0.375rem;
	  min-width: max-content;
	}
	.navigation__sub-item {
	  text-align: right;
	  white-space: nowrap;
	  padding-bottom: 0.5rem;
	}
	.navigation__item--active > a::before {
	  content: "";
	  position: absolute;
	  left: 0; right: 0;
	  bottom: -0.0625rem;
	  height: 2px;
	  background: #000;
	}
  }

  /* ===========================================================
	 FOOTER (replicated from welltower.com)
	 =========================================================== */
  .footer {
	background: #fff;
	padding: 1.25rem 1rem 2.5rem;
	color: #000;
  }
  .footer__top {
	display: flex;
	flex-direction: column;
	gap: 2rem;
  }
  .footer .logo a { display: block; }
  .footer .logo img {
	width: 4.5rem;
	height: auto;
  }
  .footer .navigation {
	position: static;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	width: auto;
	height: auto;
	background: transparent;
	padding: 0;
	margin-top: 0;
	z-index: auto;
  }
  .footer .navigation::before { content: none; }
  .footer .navigation__list {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin-top: 0;
	width: auto;
  }
  .footer .navigation__item {
	font-family: 'PP-Formula', sans-serif;
	font-size: 1.125rem;
	font-weight: 700;
	padding: 0;
  }
  .footer .navigation__item a:hover { color: #7E5FF6; }

  .footer__bottom {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	margin-top: 6rem;
	justify-content: space-between;
  }
  .footer__bottom ul {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 0 1.25rem;
  }
  .footer__bottom-item {
	font-family: 'Tobias', serif;
	font-size: 0.875rem;
  }
  .footer__bottom-item a:hover { color: #7E5FF6; }

  @media (min-width: 992px) {
	.footer { padding: 1.875rem 3.75rem 5.625rem; }
	.footer__top {
	  flex-direction: row;
	  justify-content: space-between;
	  align-items: flex-start;
	}
	.footer .logo img { width: 5rem; }
	.footer .navigation__list {
	  flex-direction: row;
	  flex-wrap: wrap;
	  gap: 0 1.875rem;
	}
	.footer__bottom {
	  flex-direction: row;
	  align-items: center;
	}
  }

  /* ===========================================================
	 PAGE BODY OFFSET (header is fixed)
	 =========================================================== */
  .page-body { padding-top: 6rem; }
  @media (min-width: 992px) { .page-body { padding-top: 7.25rem; } }

  /* ===========================================================
	 LANDING PAGE CONTENT
	 =========================================================== */
  :root {
	--off-white: #EDEDEB;
	--black: #000000;
	--red: #FF5742;
	--purple: #7E5CFF;
	--purple-soft: #A38CFF;
	--green: #18D387;
	--blue: #2E8FFF;
	--yellow: #FF983A;
	--margin: 3vw;
  }

  .hero {
	background: var(--red);
	padding: 80px var(--margin) 88px;
	position: relative;
	overflow: hidden;
  }
  .hero-inner { max-width: 1400px; margin: 0 auto; }
  .hero h1 {
	font-family: 'PP-Formula', 'Arial Narrow', sans-serif;
	font-weight: bold;
	font-size: clamp(48px, 9vw, 132px);
	line-height: 1.05;
	letter-spacing: -0.005em;
	margin: 0;
	max-width: 14ch;
  }
  .hero-meta {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	align-items: end;
	margin-top: 56px;
	gap: 48px;
  }
  .hero-intro {
	font-family: 'Tobias', serif;
	font-size: 17px;
	line-height: 1.55;
	max-width: 52ch;
	margin: 0;
  }

  main.content {
	max-width: 1400px;
	margin: 0 auto;
	padding: 64px var(--margin) 80px;
	background: #fff;
  }
  .page-body { background: #fff; }

  .data-login-row {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 64px;
	align-items: start;
	margin-bottom: 96px;
  }

  /* ===== LOGIN CARD ===== */
  .login-card {
	background: #ECECEB;
	border: 1px solid #000;
	padding: 32px 32px 28px;
  }
  .login-heading {
	font-family: 'PP-Formula', 'Arial Narrow', sans-serif;
	font-weight: bold;
	font-size: clamp(28px, 3.2vw, 40px);
	line-height: 1.0;
	letter-spacing: -0.005em;
	margin: 0 0 28px;
  }
  .login-form .field {
	display: flex;
	flex-direction: column;
	margin-bottom: 18px;
  }
  .login-form label {
	font-family: 'Tobias', serif;
	font-size: 14px;
	color: #000;
	margin-bottom: 6px;
  }
  .login-form input,
  .login-form textarea {
	font-family: 'Tobias', serif;
	font-size: 16px;
	color: #000;
	background: transparent;
	border: 0;
	border-bottom: 1px solid #000;
	padding: 8px 2px;
	outline: none;
	transition: border-color 0.2s ease;
	width: 100%;
	resize: vertical;
  }
  .login-form textarea {
	min-height: 80px;
	line-height: 1.45;
  }
  .login-form input:focus,
  .login-form textarea:focus { border-bottom-width: 2px; padding-bottom: 7px; }
  .login-form .optional {
	font-style: italic;
	font-size: 12px;
	color: rgba(0,0,0,0.55);
	margin-left: 4px;
  }
  .login-error {
	font-family: 'Tobias', serif;
	font-size: 13px;
	color: #B71C1C;
	min-height: 1.2em;
	margin: -4px 0 14px;
	line-height: 1.4;
  }
  .login-submit {
	margin-top: 4px;
	cursor: pointer;
	font-family: 'PP-Formula', sans-serif;
	transition: background-color 0.25s ease;
	box-shadow: none !important;
  }
  .login-submit .arrow {
	transition: none !important;
  }
  .login-submit:hover {
	background-color: #FF8A7A; /* Brand Red secondary */
  }
  .login-submit:hover .arrow {
	transform: none !important;
  }

  /* success state */
  .form-success {
	padding: 8px 0;
  }
  .success-heading {
	font-family: 'PP-Formula', sans-serif;
	font-weight: bold;
	font-size: clamp(24px, 2.6vw, 32px);
	line-height: 1.0;
	margin: 0 0 14px;
	letter-spacing: -0.005em;
  }
  .form-success p {
	font-family: 'Tobias', serif;
	font-size: 15px;
	line-height: 1.5;
	margin: 0;
  }
  .label {
	font-family: 'Tobias', serif;
	font-style: italic;
	font-size: 14px;
	color: rgba(0,0,0,0.65);
	margin-bottom: 18px;
  }
  h2.section-h {
	font-family: 'PP-Formula', sans-serif;
	font-weight: bold;
	font-size: clamp(40px, 5vw, 72px);
	line-height: 0.96;
	margin: 0 0 28px;
	letter-spacing: -0.005em;
  }
  .data-block p {
	font-family: 'Tobias', serif;
	font-size: 17px;
	line-height: 1.55;
	margin: 0 0 18px;
  }
  .cta-list { display: flex; flex-direction: column; gap: 14px; max-width: 560px; width: 100%; margin-left: auto; }
  .content-link {
	align-items: center;
	border: 1px solid #000;
	background-color: #ECECEB; /* off-white, matches IR Download button base */
	color: #000;
	display: flex;
	font-family: 'PP-Formula', sans-serif;
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.3125rem;
	justify-content: space-between;
	padding: 0.6875rem 0.9375rem;
	position: relative;
	width: 100%;
	text-decoration: none !important;
	opacity: 1 !important;
	transition: box-shadow 0.25s ease, transform 0.25s ease;
  }
  /*.content-link .arrow {
	display: inline-block;
	font-size: 1.25rem;
	line-height: 1;
	transition: transform 0.3s ease;
  }*/
  .arrow {display: none;}
  .content-link:after {
	  background-image: url('/wp-content/themes/welltower-ai-lp/assets/img/c4937ced4df1273ca240.png');
	  background-repeat: no-repeat;
	  background-size: contain;
	  content: "";
	  min-height: 1.0625rem;
	  min-width: 1.0625rem;
  }
  .content-link:hover {
	box-shadow: rgba(0, 0, 0, 0.3) 0.3125rem 0.375rem 0.625rem;
  }
  .content-link:hover .arrow { transform: translateX(6px); }

  @media (max-width: 960px) {
	.hero-meta { grid-template-columns: 1fr; gap: 32px; }
	.cta-list { margin-left: 0; }
	.data-login-row { grid-template-columns: 1fr; gap: 48px; }
  }
  @media (max-width: 560px) {
	:root { --margin: 16px; }
	.login-card { padding: 24px 20px; }
  }


/* ===== GRAVITY FORMS → LOGIN CARD ===== */
  
  .login-card .gform_wrapper {
	margin: 0;
	padding: 0;
  }
  
  .login-card .gform_fields {
	display: block !important;
  }
  
  .login-card .gfield {
	display: flex;
	flex-direction: column;
	margin: 0 0 18px !important;
	padding: 0 !important;
  }
  
  .login-card .gfield_label {
	font-family: 'Tobias', serif !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	color: #000;
	margin: 0 0 6px !important;
	line-height: 1.2;
  }
  
  .login-card .gfield_required,
  .login-card .gfield_required_text {
	display: none !important;
  }
  
  /* Restore required asterisk */
  .login-card .gfield_contains_required .gfield_label::after {
	content: " *";
	font-style: normal;
	margin-left: 2px;
  }
  
  .login-card .ginput_container {
	margin: 0 !important;
	padding: 0 !important;
  }
  
  .login-card input[type="text"],
  .login-card input[type="email"],
  .login-card input[type="tel"],
  .login-card textarea {
	font-family: 'Tobias', serif !important;
	font-size: 16px !important;
	color: #000 !important;
	background: transparent !important;
	border: 0 !important;
	border-bottom: 1px solid #000 !important;
	border-radius: 0 !important;
	padding: 8px 2px !important;
	outline: none !important;
	transition: border-color 0.2s ease !important;
	width: 100% !important;
	resize: vertical;
	box-shadow: none !important;
  }
  
  .login-card input:focus,
  .login-card textarea:focus {
	border-bottom-width: 2px !important;
	padding-bottom: 7px !important;
  }
  
  .login-card textarea {
	min-height: 32px !important;
	line-height: 1.45 !important;
  }

  /* Phone optional */
  .login-card #field_1_8 .gfield_label {
	font-size: 0 !important;
  }
  
  .login-card #field_1_8 .gfield_label::before {
	content: "Phone";
	font-family: 'Tobias', serif;
	font-size: 14px;
	font-style: normal;
	color: #000;
  }
  
  .login-card #field_1_8 .gfield_label::after {
	content: "(optional)";
	font-family: 'Tobias', serif;
	font-size: 12px;
	font-style: italic;
	color: rgba(0,0,0,0.55);
	margin-left: 4px;
  }
  
  /* Honeypot / hidden junk */
  .login-card .gform_validation_container,
  .login-card .akismet-fields-container {
	display: none !important;
  }
  
  /* Footer / submit */
  .login-card .gform_footer {
	margin: 4px 0 0 !important;
	padding: 0 !important;
	position: relative;
  }
  
  .login-card .gform_button {
	align-items: center !important;
	border: 1px solid #000 !important;
	background-color: #ECECEB !important;
	color: #000 !important;
	display: flex !important;
	font-family: 'PP-Formula', sans-serif !important;
	font-size: 1.25rem !important;
	font-weight: 600 !important;
	line-height: 1.3125rem !important;
	justify-content: space-between !important;
	padding: 0.6875rem 3rem 0.6875rem 0.9375rem !important;
	position: relative !important;
	width: 100% !important;
	text-align: left !important;
	text-decoration: none !important;
	opacity: 1 !important;
	cursor: pointer !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	appearance: none !important;
	transition: background-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease !important;
  }

  .login-card .gform_footer::after {
	content: "";
	position: absolute;
	right: 0.9375rem;
	top: 42%;
	transform: translateY(-50%);
	width: 1.0625rem;
	height: 1.0625rem;     
	background-image: url('/wp-content/themes/welltower-ai-lp/assets/img/c4937ced4df1273ca240.png');
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	pointer-events: none;
  }
  
  .login-card .gform_button:hover {
	background-color: #FF8A7A !important;
  }
  
  /* Validation */
  .login-card .gform_validation_errors {
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	margin: -4px 0 14px !important;
	padding: 0 !important;
  }
  
  .login-card .gform_validation_errors h2,
  .login-card .validation_message {
	font-family: 'Tobias', serif !important;
	font-size: 13px !important;
	color: #B71C1C !important;
	line-height: 1.4 !important;
	margin: 0 !important;
  }
  
  /* Confirmation */
  .login-card .gform_confirmation_message {
	font-family: 'Tobias', serif;
	font-size: 15px;
	line-height: 1.5;
	padding: 8px 0;
	color: #000;
  }
