/* =====================================================================
   MERIDIAN PRIVATE  ::  marketing site
   Holds the product's palette: warm near-black ink, brass as the single
   accent. Layout posture is LEFT ALIGNED throughout, with a "statement
   ruling" device, hairline rules carrying a right set tabular figure,
   borrowed from a bank statement rather than from generic premium.
   ===================================================================== */

:root{
	/* token contract */
	--ink:#E8EFF7;
	--ink-soft:#AFBDD0;
	/* #6C7482 measured 3.97:1 on the footer surface, under the 4.5:1 floor for
	   the 12.5px disclaimer text, which is text that legally has to be readable. */
	--ink-mute:#93A2B8;
	--paper:#0B0F19;
	--surface:#1E293B;
	--surface-2:#243144;
	--accent:#38BDF8;
	--accent-deep:#0EA5E9;
	--accent-ink:#04121F;
	--accent-wash:rgba(56,189,248,.12);
	--line:#2A3A52;
	--line-soft:#1F2B3E;
	--pos:#4FA882;

	--step--1:0.86rem;
	--step-0:1rem;
	--step-1:1.22rem;
	--step-2:1.55rem;
	--step-3:2.3rem;
	--step-4:clamp(2.6rem,5vw,3.7rem);
	--step-5:clamp(3rem,8.2vw,6.6rem);

	--gutter:clamp(1.25rem,3vw,50px);
	--page-max:1400px;
	--section:clamp(4.5rem,11vh,9rem);
	--measure:66ch;

	--ease:cubic-bezier(.16,1,.3,1);
	--nav-h:68px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{
	margin:0;background:var(--paper);color:var(--ink);
	font:400 var(--step-0)/1.65 "Schibsted Grotesk",system-ui,sans-serif;
	/* Deliberately NOT tabular here. Tabular figures give the comma and period a
	   full figure advance, which printed "5 . 00% APY" and "$10 , 000 ." in
	   running prose. Tabular is applied only where figures are columnar. */
	font-variant-numeric:lining-nums;
	-webkit-font-smoothing:antialiased;letter-spacing:-.005em;
	overflow-x:hidden;
}
h1,h2,h3,h4{margin:0;font-weight:400;line-height:1.08;letter-spacing:-.02em}
p{margin:0}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit}

.serif{font-family:"Instrument Serif",Georgia,serif;font-weight:400;letter-spacing:-.012em}
.soft{color:var(--ink-soft)}
.mute{color:var(--ink-mute)}

:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:3px}

/* The page margin. Was a 1240px cap, which left roughly a third of a wide
   screen empty on either side. Now the content runs to a 50px margin,
   with a generous cap so an ultra wide monitor does not stretch a line
   of text past reading length. */
.wrap{max-width:var(--page-max);margin:0 auto;padding:0 var(--gutter)}
.sec{padding:var(--section) 0}
.sec-tight{padding:calc(var(--section) * .6) 0}

