/* ==========================================================================
   Security & Compliance 2026
   Standalone page styles — implemented from Figma (file KezpLKJHuECnreihad8w5n,
   node 4376:8233). Scoped under .template--security-2026.
   ========================================================================== */

   .template--security-2026 {
	--sec-green: #0b9b8a;
	--sec-dark: #000;
	--sec-card: #212121;
	--sec-card-border: #404040;
	--sec-light-border: #d8d8d8;
	--sec-ink: #121221;
	--sec-muted: #d8d8d8;
	font-family: 'Inter', 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	overflow-x: hidden;
	padding-bottom: 0!important;
}

.template--security-2026 *,
.template--security-2026 *::before,
.template--security-2026 *::after {
	box-sizing: border-box;
}

.template--security-2026 img {
	max-width: 100%;
	display: block;
}

/* Shared section title / subtitle (dark sections) ------------------------- */
.template--security-2026 .sec-section-title {
	font-family: 'Manrope', sans-serif;
	font-weight: 600;
	font-size: 35px;
	line-height: 1.2;
	letter-spacing: -0.35px;
	color: #fff;
	text-align: center;
	margin: 0;
}

.template--security-2026 .sec-section-subtitle {
	font-family: 'Manrope', sans-serif;
	font-weight: 400;
	font-size: 18px;
	line-height: 28px;
	letter-spacing: -0.324px;
	color: #fff;
	text-align: center;
	max-width: 900px;
	margin: 0 auto;
}

.template--security-2026 .sec-green {
	color: var(--sec-green);
	font-weight: 700;
}

/* ==========================================================================
   Security at Nylas (intro)
   ========================================================================== */
.sec-intro {
	background: var(--sec-dark);
	border-top: 1px solid var(--sec-card-border);
	padding: 0 20px 0px !important;
}

.sec-intro__container {
	max-width: 1150px;
	margin: 0 auto;
	border-left: 1px solid var(--sec-card-border);
	border-right: 1px solid var(--sec-card-border);
}

.sec-intro__header {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	padding: 40px 24px 36px;
	border-bottom: 1px solid var(--sec-card-border);
}

.sec-intro__cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	padding: 30px 90px;
}

.sec-intro-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
	background: var(--sec-card);
	border: 1px solid var(--sec-card-border);
	border-radius: 4px;
	padding: 24px;
	min-height: 238px;
	text-decoration: none;
	transition: border-color 0.2s ease, transform 0.2s ease;
}

.sec-intro-card:hover {
	border-color: #5a5a5a;
	transform: translateY(-2px);
}

.sec-intro-card__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 33px;
	height: 32px;
	border-radius: 4px;
	background: rgba(142, 142, 142, 0.2);
	border: 1px solid #8e8e8e;
	color: #8E8E8E;
	flex-shrink: 0;
}

.sec-intro-card__title {
	font-family: 'Manrope', sans-serif;
	font-weight: 600;
	font-size: 20px;
	line-height: 28px;
	color: #fff;
	margin: 0;
}

.sec-intro-card__copy {
	font-size: 14px;
	line-height: 20px;
	color: var(--sec-muted);
	margin: 0;
}

/* ==========================================================================
   How we keep your data safe
   ========================================================================== */
.sec-safe {
	background: #fff;
	padding: 0 20px 0px !important;
	border-bottom: 50px solid #fafafa
}

.sec-safe__container {
	max-width: 1150px;
	margin: 0 auto;
	border-left: 1px solid var(--sec-light-border);
	border-right: 1px solid var(--sec-light-border);
	padding-top: 40px;
}

.sec-safe__header {
	padding: 20px 60px 0;
}

.sec-safe__title {
	font-family: 'Manrope', sans-serif;
	font-weight: 400;
	font-size: 35px;
	line-height: 50px;
	letter-spacing: -0.35px;
	color: #000;
	margin: 0 0 15px;
}

.sec-safe__subtitle {
	font-family: 'Manrope', sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 28px;
	letter-spacing: -0.288px;
	color: #000;
	margin: 0;
	max-width: 1041px;
}

.sec-safe__columns {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 40px;
	padding: 30px 50px 21px;
}

