/**
 * Google Workspace — page-owned styles only.
 *
 * The page is in the cloud26 rollout, so the shared layer supplies the photo
 * hero, the section tabs, the button treatment and the whole pricing-card
 * layout. What is left here is the fact rail, the app grid, the comparison
 * table and the FAQ. The previous file was 696 lines because it re-implemented
 * all of the above with its own hero, slider and colour ramp; the old version
 * is kept at css/_deprecated/google-workspace-old.css.
 */

.gws-page {
	--gws-navy: #071832;
	--gws-text: #22304a;
	--gws-muted: #667895;
	--gws-line: #d9e7f5;
	--gws-soft: #f5f9ff;
	color: var(--gws-text);
}

.gws-page * { box-sizing: border-box; }

.gws-section { padding: 80px 0; }
.gws-section:nth-of-type(even) { background: var(--gws-soft); }

.gws-section-heading { max-width: 720px; }
.gws-section-heading.gws-center { margin-inline: auto; text-align: center; }

.gws-eyebrow {
	display: block;
	margin-bottom: 14px;
	color: #0969ff;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.gws-page h1 { font-size: clamp(32px, 3.6vw, 50px); font-weight: 400; line-height: 1.16; letter-spacing: -.02em; }
.gws-page h2 { margin: 0 0 14px; color: var(--gws-navy); font-size: clamp(24px, 2.3vw, 34px); font-weight: 400; line-height: 1.25; letter-spacing: -.01em; }
.gws-page h3 { margin: 0 0 8px; color: var(--gws-navy); font-size: 19px; font-weight: 500; line-height: 1.3; }
.gws-section-heading p { margin: 0; color: var(--gws-muted); font-size: 16px; line-height: 1.7; }

/* Hero — the rollout paints the photograph and the overlay; this only sets the
   copy width and the spacing for the moment before the script runs. */
.gws-hero { padding: 92px 0 0; background: var(--gws-navy); color: #fff; }
.gws-hero__grid { display: flex; align-items: flex-end; min-height: 420px; padding-bottom: 64px; }
.gws-hero__content { max-width: 760px; }
.gws-hero__content .gws-eyebrow { color: #7fd0ff; }
.gws-hero__content p { margin: 18px 0 0; color: rgba(255,255,255,.86); font-size: 17px; line-height: 1.7; }
.gws-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.gws-btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 56px; padding: 0 28px;
	border: 1px solid transparent; border-radius: 999px;
	font-size: 16px; font-weight: 400; text-decoration: none;
}
.gws-btn--primary { border-color: #fff; background: #fff; color: var(--gws-navy); }
.gws-btn--outline { border-color: rgba(255,255,255,.5); color: #fff; }

/* Overview: copy on the left, fact rail on the right. */
.gws-overview__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 480px); gap: 48px; align-items: start; }
.gws-overview__grid p + p { margin-top: 16px; }

.gws-mailbox { padding: 16px 20px; border: 1px solid var(--gws-line); border-radius: 12px; background: #fff; }
.gws-mailbox span { color: var(--gws-navy); font-weight: 500; }

.gws-factrail { margin: 0; border: 1px solid var(--gws-line); border-radius: 16px; background: #fff; overflow: hidden; }
.gws-factrail > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 18px; align-items: baseline; padding: 16px 22px; border-bottom: 1px solid var(--gws-line); }
.gws-factrail > div:last-child { border-bottom: 0; }
.gws-factrail dt { color: var(--gws-muted); font-size: 14px; line-height: 1.45; }
.gws-factrail dd { margin: 0; color: var(--gws-navy); font-size: 15px; font-weight: 500; line-height: 1.45; }

/* Apps and benefits. */
.gws-app-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 42px; }
.gws-app-card, .gws-benefit-card { padding: 26px; border: 1px solid var(--gws-line); border-radius: 16px; background: #fff; }
.gws-app-card p, .gws-benefit-card p { margin: 0; color: var(--gws-muted); font-size: 15px; line-height: 1.65; }
.gws-icon { display: block; margin-bottom: 14px; color: #0969ff; font-size: 26px; }

.gws-benefit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 42px; }
.gws-compare-heading { margin-top: 64px; }
.gws-compare-heading h3 { font-size: 22px; }

/* Comparison table. */
.gws-table-wrap { margin-top: 26px; border: 1px solid var(--gws-line); border-radius: 16px; background: #fff; overflow-x: auto; }
.gws-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.gws-table th, .gws-table td { padding: 16px 20px; border-bottom: 1px solid var(--gws-line); text-align: left; vertical-align: top; }
.gws-table thead th { color: var(--gws-navy); font-weight: 500; white-space: nowrap; background: var(--gws-soft); }
.gws-table tbody th { color: var(--gws-navy); font-weight: 400; }
.gws-table td { color: var(--gws-muted); }
.gws-table tbody tr:last-child th, .gws-table tbody tr:last-child td { border-bottom: 0; }

/* Pricing — the shared layer owns the grid and the card chrome. These rules
   only cover what it does not know about: the badge and the spec rows. */
.gws-plan-slider { display: grid; margin-top: 42px; }
.gws-plan-card { position: relative; }
.gws-badge { position: absolute; top: 16px; right: 16px; padding: 5px 12px; border-radius: 999px; background: #0969ff; color: #fff; font-size: 12px; }
.gws-plan-head p { margin: 8px 0 0; color: var(--gws-muted); font-size: 14px; line-height: 1.55; }
.gws-plan-tag { display: block; margin-bottom: 10px; color: #0969ff; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.gws-price { display: flex; align-items: baseline; justify-content: center; gap: 6px; padding: 20px 22px; }
.gws-price strong { color: var(--gws-navy); font-size: 26px; font-weight: 500; letter-spacing: -.02em; }
.gws-price span { color: var(--gws-muted); font-size: 13px; }
.gws-plan-features { list-style: none; margin: 0; padding: 0 22px; }
.gws-plan-features li { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; border-bottom: 1px solid #edf2f8; }
.gws-plan-features li:last-child { border-bottom: 0; }
.gws-plan-features span { color: var(--gws-muted); font-size: 14px; }
.gws-plan-features strong { color: var(--gws-navy); font-size: 14px; font-weight: 500; text-align: right; }
.gws-plan-action { display: block; margin: 22px; }

/* FAQ. */
.gws-faq__grid { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 48px; align-items: start; }
.gws-faq-list details { padding: 18px 22px; border: 1px solid var(--gws-line); border-radius: 12px; background: #fff; }
.gws-faq-list details + details { margin-top: 12px; }
.gws-faq-list summary { color: var(--gws-navy); font-size: 16px; cursor: pointer; }
.gws-faq-list p { margin: 12px 0 0; color: var(--gws-muted); font-size: 15px; line-height: 1.7; }

/* Closing call to action. */
.gws-cta__box { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; padding: 44px; border-radius: 20px; background: var(--gws-navy); color: #fff; }
.gws-cta__box h2 { color: #fff; }
.gws-cta__box p { margin: 0; color: rgba(255,255,255,.82); font-size: 16px; line-height: 1.7; }
.gws-cta__actions { display: flex; flex-wrap: wrap; gap: 14px; }

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

@media (max-width: 1024px) {
	.gws-overview__grid, .gws-faq__grid { grid-template-columns: 1fr; gap: 32px; }
	.gws-app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
	.gws-section { padding: 56px 0; }
	.gws-app-grid, .gws-benefit-grid { grid-template-columns: 1fr; }
	.gws-cta__box { grid-template-columns: 1fr; padding: 30px; }
	.gws-factrail > div { grid-template-columns: 1fr; gap: 4px; }
}