/* grain, same paper tooth as the product */
body::after{
	content:"";position:fixed;inset:0;pointer-events:none;z-index:1;opacity:.04;
	background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------------ nav */
.nav{
	position:fixed;top:0;left:0;right:0;z-index:50;height:var(--nav-h);
	display:flex;align-items:center;
	background:transparent;border-bottom:1px solid transparent;
	transition:background-color .35s var(--ease),border-color .35s var(--ease),backdrop-filter .35s;
}
.nav.stuck{background:rgba(8,9,13,.9);backdrop-filter:blur(14px) saturate(1.3);border-bottom-color:var(--line)}
.nav .wrap{display:flex;align-items:center;gap:28px;width:100%}
.brand{display:flex;align-items:center;gap:10px;flex:0 0 auto}
.brand-mark{
	width:30px;height:30px;border-radius:7px;flex:0 0 30px;
	display:flex;align-items:center;justify-content:center;
	background:linear-gradient(145deg,#0C2433,#0E7490 40%,#38BDF8 72%,#0284C7);
	box-shadow:inset 0 1px 0 rgba(255,255,255,.22);
}
.brand-mark svg{width:15px;height:15px;fill:none;stroke:#04121F;stroke-width:1.9;stroke-linejoin:round;stroke-linecap:round}
.brand-name{font-family:"Instrument Serif",Georgia,serif;font-size:19px;line-height:1}
.navlinks{display:flex;gap:26px;margin-left:auto;align-items:center}
/* :not(.btn) matters. ".navlinks a" outranks ".btn-brass", so without it the
   primary nav CTA rendered grey on brass at a 1.02 contrast ratio, which is
   invisible text on the most important button on the page. */
.navlinks a:not(.btn){font-size:14px;color:var(--ink-soft);transition:color .2s}
.navlinks a:not(.btn):hover{color:var(--ink)}
.navtoggle{display:none;background:none;border:1px solid var(--line);border-radius:8px;width:44px;height:44px;align-items:center;justify-content:center;cursor:pointer}
.navtoggle svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}

/* ------------------------------------------------------------------ buttons */
.btn{
	display:inline-flex;align-items:center;justify-content:center;gap:9px;
	min-height:44px;padding:12px 22px;border-radius:8px;border:1px solid transparent;
	font-size:15px;font-weight:600;cursor:pointer;white-space:nowrap;
	transition:filter .2s var(--ease),background-color .2s,border-color .2s,color .2s,transform .08s;
}
.btn:active{transform:translateY(1px)}
.btn-brass{
	background:linear-gradient(170deg,var(--accent),var(--accent-deep));
	color:var(--accent-ink);box-shadow:inset 0 1px 0 rgba(255,255,255,.26);
}
.btn-brass:hover{filter:brightness(1.08)}
.btn-line{border-color:var(--line);color:var(--ink)}
.btn-line:hover{border-color:var(--accent);color:var(--accent)}
.btn-text{padding:10px 2px;min-height:44px;margin:-10px 0;color:var(--ink-soft);border:0;background:none;text-decoration:underline;text-underline-offset:4px;text-decoration-color:var(--ink-mute)}
.btn-text:hover{color:var(--accent);text-decoration-color:var(--accent)}
.btn-sm{min-height:38px;padding:9px 16px;font-size:14px}
.btn-lg{min-height:52px;padding:15px 28px;font-size:16px}

/* ------------------------------------------------------------------ hero */
.hero{padding:calc(var(--nav-h) + clamp(3rem,9vh,6rem)) 0 var(--section);position:relative}
.hero-h1{font-size:var(--step-5);max-width:16ch}
/* The mask box must be taller than the glyph box. At 70px Instrument Serif has
   roughly 84px of ink extent against a 76px line box, so a bare overflow:hidden
   sheared the ascenders and tails off every line. Padding opens the mask and the
   negative margin keeps the original vertical rhythm. */
.hero-h1 .ln{display:block;overflow:hidden;padding:.09em 0 .2em;margin-bottom:-.2em}
.hero-h1 .ln>span{display:block}
.hero-sub{font-size:var(--step-1);color:var(--ink-soft);max-width:48ch;margin-top:26px;line-height:1.55}
.hero-cta{display:flex;gap:14px;align-items:center;margin-top:34px;flex-wrap:wrap}
.hero-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:clamp(2rem,5vw,4.5rem);align-items:center}
/* No card beside the headline any more, so the hero is one column and the
   measure is capped: a line of text running the full page width is unreadable. */
.hero-grid.hero-solo{grid-template-columns:minmax(0,1fr)}
.hero-grid.hero-solo>div{max-width:72ch}
.hero-legal{margin-top:30px;font-size:13px;color:var(--ink-mute);max-width:52ch;line-height:1.6}
.hero-legal a{color:var(--ink-soft);text-decoration:underline;text-underline-offset:3px}

/* ------------------------------------------------------- statement ruling */
.statement{border-top:1px solid var(--line)}
.srow{
	display:flex;align-items:baseline;gap:20px;
	padding:15px 0;border-bottom:1px solid var(--line);
}
.srow dt,.srow .k{flex:1;min-width:0;font-size:14.5px;color:var(--ink-soft);margin:0}
.srow dd,.srow .v{margin:0;font-size:15px;font-weight:600;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums lining-nums}
.srow .v-brass{color:var(--accent)}
.srow .fig{font-family:"Instrument Serif",Georgia,serif;font-weight:400;font-size:22px;letter-spacing:-.02em}

/* ------------------------------------------------------------------ card */
.metal{
	position:relative;border-radius:14px;padding:22px;overflow:hidden;
	color:#F4F1EA;aspect-ratio:1.586;display:flex;flex-direction:column;
	width:100%;max-width:430px;margin-inline:auto;
	background:linear-gradient(142deg,#121A28 0%,#2A3A52 26%,#0D1420 52%,#34496B 78%,#131C2A 100%);
	box-shadow:0 2px 4px rgba(0,0,0,.42),0 26px 60px rgba(0,0,0,.5);
	transform-style:preserve-3d;will-change:transform;
	transition:transform .5s var(--ease);
}
.metal::before{
	content:"";position:absolute;inset:0;pointer-events:none;opacity:.5;
	background:repeating-linear-gradient(103deg,rgba(255,255,255,.055) 0 1px,transparent 1px 3px);
}
.metal::after{
	content:"";position:absolute;inset:-40%;pointer-events:none;
	background:linear-gradient(118deg,transparent 36%,rgba(255,255,255,.08) 50%,transparent 64%);
	transform:translateX(-120%);transition:transform 1s var(--ease);
}
.metal:hover::after{transform:translateX(120%)}
.metal-brass{background:linear-gradient(142deg,#08222F 0%,#0E6A8A 22%,#38BDF8 48%,#075985 72%,#07202C 100%)}
.metal-chip{
	width:38px;height:28px;border-radius:5px;position:relative;z-index:2;margin:auto 0 16px;
	/* steel contact chip rather than gold, to sit with the slate scheme */
	background:linear-gradient(135deg,#DCE6EF,#8FA3B5 48%,#EAF2F8);
	box-shadow:inset 0 1px 0 rgba(255,255,255,.4);
}
.metal-chip::after{content:"";position:absolute;inset:5px 7px;border-left:1px solid rgba(0,0,0,.22);border-right:1px solid rgba(0,0,0,.22)}
.metal-pan{
	font-size:15.5px;letter-spacing:.14em;position:relative;z-index:2;
	font-variant-numeric:tabular-nums;
	text-shadow:0 1px 0 rgba(255,255,255,.18),0 -1px 1px rgba(0,0,0,.45);
}
.metal-meta{font-size:8.5px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;opacity:.62}
.metal-val{font-size:12px;font-weight:600;margin-top:3px}
.metal-row{display:flex;justify-content:space-between;align-items:flex-end;margin-top:16px;position:relative;z-index:2}
.metal-top{display:flex;justify-content:space-between;align-items:flex-start;position:relative;z-index:2}

/* ------------------------------------------------------------------ type blocks */
.h2{font-size:var(--step-4);max-width:19ch}
.lede{font-size:var(--step-1);color:var(--ink-soft);max-width:var(--measure);margin-top:20px;line-height:1.6}
.body-copy{color:var(--ink-soft);max-width:var(--measure);margin-top:16px}

/* ------------------------------------------------------------------ panels */
/* ------------------------------------------------------------ sign in layout
   Its own grid rather than the contents-plus-prose one. With the page margin
   at 50px that layout left a 220px rail beside a form stretched across most of
   the screen, and a sign in box the width of a desk is not a sign in box. */
.si-grid{
	display:grid;grid-template-columns:minmax(0,1fr) minmax(0,440px);
	gap:clamp(2rem,6vw,5.5rem);align-items:center;
	max-width:1180px;margin:0 auto;
}
@media (max-width:900px){
	.si-grid{grid-template-columns:minmax(0,1fr);gap:2.5rem;max-width:520px}
}

/* ------------------------------------------------------------ sign in
   WordPress renders this form, so it is styled by its own ids rather than
   classes we chose. The remember row in particular needs saying: left to the
   browser it is a bare checkbox with a label floating away from it. */
.si-note{
	border:1px solid #C7584F;background:rgba(199,88,79,.12);
	border-radius:9px;padding:11px 14px;font-size:13.5px;margin-bottom:18px;
}
#loginform p{margin:0 0 16px}
#loginform label{
	display:block;font-size:11px;letter-spacing:.13em;text-transform:uppercase;
	color:var(--ink-mute);margin-bottom:7px;
}
#loginform input[type=text],#loginform input[type=password]{
	width:100%;background:var(--surface-2);border:1px solid var(--line);color:var(--ink);
	border-radius:9px;padding:12px 14px;font:inherit;font-size:15px;
}
#loginform input:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-wash)}
#loginform .login-remember{margin:0 0 20px}
#loginform .login-remember label{
	display:flex;align-items:center;gap:10px;margin:0;
	font-size:13.5px;letter-spacing:0;text-transform:none;color:var(--ink-soft);
	cursor:pointer;
}
#loginform .login-remember input[type=checkbox]{
	appearance:none;-webkit-appearance:none;
	width:18px;height:18px;flex:0 0 18px;margin:0;cursor:pointer;
	background:var(--surface-2);border:1px solid var(--line);border-radius:5px;
	display:grid;place-content:center;
}
#loginform .login-remember input[type=checkbox]:checked{background:var(--accent);border-color:var(--accent)}
#loginform .login-remember input[type=checkbox]:checked::after{
	content:"";width:10px;height:6px;margin-top:-2px;
	border-left:2px solid #06121C;border-bottom:2px solid #06121C;transform:rotate(-45deg);
}
#loginform .login-remember input[type=checkbox]:focus-visible{outline:none;box-shadow:0 0 0 3px var(--accent-wash)}
#loginform .login-submit{margin:0}
#loginform .login-submit input[type=submit]{
	width:100%;cursor:pointer;border:0;border-radius:10px;
	background:var(--accent);color:#06121C;font:inherit;font-size:15px;font-weight:600;
	padding:13px 18px;
}
#loginform .login-submit input[type=submit]:hover{background:var(--accent-2,var(--accent));filter:brightness(1.05)}
/* ---------------------------------------------------- show the password
   A password field nobody can check is a password field people mistype,
   and a bank then looks as though it rejected a correct one. The control
   wraps the input so it sits inside it whatever the font size, and the
   field keeps room on the right so the characters never run underneath. */
