/* ReallyGoodCustomScheduler.com sales page */
:root {
	--accent: #7A222E;
	--ink: #14161F;
	--body: #4A4E5C;
	--ground: #FBFAF7;
	--sand: #EFEDE6;
	--line: #E2E0DA;
	--green: #1F7A4D;
	--rust: #C2410C;
	--gold: #FFD66B;
	--display: 'Archivo', system-ui, sans-serif;
}

.rgcs, .rgcs * { box-sizing: border-box; }
body.rgcs-body { margin: 0; background: var(--ground); }
.rgcs { font-family: 'Public Sans', system-ui, sans-serif; color: var(--ink); background: var(--ground); font-size: 16px; line-height: 1.5; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
.rgcs a { color: var(--accent); }
.rgcs img, .rgcs svg { display: block; }
:where(.rgcs) :where(h1, h2, h3, p, ul) { margin: 0; }
.rgcs :focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
.h2 { font-family: var(--display); font-weight: 800; letter-spacing: -.02em; font-size: 44px; line-height: 1.05; color: var(--ink); max-width: 780px; }
.lede { font-size: 19px; line-height: 1.55; color: var(--body); margin-top: 16px; max-width: 640px; }
.section { padding: 104px 0; }
.sand { background: var(--sand); }
.dark { background: var(--ink); color: #fff; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; }
.rgcs .btn-primary { background: var(--accent); color: #fff; }
.rgcs .btn-primary:hover { filter: brightness(.9); color: #fff; }
.rgcs .btn-dark { background: var(--ink); color: #fff; min-height: 44px; padding: 0 20px; font-size: 15px; }
.rgcs .btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }

.tick { flex: none; margin-top: 2px; }
.pill { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.pill-green { background: #DDF2E6; color: #155C39; }
.pill-red { background: #FDE2D6; color: #9A3412; }
.pill-amber { background: #FFF1CC; color: #7A5200; }
.pill-blue { background: #E3E9FF; color: #1F3AB0; }

/* Nav */
.nav { border-bottom: 1px solid #E7E5DF; }
.nav .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 76px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink) !important; }
.brand-mark { width: 34px; height: 34px; border-radius: 9px; background: var(--accent); display: inline-flex; align-items: center; justify-content: center; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.brand-name span { color: #6B6F7D; font-weight: 500; }
.navlinks { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.navlinks a.link { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.navlinks a.link:hover { color: var(--accent); }

/* Hero */
.hero { padding: 88px 0 96px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.hero h1 { font-family: var(--display); font-weight: 900; font-size: 68px; line-height: .98; letter-spacing: -.03em; }
.hero .lede { font-size: 20px; }
.hero-ctas { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.hero-checks { display: flex; gap: 22px; margin-top: 36px; flex-wrap: wrap; font-size: 14px; color: var(--body); font-weight: 600; }
.hero-checks span { display: inline-flex; align-items: center; gap: 8px; }

.phone-stage { display: flex; justify-content: center; position: relative; }
.phone-blob { position: absolute; width: 360px; height: 360px; border-radius: 50%; background: var(--gold); top: 60px; right: 10px; opacity: .55; }
.phone { position: relative; width: 320px; max-width: 100%; border-radius: 44px; background: var(--ink); padding: 12px; box-shadow: 0 30px 60px rgba(20,22,31,.25); }
.screen { border-radius: 34px; background: #F3F2EE; overflow: hidden; }
.screen-top { background: var(--accent); color: #fff; padding: 26px 20px 18px; }
.screen-top small { font-size: 12px; opacity: .85; font-weight: 600; display: block; }
.screen-top strong { font-family: var(--display); font-weight: 800; font-size: 22px; display: block; margin-top: 2px; }
.screen-body { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.today { background: var(--green); color: #fff; border-radius: 16px; padding: 14px 16px; }
.today .k { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .9; }
.today .t { font-weight: 700; font-size: 17px; margin-top: 4px; }
.today .d { font-size: 13px; margin-top: 4px; opacity: .95; }
.card { background: #fff; border-radius: 14px; padding: 12px 14px; border: 1px solid var(--line); }
.card-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.card .pill { font-size: 11px; padding: 4px 8px; }
.card .meta { font-size: 12px; color: #5C606D; margin-top: 4px; }
.card .req { margin-top: 10px; background: var(--accent); color: #fff; text-align: center; font-weight: 700; font-size: 13px; border-radius: 10px; padding: 10px; }
.badge { font-size: 11px; font-weight: 700; background: var(--rust); color: #fff; padding: 3px 8px; border-radius: 999px; }
.tabbar { display: flex; justify-content: space-around; padding: 12px 8px 16px; border-top: 1px solid var(--line); background: #fff; font-size: 11px; font-weight: 600; color: #5C606D; }
.tabbar .on { color: var(--accent); }

/* Screenshot frames */
.rgcs figure { margin: 0; }
.frame { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 24px 48px rgba(20,22,31,.12); position: relative; }
.frame-bar { height: 30px; display: flex; gap: 6px; align-items: center; padding: 0 14px; background: #F1EEE8; border-bottom: 1px solid var(--line); }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #D6D2C9; }
.frame img { width: 100%; height: auto; }
.shot-stage { position: relative; }
.shot-blob { position: absolute; width: 340px; height: 340px; border-radius: 50%; background: var(--gold); top: -40px; right: -60px; opacity: .45; }
.shots2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 48px; align-items: start; }
.frame-cap figcaption { margin-top: 14px; color: var(--body); font-size: 16px; }
.frame-cap figcaption b { color: var(--ink); }

/* Proof strip */
.proof { padding: 28px 0; }
.proof .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.proof .big { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -.01em; }
.proof .small { color: #B9BCC8; font-size: 15px; max-width: 420px; }

/* Grids */
.cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.cols4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }

.pain { background: #fff; border: 1px solid #E7E5DF; border-radius: 20px; padding: 30px; }
.pain .num { font-family: var(--display); font-weight: 800; font-size: 40px; color: var(--rust); line-height: 1; }
.pain h3 { font-size: 20px; margin: 18px 0 8px; }
.pain p, .step p { color: var(--body); line-height: 1.6; }

.step { border-top: 3px solid var(--ink); padding-top: 22px; }
.step .n { font-size: 14px; font-weight: 700; color: var(--accent); }
.step h3 { font-size: 20px; margin: 8px 0; }

.role { background: #fff; border: 1px solid #E7E5DF; border-radius: 22px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.role .pill { align-self: flex-start; font-size: 13px; padding: 6px 12px; }
.role h3 { font-family: var(--display); font-size: 26px; font-weight: 800; letter-spacing: -.01em; }
.role ul { padding-left: 20px; color: #3A3E4B; line-height: 1.65; display: flex; flex-direction: column; gap: 8px; }

/* Spotlights */
.ticks { margin-top: 28px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; font-weight: 600; }
.ticks li { display: flex; gap: 10px; align-items: center; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px; box-shadow: 0 20px 40px rgba(20,22,31,.08); }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.panel-head strong { font-family: var(--display); font-weight: 800; font-size: 20px; }
.panel-head span { font-size: 12px; font-weight: 600; color: #5C606D; }
.tablebox { overflow-x: auto; margin-top: 18px; }
.tablebox table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 420px; }
.tablebox th { text-align: left; color: #5C606D; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.tablebox td { padding: 12px 8px; border-bottom: 1px solid var(--sand); }
.tablebox tr:last-child td { border-bottom: 0; }
.tablebox td:first-child { font-weight: 600; }
.tablebox .r { text-align: right; }

.alert-box { background: var(--ink); border-radius: 22px; padding: 30px; color: #fff; display: flex; flex-direction: column; gap: 14px; }
.alert-box strong { font-family: var(--display); font-weight: 800; font-size: 20px; }
.alert-box .lbl { font-size: 12px; color: #B9BCC8; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; display: block; margin-bottom: 6px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font-size: 13px; padding: 7px 12px; border-radius: 999px; border: 1px solid #3A3E4B; }
.chip.on { background: #fff; color: var(--ink); font-weight: 700; border-color: #fff; }
.chip.gold { background: var(--gold); color: var(--ink); font-weight: 700; border-color: var(--gold); }
.alert-msg { background: #23262F; border-radius: 14px; padding: 16px; font-size: 15px; line-height: 1.55; color: #E6E7EC; }

/* Who it's for */
.who { background: var(--accent); color: #fff; }
.who .eyebrow { color: var(--gold); }
.who .h2 { color: #fff; }
.who .lede { color: rgba(255,255,255,.84); }
.who-card { background: rgba(255,255,255,.1); border-radius: 18px; padding: 24px; }
.who-card h3 { font-size: 19px; margin-bottom: 6px; }
.who-card p { color: rgba(255,255,255,.84); line-height: 1.55; }

/* Checklist */
.check { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 28px; margin-top: 44px; color: #2A2D38; }
.check div { display: flex; gap: 10px; }
.check .tick { color: var(--accent); }

/* FAQ */
.faq .wrap { max-width: 880px; }
.faq-list { margin-top: 36px; display: flex; flex-direction: column; gap: 12px; }
.faq details { background: #fff; border-radius: 16px; padding: 22px 26px; }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 18px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--accent); }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin-top: 12px; color: var(--body); line-height: 1.6; }

/* Demo form */
.demo .split { align-items: start; }
.demo .h2 { font-size: 52px; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.formgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea { font: inherit; font-weight: 400; font-size: 16px; padding: 12px 14px; border: 1px solid #C9CBD3; border-radius: 10px; background: #fff; color: var(--ink); min-height: 48px; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: 2px solid var(--accent); outline-offset: 0; }
.form .btn { align-self: flex-start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { border-radius: 12px; padding: 14px 16px; font-weight: 600; }
.notice.ok { background: #DDF2E6; color: #155C39; }
.notice.err { background: #FDE2D6; color: #9A3412; }

/* Footer */
.foot { padding: 48px 0; color: #B9BCC8; }
.foot .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.foot .brand-name { color: #fff; font-size: 18px; }
.foot .brand-name span { color: #8A8E9C; }
.foot nav { display: flex; gap: 24px; flex-wrap: wrap; font-size: 14px; }
.rgcs .foot a { color: #B9BCC8; }
.rgcs .foot a:hover { color: #fff; }
.foot small { font-size: 14px; }

/* Responsive */
@media (max-width: 1100px) {
	.cols4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.check { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.wrap { padding: 0 16px; }
	.section { padding: 72px 0; }
	.hero { padding: 56px 0 72px; }
	.hero .wrap, .split { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.hero h1 { font-size: 40px; }
	.brand-name { font-size: 16px; }
	.brand { min-width: 0; }
	.h2, .demo .h2 { font-size: 34px; }
	.cols3, .cols4, .check, .formgrid, .shots2 { grid-template-columns: minmax(0, 1fr); }
	.shot-blob { width: 220px; height: 220px; right: -40px; }
	.navlinks .link { display: none; }
	.phone-blob { width: 260px; height: 260px; right: 50%; margin-right: -130px; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
}
html { scroll-behavior: smooth; }

/* ---------- Phones (1.2.0) ---------- */
.lbl-sm { display: none; }
@media (max-width: 640px) {
	.rgcs { font-size: 16px; }
	.wrap { padding: 0 20px; }

	/* Header: one compact row that stays in view */
	.nav { position: sticky; top: 0; z-index: 50; background: rgba(251,250,247,.94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
	.nav .wrap { flex-wrap: nowrap; min-height: 60px; gap: 10px; }
	.brand { gap: 8px; }
	.brand-mark { width: 30px; height: 30px; border-radius: 8px; flex: none; }
	.brand-mark svg { width: 17px; height: 17px; }
	.brand-name { font-size: 15px; line-height: 1.05; }
	.nav .brand-name { max-width: 150px; }
	.brand-name span { display: none; }
	.navlinks { flex-wrap: nowrap; gap: 0; }
	.rgcs .btn-dark { min-height: 40px; padding: 0 16px; font-size: 14px; white-space: nowrap; }
	.lbl-lg { display: none; }
	.lbl-sm { display: inline; }

	/* Hero */
	.hero { padding: 36px 0 56px; }
	.hero .wrap { gap: 36px; }
	.eyebrow { font-size: 12px; letter-spacing: .08em; margin-bottom: 12px; }
	.hero h1 { font-size: 38px; line-height: 1.02; letter-spacing: -.025em; }
	.hero h1 br { display: none; }
	.hero .lede, .lede { font-size: 17px; line-height: 1.5; margin-top: 14px; }
	.hero-ctas { flex-direction: column; gap: 10px; margin-top: 26px; }
	.hero-ctas .btn { width: 100%; min-height: 52px; }
	.hero-checks { flex-direction: column; gap: 10px; margin-top: 22px; font-size: 15px; }
	.shot-blob { width: 180px; height: 180px; top: -24px; right: -50px; }
	.frame { border-radius: 12px; box-shadow: 0 14px 30px rgba(20,22,31,.12); }
	.frame-bar { height: 22px; padding: 0 10px; gap: 5px; }
	.frame-bar i { width: 7px; height: 7px; }

	/* Sections */
	.section { padding: 60px 0; }
	.h2, .demo .h2 { font-size: 30px; line-height: 1.08; letter-spacing: -.02em; }
	.cols3, .cols4, .shots2 { gap: 16px; margin-top: 32px; }
	.proof { padding: 24px 0; }
	.proof .wrap { gap: 10px; }
	.proof .big { font-size: 18px; line-height: 1.3; }
	.proof .small { font-size: 14px; }
	.pain { padding: 22px; border-radius: 16px; }
	.pain .num { font-size: 30px; }
	.pain h3 { margin-top: 12px; font-size: 18px; }
	.step { padding-top: 16px; }
	.step h3 { font-size: 18px; }
	.role { padding: 24px; border-radius: 18px; gap: 12px; }
	.role h3 { font-size: 22px; }
	.role ul { gap: 6px; font-size: 15px; }
	.frame-cap figcaption { font-size: 15px; margin-top: 10px; }
	.ticks li { align-items: flex-start; font-size: 15px; }
	.alert-box { padding: 22px; border-radius: 18px; }
	.who-card { padding: 20px; border-radius: 14px; }
	.who-card h3 { font-size: 17px; }
	.check { gap: 12px; margin-top: 28px; font-size: 15px; }
	.faq details { padding: 18px 20px; border-radius: 14px; }
	.faq summary { font-size: 16px; }
	.form { padding: 22px; border-radius: 18px; }
	.form .btn { width: 100%; }
	.foot { padding: 36px 0; }
	.foot .wrap { flex-direction: column; align-items: flex-start; gap: 16px; }
}