.sec-safe__col {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.sec-feature {
	display: flex;
	align-items: flex-start;
	gap: 16px;
}

.sec-feature__check {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	flex-shrink: 0;
	color: var(--sec-green);
}

.sec-feature__text h4 {
	font-weight: 600;
	font-size: 16px;
	line-height: 24px;
	color: #000;
	margin: 0;
}

.sec-feature__text p {
	font-size: 14px;
	line-height: 24px;
	color: #000;
	margin: 0;
}

.sec-feature__text a {
	color: #000;
	text-decoration: underline;
}

.sec-feature__text a:hover {
	color: var(--sec-green);
}

/* ==========================================================================
   Compliance / Privacy cards
   ========================================================================== */
.sec-cards-section {
	background: var(--sec-dark);
	padding: 0 20px 0px !important;
	border-bottom: 1px solid var(--sec-card-border);
}

.sec-cards-section__container {
	max-width: 1150px;
	margin: 0 auto;
	border: 1px solid var(--sec-card-border);
	border-bottom: 0;
}

.sec-cards-section__header {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	padding: 40px 24px 30px;
}

.sec-cards-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	max-width: 994px;
	margin: 0 auto;
	padding: 0 0 70px;
}

.sec-cert-card {
	display: flex;
	flex-direction: column;
	gap: 15px;
	background: var(--sec-card);
	border: 1px solid var(--sec-card-border);
	border-radius: 4px;
	padding: 24px;
}

.sec-cert-card--wide {
	grid-column: 1 / -1;
}

.sec-cert-card__badge {
	height: 72px;
	display: flex;
	align-items: flex-start;
}

.sec-cert-card__badge img {
	width: auto;
	height: 70px;
	object-fit: contain;
}

.sec-cert-card__title {
	font-family: 'Inter', 'Manrope', sans-serif;
	font-weight: 700;
	font-size: 20px;
	line-height: 24px;
	color: #fff;
	margin: 0;
}

.sec-cert-card__list {
	list-style: disc;
	margin: 0;
	padding-left: 21px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.sec-cert-card__list li {
	font-size: 14px;
	line-height: 18px;
	letter-spacing: -0.252px;
	color: var(--sec-muted);
}

.sec-cert-card__list a {
	color: var(--sec-muted);
	text-decoration: underline;
}

.sec-cert-card__list a:hover {
	color: #fff;
}

/* ==========================================================================
   Report a vulnerability
   ========================================================================== */
.sec-vuln {
	background-color: #04130f;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	min-height: 330px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 60px 20px !important;
}

.sec-vuln__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 36px;
	text-align: center;
}

.sec-vuln__title {
	font-family: 'Manrope', sans-serif;
	font-weight: 600;
	font-size: 55px;
	line-height: 70px;
	color: #fff;
	margin: 0;
}

.sec-vuln__buttons {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 28px;
}

/* Shared pill buttons ----------------------------------------------------- */
.sec-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 48px;
	padding: 14px 34px;
	border-radius: 55px;
	font-family: 'Poppins', 'Manrope', sans-serif;
	font-weight: 500;
	font-size: 16px;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	transition: opacity 0.2s ease, transform 0.2s ease;
	cursor: pointer;
	border: 1px solid transparent;
}

.sec-btn:hover {
	transform: translateY(-1px);
}

.sec-btn--white {
	background: #fff;
	color: #000;
}

.sec-btn--dark {
	background: #000;
	color: #fff;
}

.sec-btn--dark:hover {
	opacity: 0.85;
}

.sec-btn--sm {
	height: 40px;
	font-size: 16px;
}

/* ==========================================================================
   Explore related resources
   ========================================================================== */
.sec-resources {
	background: #fff;
	padding: 0 !important;
	border-top: 1px solid var(--sec-light-border);
	border-bottom: 1px solid var(--sec-light-border);
}

.sec-resources__container {
	max-width: 1150px;
	margin: 0 auto;
}

.sec-resources__title {
	font-family: 'Manrope', sans-serif;
	font-weight: 600;
	font-size: 40px;
	line-height: 1.2;
	letter-spacing: -0.4px;
	color: var(--sec-ink);
	text-align: center;
	margin: 0;
}

.sec-resources__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0;
}

.sec-resource-card {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 20px;
	border-left: 1px solid var(--sec-light-border);
}

.sec-resource-card:last-child {
	border-right: 1px solid var(--sec-light-border);
}