.si-reveal{position:relative;display:block}
/* #loginform wins on specificity, so the room for the button has to be
   claimed at the same weight or the characters run underneath it. */
#loginform .si-reveal input[type=password],
#loginform .si-reveal input[type=text]{padding-right:88px}
.si-reveal-btn{
	position:absolute;right:8px;top:50%;transform:translateY(-50%);
	background:transparent;border:0;cursor:pointer;
	padding:6px 9px;border-radius:7px;
	font:600 12px/1 inherit;letter-spacing:.06em;text-transform:uppercase;
	color:var(--ink-mute);
}
.si-reveal-btn:hover{color:var(--accent)}
.si-reveal-btn:focus-visible{outline:none;box-shadow:0 0 0 3px var(--accent-wash);color:var(--accent)}

.si-alt{
	margin-top:24px;padding-top:20px;border-top:1px solid var(--line);
	font-size:13.5px;color:var(--ink-soft);line-height:1.7;
}

/* ------------------------------------------------------------ channels
   NOT .srow: that is a figure row, with the value held on one line and
   pushed right, which collapsed as soon as a label like "Private banking
   desk" wrapped and a note sat underneath it. */
.channels{margin-top:4px}
.channel{padding:16px 0;border-bottom:1px solid var(--line)}
.channel:first-child{border-top:1px solid var(--line)}
.channel-top{display:flex;gap:18px;align-items:baseline;justify-content:space-between;flex-wrap:wrap}
.channel-k{font-size:14.5px;color:var(--ink-soft)}
.channel-v{font-size:15px;font-weight:600;text-align:right}
.channel-n{font-size:12.5px;color:var(--ink-mute);margin-top:6px;line-height:1.55}
@media (max-width:560px){
	.channel-top{flex-direction:column;gap:4px}
	.channel-v{text-align:left}
}

