/* =========================================================================
 * RoidOcean — content pages (Phase 8). Self-contained; navy/orange/Jost.
 * Scoped under .ro-page so it never leaks into other templates.
 * Tokens: navy #103178 · orange #F59E0B · section bg #f8faff.
 * ========================================================================= */
.ro-page {
	--ro-navy: #103178;
	--ro-navy-2: #1c47a0;
	--ro-orange: #F59E0B;
	--ro-bg: #f8faff;
	--ro-ink: #16233d;
	--ro-muted: #5a6b86;
	--ro-line: #e2e8f4;
	--ro-card: #ffffff;
	font-family: "Jost", "PT Sans", "Raleway", "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
	background: var(--ro-bg);
	color: var(--ro-ink);
	padding: 40px 0 72px;
}
.ro-wrap {
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 20px;
}

/* ---- Shared page head ---- */
.ro-page__head { max-width: 780px; margin: 0 auto 34px; text-align: center; }
.ro-eyebrow {
	display: inline-block;
	margin: 0 0 10px;
	padding: 5px 14px;
	border-radius: 999px;
	background: rgba(16, 49, 120, .07);
	color: var(--ro-navy);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.ro-page__title {
	margin: 0 0 14px;
	color: var(--ro-navy);
	font-size: clamp(28px, 4vw, 42px);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -.01em;
}
.ro-page__lede {
	margin: 0;
	color: var(--ro-muted);
	font-size: 17px;
	line-height: 1.6;
}

/* ---- Prose ---- */
.ro-prose h2 { color: var(--ro-navy); font-size: 20px; font-weight: 700; margin: 0 0 12px; }
.ro-prose p { color: #34425c; font-size: 15.5px; line-height: 1.75; margin: 0 0 12px; }
.ro-prose ul { margin: 0 0 12px; padding-left: 20px; }
.ro-prose li { color: #34425c; font-size: 15.5px; line-height: 1.7; margin: 0 0 6px; }
.ro-prose a { color: var(--ro-navy-2); font-weight: 600; text-decoration: underline; }

/* ---- Buttons ---- */
.ro-btn {
	display: inline-flex; align-items: center; justify-content: center;
	padding: 12px 22px; border-radius: 10px;
	font-size: 15px; font-weight: 600; text-decoration: none;
	border: 1.5px solid transparent; cursor: pointer; transition: .18s ease;
}
.ro-btn--lg { padding: 14px 28px; font-size: 16px; }
.ro-btn--primary { background: var(--ro-navy); color: #fff; }
.ro-btn--primary:hover { background: #0c265e; }
.ro-btn--ghost { background: #fff; color: var(--ro-navy); border-color: var(--ro-line); }
.ro-btn--ghost:hover { border-color: var(--ro-navy); }

/* ---- Flash notices ---- */
.ro-flash {
	display: flex; align-items: center; gap: 10px;
	max-width: 780px; margin: 0 auto 22px; padding: 13px 16px;
	border-radius: 10px; font-size: 14.5px; font-weight: 500;
}
.ro-flash svg { flex: 0 0 auto; }
.ro-flash--ok { background: #e8f7ee; color: #1a7a44; border: 1px solid #bfe6cd; }
.ro-flash--err { background: #fdecec; color: #b02020; border: 1px solid #f3c9c9; }

/* =========================================================================
 * About
 * ========================================================================= */
.ro-about__stats {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
	max-width: 760px; margin: 0 auto 40px;
}
.ro-about__stat {
	background: var(--ro-card); border: 1px solid var(--ro-line);
	border-radius: 14px; padding: 22px 16px; text-align: center;
	box-shadow: 0 6px 18px rgba(16, 49, 120, .05);
}
.ro-about__statnum { display: block; color: var(--ro-orange); font-size: 30px; font-weight: 700; line-height: 1; }
.ro-about__statlabel { display: block; margin-top: 8px; color: var(--ro-muted); font-size: 13.5px; font-weight: 500; }
.ro-about__body { max-width: 820px; margin: 0 auto; }
.ro-about__section { margin: 0 0 28px; }
.ro-about__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }

/* =========================================================================
 * FAQ
 * ========================================================================= */
.ro-faq__group { max-width: 860px; margin: 0 auto 34px; }
.ro-faq__grouphead { margin: 0 0 14px; }
.ro-faq__grouptitle { color: var(--ro-navy); font-size: 22px; font-weight: 700; margin: 0 0 4px; }
.ro-faq__groupsub { color: var(--ro-muted); font-size: 15px; margin: 0; }
.ro-faq__list { display: flex; flex-direction: column; gap: 12px; }
.ro-faq__item {
	background: var(--ro-card); border: 1px solid var(--ro-line);
	border-radius: 12px; overflow: hidden;
	transition: border-color .18s ease, box-shadow .18s ease;
}
.ro-faq__item[open] { border-color: rgba(16, 49, 120, .35); box-shadow: 0 8px 22px rgba(16, 49, 120, .07); }
.ro-faq__q {
	display: flex; align-items: center; justify-content: space-between; gap: 14px;
	padding: 17px 20px; cursor: pointer; list-style: none;
	color: var(--ro-navy); font-size: 16px; font-weight: 600;
}
.ro-faq__q::-webkit-details-marker { display: none; }
.ro-faq__chev { flex: 0 0 auto; color: var(--ro-orange); transition: transform .2s ease; }
.ro-faq__item[open] .ro-faq__chev { transform: rotate(180deg); }
.ro-faq__a { padding: 0 20px 18px; }
.ro-faq__a p { margin: 0; color: #34425c; font-size: 15px; line-height: 1.72; }
.ro-faq__more { text-align: center; margin-top: 30px; }
.ro-faq__more p { color: var(--ro-muted); margin: 0 0 12px; }

/* =========================================================================
 * Contact
 * ========================================================================= */
.ro-contact__grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 26px; align-items: start; }
.ro-form {
	background: var(--ro-card); border: 1px solid var(--ro-line);
	border-radius: 16px; padding: 26px;
	box-shadow: 0 8px 24px rgba(16, 49, 120, .05);
}
.ro-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ro-field { display: block; margin: 0 0 16px; }
.ro-field > span { display: block; margin: 0 0 6px; color: var(--ro-ink); font-size: 14px; font-weight: 600; }
.ro-field > span em { color: var(--ro-muted); font-style: normal; font-weight: 400; }
.ro-field input, .ro-field select, .ro-field textarea {
	width: 100%; box-sizing: border-box;
	padding: 11px 13px; border: 1.5px solid var(--ro-line); border-radius: 10px;
	background: #fff; color: var(--ro-ink); font: inherit; font-size: 15px;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.ro-field input:focus, .ro-field select:focus, .ro-field textarea:focus {
	outline: none; border-color: var(--ro-navy);
	box-shadow: 0 0 0 3px rgba(16, 49, 120, .12);
}
.ro-field textarea { resize: vertical; min-height: 130px; }
.ro-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.ro-contact__card {
	background: var(--ro-navy); color: #fff;
	border-radius: 16px; padding: 26px;
	box-shadow: 0 10px 28px rgba(16, 49, 120, .22);
}
.ro-contact__cardtitle { margin: 0 0 16px; font-size: 18px; font-weight: 700; }
.ro-contact__line {
	display: flex; align-items: center; gap: 11px;
	padding: 11px 0; color: #fff; text-decoration: none;
	font-size: 15px; border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.ro-contact__line:last-of-type { border-bottom: none; }
.ro-contact__line svg { flex: 0 0 auto; color: var(--ro-orange); }
.ro-contact__line--static { cursor: default; }
a.ro-contact__line:hover span { text-decoration: underline; }
.ro-contact__note { margin: 16px 0 0; color: rgba(255, 255, 255, .78); font-size: 13.5px; line-height: 1.6; }

/* =========================================================================
 * Help
 * ========================================================================= */
.ro-help__sectiontitle { color: var(--ro-navy); font-size: 22px; font-weight: 700; margin: 8px 0 18px; }
.ro-help__sectiontitle--pop { margin-top: 44px; }
.ro-help__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ro-help__card {
	background: var(--ro-card); border: 1px solid var(--ro-line);
	border-radius: 14px; padding: 24px;
	box-shadow: 0 6px 18px rgba(16, 49, 120, .05);
	transition: transform .18s ease, box-shadow .18s ease;
}
.ro-help__card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(16, 49, 120, .10); }
.ro-help__icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 46px; height: 46px; border-radius: 12px;
	background: rgba(245, 158, 11, .12); color: var(--ro-orange); margin-bottom: 14px;
}
.ro-help__cardtitle { margin: 0 0 8px; color: var(--ro-navy); font-size: 17px; font-weight: 700; }
.ro-help__cardbody { margin: 0; color: #34425c; font-size: 14.5px; line-height: 1.65; }

/* Popular articles list */
.ro-help__popular { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ro-help__popitem {
	display: flex; align-items: center; justify-content: space-between; gap: 14px;
	background: var(--ro-card); border: 1px solid var(--ro-line); border-radius: 12px;
	padding: 14px 18px; transition: border-color .16s ease, box-shadow .16s ease;
}
.ro-help__popitem:hover { border-color: rgba(16, 49, 120, .3); box-shadow: 0 6px 16px rgba(16, 49, 120, .06); }
.ro-help__popitem a { display: flex; align-items: center; gap: 11px; color: var(--ro-navy); text-decoration: none; font-size: 15px; font-weight: 600; }
.ro-help__popitem a svg { flex: 0 0 auto; color: var(--ro-orange); }
.ro-help__popitem a:hover span { text-decoration: underline; }
.ro-help__poptag { flex: 0 0 auto; color: var(--ro-muted); font-size: 12.5px; font-weight: 500; white-space: nowrap; }

.ro-help__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }

/* =========================================================================
 * Policy (terms / privacy / cookie)
 * ========================================================================= */
.ro-policy .ro-page__head { text-align: left; margin-left: 0; }
.ro-policy__grid { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; }
.ro-policy__toc {
	position: sticky; top: 96px;
	background: var(--ro-card); border: 1px solid var(--ro-line);
	border-radius: 14px; padding: 20px;
}
.ro-policy__toctitle { margin: 0 0 12px; color: var(--ro-navy); font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.ro-policy__toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.ro-policy__toc li { margin: 0 0 8px; }
.ro-policy__toc a { color: var(--ro-muted); font-size: 14px; text-decoration: none; line-height: 1.4; }
.ro-policy__toc a:hover { color: var(--ro-navy); }
.ro-policy__body { max-width: 760px; }
.ro-policy__section { margin: 0 0 30px; scroll-margin-top: 96px; }
.ro-policy__section h2 { display: flex; align-items: center; gap: 12px; }
.ro-policy__num {
	display: inline-flex; align-items: center; justify-content: center;
	width: 28px; height: 28px; flex: 0 0 auto; border-radius: 8px;
	background: var(--ro-navy); color: #fff; font-size: 14px; font-weight: 700;
}
.ro-policy__extra { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--ro-line); }

/* =========================================================================
 * Responsive
 * ========================================================================= */
@media (max-width: 900px) {
	.ro-contact__grid { grid-template-columns: 1fr; }
	.ro-policy__grid { grid-template-columns: 1fr; gap: 24px; }
	.ro-policy__toc { position: static; }
	.ro-help__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
	.ro-about__stats { grid-template-columns: 1fr; max-width: 340px; }
	.ro-help__grid { grid-template-columns: 1fr; }
	.ro-field-row { grid-template-columns: 1fr; gap: 0; }
	.ro-page { padding: 28px 0 56px; }
	.ro-help__popitem { flex-direction: column; align-items: flex-start; gap: 6px; }
}