.sec-resource-card__media {
	border-radius: 2px;
	overflow: hidden;
	aspect-ratio: 348 / 176;
}

.sec-resource-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sec-resource-card__title {
	font-family: 'Manrope', sans-serif;
	font-weight: 700;
	font-size: 20px;
	line-height: 1.3;
	color: var(--sec-ink);
	margin: 0;
}

.sec-resource-card__copy {
	font-family: 'Manrope', sans-serif;
	font-size: 14px;
	line-height: 20px;
	color: var(--sec-ink);
	margin: 0;
	flex: 1;
}

.sec-resource-card__footer {
	display: flex;
	justify-content: flex-end;
}

.guide_lines_container .sec-resources__title{
	padding: 50px 0 40px;
}
.guide_lines_container {
    border: 1px solid #d8d8d8;
    border-top: none;
	background-color: #fafafa;
}

.guide_lines_container:last-child {
    border-top: 1px solid #d8d8d8;
}

.guide_lines_container div {
    max-width: 1150px;
    border-left: 1px solid #d8d8d8;
    border-right: 1px solid #d8d8d8;
    margin: 0 auto;
    min-height: 65px;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.sec-faq {
	background: #000;
	padding: 50px 20px 80px !important;
}

.sec-faq__container {
	max-width: 1150px;
	margin: 0 auto;
}

.sec-faq__header {
	padding-left: 30px;
	margin-bottom: 50px;
}

.sec-faq__title {
	font-family: 'Manrope', sans-serif;
	font-weight: 600;
	font-size: 28px;
	line-height: 1.2;
	color: #fff;
	margin: 0 0 6px;
}

.sec-faq__help {
	font-family: 'Manrope', sans-serif;
	font-weight: 700;
	font-size: 16px;
}

.sec-faq__help-text {
	color: #fff;
}

.sec-faq__help-link {
	color: var(--sec-green);
	text-decoration: none;
	margin-left: 4px;
}

.sec-faq__help-link:hover {
	text-decoration: underline;
}

.sec-faq__list {
	max-width: 941px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.sec-faq__item {
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
}

.sec-faq__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	width: 100%;
	padding: 21px 29px;
	background: none;
	border: 0;
	cursor: pointer;
	text-align: left;
}

.sec-faq__question-text {
	font-family: 'Manrope', sans-serif;
	font-weight: 500;
	font-size: 18px;
	line-height: 1.4;
	color: #000;
}

.sec-faq__icon {
	flex-shrink: 0;
	color: #000;
	display: flex;
	transition: transform 0.3s ease;
}

.sec-faq__item--active .sec-faq__icon {
	transform: rotate(45deg);
}

.sec-faq__answer {
	height: 0;
	overflow: hidden;
	transition: height 0.3s ease;
}

.sec-faq__answer-content {
	padding: 0 29px 24px;
}

.sec-faq__answer-content p {
	font-family: 'Manrope', sans-serif;
	font-size: 16px;
	line-height: 26px;
	color: #3c3c3c;
	margin: 0;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
	.sec-intro__cards {
		grid-template-columns: 1fr;
	}

	.sec-cards-grid {
		grid-template-columns: 1fr;
	}

	.sec-cert-card--wide {
		grid-column: auto;
	}

	.sec-safe__columns {
		grid-template-columns: 1fr;
		row-gap: 20px;
		padding: 30px 24px 21px;
	}

	.sec-safe__header {
		padding: 20px 24px 0;
	}

	.sec-resources__grid {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.sec-resource-card {
		border-left: 0;
		padding: 0;
	}

	.sec-resource-card:last-child {
		border-right: 0;
	}

	.sec-vuln__title {
		font-size: 38px;
		line-height: 46px;
	}
}

@media (max-width: 600px) {
	.template--security-2026 .sec-section-title,
	.sec-safe__title,
	.sec-resources__title {
		font-size: 28px;
		line-height: 1.25;
	}

	.sec-safe__title {
		line-height: 38px;
	}

	.sec-vuln__buttons {
		flex-direction: column;
		width: 100%;
	}

	.sec-btn {
		width: 100%;
		max-width: 340px;
	}

	.sec-faq__header {
		padding-left: 0;
	}

	.sec-faq__question {
		padding: 18px 20px;
	}

	.sec-faq__question-text {
		font-size: 16px;
	}
}