/* ------------------------------------------------------------ application
   The same twelve column grid the rest of the site lays out on, so a field
   can state its own width instead of every form inventing a layout. */
.mer-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:16px}
.mer-group{border:0;padding:0;margin:0 0 30px}
.mer-group:last-of-type{margin-bottom:22px}
.mer-group legend{
	padding:0;margin:0 0 16px;
	font-size:11px;letter-spacing:.15em;text-transform:uppercase;color:var(--ink-mute);
}
.mer-f{display:block}
.mer-f > span{
	display:block;font-size:11px;letter-spacing:.13em;text-transform:uppercase;
	color:var(--ink-mute);margin-bottom:7px;
}
.mer-f input,.mer-f select,.mer-f textarea{
	width:100%;background:var(--surface-2);border:1px solid var(--line);color:var(--ink);
	border-radius:9px;padding:11px 13px;font:inherit;font-size:15px;
}
.mer-f select{appearance:none;-webkit-appearance:none;padding-right:34px;
	background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238B9AB0' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat:no-repeat;background-position:right 12px center;
}
.mer-f input:focus,.mer-f select:focus,.mer-f textarea:focus{
	outline:none;border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-wash);
}
.mer-f input[aria-invalid="true"],.mer-f select[aria-invalid="true"]{border-color:#C7584F}
.mer-hint{display:block;font-style:normal;font-size:11.5px;color:var(--ink-mute);margin-top:7px;line-height:1.55}
.mer-actions{display:flex;flex-direction:column;gap:12px;align-items:flex-start;border-top:1px solid var(--line);padding-top:22px}
.mer-actions .mer-q-out{font-size:13.5px;margin:0}
.mer-apply button[disabled]{opacity:.55;cursor:progress}
.mer-done{border:1px solid var(--accent);background:var(--accent-wash);border-radius:12px;padding:22px;font-size:15px;line-height:1.7}
@media (max-width:720px){
	.mer-grid > .mer-f{grid-column:span 12 !important}
}

/* ------------------------------------------------------------ enquiry form */
.mer-f{margin-bottom:14px}
.mer-f label{display:block;font-size:11px;letter-spacing:.13em;text-transform:uppercase;color:var(--ink-mute);margin-bottom:7px}
.mer-f input,.mer-f textarea{
	width:100%;background:var(--surface-2);border:1px solid var(--line);color:var(--ink);
	border-radius:9px;padding:11px 13px;font:inherit;font-size:15px;
}
.mer-f input:focus,.mer-f textarea:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-wash)}
.mer-f input[aria-invalid="true"],.mer-f textarea[aria-invalid="true"]{border-color:#C7584F}
/* A field no person sees and no person fills in. Off screen rather than
   display:none, because some automated fillers skip hidden inputs. */
.mer-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.mer-enquiry button[disabled]{opacity:.55;cursor:progress}

.panel{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:clamp(1.4rem,3vw,2.2rem)}
.panel-2{background:var(--surface-2);border:1px solid var(--line-soft);border-radius:12px;padding:20px}
.rule{height:1px;background:var(--line);border:0;margin:0}

/* the one place a figure is allowed to be huge */
.bigfig{font-family:"Instrument Serif",Georgia,serif;font-size:clamp(3.4rem,9vw,5.6rem);line-height:1;letter-spacing:-.03em;color:var(--accent)}

/* ------------------------------------------------------------------ offer: three moves, not three identical cards */
.moves{display:grid;gap:0;margin-top:46px;border-top:1px solid var(--line)}
.move{
	display:grid;grid-template-columns:minmax(0,.44fr) minmax(0,.56fr);
	gap:clamp(1.2rem,4vw,3.5rem);
	padding:clamp(1.6rem,4vw,2.6rem) 0;border-bottom:1px solid var(--line);
	align-items:start;
}
.move h3{font-size:var(--step-2)}
.move p{color:var(--ink-soft)}
.move-fig{margin-top:14px}

/* ------------------------------------------------------------------ process */
.steps{counter-reset:s;margin-top:44px;border-top:1px solid var(--line)}
.step{
	display:grid;grid-template-columns:auto minmax(0,.36fr) minmax(0,1fr);
	gap:clamp(1rem,3vw,2.4rem);align-items:baseline;
	padding:24px 0;border-bottom:1px solid var(--line);
}
.step-n{
	counter-increment:s;font-family:"Instrument Serif",Georgia,serif;
	font-size:21px;color:var(--accent);min-width:2.2ch;
}
.step-n::before{content:counter(s,decimal-leading-zero)}
.step h3{font-size:var(--step-1)}
.step p{color:var(--ink-soft);font-size:15px}

/* ------------------------------------------------------------------ media */
.media{border-radius:14px;overflow:hidden;border:1px solid var(--line);background:var(--surface)}
.media img{width:100%;height:100%;object-fit:cover;aspect-ratio:4/3;filter:saturate(.72) contrast(1.04) brightness(.82)}
.media-tall img{aspect-ratio:3/4}
.media-wide img{aspect-ratio:16/9}
.media figcaption{font-size:12px;color:var(--ink-mute);padding:11px 14px;border-top:1px solid var(--line)}

/* ------------------------------------------------------------------ faq */
.faq{border-top:1px solid var(--line);margin-top:40px}
.qa{border-bottom:1px solid var(--line)}
.qa summary{
	list-style:none;cursor:pointer;padding:20px 0;
	display:flex;gap:20px;align-items:baseline;
	font-size:var(--step-1);min-height:44px;
}
.qa summary::-webkit-details-marker{display:none}
.qa summary::after{
	content:"";flex:0 0 11px;width:11px;height:11px;margin-left:auto;align-self:center;
	border-right:1.5px solid var(--accent);border-bottom:1.5px solid var(--accent);
	transform:rotate(45deg) translateY(-2px);transition:transform .3s var(--ease);
}
.qa[open] summary::after{transform:rotate(225deg) translateY(-2px)}
.qa-body{padding:0 0 22px;color:var(--ink-soft);max-width:var(--measure)}
.qa-body p+p{margin-top:12px}

/* ------------------------------------------------------------------ final cta */
.cta{
	border:1px solid var(--accent-wash);border-radius:16px;
	background:
		radial-gradient(120% 140% at 12% 0%, rgba(200,169,106,.11), transparent 58%),
		var(--surface);
	padding:clamp(2rem,6vw,4.2rem);
}

/* ------------------------------------------------------------------ footer */
.foot{border-top:1px solid var(--line);padding:var(--section) 0 48px;background:var(--surface)}
.foot-grid{display:grid;grid-template-columns:minmax(0,1.3fr) repeat(3,minmax(0,1fr));gap:36px}
.foot h4{font-size:11px;letter-spacing:.13em;text-transform:uppercase;color:var(--ink-mute);font-weight:600;margin-bottom:14px}
.foot ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.foot a{font-size:14px;color:var(--ink-soft)}
.foot a:hover{color:var(--accent)}

/* the disclaimer block every US fintech site needs */
.disclaim{
	margin-top:54px;padding-top:26px;border-top:1px solid var(--line);
	font-size:12.5px;line-height:1.75;color:var(--ink-mute);max-width:92ch;
}
.disclaim p+p{margin-top:12px}
.disclaim strong{color:var(--ink-soft);font-weight:600}
.disclaim a{text-decoration:underline;text-underline-offset:3px}
.fnote{counter-reset:f}
.fnote li{margin-top:9px}

/* ------------------------------------------------------------------ sticky mobile cta */
.stickybar{
	position:fixed;left:0;right:0;bottom:0;z-index:45;display:none;
	padding:12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
	background:rgba(8,9,13,.94);backdrop-filter:blur(12px);
	border-top:1px solid var(--line);
	transform:translateY(110%);transition:transform .4s var(--ease);
}
.stickybar.show{transform:none}

/* ------------------------------------------------------------------ legal pages */
.legal{padding:calc(var(--nav-h) + 3rem) 0 var(--section)}
/* Capped and left aligned. With the page margin at 50px the second column
   grew to about 1500px while the copy inside it stays at 74 characters,
   so the text sat in a column twice its own width. Everything still hangs
   off the same left edge as the headings above it. */
.legal-grid{
	display:grid;grid-template-columns:minmax(0,220px) minmax(0,1fr);
	gap:clamp(2rem,5vw,4rem);align-items:start;
	max-width:1180px;
}
/* ------------------------------------------------- room for the launcher
   The support launcher is fixed in the bottom right corner, which is exactly
   where the sticky call to action appears on a phone: the two overlapped and
   the launcher covered the end of the Sign in button. The launcher lifts
   while that bar is showing, and drops back when it is not. The widget is
   appended to the body after the bar, so a sibling selector reaches it with
   no JavaScript on either side. */
.stickybar.show ~ .mer-assist{bottom:calc(20px + 76px)}
@media (max-width:480px){
	.stickybar.show ~ .mer-assist{bottom:calc(14px + 76px)}
}

.toc{position:sticky;top:calc(var(--nav-h) + 24px)}
.toc h4{font-size:11px;letter-spacing:.13em;text-transform:uppercase;color:var(--ink-mute);font-weight:600;margin:0 0 12px}
.toc ol{list-style:none;margin:0;padding:0;display:grid;gap:8px;counter-reset:t}
.toc a{font-size:13.5px;color:var(--ink-soft);display:block;line-height:1.45}
.toc a:hover{color:var(--accent)}
.prose{max-width:74ch}
.prose h2{font-size:var(--step-2);margin:44px 0 14px;scroll-margin-top:calc(var(--nav-h) + 20px)}
.prose h2:first-of-type{margin-top:0}
.prose h3{font-size:var(--step-1);margin:26px 0 10px}
.prose p{color:var(--ink-soft);margin-top:12px}
.prose ul,.prose ol{color:var(--ink-soft);margin:12px 0 0;padding-left:22px}
.prose li{margin-top:8px}
.prose strong{color:var(--ink)}
.prose table{width:100%;border-collapse:collapse;margin-top:18px;font-size:14px;font-variant-numeric:tabular-nums lining-nums}
.prose th,.prose td{text-align:left;padding:11px 12px;border-bottom:1px solid var(--line);vertical-align:top}
.prose th{font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-mute);font-weight:600;background:var(--surface-2)}
.prose td:not(:first-child){white-space:nowrap}
.notice{
	border:1px dashed var(--accent);background:var(--accent-wash);
	border-radius:12px;padding:20px;margin-bottom:36px;
}
/* Styled as a heading but NOT one. As an <h3> directly after the <h1> it
   skipped a level and broke the document outline for screen readers. */
