/* U Storage sign-up flow (rebuilt from the "U Storage Sign Up Flow Redesign" canvas) */
:root {
  --ink: #0b1a3a; --nav: #071630; --blue: #0a47c4; --blue-dk: #08389a; --tint: #f1f5fd;
  --text: #2d3748; --sec: #4a5568; --muted: #6b7686;
  --line-in: #cbd2dc; --line-card: #d5dae1; --line-row: #e2e6ec; --line-sec: #a7b0be;
  --fill: #f7f8fa; --fill2: #f4f5f7; --fill3: #fafbfc; --tile: #eef1f6;
  --red: #b42318; --red-bg: #fde3e3; --red-bg2: #fdf2f2; --red-tx: #5c1212;
  --green: #1f7a3d; --green-bg: #e6f4ea; --green-bd: #9fd3ae; --green-tx: #14532d;
  --info-bg: #eaf1fd; --info-bd: #b7cdf5; --info-tx: #0b2a66;
  --pend-bg: #fff6d6; --pend-bd: #e8cf7a; --pend-tx: #5a4500;
  --note-bg: #fff4c7; --note-bd: #efd57a; --note-tx: #4a3a06;
  --serif: "Source Serif 4", Georgia, serif;
}
* { box-sizing: border-box; }
body { margin: 0; font: 400 15px/1.5 Inter, Arial, sans-serif; color: var(--text); background: #fff; }
a { color: var(--blue); }
a:hover { color: var(--blue-dk); }
button, input, select { font: inherit; }

.su-head { display: flex; align-items: center; gap: 24px; padding: 14px 24px; border-bottom: 1px solid #eef0f3; }
.su-logo img { height: 40px; width: auto; display: block; }
.su-head nav { display: flex; gap: 48px; margin: 0 auto; }
.su-head nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16px; }
.su-head-sp { width: 58px; }
@media (max-width: 760px) { .su-head nav { gap: 18px; } .su-head nav a { font-size: 14px; } .su-head-sp { display: none; } }
@media (max-width: 520px) { .su-head nav a:nth-child(n+3) { display: none; } }

.su-main { max-width: 1080px; margin: 0 auto; padding: 36px 20px 40px; outline: none; }
h1.su-h1 { font: 700 44px/1.1 var(--serif); color: var(--ink); margin: 0 0 12px; }
h1.su-h1.xl { font-size: 52px; margin-bottom: 40px; }
.su-sub { color: var(--sec); margin: 0 0 28px; font-size: 16px; }
h2.su-h2 { font: 700 18px/1.25 var(--serif); color: var(--ink); margin: 0 0 12px; }
@media (max-width: 640px) { h1.su-h1, h1.su-h1.xl { font-size: 34px; } }

/* Stepper */
.stepper { padding: 28px 20px 4px; }
.stepper ol { list-style: none; margin: 0 auto; padding: 0; max-width: 780px; display: grid; grid-template-columns: repeat(5, 1fr); }
.stepper li { position: relative; text-align: center; }
.stepper li:not(:last-child)::after { content: ""; position: absolute; top: 12px; left: calc(50% + 14px); right: calc(-50% + 14px); height: 4px; background: #6b7686; }
.stepper li.done:not(:last-child)::after { background: var(--blue); }
.stepper button { background: none; border: 0; padding: 0; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 100%; color: #4a5568; }
.stepper button[aria-disabled="true"] { cursor: not-allowed; }
.stepper .c { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #6b7686; background: #fff; display: grid; place-items: center; font-weight: 600; font-size: 13px; color: #4a5568; position: relative; z-index: 1; }
.stepper li.reached .c { background: var(--blue); border-color: var(--blue); color: #fff; font-weight: 700; }
.stepper .l { font-size: 12px; font-weight: 600; line-height: 1.2; }
.stepper li.reached .l { color: var(--ink); }
.stepper li.current .l { font-weight: 700; }
.stepper .l small { display: block; font-size: 11px; font-weight: 500; }
@media (max-width: 560px) { .stepper .l { font-size: 10.5px; } }

/* Fields */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label, .legend { font-size: 13px; font-weight: 600; color: var(--ink); }
.req { color: var(--red); }
.input, .select { height: 44px; border: 1px solid var(--line-in); border-radius: 8px; padding: 0 14px; font-size: 15px; color: var(--ink); background: #fff; width: 100%; }
.input:focus, .select:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.input[disabled] { background: #e6e9ee; border-color: #e1e5eb; color: #4a5568; }
.input.err, .select.err { border: 2px solid var(--red); }
.addon { display: flex; }
.addon .input { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.addon span { display: grid; place-items: center; padding: 0 14px; background: #e6e9ee; border: 1px solid var(--line-in); border-left: 0; border-radius: 0 8px 8px 0; font-weight: 600; color: var(--text); }
.help { font-size: 13px; color: var(--sec); }
.errmsg { font-size: 13px; font-weight: 700; color: var(--red); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.grid3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 0 16px; }
@media (max-width: 640px) { .grid2, .grid3 { grid-template-columns: 1fr; } }

/* Callouts */
.callout { border-radius: 8px; padding: 12px 14px; font-size: 13px; line-height: 1.5; border: 1px solid; display: flex; gap: 10px; align-items: flex-start; }
.callout svg { flex-shrink: 0; margin-top: 1px; }
.callout.info { background: var(--info-bg); border-color: var(--info-bd); color: var(--info-tx); }
.callout.red { background: var(--red-bg); border: 2px solid var(--red); color: var(--red-tx); }
.callout.green { background: var(--green-bg); border-color: var(--green-bd); color: var(--green-tx); }
.callout.pend { background: var(--pend-bg); border-color: var(--pend-bd); color: var(--pend-tx); }
.callout.note { background: var(--note-bg); border-color: var(--note-bd); color: var(--note-tx); }
.callout p { margin: 0 0 6px; }
.callout p:last-child { margin: 0; }
.banner-red { background: var(--red); color: #fff; font-weight: 700; font-size: 15px; padding: 14px 18px; border-radius: 8px; display: flex; gap: 10px; align-items: center; margin-bottom: 18px; }

/* Buttons */
.btn { height: 46px; padding: 0 22px; border-radius: 6px; border: 1px solid transparent; font-weight: 600; font-size: 15px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; }
.btn-blue { background: var(--blue); color: #fff; text-transform: uppercase; letter-spacing: .02em; }
.btn-blue:hover { background: var(--blue-dk); color: #fff; }
.btn-nav { background: var(--nav); color: #fff; min-width: 140px; }
.btn-nav:hover { background: #142a58; color: #fff; }
.btn-nav[aria-disabled="true"] { background: #c4cad4; color: #4a5568; }
.btn-line { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: #f4f6fa; color: var(--ink); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; }
.textlink { background: none; border: 0; color: var(--blue); cursor: pointer; padding: 0; font-weight: 600; text-decoration: underline; }
.actions { display: flex; align-items: center; justify-content: flex-end; gap: 14px; border-top: 1px solid var(--line-sec); padding-top: 28px; margin-top: 32px; flex-wrap: wrap; }
.actions .why { color: var(--red); font-size: 13px; font-weight: 700; margin-right: auto; }
.actions .left { margin-right: auto; }

/* Register accordion */
.acc { max-width: 680px; border: 1px solid var(--line-card); border-radius: 10px; overflow: hidden; }
.acc-row { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 16px 24px; background: #fff; border: 0; border-top: 1px solid var(--line-card); cursor: pointer; font-size: 15px; color: var(--ink); text-align: left; }
.acc-row:first-child { border-top: 0; }
.acc-row[aria-expanded="true"] { font-weight: 600; background: var(--fill3); }
.acc-row .chev { transition: transform .15s; }
.acc-row[aria-expanded="true"] .chev { transform: rotate(90deg); }
.acc-panel { padding: 22px 24px 24px; border-top: 1px solid var(--line-card); }

/* Radio cards */
.rcards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.rcard { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 2px solid var(--line-card); border-radius: 10px; cursor: pointer; background: #fff; text-align: left; }
.rcard input { position: absolute; opacity: 0; pointer-events: none; }
.rcard .ring { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #8a94a6; flex-shrink: 0; margin-top: 1px; background: #fff; }
.rcard.on { border-color: var(--blue); background: var(--tint); }
.rcard.on .ring { border: 6px solid var(--blue); }
.rcard b { display: block; color: var(--ink); font-size: 15px; }
.rcard span.d { color: var(--sec); font-size: 13px; }
.rcard:focus-within { outline: 2px solid var(--blue); outline-offset: 2px; }
.rcards.big .rcard { min-height: 120px; border-radius: 12px; padding: 20px; }
.rcards.big .rcard.on { border-width: 3px; padding: 19px; }
.rcards.big .ring { width: 22px; height: 22px; }
@media (max-width: 640px) { .rcards { grid-template-columns: 1fr; } }

.demo-pick { border: 1px dashed var(--line-sec); border-radius: 8px; padding: 12px; margin: 4px 0 18px; }
.demo-pick .k { font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--muted); margin-bottom: 8px; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pillbtn { border: 1px solid var(--line-in); background: #fff; border-radius: 999px; padding: 6px 12px; font-size: 12.5px; cursor: pointer; text-align: left; }
.pillbtn b { display: block; font-size: 12.5px; }
.pillbtn.on { background: var(--blue); border-color: var(--blue); color: #fff; }

/* Verify code */
.codecard { max-width: 520px; margin: 0 auto; border: 1px solid var(--line-card); border-radius: 10px; padding: 36px; text-align: center; }
.code { display: flex; gap: 10px; justify-content: center; margin: 22px 0; }
.code input { width: 52px; height: 60px; text-align: center; font-size: 24px; font-weight: 600; border: 1px solid var(--line-in); border-radius: 8px; color: var(--ink); }
.code.sm input { width: 40px; height: 44px; font-size: 18px; }
@media (max-width: 480px) { .codecard { padding: 22px 16px; } .code input { width: 42px; height: 52px; } }

/* Service cards */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-card { position: relative; text-align: left; min-height: 240px; border: 2px solid var(--line-card); border-radius: 14px; padding: 24px; background: #fff; cursor: pointer; display: flex; flex-direction: column; gap: 12px; }
.svc-card.on { border: 3px solid var(--blue); padding: 23px; background: var(--tint); }
.svc-card .top { display: flex; justify-content: space-between; align-items: flex-start; }
.svc-card .tile { width: 52px; height: 52px; border-radius: 12px; background: var(--tile); color: var(--ink); display: grid; place-items: center; }
.svc-card.on .tile { background: var(--blue); color: #fff; }
.svc-card .ring { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #8a94a6; }
.svc-card.on .ring { border: 7px solid var(--blue); }
.svc-card h3 { font: 700 22px/1.2 var(--serif); color: var(--ink); margin: 0; }
.svc-card p { margin: 0; font-size: 14px; color: var(--sec); }
.svc-note { margin-top: 18px; }
@media (max-width: 860px) { .svc-grid { grid-template-columns: 1fr; } .svc-card { min-height: 0; } }

/* Two-column form sections */
.fsec { display: grid; grid-template-columns: 320px 1fr; gap: 56px; padding: 28px 0; border-top: 1px solid var(--line-sec); }
.fsec:first-of-type { border-top: 0; }
.fsec .rail .callout { margin-top: 4px; }
@media (max-width: 860px) { .fsec { grid-template-columns: 1fr; gap: 16px; } }
.checkcard { display: flex; gap: 12px; align-items: flex-start; border-radius: 8px; padding: 14px 16px; cursor: pointer; margin: 6px 0 16px; }
.checkcard input { width: 22px; height: 22px; accent-color: var(--green); flex-shrink: 0; margin: 1px 0 0; }
.checkcard.grey { background: var(--fill2); border: 1px solid var(--line-row); }
.checkcard.confirm { border: 2px solid var(--red); background: var(--red-bg2); }
.checkcard.confirm.ok { border-color: var(--green); background: var(--green-bg); }
.ack { border: 2px solid var(--red); border-radius: 10px; overflow: hidden; margin: 14px 0; }
.ack.ok { border-color: var(--green); }
.ack-head { background: var(--red); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .06em; padding: 7px 14px; }
.ack.ok .ack-head { background: var(--green); }
.ack .checkcard { margin: 0; border-radius: 0; }
.verified { color: var(--green); font-weight: 600; display: flex; align-items: center; gap: 8px; font-size: 14px; }
.inline-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.todo { border: 1px solid #f0a8a8; background: var(--red-bg2); color: #8a1c14; border-radius: 8px; padding: 10px 14px; font-size: 13px; margin-right: auto; }
.todo ul { margin: 4px 0 0; padding-left: 18px; }

/* Build order */
.split { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 24px; } }
.due { display: flex; gap: 12px; align-items: flex-start; background: var(--green-bg); border: 2px solid var(--green); border-radius: 10px; padding: 14px 16px; margin-bottom: 14px; color: var(--green-tx); font-size: 14px; }
.due .tag { background: var(--green); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .06em; padding: 4px 8px; border-radius: 4px; white-space: nowrap; }
.due.pickup { background: #fff6d6; border-color: #c99a06; color: #5a4500; }
.due.pickup .tag { background: #8a6a00; }
.menu { border: 1px solid var(--line-row); border-radius: 10px; overflow: hidden; margin-top: 18px; }
.menu .mh { background: var(--fill2); font-size: 11.5px; font-weight: 700; letter-spacing: .06em; color: var(--muted); padding: 8px 14px; text-transform: uppercase; }
.menu .mr { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border-top: 1px solid var(--line-row); }
.menu .mr small { display: block; font-size: 12px; color: var(--muted); }
.menu .mr b { white-space: nowrap; color: var(--ink); }
.qtycard { border: 2px solid var(--blue); border-radius: 12px; padding: 22px; text-align: center; }
.qty { display: flex; align-items: center; justify-content: center; gap: 0; margin: 16px 0; }
.qty button { width: 44px; height: 44px; border: 1px solid var(--line-in); background: #fff; font-size: 20px; cursor: pointer; color: var(--ink); }
.qty button:first-child { border-radius: 8px 0 0 8px; }
.qty button:last-child { border-radius: 0 8px 8px 0; }
.qty button[disabled] { color: #a7b0be; cursor: not-allowed; }
.qty output { width: 64px; height: 44px; display: grid; place-items: center; border-top: 1px solid var(--line-in); border-bottom: 1px solid var(--line-in); font-weight: 700; font-size: 17px; color: var(--ink); }
.qty.off { opacity: .45; }

/* Bags */
.bags { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.bags img { width: 100%; height: 360px; object-fit: cover; border-radius: 10px; }
.bags ul { padding-left: 18px; color: var(--text); }
@media (max-width: 760px) { .bags { grid-template-columns: 1fr; } .bags img { height: 240px; } }

/* Delivery */
.opt { display: flex; gap: 12px; align-items: flex-start; border: 2px solid var(--line-card); border-radius: 10px; padding: 16px; cursor: pointer; margin-bottom: 12px; background: #fff; position: relative; }
.opt input { position: absolute; opacity: 0; }
.opt .ring { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #8a94a6; flex-shrink: 0; margin-top: 2px; }
.opt.on { border-color: var(--blue); background: var(--tint); }
.opt.on .ring { border: 6px solid var(--blue); }
.opt:focus-within { outline: 2px solid var(--blue); outline-offset: 2px; }
.opt .t { font-weight: 700; color: var(--ink); }
.badge { display: inline-block; background: #fce8e8; color: #7a1b1b; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 2px 9px; margin: 4px 0 6px; }
.badge.inc { background: var(--green-bg); color: var(--green-tx); }
.opt p { margin: 0; font-size: 14px; color: var(--sec); }

/* Checkout */
.co { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
.aside { position: sticky; top: calc(var(--db-h) + 24px); background: var(--fill3); border: 1px solid var(--line-card); border-radius: 12px; padding: 20px; }
.aside h2 { font: 700 20px/1.2 var(--serif); color: var(--ink); margin: 0 0 12px; }
.kv { display: grid; grid-template-columns: auto 1fr auto; gap: 8px 12px; font-size: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line-row); }
.kv .k { color: var(--muted); }
.kv .v { font-weight: 600; color: var(--ink); text-align: right; }
.lines { padding: 12px 0; display: grid; gap: 8px; font-size: 14px; border-bottom: 1px solid var(--line-row); }
.lines div { display: flex; justify-content: space-between; gap: 10px; }
.lines .free { color: var(--green); font-weight: 600; }
.promo { display: flex; gap: 8px; margin: 12px 0; }
.promo .input { height: 40px; }
.duebar { background: var(--ink); color: #fff; font-size: 17px; font-weight: 700; display: flex; justify-content: space-between; padding: 12px 14px; border-radius: 8px; }
.svcaddr { border: 2px solid var(--ink); border-radius: 12px; padding: 18px; margin: 10px 0 18px; }
.svcaddr .top { display: flex; gap: 14px; align-items: flex-start; }
.svcaddr .tile { width: 44px; height: 44px; border-radius: 10px; background: var(--blue); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.svcaddr .k { font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--muted); }
.svcaddr .ok { color: var(--green-tx); font-size: 14px; display: flex; gap: 8px; margin-top: 8px; }
.radio-row { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line-card); border-radius: 8px; padding: 12px 14px; margin-bottom: 8px; cursor: pointer; }
.radio-row.on { border: 2px solid var(--blue); background: var(--tint); padding: 11px 13px; }
.radio-row input { accent-color: var(--blue); width: 18px; height: 18px; }
.radio-row .grow { flex: 1; }
.radio-row small { display: block; color: var(--muted); }
.seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 14px; }
.seg button { height: 44px; border: 1px solid var(--line-card); background: #fff; border-radius: 8px; cursor: pointer; font-weight: 600; color: var(--ink); }
.seg button.on { border: 2px solid var(--blue); background: var(--tint); }
.democard { font-size: 12.5px; color: var(--muted); margin: -6px 0 14px; }
@media (max-width: 960px) { .co { grid-template-columns: 1fr; } .aside { position: static; } .seg { grid-template-columns: 1fr 1fr; } }

/* Done */
.done { max-width: 820px; margin: 10px auto 0; text-align: center; padding: 30px 0; }
.done .check { width: 72px; height: 72px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; margin: 0 auto 18px; }
.done h1 { font: 700 42px/1.1 var(--serif); color: var(--ink); margin: 0 0 8px; }
.done .meta { color: var(--sec); }
.next { max-width: 720px; margin: 26px auto 0; border: 1px solid var(--line-card); border-radius: 10px; overflow: hidden; text-align: left; }
.next .nh { background: var(--fill2); font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--muted); padding: 10px 16px; }
.next .nr { display: flex; gap: 12px; padding: 14px 16px; border-top: 1px solid var(--line-row); font-size: 14.5px; }
.next .nr .n { width: 26px; height: 26px; border-radius: 50%; background: var(--tile); color: var(--ink); display: grid; place-items: center; font-weight: 700; font-size: 13px; flex-shrink: 0; }
.demo-next { max-width: 720px; margin: 26px auto 0; border-radius: 14px; background: var(--ink); color: #fff; padding: 22px; text-align: left; }
.demo-next .k { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: #c8b89a; }
.demo-next h2 { font: 700 24px/1.2 var(--serif); margin: 6px 0 6px; }
.demo-next p { margin: 0 0 16px; color: #c9d2e3; font-size: 14.5px; }
.demo-next .row { display: flex; gap: 10px; flex-wrap: wrap; }
.demo-next a { background: #fff; color: var(--ink); text-decoration: none; font-weight: 700; border-radius: 8px; padding: 12px 16px; }
.demo-next a.alt { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4); }

/* Modal */
.modal-back { position: fixed; inset: 0; background: rgba(11,26,58,.55); display: grid; place-items: center; z-index: 900; padding: 16px; }
.modal { width: min(560px, 100%); background: #fff; border-radius: 14px; padding: 28px; box-shadow: 0 20px 50px rgba(11,26,58,.35); max-height: calc(100vh - 32px); overflow-y: auto; }
.modal h2 { font: 700 26px/1.2 var(--serif); color: var(--ink); margin: 0 0 8px; }
.sumtable { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 14px; }
.sumtable td { border-top: 1px solid var(--line-row); padding: 8px 4px; }
.sumtable td:first-child { color: var(--muted); width: 90px; }
.tip { font-size: 12.5px; color: var(--muted); margin-top: -6px; }
