/*
 * The fonts the free tools are designed in (the razorpay-*-calculator, -generator and other tool
 * plugins): Inter and TASA Orbiter, self-hosted. The tools asked Google Fonts for them on every
 * visit; tools/pages-tools-build.mjs takes those requests out of the copies of their scripts and
 * stylesheets the site links. Variable weight, Latin subset (plus the rupee sign in Inter, which
 * Google only has in a second 83 KB file), from Google Fonts' sources (fonts/OFL-*.txt). A changed
 * file needs a new name (the content CDN keeps a file for months).
 */
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("fonts/inter-latin-8e9a5146.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20B9, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "TASA Orbiter";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("fonts/tasa-orbiter-latin-7e6b9483.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* razorpay.com/s: four link columns in the footer (the main site's footer content). */
.site-footer__grid {
	grid-template-columns: 300px repeat(4, minmax(0, 1fr));
}
@media (max-width: 1024px) {
	.site-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 600px) {
	.site-footer__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Header: razorpay.com's seven top links beside the logo and two buttons, on one line. */
.site-nav__menu a {
	padding-inline: 11px;
}
@media (min-width: 1025px) and (max-width: 1240px) {
	.site-nav__menu a {
		padding-inline: 8px;
		font-size: 15px;
	}
}

/*
 * The tool pages: landing pages rebuilt from Elementor as plain HTML (tools/theme-switch.php,
 * rzpb_elementor_rebuild): sections, rows of columns, grids of cards, check lists and FAQs.
 */
.entry--lp .entry__layout {
	margin-top: 0;
}
.entry--lp .entry__content {
	--rzpb-content-align: left;
	max-width: none;
	text-align: left;
	color: var(--rzpb-c-gray-800);
	font-size: 16px;
	line-height: 1.6;
}
.lp-section {
	padding: 56px 0;
}
.lp-section:first-child {
	padding-top: 40px;
}
/* A tinted band across the whole window. */
.lp-section--alt {
	position: relative;
	background: #f8fafc;
	box-shadow: 0 0 0 100vmax #f8fafc;
	clip-path: inset(0 -100vmax);
}
.entry--lp .lp-heading {
	margin: 0 0 16px;
	color: #0c1927;
	font-weight: 700;
	line-height: 1.2;
}
.entry--lp h1.lp-heading {
	font-size: 40px;
}
.entry--lp h2.lp-heading {
	font-size: 32px;
}
.entry--lp .lp-center {
	text-align: center;
}
.lp-section > .lp-heading.lp-center {
	margin-bottom: 32px;
}
.lp-hl {
	color: #305eff;
}
.entry--lp p {
	margin: 0 0 12px;
}
/* The tools: as wide as the content. */
.entry--lp .lp-section:first-child > :not(.lp-heading):not(p) {
	margin-top: 24px;
}

/* Rows of columns, side by side from tablets up. */
.lp-row {
	display: flex;
	gap: 48px;
	align-items: flex-start;
}
.lp-row--middle {
	align-items: center;
}
.lp-col {
	flex: 0 1 calc(var(--lp-w, 50%) - 24px);
	min-width: 0;
}
.lp-stack > :last-child,
.lp-col > :last-child,
.lp-card > :last-child {
	margin-bottom: 0;
}

/* Grids of three. */
.lp-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px 32px;
}
.lp-card {
	display: flex;
	flex-direction: column;
	padding: 24px;
	border: 1px solid rgba(108, 132, 157, 0.18);
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 2px 8px rgba(12, 25, 39, 0.04);
}
.lp-card .lp-more {
	margin-top: auto;
	padding-top: 12px;
}

/* Icon boxes: icon above the title, or (product cards) after it on the same line. */
.lp-iconbox {
	margin: 0 0 8px;
}
.lp-iconbox__icon {
	display: block;
	width: 32px;
	height: 32px;
	margin: 0 0 12px;
}
.lp-iconbox__title {
	margin: 0 0 8px;
	color: #0c1927;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
}
.lp-iconbox__title a {
	color: inherit;
	text-decoration: none;
}
.lp-iconbox__text {
	margin: 0;
	color: var(--rzpb-c-gray-800);
	font-size: 15px;
}
.lp-iconbox--right {
	display: flex;
	flex-direction: row-reverse;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}
.lp-iconbox--right .lp-iconbox__icon {
	width: 24px;
	height: 24px;
	margin: 0;
}
.lp-iconbox--right .lp-iconbox__title {
	margin: 0;
}
.lp-more a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #305eff;
	font-weight: 600;
	text-decoration: none;
}
.lp-more a::after {
	content: "\2192";
}
.lp-more a:hover {
	text-decoration: underline;
}

/* Check lists. */
.lp-checklist {
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
}
.entry--lp .lp-checklist li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0 0 14px;
}
.lp-checklist__icon {
	flex: none;
	width: 20px;
	height: 20px;
	margin-top: 3px;
}

/* Images. */
.lp-figure {
	margin: 0;
}
.lp-figure img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 12px;
}

/* FAQs. */
.lp-faq__item {
	border-bottom: 1px solid rgba(108, 132, 157, 0.25);
}
.lp-faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 0;
	color: #0c1927;
	font-weight: 600;
	cursor: pointer;
	list-style: none;
}
.lp-faq__item summary::-webkit-details-marker {
	display: none;
}
.lp-faq__item summary::after {
	content: "";
	flex: none;
	width: 8px;
	height: 8px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform 0.2s;
}
.lp-faq__item[open] summary::after {
	transform: rotate(-135deg);
}
.lp-faq__answer {
	padding: 0 0 18px;
}

@media (max-width: 1024px) {
	.lp-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 767px) {
	.lp-section {
		padding: 40px 0;
	}
	.entry--lp h1.lp-heading {
		font-size: 30px;
	}
	.entry--lp h2.lp-heading {
		font-size: 24px;
	}
	.lp-row {
		flex-direction: column;
		gap: 24px;
	}
	.lp-col {
		flex-basis: auto;
		width: 100%;
	}
	.lp-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}