.notice-h{font-size:var(--step-1);line-height:1.2;margin:0 0 8px;color:var(--accent)}
.notice p{color:var(--ink-soft);margin-top:8px;font-size:14.5px}
.ph{
	background:var(--accent-wash);border:1px solid var(--accent-wash);
	border-radius:4px;padding:1px 6px;color:var(--accent);
	font-size:.92em;font-weight:600;white-space:nowrap;
}

/* ------------------------------------------------------------------ reveal
   Base state shows everything. The hidden-then-reveal state only switches on
   once script adds .js-on, so the page still sells with JavaScript disabled. */
.js-on .rv{opacity:0;transform:translateY(16px)}
.rv{transition:opacity .62s var(--ease),transform .62s var(--ease)}
.rv.in{opacity:1;transform:none}
.js-on .hero-h1 .ln>span{transform:translateY(105%)}
.hero-h1 .ln>span{transition:transform .9s var(--ease)}
.hero-h1.in .ln>span{transform:none}
.js-on .hero-cluster{opacity:0;transform:translateY(14px)}
.hero-cluster{transition:opacity .7s var(--ease) .45s,transform .7s var(--ease) .45s}
.hero-cluster.in{opacity:1;transform:none}
.js-on .hero-card{opacity:0;transform:translateY(26px) scale(.97)}
.hero-card{transition:opacity .9s var(--ease) .3s,transform .9s var(--ease) .3s}
.hero-card.in{opacity:1;transform:none}
/* signature moment 3: the statement rules draw across */
.js-on .drawline{transform:scaleX(0);transform-origin:left}
.drawline{transition:transform .8s var(--ease)}
.drawline.in{transform:scaleX(1)}

