/**
 * Homepage 07: Why Growth Saloon (design A + gate-3 rhythm and type scale).
 * Desktop: two lists side by side (.s07a-split). Phone: switch + one card
 * (.s07a-m), enhanced under html.gh-js only.
 */

.gs-home .gh-07.s07a-sec {
	background: var(--page-bg);
}

.gs-home .gh-07 .s07a-head {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.gs-home .gh-07 .s07a-intro {
	text-wrap: pretty;
}

.gs-home .gh-07 .s07a-it + .s07a-it {
	border-top: 1px solid var(--outline-med-em);
}

.gs-home .gh-07 .s07a-ic {
	flex: none;
	width: 16px;
	height: 16px;
}

.gs-home .gh-07 .s07a-dash {
	stroke: var(--text-low-em);
}

.gs-home .gh-07 .s07a-chk {
	stroke: var(--brand-primary-main);
}

.gs-home .gh-07 .s07a-u,
.gs-home .gh-07 .s07a-g {
	color: var(--text-med-em);
}

.gs-home .gh-07 .s07a-t {
	font-weight: 600;
	color: var(--text-high-em);
}

/* ---------- Desktop (1024px up) ---------- */

@media (min-width: 1024px) {
	.gs-home .gh-07.s07a-sec {
		min-height: 880px;
		display: flex;
		flex-direction: column;
		justify-content: center;
		padding: 160px 0;
	}

	.gs-home .gh-07 .s07a-head {
		max-width: 640px;
	}

	.gs-home .gh-07 .s07a-h2 {
		margin-top: 18px;
		font-size: 44px;
		line-height: 1.15;
	}

	.gs-home .gh-07 .s07a-intro {
		margin-top: 20px;
		max-width: 540px;
		font-size: 18px;
		line-height: 28px;
	}

	/* 440px + 736px at the 1200px container; keeps that split below it */
	.gs-home .gh-07 .s07a-split {
		display: grid;
		grid-template-columns: minmax(0, 440fr) minmax(0, 736fr);
		align-items: stretch;
		gap: 24px;
		margin-top: 44px;
	}

	.gs-home .gh-07 .s07a-col {
		border-radius: 24px;
		padding: 28px clamp(24px, 2.25vw, 32px);
	}

	.gs-home .gh-07 .s07a-usual {
		border: 1px solid var(--outline-med-em);
	}

	.gs-home .gh-07 .s07a-ours {
		background: var(--card-bg);
		box-shadow: var(--elevation-e1);
		border: 1px solid transparent;
	}

	.gs-home .gh-07 .s07a-ct {
		font-family: var(--font-body);
	}

	.gs-home .gh-07 .s07a-usual .s07a-ct {
		color: var(--text-med-em);
	}

	.gs-home .gh-07 .s07a-ours .s07a-ct {
		color: var(--text-brand-em);
	}

	.gs-home .gh-07 .s07a-list {
		margin-top: 12px;
	}

	.gs-home .gh-07 .s07a-it {
		display: flex;
		align-items: center;
		gap: 14px;
		min-height: 60px;
		padding: 6px 0;
	}

	.gs-home .gh-07 .s07a-u {
		font-size: 16px;
		line-height: 24px;
	}

	.gs-home .gh-07 .s07a-txt {
		display: flex;
		align-items: baseline;
		gap: 16px;
		width: 100%;
	}

	.gs-home .gh-07 .s07a-t {
		flex: 0 0 clamp(190px, 18.1vw, 260px);
		font-size: 17px;
		line-height: 24px;
	}

	.gs-home .gh-07 .s07a-g {
		min-width: 0;
		font-size: 16px;
		line-height: 24px;
	}
}

/* ---------- Phone (below 1024px) ---------- */

@media (max-width: 1023px) {
	.gs-home .gh-07.s07a-sec {
		padding: 112px 0;
	}

	.gs-home .gh-07 .w {
		width: 100%;
		max-width: 560px;
		margin: 0 auto;
		padding: 0 24px;
	}

	.gs-home .gh-07 .s07a-head {
		max-width: 100%;
	}

	.gs-home .gh-07 .s07a-h2 {
		margin-top: 16px;
		font-size: 32px;
		line-height: 1.15;
	}

	.gs-home .gh-07 .s07a-intro.lead {
		margin-top: 16px;
		font-size: 16px;
		line-height: 26px;
	}

	.gs-home .gh-07 .s07a-sw {
		position: relative;
		display: grid;
		grid-template-columns: 1fr 1fr;
		margin-top: 32px;
		padding: 4px;
		border: 1px solid var(--outline-med-em);
		border-radius: 100px;
		background: var(--page-bg);
	}

	.gs-home .gh-07 .s07a-thumb {
		position: absolute;
		top: 4px;
		bottom: 4px;
		left: 4px;
		width: calc(50% - 4px);
		border-radius: 100px;
		background: var(--card-bg);
		box-shadow: var(--elevation-e1);
		transition: transform .28s cubic-bezier(.3, .7, .2, 1);
	}

	.gs-home .gh-07 .s07a-thumb.s07a-r {
		transform: translateX(100%);
	}

	.gs-home .gh-07 .s07a-sw .s07a-tab {
		position: relative;
		z-index: 1;
		display: flex;
		align-items: center;
		justify-content: center;
		min-height: 48px;
		padding: 0 12px;
		border: 0;
		border-radius: 100px;
		background: transparent;
		cursor: pointer;
		font-family: var(--font-body);
		font-size: 12px;
		font-weight: 600;
		line-height: 16px;
		letter-spacing: .12em;
		text-transform: uppercase;
		color: var(--text-low-em);
		transition: color .25s ease;
		-webkit-tap-highlight-color: transparent;
	}

	.gs-home .gh-07 .s07a-sw .s07a-tab:hover,
	.gs-home .gh-07 .s07a-sw .s07a-tab:focus {
		background: transparent;
		color: var(--text-low-em);
	}

	.gs-home .gh-07 .s07a-sw .s07a-tab.s07a-on {
		color: var(--text-high-em);
	}

	.gs-home .gh-07 .s07a-sw .s07a-tab.s07a-gs.s07a-on {
		color: var(--text-brand-em);
	}

	.gs-home .gh-07 .s07a-card {
		display: grid;
		margin-top: 16px;
		border-radius: 20px;
		padding: 8px 20px;
		border: 1px solid var(--outline-med-em);
		background: transparent;
		box-shadow: none;
		transition: background-color .25s ease, box-shadow .25s ease, border-color .25s ease;
	}

	.gs-home .gh-07 .s07a-card.s07a-gsk {
		background: var(--card-bg);
		box-shadow: var(--elevation-e1);
		border-color: transparent;
	}

	.gs-home .gh-07 .s07a-pnl {
		display: flex;
		flex-direction: column;
	}

	.gs-home .gh-07 .s07a-pnl:focus-visible {
		outline-offset: 6px;
	}

	.gs-home .gh-07 .s07a-list {
		flex: 1 1 auto;
		display: flex;
		flex-direction: column;
	}

	.gs-home .gh-07 .s07a-it {
		flex: 1 0 auto;
		display: flex;
		align-items: center;
		gap: 12px;
		min-height: 56px;
		padding: 14px 0;
	}

	.gs-home .gh-07 .s07a-it:has(.s07a-txt) .s07a-ic {
		align-self: flex-start;
		margin-top: 3px;
	}

	.gs-home .gh-07 .s07a-u {
		font-size: 14px;
		line-height: 21px;
	}

	.gs-home .gh-07 .s07a-txt {
		display: flex;
		flex-direction: column;
		gap: 2px;
		min-width: 0;
		width: 100%;
	}

	.gs-home .gh-07 .s07a-t {
		font-size: 15px;
		line-height: 22px;
	}

	.gs-home .gh-07 .s07a-g {
		font-size: 14px;
		line-height: 20px;
	}

	/* Enhanced: both panels share one grid cell, only the selected one shows */
	html.gh-js .gs-home .gh-07 .s07a-pnl {
		grid-area: 1 / 1;
		opacity: 0;
		visibility: hidden;
		transition: opacity .25s ease, visibility 0s linear .25s;
	}

	html.gh-js .gs-home .gh-07 .s07a-pnl.s07a-on {
		opacity: 1;
		visibility: visible;
		transition: opacity .25s ease, visibility 0s;
	}

	/* No JS: no switch, both lists stacked, each with its title */
	html:not(.gh-js) .gs-home .gh-07 .s07a-sw {
		display: none;
	}

	html:not(.gh-js) .gs-home .gh-07 .s07a-pnl .s07a-ph {
		position: static;
		width: auto;
		height: auto;
		margin: 16px 0 4px;
		overflow: visible;
		clip: auto;
		white-space: normal;
		font-size: 12px;
		font-weight: 600;
		line-height: 16px;
		letter-spacing: .12em;
		text-transform: uppercase;
		color: var(--text-brand-em);
	}

	html:not(.gh-js) .gs-home .gh-07 #gh-07-pu .s07a-ph {
		color: var(--text-med-em);
	}
}