@media (prefers-reduced-motion:reduce){
	.js-on .rv,.js-on .hero-cluster,.js-on .hero-card{opacity:1;transform:none}
	.js-on .hero-h1 .ln>span{transform:none}
	.js-on .drawline{transform:scaleX(1)}
	*{transition-duration:.01ms !important;animation-duration:.01ms !important}
}

/* ------------------------------------------------------------------ responsive */
@media (max-width:980px){
	.hero-grid{grid-template-columns:minmax(0,1fr);gap:2.6rem}
	.hero-card{order:-1;max-width:400px}
	.move{grid-template-columns:minmax(0,1fr);gap:.6rem}
	.step{grid-template-columns:auto minmax(0,1fr);row-gap:.4rem}
	.step p{grid-column:2}
	.foot-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px}
	.legal-grid{grid-template-columns:minmax(0,1fr)}
	.toc{position:static;border-bottom:1px solid var(--line);padding-bottom:20px}
	.toc ol{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:760px){
	.navlinks{
		position:fixed;inset:var(--nav-h) 0 auto 0;flex-direction:column;align-items:stretch;
		background:rgba(8,9,13,.97);backdrop-filter:blur(14px);
		border-bottom:1px solid var(--line);padding:18px var(--gutter) 24px;gap:0;
		display:none;
	}
	.navlinks.open{display:flex}
	.navlinks a{padding:13px 0;border-bottom:1px solid var(--line-soft);font-size:16px}
	.navlinks .btn{margin-top:16px}
	.navtoggle{display:flex;margin-left:auto}
	.stickybar{display:block}
	.foot-grid{grid-template-columns:minmax(0,1fr)}
	.toc ol{grid-template-columns:minmax(0,1fr)}
	.srow{gap:14px}
	.prose td:not(:first-child){white-space:normal}
}
@media (max-width:420px){
	.hero-cta{gap:10px}
	.hero-cta .btn{width:100%}
}

/* =====================================================================
   CHARTERED BANK PATTERNS
   Added after comparing against usbank.com and td.com: for a real bank the
   primary action is an existing customer signing in, not a stranger opening an
   account, and the disclosures sit in a numbered block above the footer rather
   than in the hero.
   ===================================================================== */

/* "Access your account" band, the US Bank pattern */
.access{
	background:var(--surface);border-block:1px solid var(--line);
	padding:clamp(1.6rem,4vw,2.6rem) 0;
}
.access-grid{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:clamp(1.2rem,4vw,3rem);align-items:center}
.access h2{font-size:var(--step-2)}
.access-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center}

/* product grid */
.prodgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:1px;background:var(--line);border:1px solid var(--line);border-radius:14px;overflow:hidden;margin-top:44px}
.prod{background:var(--paper);padding:26px 22px;display:flex;flex-direction:column;gap:9px;transition:background-color .25s var(--ease)}
.prod:hover{background:var(--surface)}
.prod h3{font-size:var(--step-1)}
.prod p{color:var(--ink-soft);font-size:14.5px;flex:1}
.prod .rate{font-family:"Instrument Serif",Georgia,serif;font-size:30px;color:var(--accent);letter-spacing:-.02em;line-height:1}
.prod .go{font-size:13.5px;font-weight:600;color:var(--accent);margin-top:4px}
/* .6 opacity dropped this copy to 4.25:1, under the 4.5:1 floor. Dimmed enough
   to read as unavailable, not so dim that it fails contrast. */
.prod-soon{opacity:.88}
.prod-soon .go{color:var(--ink-soft)}

/* online banking feature list */
.feats{display:grid;grid-template-columns:repeat(auto-fit,minmax(265px,1fr));gap:clamp(1.4rem,3vw,2.4rem);margin-top:46px}
.feat{display:grid;grid-template-columns:auto 1fr;gap:14px;align-items:start}
.feat-ic{
	width:36px;height:36px;flex:0 0 36px;border-radius:9px;
	display:flex;align-items:center;justify-content:center;
	background:var(--accent-wash);border:1px solid var(--brass-line, rgba(200,169,106,.28));
}
.feat-ic svg{width:17px;height:17px;fill:none;stroke:var(--accent);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.feat h3{font-size:16.5px;margin-bottom:5px}
.feat p{color:var(--ink-soft);font-size:14.5px}

/* Important Disclosures, numbered, above the footer */
.impdisc{border-top:1px solid var(--line);padding:clamp(2rem,5vw,3rem) 0;background:var(--surface)}
.impdisc h2{font-size:var(--step-1);margin-bottom:18px}
.impdisc ol{margin:0;padding-left:20px;color:var(--ink-mute);font-size:12.5px;line-height:1.75}
.impdisc li{margin-top:10px}
.impdisc strong{color:var(--ink-soft)}
.impdisc a{text-decoration:underline;text-underline-offset:3px}
sup.fn{font-size:.62em;vertical-align:super;color:var(--accent);font-weight:600;margin-left:1px}

/* the investment products block every US bank site carries */
.notdeposit{
	border:1px solid var(--line-strong, #2A2F3B);border-radius:10px;
	padding:15px 17px;margin-top:24px;background:var(--surface-2);
	font-size:12px;letter-spacing:.04em;text-transform:uppercase;color:var(--ink-soft);
	display:flex;flex-wrap:wrap;gap:6px 18px;font-weight:600;
}

/* Equal Housing Opportunity mark */
.eho{display:flex;align-items:center;gap:9px;margin-top:16px;color:var(--ink-mute);font-size:12px}
.eho svg{width:21px;height:21px;flex:0 0 21px;fill:none;stroke:currentColor;stroke-width:1.5}
.insured{font-size:12.5px;color:var(--ink-soft);font-weight:600;letter-spacing:.02em}

@media (max-width:760px){
	.access-grid{grid-template-columns:minmax(0,1fr)}
	.access-actions .btn{flex:1}
}
